diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:13:01 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:13:01 -0600 |
commit | deac2ca49faed824fe83066080714eb6d653615b (patch) | |
tree | 8b5bf97c5acaaf5285985b87fa76dbea0f35e4fa /kinit/tdelauncher_main.cpp | |
parent | 0c9d97065a3d6ceb12d687555a1a33d90db96238 (diff) | |
download | tdelibs-deac2ca49faed824fe83066080714eb6d653615b.tar.gz tdelibs-deac2ca49faed824fe83066080714eb6d653615b.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kinit/tdelauncher_main.cpp')
-rw-r--r-- | kinit/tdelauncher_main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kinit/tdelauncher_main.cpp b/kinit/tdelauncher_main.cpp index 059496c0c..dc0c02dd7 100644 --- a/kinit/tdelauncher_main.cpp +++ b/kinit/tdelauncher_main.cpp @@ -41,7 +41,7 @@ static void sig_handler(int sig_num) signal( SIGHUP, SIG_IGN); signal( SIGTERM, SIG_IGN); fprintf(stderr, "[tdelauncher] Exiting on signal %d\n", sig_num); - KLauncher::destruct(255); + TDELauncher::destruct(255); } static KCmdLineOptions options[] = @@ -62,10 +62,10 @@ extern "C" KDE_EXPORT int kdemain( int argc, char**argv ) TQCString cname = TDEApplication::launcher(); char *name = cname.data(); - TDECmdLineArgs::init(argc, argv, name, "KLauncher", "A service launcher.", + TDECmdLineArgs::init(argc, argv, name, "TDELauncher", "A service launcher.", "v1.0"); - KLauncher::addCmdLineOptions(); + TDELauncher::addCmdLineOptions(); TDECmdLineArgs::addCmdLineOptions( options ); // WABA: Make sure not to enable session management. @@ -101,7 +101,7 @@ extern "C" KDE_EXPORT int kdemain( int argc, char**argv ) // Try again... } - KLauncher *launcher = new KLauncher(LAUNCHER_FD, args->isSet("new-startup")); + TDELauncher *launcher = new TDELauncher(LAUNCHER_FD, args->isSet("new-startup")); launcher->dcopClient()->setDefaultObject( name ); launcher->dcopClient()->setDaemonMode( true ); |