Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 7e20c85c78
commit 0be18c9912

@ -620,7 +620,7 @@ bool KCHMMainWindow::parseCmdLineArgs( )
bool do_autotest = false; bool do_autotest = false;
#if defined (USE_KDE) #if defined (USE_KDE)
KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if ( args->isSet("autotestmode") ) if ( args->isSet("autotestmode") )
do_autotest = true; do_autotest = true;

@ -59,8 +59,8 @@ int main( int argc, char ** argv )
"gyunaev@ulduzsoft.com"); "gyunaev@ulduzsoft.com");
KLocale::setMainCatalogue( "kchmviewer" ); KLocale::setMainCatalogue( "kchmviewer" );
KCmdLineArgs::init (argc, argv, &aboutdata); TDECmdLineArgs::init (argc, argv, &aboutdata);
KCmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );
KApplication app; KApplication app;
#else #else

Loading…
Cancel
Save