Rename KUniqueApplication to TDEUniqueApplication

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
master
Michele Calgaro 3 weeks ago
parent 4f136aa915
commit d483afcd3a
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -19,7 +19,7 @@
***************************************************************************/ ***************************************************************************/
#include <kuniqueapplication.h> #include <tdeuniqueapplication.h>
#include <tdeaboutdata.h> #include <tdeaboutdata.h>
#include <tdecmdlineargs.h> #include <tdecmdlineargs.h>
#include <kdebug.h> #include <kdebug.h>
@ -48,15 +48,15 @@ int main (int argc, char *argv[])
TDECmdLineArgs::init( argc, argv, &aboutdata ); TDECmdLineArgs::init( argc, argv, &aboutdata );
TDECmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );
KUniqueApplication::addCmdLineOptions(); TDEUniqueApplication::addCmdLineOptions();
if (!KUniqueApplication::start()) if (!TDEUniqueApplication::start())
{ {
kdDebug() << "tdesvnd is already running!" << endl; kdDebug() << "tdesvnd is already running!" << endl;
return (0); return (0);
} }
KUniqueApplication app; TDEUniqueApplication app;
kdDebug() << "starting tdesvnd_dcop " << endl; kdDebug() << "starting tdesvnd_dcop " << endl;
// This app is started automatically, no need for session management // This app is started automatically, no need for session management
app.disableSessionManagement(); app.disableSessionManagement();

Loading…
Cancel
Save