Rename KUniqueApplication to TDEUniqueApplication

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/60/head
Michele Calgaro 3 weeks ago
parent 35a1f25329
commit 5a0afc9e21
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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>

@ -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();

Loading…
Cancel
Save