summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-11-10 17:13:07 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-11-10 17:13:07 +0900
commit692de2d5dc29be2f467ea81cb3d6f77d17a56b83 (patch)
tree897f5cbcfa6ba39fec031b76f7ad6343f1abadd2
parent2feacbb6d3c60a1863754cd3f07597e94714fd0e (diff)
downloadtdetoys-692de2d5dc29be2f467ea81cb3d6f77d17a56b83.tar.gz
tdetoys-692de2d5dc29be2f467ea81cb3d6f77d17a56b83.zip
Rename KUniqueApplication to TDEUniqueApplicationHEADmaster
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--amor/main.cpp6
-rw-r--r--kodo/kodometer.h2
-rw-r--r--kodo/main.cpp4
-rw-r--r--kweather/main.cpp8
-rw-r--r--kworldwatch/main.cpp4
-rw-r--r--kworldwatch/main.h6
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();