diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 18:46:44 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 18:46:44 -0600 |
commit | 634845c7a257ece46caaf3d46d8e28c8c091cbf4 (patch) | |
tree | 47eed4bfeb29f9b24fbcdbc961d0804dbe0d3355 /kig | |
parent | 2362ae77640ba97b6ff6beba1636d0fb4da4b34a (diff) | |
download | tdeedu-634845c7a257ece46caaf3d46d8e28c8c091cbf4.tar.gz tdeedu-634845c7a257ece46caaf3d46d8e28c8c091cbf4.zip |
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'kig')
-rw-r--r-- | kig/kig/main.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kig/kig/main.cpp b/kig/kig/main.cpp index 577ebda1..8924a07d 100644 --- a/kig/kig/main.cpp +++ b/kig/kig/main.cpp @@ -45,7 +45,7 @@ class KigApplication public: KigApplication( bool gui = true ); int newInstance(); - void handleArgs( KCmdLineArgs* args ); + void handleArgs( TDECmdLineArgs* args ); }; KigApplication::KigApplication( bool gui ) @@ -63,13 +63,13 @@ int KigApplication::newInstance() } first = false; - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); handleArgs(args); args->clear(); return 0; } -void KigApplication::handleArgs( KCmdLineArgs* args ) +void KigApplication::handleArgs( TDECmdLineArgs* args ) { if ( args->count() == 0 ) { @@ -105,11 +105,11 @@ int main(int argc, char **argv) { KAboutData *about = kigAboutData( "kig", I18N_NOOP("Kig") ); - KCmdLineArgs::init(argc, argv, about); - KCmdLineArgs::addCmdLineOptions( options ); + TDECmdLineArgs::init(argc, argv, about); + TDECmdLineArgs::addCmdLineOptions( options ); KigApplication::addCmdLineOptions(); - KCmdLineArgs* args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs* args = TDECmdLineArgs::parsedArgs(); if ( args->isSet( "convert-to-native" ) ) { TQCString outfile = args->getOption( "outfile" ); |