diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-20 00:25:07 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-20 00:25:07 -0600 |
commit | f7307c95135a3c1589799c6877d314a02a2260c1 (patch) | |
tree | 2defa5a196f5d9558af96b30258cbcb7969b1a93 /quanta/src | |
parent | ca1ec6eeaaf5744fae891a5b0696591bbaece795 (diff) | |
download | tdewebdev-f7307c95135a3c1589799c6877d314a02a2260c1.tar.gz tdewebdev-f7307c95135a3c1589799c6877d314a02a2260c1.zip |
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'quanta/src')
-rw-r--r-- | quanta/src/kqapp.cpp | 2 | ||||
-rw-r--r-- | quanta/src/kqapp.h | 2 | ||||
-rw-r--r-- | quanta/src/main.cpp | 4 | ||||
-rw-r--r-- | quanta/src/quanta.cpp | 2 | ||||
-rw-r--r-- | quanta/src/quanta_init.cpp | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/quanta/src/kqapp.cpp b/quanta/src/kqapp.cpp index a470dd13..39053e86 100644 --- a/quanta/src/kqapp.cpp +++ b/quanta/src/kqapp.cpp @@ -60,7 +60,7 @@ KSplash::~KSplash() KQApplication::KQApplication() - : KApplication() + : TDEApplication() { args = TDECmdLineArgs::parsedArgs(); splash = 0L; diff --git a/quanta/src/kqapp.h b/quanta/src/kqapp.h index ab154345..c99c152b 100644 --- a/quanta/src/kqapp.h +++ b/quanta/src/kqapp.h @@ -49,7 +49,7 @@ class KQApplicationPrivate KSplashScreen *sp; }; -class KQApplication : public KApplication, KQApplicationPrivate +class KQApplication : public TDEApplication, KQApplicationPrivate { Q_OBJECT diff --git a/quanta/src/main.cpp b/quanta/src/main.cpp index 3b725f9d..52d4b07c 100644 --- a/quanta/src/main.cpp +++ b/quanta/src/main.cpp @@ -192,8 +192,8 @@ int main(int argc, char *argv[]) } } - KApplication *app; - KApplication::disableAutoDcopRegistration(); + TDEApplication *app; + TDEApplication::disableAutoDcopRegistration(); if (isUnique) { KUniqueApplication::dcopClient()->registerAs("quanta-foo"); diff --git a/quanta/src/quanta.cpp b/quanta/src/quanta.cpp index 5525a570..81c04aff 100644 --- a/quanta/src/quanta.cpp +++ b/quanta/src/quanta.cpp @@ -1150,7 +1150,7 @@ void QuantaApp::slotOptionsConfigureActions() void QuantaApp::slotPreviewOptions() { KMessageBox::information(this, i18n("Changes made in the preview configuration dialog are global and have effect on every application using the KHTML part to display web pages, including Konqueror."), i18n("Warning"), "configure_preview_warning"); - KApplication::startServiceByDesktopName("quanta_preview_config"); + TDEApplication::startServiceByDesktopName("quanta_preview_config"); } void QuantaApp::slotOptions() diff --git a/quanta/src/quanta_init.cpp b/quanta/src/quanta_init.cpp index e59ba248..42765a21 100644 --- a/quanta/src/quanta_init.cpp +++ b/quanta/src/quanta_init.cpp @@ -1484,7 +1484,7 @@ void QuantaInit::checkRuntimeDependencies() TQString error; TQCString appId; - KApplication::startServiceByDesktopName("cvsservice", TQStringList(), &error, + TDEApplication::startServiceByDesktopName("cvsservice", TQStringList(), &error, &appId); if (appId.isEmpty()) { |