summaryrefslogtreecommitdiffstats
path: root/arts
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-11-05 12:24:20 +0900
committerMichele Calgaro <[email protected]>2024-11-19 22:26:14 +0900
commit1711870a073597c2282f32ad39a9b8ad5e1cf6bb (patch)
tree1fb9f1d9ad4ec650960add05c3dd287cd42c7d61 /arts
parent87ad1e6c4d56fb52faa0d1af4afe5c33f05e6dca (diff)
downloadtdelibs-1711870a073597c2282f32ad39a9b8ad5e1cf6bb.tar.gz
tdelibs-1711870a073597c2282f32ad39a9b8ad5e1cf6bb.zip
Rename KUniqueApplication to TDEUniqueApplication and remove obsolete kapp.h and kuniqueapp.h headers
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'arts')
-rw-r--r--arts/kde/mcop-dcop/kmcop.cpp8
-rw-r--r--arts/knotify/knotify.cpp8
2 files changed, 8 insertions, 8 deletions
diff --git a/arts/kde/mcop-dcop/kmcop.cpp b/arts/kde/mcop-dcop/kmcop.cpp
index d5e8c8642..a4f1430f4 100644
--- a/arts/kde/mcop-dcop/kmcop.cpp
+++ b/arts/kde/mcop-dcop/kmcop.cpp
@@ -17,7 +17,7 @@
*/
#include <kdebug.h>
-#include <kuniqueapplication.h>
+#include <tdeuniqueapplication.h>
#include <tdeaboutdata.h>
#include <tdecmdlineargs.h>
#include <tdelocale.h>
@@ -54,15 +54,15 @@ int main(int argc, char **argv)
aboutdata.addAuthor("Nikolas Zimmermann", I18N_NOOP("Author"), "[email protected]");
TDECmdLineArgs::init(argc, argv, &aboutdata);
- KUniqueApplication::addCmdLineOptions();
+ TDEUniqueApplication::addCmdLineOptions();
- if(!KUniqueApplication::start())
+ if(!TDEUniqueApplication::start())
{
kdDebug() << "Running kmcop found" << endl;
return 0;
}
- KUniqueApplication app;
+ TDEUniqueApplication app;
app.disableSessionManagement();
KArtsDispatcher dispatcher;
diff --git a/arts/knotify/knotify.cpp b/arts/knotify/knotify.cpp
index 14606b007..53c2baa8f 100644
--- a/arts/knotify/knotify.cpp
+++ b/arts/knotify/knotify.cpp
@@ -64,7 +64,7 @@
#endif
#include <kprocess.h>
#include <kstandarddirs.h>
-#include <kuniqueapplication.h>
+#include <tdeuniqueapplication.h>
#include <twin.h>
#include "knotify.h"
@@ -112,15 +112,15 @@ extern "C"{
aboutdata.addAuthor("Charles Samuels",I18N_NOOP("Previous Maintainer"),"[email protected]");
TDECmdLineArgs::init( argc, argv, &aboutdata );
- KUniqueApplication::addCmdLineOptions();
+ TDEUniqueApplication::addCmdLineOptions();
// initialize application
- if ( !KUniqueApplication::start() ) {
+ if ( !TDEUniqueApplication::start() ) {
kdDebug() << "Running knotify found" << endl;
return 0;
}
- KUniqueApplication app;
+ TDEUniqueApplication app;
app.disableSessionManagement();
// KNotify is started on KDE startup and on demand (using