summaryrefslogtreecommitdiffstats
path: root/klipper
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-11-09 22:58:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-11-20 14:26:15 +0900
commitc1e3b95ae6a113ba6548f2ac4d63f739a4f7055f (patch)
treef942598c69da9c19df6618f25d16ea9dcbe0a30f /klipper
parent657e8ed6bdc71ab1ae238bdf61a9377cff768e38 (diff)
downloadtdebase-c1e3b95ae6a113ba6548f2ac4d63f739a4f7055f.tar.gz
tdebase-c1e3b95ae6a113ba6548f2ac4d63f739a4f7055f.zip
Rename KUniqueApplication to TDEUniqueApplication
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'klipper')
-rw-r--r--klipper/applet.cpp4
-rw-r--r--klipper/main.cpp8
-rw-r--r--klipper/toplevel.cpp6
3 files changed, 9 insertions, 9 deletions
diff --git a/klipper/applet.cpp b/klipper/applet.cpp
index d4add1609..bd8e28317 100644
--- a/klipper/applet.cpp
+++ b/klipper/applet.cpp
@@ -116,7 +116,7 @@ void KlipperAppletWidget::init()
// call() - wait for finishing
kapp->dcopClient()->call("klipper", "klipper", "quitProcess()", arg1, str, arg2 );
// register ourselves, so if klipper process is started,
- // it will quit immediately (KUniqueApplication)
+ // it will quit immediately (TDEUniqueApplication)
s_dcop = new DCOPClient;
s_dcop->registerAs( "klipper", false );
}
@@ -129,7 +129,7 @@ KlipperAppletWidget::~KlipperAppletWidget()
DCOPClient* KlipperAppletWidget::s_dcop = 0;
-// this is just to make klipper process think we're KUniqueApplication
+// this is just to make klipper process think we're TDEUniqueApplication
// (AKA ugly hack)
int KlipperAppletWidget::newInstance()
{
diff --git a/klipper/main.cpp b/klipper/main.cpp
index 813102af0..8a1057156 100644
--- a/klipper/main.cpp
+++ b/klipper/main.cpp
@@ -24,7 +24,7 @@
#include <tdecmdlineargs.h>
#include <twin.h>
#include <tdeaboutdata.h>
-#include <kuniqueapplication.h>
+#include <tdeuniqueapplication.h>
#include "toplevel.h"
#include "version.h"
@@ -38,13 +38,13 @@ extern "C" int TDE_EXPORT kdemain(int argc, char *argv[])
{
Klipper::createAboutData();
TDECmdLineArgs::init( argc, argv, Klipper::aboutData());
- KUniqueApplication::addCmdLineOptions();
+ TDEUniqueApplication::addCmdLineOptions();
- if (!KUniqueApplication::start()) {
+ if (!TDEUniqueApplication::start()) {
fprintf(stderr, "Klipper is already running!\n");
exit(0);
}
- KUniqueApplication app;
+ TDEUniqueApplication app;
app.disableSessionManagement();
Klipper *toplevel = new Klipper();
diff --git a/klipper/toplevel.cpp b/klipper/toplevel.cpp
index b76c7472b..473b3ff53 100644
--- a/klipper/toplevel.cpp
+++ b/klipper/toplevel.cpp
@@ -1184,11 +1184,11 @@ Klipper::Klipper( TQWidget* parent )
{
}
-// this sucks ... KUniqueApplication registers itself as 'klipper'
+// this sucks ... TDEUniqueApplication registers itself as 'klipper'
// for the unique-app detection calls (and it shouldn't use that name IMHO)
-// but in Klipper it's not KUniqueApplication class who handles
+// but in Klipper it's not TDEUniqueApplication class who handles
// the DCOP calls, but an instance of class Klipper, registered as 'klipper'
-// this below avoids a warning when KUniqueApplication wouldn't otherwise
+// this below avoids a warning when TDEUniqueApplication wouldn't otherwise
// find newInstance() (which doesn't do anything in Klipper anyway)
int Klipper::newInstance()
{