diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 18:46:43 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 18:46:43 -0600 |
commit | d41050ea3f6904e5156d35f664346b816b9e4d12 (patch) | |
tree | 7b3ff517432a631adc61a2a93080dc3bacfab604 /twin/kcmtwin/twinrules/main.cpp | |
parent | c16d0f2191af1e4810391dbd1a06d7713fb38666 (diff) | |
download | tdebase-d41050ea3f6904e5156d35f664346b816b9e4d12.tar.gz tdebase-d41050ea3f6904e5156d35f664346b816b9e4d12.zip |
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'twin/kcmtwin/twinrules/main.cpp')
-rw-r--r-- | twin/kcmtwin/twinrules/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/twin/kcmtwin/twinrules/main.cpp b/twin/kcmtwin/twinrules/main.cpp index 30cce3ffa..c29dacdaa 100644 --- a/twin/kcmtwin/twinrules/main.cpp +++ b/twin/kcmtwin/twinrules/main.cpp @@ -276,18 +276,18 @@ extern "C" KDE_EXPORT int kdemain( int argc, char* argv[] ) { KLocale::setMainCatalogue( "kcmtwinrules" ); - KCmdLineArgs::init( argc, argv, "twin_rules_dialog", I18N_NOOP( "TWin" ), + TDECmdLineArgs::init( argc, argv, "twin_rules_dialog", I18N_NOOP( "TWin" ), I18N_NOOP( "TWin helper utility" ), "1.0" ); - KCmdLineArgs::addCmdLineOptions( options ); + TDECmdLineArgs::addCmdLineOptions( options ); KApplication app; - KCmdLineArgs* args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs* args = TDECmdLineArgs::parsedArgs(); bool id_ok = false; Window id = args->getOption( "wid" ).toULong( &id_ok ); bool whole_app = args->isSet( "whole-app" ); args->clear(); if( !id_ok || id == None ) { - KCmdLineArgs::usage( i18n( "This helper utility is not supposed to be called directly." )); + TDECmdLineArgs::usage( i18n( "This helper utility is not supposed to be called directly." )); return 1; } return KWinInternal::edit( id, whole_app ); |