diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 18:46:48 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 18:46:48 -0600 |
commit | 6fdacb9c2e3adb3b5da38cd8a22afc1668e1d36b (patch) | |
tree | a6a367ba18807833d8f90cb6b233e7bdb3f007cc /superkaramba | |
parent | ba743d360eabb06e6ffbafd2c7bc833dd985aa0c (diff) | |
download | tdeutils-6fdacb9c2e3adb3b5da38cd8a22afc1668e1d36b.tar.gz tdeutils-6fdacb9c2e3adb3b5da38cd8a22afc1668e1d36b.zip |
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'superkaramba')
-rw-r--r-- | superkaramba/src/karambaapp.cpp | 2 | ||||
-rw-r--r-- | superkaramba/src/karambaapp.h | 4 | ||||
-rw-r--r-- | superkaramba/src/main.cpp | 6 | ||||
-rw-r--r-- | superkaramba/src/taskbartest.cpp | 6 |
4 files changed, 9 insertions, 9 deletions
diff --git a/superkaramba/src/karambaapp.cpp b/superkaramba/src/karambaapp.cpp index 259e3fd..ac0089e 100644 --- a/superkaramba/src/karambaapp.cpp +++ b/superkaramba/src/karambaapp.cpp @@ -252,7 +252,7 @@ void KarambaApplication::checkPreviousSession(KApplication &app, } } -void KarambaApplication::checkCommandLine(KCmdLineArgs *args, TQStringList &lst) +void KarambaApplication::checkCommandLine(TDECmdLineArgs *args, TQStringList &lst) { /****** Not a saved session - check for themes given on command line diff --git a/superkaramba/src/karambaapp.h b/superkaramba/src/karambaapp.h index da63246..f33fce8 100644 --- a/superkaramba/src/karambaapp.h +++ b/superkaramba/src/karambaapp.h @@ -30,7 +30,7 @@ class karamba; class KarambaIface; -class KCmdLineArgs; +class TDECmdLineArgs; class ThemesDlg; class dcopIface_stub; class KHelpMenu; @@ -67,7 +67,7 @@ class KarambaApplication : public KApplication void initDcopStub(TQCString app = ""); void setUpSysTray(KAboutData* about); void checkPreviousSession(KApplication &app, TQStringList &lst); - void checkCommandLine(KCmdLineArgs *args, TQStringList &lst); + void checkCommandLine(TDECmdLineArgs *args, TQStringList &lst); bool startThemes(TQStringList &lst); KarambaIface* dcopIface() { return iface; }; dcopIface_stub* dcopStub() { return dcopIfaceStub; }; diff --git a/superkaramba/src/main.cpp b/superkaramba/src/main.cpp index 00f34f3..7b31653 100644 --- a/superkaramba/src/main.cpp +++ b/superkaramba/src/main.cpp @@ -99,11 +99,11 @@ int main(int argc, char **argv) about.addAuthor("Petri Damstén", 0, "petri.damsten@iki.fi"); about.addAuthor("Alexander Wiedenbruch", 0, "mail@wiedenbruch.de"); about.addAuthor("Luke Kenneth Casson Leighton", 0, "lkcl@lkcl.net"); - KCmdLineArgs::init(argc, argv, &about); - KCmdLineArgs::addCmdLineOptions(options); + TDECmdLineArgs::init(argc, argv, &about); + TDECmdLineArgs::addCmdLineOptions(options); KarambaSessionManaged ksm; //karamba *mainWin = 0; - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); TQStringList lst; int ret = 0; diff --git a/superkaramba/src/taskbartest.cpp b/superkaramba/src/taskbartest.cpp index f3bc46d..8f5dfc5 100644 --- a/superkaramba/src/taskbartest.cpp +++ b/superkaramba/src/taskbartest.cpp @@ -53,13 +53,13 @@ int main(int argc, char **argv) KAboutData about("karamba", I18N_NOOP("karamba"), version, description, KAboutData::License_GPL, "(C) 2003 Hans Karlsson", 0, 0, "karlsson.h@home.se"); about.addAuthor( "Hans Karlsson", 0, "karlsson.h@home.se" ); - KCmdLineArgs::init(argc, argv, &about); - KCmdLineArgs::addCmdLineOptions( options ); + TDECmdLineArgs::init(argc, argv, &about); + TDECmdLineArgs::addCmdLineOptions( options ); KApplication app; // karamba *mainWin = 0; - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); // //KSGRD::SensorManager *f32 = new KSGRD::SensorManager(); // //f32->engage("localhost"); |