diff options
author | Timothy Pearson <[email protected]> | 2013-01-19 18:46:24 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-19 18:46:24 -0600 |
commit | 1a8e4954899e6abb0ed0953f3442922ec364dd0b (patch) | |
tree | f2a245985c37a5b0c66a657aa2c5002063c88881 | |
parent | 11e65e2290faf2e23b21a897adc1451f3bf3d490 (diff) | |
download | bibletime-1a8e4954899e6abb0ed0953f3442922ec364dd0b.tar.gz bibletime-1a8e4954899e6abb0ed0953f3442922ec364dd0b.zip |
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
-rw-r--r-- | bibletime/bibletime.cpp | 2 | ||||
-rw-r--r-- | bibletime/main.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/bibletime/bibletime.cpp b/bibletime/bibletime.cpp index ab3c259..c71512f 100644 --- a/bibletime/bibletime.cpp +++ b/bibletime/bibletime.cpp @@ -287,7 +287,7 @@ void BibleTime::setPlainCaption( const TQString& ) { /** Processes the commandline options given to BibleTime. */ void BibleTime::processCommandline() { - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); // if (CBTConfig::get(CBTConfig::crashedLastTime)) { if (!CBTConfig::get diff --git a/bibletime/main.cpp b/bibletime/main.cpp index 1ec572a..d150916 100644 --- a/bibletime/main.cpp +++ b/bibletime/main.cpp @@ -231,14 +231,14 @@ int main(int argc, char* argv[]) { TQString dummy = I18N_NOOP("_: NAME OF TRANSLATORS\nYour names"); //translator's name dummy = I18N_NOOP("_: EMAIL OF TRANSLATORS\nYour emails"); //translators eMail - KCmdLineArgs::init(argc, argv, &aboutData); - KCmdLineArgs::addCmdLineOptions( options ); + TDECmdLineArgs::init(argc, argv, &aboutData); + TDECmdLineArgs::addCmdLineOptions( options ); BibleTimeApp app; KGlobal::dirs()->addResourceType("BT_pic", "share/apps/bibletime/pics"); KGlobal::dirs()->addResourceType("BT_DisplayTemplates", "share/apps/bibletime/display-templates"); - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); // A binary option (on / off) if (args->isSet("debug")) { |