summaryrefslogtreecommitdiffstats
path: root/quanta/src
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-11-10 17:38:07 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-11-10 17:38:07 +0900
commit8b15518e52e7516910c89d5782eecbfd9e30dce1 (patch)
treeaddd8e665dd090989290722c494bc9eaf0457a0b /quanta/src
parent5219fba6621d5d7126a9df1f1ae16a015c85ced1 (diff)
downloadtdewebdev-8b15518e52e7516910c89d5782eecbfd9e30dce1.tar.gz
tdewebdev-8b15518e52e7516910c89d5782eecbfd9e30dce1.zip
Rename KUniqueApplication to TDEUniqueApplication
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'quanta/src')
-rw-r--r--quanta/src/kqapp.cpp2
-rw-r--r--quanta/src/kqapp.h4
-rw-r--r--quanta/src/main.cpp6
3 files changed, 6 insertions, 6 deletions
diff --git a/quanta/src/kqapp.cpp b/quanta/src/kqapp.cpp
index 8bd35024..5b0a8e2b 100644
--- a/quanta/src/kqapp.cpp
+++ b/quanta/src/kqapp.cpp
@@ -119,7 +119,7 @@ void KQApplication::slotSplashTimeout()
}
KQUniqueApplication::KQUniqueApplication()
- : KUniqueApplication()
+ : TDEUniqueApplication()
{
TDEGlobal::dirs()->addPrefix(PREFIX);
dcopClient()->registerAs("quanta", false);
diff --git a/quanta/src/kqapp.h b/quanta/src/kqapp.h
index 625bdaf6..bc97576d 100644
--- a/quanta/src/kqapp.h
+++ b/quanta/src/kqapp.h
@@ -20,7 +20,7 @@
#define KTQAPPLICATION_H
#include <tqframe.h>
-#include <kuniqueapplication.h>
+#include <tdeuniqueapplication.h>
class TDECmdLineArgs;
class KSplashScreen;
@@ -62,7 +62,7 @@ class KQApplication : public TDEApplication, KQApplicationPrivate
void slotSplashTimeout();
};
-class KQUniqueApplication : public KUniqueApplication, KQApplicationPrivate
+class KQUniqueApplication : public TDEUniqueApplication, KQApplicationPrivate
{
TQ_OBJECT
diff --git a/quanta/src/main.cpp b/quanta/src/main.cpp
index 183b2149..07489b58 100644
--- a/quanta/src/main.cpp
+++ b/quanta/src/main.cpp
@@ -187,7 +187,7 @@ int main(int argc, char *argv[])
for ( int i = 1; i < argc; i++ ) {
if ( strcmp(argv[i], uniq) == 0 ) {
isUnique = true;
- KUniqueApplication::addCmdLineOptions(); // before calling parsedArgs!
+ TDEUniqueApplication::addCmdLineOptions(); // before calling parsedArgs!
break;
}
}
@@ -196,8 +196,8 @@ int main(int argc, char *argv[])
TDEApplication::disableAutoDcopRegistration();
if (isUnique) {
- KUniqueApplication::dcopClient()->registerAs("quanta-foo");
- if (KUniqueApplication::dcopClient()->isApplicationRegistered("quanta"))
+ TDEUniqueApplication::dcopClient()->registerAs("quanta-foo");
+ if (TDEUniqueApplication::dcopClient()->isApplicationRegistered("quanta"))
{
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
for (int i = 0; i < args->count(); i++)