diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 18:46:49 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 18:46:49 -0600 |
commit | ca1ec6eeaaf5744fae891a5b0696591bbaece795 (patch) | |
tree | 33109d2b950090bb7f320d20a115364514a08957 /quanta | |
parent | 3240c45eaa4a785f0d90d5e712f4c51e53378117 (diff) | |
download | tdewebdev-ca1ec6eeaaf5744fae891a5b0696591bbaece795.tar.gz tdewebdev-ca1ec6eeaaf5744fae891a5b0696591bbaece795.zip |
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'quanta')
-rw-r--r-- | quanta/src/kqapp.cpp | 4 | ||||
-rw-r--r-- | quanta/src/kqapp.h | 4 | ||||
-rw-r--r-- | quanta/src/main.cpp | 8 |
3 files changed, 8 insertions, 8 deletions
diff --git a/quanta/src/kqapp.cpp b/quanta/src/kqapp.cpp index b39b0c46..a470dd13 100644 --- a/quanta/src/kqapp.cpp +++ b/quanta/src/kqapp.cpp @@ -62,7 +62,7 @@ KSplash::~KSplash() KQApplication::KQApplication() : KApplication() { - args = KCmdLineArgs::parsedArgs(); + args = TDECmdLineArgs::parsedArgs(); splash = 0L; KGlobal::dirs()->addPrefix(PREFIX); @@ -132,7 +132,7 @@ KQUniqueApplication::~KQUniqueApplication() int KQUniqueApplication::newInstance() { - args = KCmdLineArgs::parsedArgs(); + args = TDECmdLineArgs::parsedArgs(); if (mainWidget()) { KWin::activateWindow( mainWidget()->winId() ); diff --git a/quanta/src/kqapp.h b/quanta/src/kqapp.h index b1b5f6df..ab154345 100644 --- a/quanta/src/kqapp.h +++ b/quanta/src/kqapp.h @@ -22,7 +22,7 @@ #include <tqframe.h> #include <kuniqueapplication.h> -class KCmdLineArgs; +class TDECmdLineArgs; class KSplashScreen; class KSplash : public TQFrame @@ -45,7 +45,7 @@ class KQApplicationPrivate void init(); KSplash *splash; - KCmdLineArgs *args; + TDECmdLineArgs *args; KSplashScreen *sp; }; diff --git a/quanta/src/main.cpp b/quanta/src/main.cpp index 3e11bacb..3b725f9d 100644 --- a/quanta/src/main.cpp +++ b/quanta/src/main.cpp @@ -177,10 +177,10 @@ int main(int argc, char *argv[]) I18N_NOOP("Splash screen and icon for 3.2"), "luci@sh.ground.cz"); - KCmdLineArgs::init( argc, argv, &aboutData); - KCmdLineArgs::addCmdLineOptions( options ); // Add our own options. + TDECmdLineArgs::init( argc, argv, &aboutData); + TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options. - // this defeats the purpose of KCmdLineArgs, but there is no other + // this defeats the purpose of TDECmdLineArgs, but there is no other // way around, I'm afraid. const char *uniq = "--unique"; bool isUnique = false; @@ -199,7 +199,7 @@ int main(int argc, char *argv[]) KUniqueApplication::dcopClient()->registerAs("quanta-foo"); if (KUniqueApplication::dcopClient()->isApplicationRegistered("quanta")) { - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); for (int i = 0; i < args->count(); i++) { TQString s = args->url(i).url(); |