diff options
-rw-r--r-- | amor/main.cpp | 6 | ||||
-rw-r--r-- | kodo/kodometer.h | 2 | ||||
-rw-r--r-- | kodo/main.cpp | 4 | ||||
-rw-r--r-- | kweather/main.cpp | 8 | ||||
-rw-r--r-- | kworldwatch/main.cpp | 4 | ||||
-rw-r--r-- | kworldwatch/main.h | 6 |
6 files changed, 15 insertions, 15 deletions
diff --git a/amor/main.cpp b/amor/main.cpp index 79c0738..27783c1 100644 --- a/amor/main.cpp +++ b/amor/main.cpp @@ -30,7 +30,7 @@ #include <stdio.h> #include <time.h> -#include <kuniqueapplication.h> +#include <tdeuniqueapplication.h> #include <tdelocale.h> #include <tdecmdlineargs.h> #include <tdeaboutdata.h> @@ -51,11 +51,11 @@ int main(int argc, char *argv[]) aboutData.addAuthor("Gerardo Puga", I18N_NOOP("Current maintainer"), "gpuga@gioia.ing.unlp.edu.ar"); TDECmdLineArgs::init( argc, argv, &aboutData ); - if (!KUniqueApplication::start()) { + if (!TDEUniqueApplication::start()) { fprintf(stderr, "%s is already running!\n", aboutData.appName()); exit(0); } - KUniqueApplication app; + TDEUniqueApplication app; // session management AmorSessionWidget *sessionWidget = new AmorSessionWidget; diff --git a/kodo/kodometer.h b/kodo/kodometer.h index d2c0346..77f40b0 100644 --- a/kodo/kodometer.h +++ b/kodo/kodometer.h @@ -33,7 +33,7 @@ #include <tqtooltip.h> #include <tdeaboutdata.h> -#include <kuniqueapplication.h> +#include <tdeuniqueapplication.h> #include <tdecmdlineargs.h> #include <tdeconfig.h> #include <kdebug.h> diff --git a/kodo/main.cpp b/kodo/main.cpp index 518cd9c..2414fa4 100644 --- a/kodo/main.cpp +++ b/kodo/main.cpp @@ -78,10 +78,10 @@ int main(int argc, char *argv[]) "dev@gioelebarabucci.com", "http://www.gioelebarabucci.com"); TDECmdLineArgs::init( argc, argv, aboutData ); - if (!KUniqueApplication::start()) + if (!TDEUniqueApplication::start()) exit(0); - KUniqueApplication a; + TDEUniqueApplication a; Kodometer *o = new Kodometer(); diff --git a/kweather/main.cpp b/kweather/main.cpp index 595e653..5b2d6fa 100644 --- a/kweather/main.cpp +++ b/kweather/main.cpp @@ -1,4 +1,4 @@ -#include <kuniqueapplication.h> +#include <tdeuniqueapplication.h> #include <tdecmdlineargs.h> #include <kdebug.h> #include <tdeaboutdata.h> @@ -17,15 +17,15 @@ int main (int argc, char *argv[]) TDECmdLineArgs::init( argc, argv, &aboutdata ); // TDECmdLineArgs::addCmdLineOptions( options ); - KUniqueApplication::addCmdLineOptions(); + TDEUniqueApplication::addCmdLineOptions(); - if (!KUniqueApplication::start()) + if (!TDEUniqueApplication::start()) { kdDebug() << "dcopservice is already running!" << endl; return (0); } - KUniqueApplication app; + TDEUniqueApplication app; // This app is started automatically, no need for session management app.disableSessionManagement(); kdDebug() << "starting dcopservice " << endl; diff --git a/kworldwatch/main.cpp b/kworldwatch/main.cpp index 5f8df3b..3195d55 100644 --- a/kworldwatch/main.cpp +++ b/kworldwatch/main.cpp @@ -178,7 +178,7 @@ int main(int argc, char *argv[]) TDEAboutData about("kworldclock", I18N_NOOP("TDE World Clock"), "1.5"); TDECmdLineArgs::init(argc, argv, &about); TDECmdLineArgs::addCmdLineOptions(options); - KUniqueApplication::addCmdLineOptions(); + TDEUniqueApplication::addCmdLineOptions(); TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); if (args->isSet("themes")) @@ -188,7 +188,7 @@ int main(int argc, char *argv[]) return 0; } - if (!KUniqueApplication::start()) + if (!TDEUniqueApplication::start()) return 0; WatchApplication app; diff --git a/kworldwatch/main.h b/kworldwatch/main.h index 5069480..7ef2792 100644 --- a/kworldwatch/main.h +++ b/kworldwatch/main.h @@ -29,7 +29,7 @@ /* ** Bug reports and questions can be sent to kde-devel@kde.org */ -#include <kuniqueapplication.h> +#include <tdeuniqueapplication.h> #include <tdemainwindow.h> @@ -69,14 +69,14 @@ private: }; -class WatchApplication : public KUniqueApplication +class WatchApplication : public TDEUniqueApplication { TQ_OBJECT public: - WatchApplication() : KUniqueApplication() {}; + WatchApplication() : TDEUniqueApplication() {}; int newInstance(); |