From 00949e960fd4e243dc958be5130e0d1cd92a52ff Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 19 Jan 2013 18:46:25 -0600 Subject: Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4 --- src/k3bapplication.cpp | 4 ++-- src/main.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/k3bapplication.cpp b/src/k3bapplication.cpp index 3e119af..1fa5d3f 100644 --- a/src/k3bapplication.cpp +++ b/src/k3bapplication.cpp @@ -97,7 +97,7 @@ void K3bApplication::init() TQGuardedPtr splash; if( !isRestored() ) { - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); if( generalOptions.readBoolEntry("Show splash", true) && args->isSet( "splash" ) ) { // we need the correct splash pic @@ -175,7 +175,7 @@ int K3bApplication::newInstance() bool K3bApplication::processCmdLineArgs() { - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); bool showTips = true; bool dialogOpen = false; diff --git a/src/main.cpp b/src/main.cpp index 8de9317..2fcdda3 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -132,11 +132,11 @@ int main( int argc, char* argv[] ) I18N_NOOP( "For the amazing K3b 1.0 theme." ), "quant@trktvs.ru" ); - KCmdLineArgs::init( argc, argv, &aboutData ); - KCmdLineArgs::addCmdLineOptions( options ); // Add our own options. + TDECmdLineArgs::init( argc, argv, &aboutData ); + TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options. if( K3bApplication::start() ) { - KCmdLineArgs* args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs* args = TDECmdLineArgs::parsedArgs(); if( args->isSet("lang") ) if( !KGlobal::locale()->setLanguage(args->getOption("lang")) ) kdDebug() << "Unable to set to language " << args->getOption("lang") -- cgit v1.2.1