From 0be18c99128cee9610f4d4c8151abab7d08dc4c4 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 19 Jan 2013 18:46:26 -0600 Subject: Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4 --- src/kchmmainwindow.cpp | 2 +- src/main.cpp | 4 ++-- 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 -- cgit v1.2.3