summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:26 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:26 -0600
commit0be18c99128cee9610f4d4c8151abab7d08dc4c4 (patch)
tree548e148f19b8b3f5c04b5762c2bb72184414bbfc
parent7e20c85c78b3ffe2e6c5715cbf51be9138a45614 (diff)
downloadkchmviewer-0be18c99128cee9610f4d4c8151abab7d08dc4c4.tar.gz
kchmviewer-0be18c99128cee9610f4d4c8151abab7d08dc4c4.zip
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
-rw-r--r--src/kchmmainwindow.cpp2
-rw-r--r--src/main.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/kchmmainwindow.cpp b/src/kchmmainwindow.cpp
index 78a9226..137f228 100644
--- a/src/kchmmainwindow.cpp
+++ b/src/kchmmainwindow.cpp
@@ -620,7 +620,7 @@ bool KCHMMainWindow::parseCmdLineArgs( )
bool do_autotest = false;
#if defined (USE_KDE)
- KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if ( args->isSet("autotestmode") )
do_autotest = true;
diff --git a/src/main.cpp b/src/main.cpp
index 662f050..201d4e4 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -59,8 +59,8 @@ int main( int argc, char ** argv )
"gyunaev@ulduzsoft.com");
KLocale::setMainCatalogue( "kchmviewer" );
- KCmdLineArgs::init (argc, argv, &aboutdata);
- KCmdLineArgs::addCmdLineOptions( options );
+ TDECmdLineArgs::init (argc, argv, &aboutdata);
+ TDECmdLineArgs::addCmdLineOptions( options );
KApplication app;
#else