summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-11-10 17:48:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-11-10 17:48:31 +0900
commit5a0afc9e219fe72a763af031a4b3ce385316f1ea (patch)
tree88782b366f2f890f3ad7419f43089baaa86fc634
parent35a1f253290b150e19e90c4dd3254f51f0d3784c (diff)
downloadtdevelop-5a0afc9e219fe72a763af031a4b3ce385316f1ea.tar.gz
tdevelop-5a0afc9e219fe72a763af031a4b3ce385316f1ea.zip
Rename KUniqueApplication to TDEUniqueApplication
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--doc/kdearch/index.docbook4
-rw-r--r--languages/cpp/app_templates/dcopservice/main.cpp8
2 files changed, 6 insertions, 6 deletions
diff --git a/doc/kdearch/index.docbook b/doc/kdearch/index.docbook
index 0dbe8dbe..8dff869d 100644
--- a/doc/kdearch/index.docbook
+++ b/doc/kdearch/index.docbook
@@ -116,7 +116,7 @@ Initializes and controls a KDE application.
</formalpara></listitem>
<listitem><formalpara>
-<title><ulink url="kdeapi:tdecore/KUniqueApplication">KUniqueApplication</ulink></title>
+<title><ulink url="kdeapi:tdecore/TDEUniqueApplication">TDEUniqueApplication</ulink></title>
<para>
Makes sure only one instance of an application can run simultaneously.
</para>
@@ -2097,7 +2097,7 @@ registered with DCOP and uses the running service. If it is not registered yet,
KDE will start it up and wait until is registered. Thus, you can immediately
send DCOP calls to the service. In such a case, the service should be implemented
as a
-<ulink url="kdeapi:tdecore/KUniqueApplication.html">KUniqueApplication</ulink>.
+<ulink url="kdeapi:tdecore/TDEUniqueApplication.html">TDEUniqueApplication</ulink>.
</para>
<para>
diff --git a/languages/cpp/app_templates/dcopservice/main.cpp b/languages/cpp/app_templates/dcopservice/main.cpp
index cf1d3ae6..2e7f3722 100644
--- a/languages/cpp/app_templates/dcopservice/main.cpp
+++ b/languages/cpp/app_templates/dcopservice/main.cpp
@@ -1,6 +1,6 @@
%{CPP_TEMPLATE}
-#include <kuniqueapplication.h>
+#include <tdeuniqueapplication.h>
#include <tdeaboutdata.h>
#include <tdecmdlineargs.h>
#include <kdebug.h>
@@ -28,15 +28,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() << "%{APPNAMELC} is already running!" << endl;
return (0);
}
- KUniqueApplication app;
+ TDEUniqueApplication app;
kdDebug() << "starting %{APPNAMELC} " << endl;
// This app is started automatically, no need for session management
app.disableSessionManagement();