summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kmousetool/kmousetool/main.cpp8
-rw-r--r--kmouth/main.cpp1
-rw-r--r--kttsd/kttsd/main.cpp8
-rw-r--r--kttsd/kttsmgr/kttsmgr.cpp8
4 files changed, 12 insertions, 13 deletions
diff --git a/kmousetool/kmousetool/main.cpp b/kmousetool/kmousetool/main.cpp
index ebab64a..a410f1f 100644
--- a/kmousetool/kmousetool/main.cpp
+++ b/kmousetool/kmousetool/main.cpp
@@ -21,7 +21,7 @@
#include <tdeaboutdata.h>
#include <tdelocale.h>
#include <kstandarddirs.h>
-#include <kuniqueapplication.h>
+#include <tdeuniqueapplication.h>
#include <dcopclient.h>
#include <tqmessagebox.h>
#include <tdeconfig.h>
@@ -52,9 +52,9 @@ int main(int argc, char *argv[])
aboutData.addCredit("Joe Betts");
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
- KUniqueApplication::addCmdLineOptions();
+ TDEUniqueApplication::addCmdLineOptions();
- if (!KUniqueApplication::start()) {
+ if (!TDEUniqueApplication::start()) {
DCOPClient *client = new DCOPClient();
client->attach();
TQByteArray data;
@@ -68,7 +68,7 @@ int main(int argc, char *argv[])
delete client;
exit(0);
}
- KUniqueApplication a;
+ TDEUniqueApplication a;
KMouseTool *kmousetool = new KMouseTool();
diff --git a/kmouth/main.cpp b/kmouth/main.cpp
index 012beea..2c88eaa 100644
--- a/kmouth/main.cpp
+++ b/kmouth/main.cpp
@@ -19,7 +19,6 @@
#include <tdecmdlineargs.h>
#include <tdeaboutdata.h>
#include <tdelocale.h>
-#include <kuniqueapplication.h>
#include "kmouth.h"
#include "version.h"
diff --git a/kttsd/kttsd/main.cpp b/kttsd/kttsd/main.cpp
index 8c09dc4..621f9c3 100644
--- a/kttsd/kttsd/main.cpp
+++ b/kttsd/kttsd/main.cpp
@@ -22,7 +22,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
******************************************************************************/
-#include <kuniqueapplication.h>
+#include <tdeuniqueapplication.h>
#include <tdeaboutdata.h>
#include <tdecmdlineargs.h>
#include <kdebug.h>
@@ -46,14 +46,14 @@ 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() << "KTTSD is already running" << endl;
return (0);
}
- KUniqueApplication app;
+ TDEUniqueApplication app;
// This app is started automatically, no need for session management
app.disableSessionManagement();
// TODO: kspeech is obsolete. Use KSpeech instead. For backwards compatibility,
diff --git a/kttsd/kttsmgr/kttsmgr.cpp b/kttsd/kttsmgr/kttsmgr.cpp
index 6a369f0..d6e55ea 100644
--- a/kttsd/kttsmgr/kttsmgr.cpp
+++ b/kttsd/kttsmgr/kttsmgr.cpp
@@ -27,7 +27,7 @@
// KDE includes.
#include <tdeconfig.h>
-#include <kuniqueapplication.h>
+#include <tdeuniqueapplication.h>
#include <kcmultidialog.h>
#include <tdeaboutdata.h>
#include <tdecmdlineargs.h>
@@ -70,15 +70,15 @@ int main (int argc, char *argv[])
TDECmdLineArgs::addCmdLineOptions( options );
- KUniqueApplication::addCmdLineOptions();
+ TDEUniqueApplication::addCmdLineOptions();
- if(!KUniqueApplication::start())
+ if(!TDEUniqueApplication::start())
{
kdDebug() << "kttsmgr is already running" << endl;
return (0);
}
- KUniqueApplication app;
+ TDEUniqueApplication app;
#if TDE_VERSION >= TDE_MAKE_VERSION (3,3,90)
TQPixmap icon = TDEGlobal::iconLoader()->loadIcon("kttsd", TDEIcon::Panel);