diff options
Diffstat (limited to 'ark')
-rw-r--r-- | ark/arkapp.cpp | 10 | ||||
-rw-r--r-- | ark/main.cpp | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/ark/arkapp.cpp b/ark/arkapp.cpp index c4604e6..e9f82fa 100644 --- a/ark/arkapp.cpp +++ b/ark/arkapp.cpp @@ -120,7 +120,7 @@ ArkApplication::newInstance() // another window on startup. if (restoringSession()) return 0; - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); if ( args->isSet( "extract-to" ) ) { @@ -133,7 +133,7 @@ ArkApplication::newInstance() } else { - KCmdLineArgs::usage( i18n( "Wrong number of arguments specified" ) ); + TDECmdLineArgs::usage( i18n( "Wrong number of arguments specified" ) ); return 0; } } @@ -142,7 +142,7 @@ ArkApplication::newInstance() { if ( args->count() < 2 ) { - KCmdLineArgs::usage( i18n( "You need to specify at least one file to be added to the archive." ) ); + TDECmdLineArgs::usage( i18n( "You need to specify at least one file to be added to the archive." ) ); return 0; } else @@ -185,7 +185,7 @@ ArkApplication::newInstance() { if ( args->count() < 1 ) { - KCmdLineArgs::usage( i18n( "You need to specify at least one file to be added to the archive." ) ); + TDECmdLineArgs::usage( i18n( "You need to specify at least one file to be added to the archive." ) ); return 0; } else @@ -205,7 +205,7 @@ ArkApplication::newInstance() int i = 0; KURL url; bool doAutoExtract = args->isSet("extract"); - bool tempFile = KCmdLineArgs::isTempFileSet(); + bool tempFile = TDECmdLineArgs::isTempFileSet(); do { if (args->count() > 0) diff --git a/ark/main.cpp b/ark/main.cpp index 9d90256..10449c2 100644 --- a/ark/main.cpp +++ b/ark/main.cpp @@ -105,9 +105,9 @@ extern "C" KDE_EXPORT int kdemain( int argc, char *argv[] ) I18N_NOOP( "Ideas, help with the icons" ), "smitty@absamail.co.za" ); - KCmdLineArgs::init( argc, argv, &aboutData ); - KCmdLineArgs::addCmdLineOptions( option ); - KCmdLineArgs::addTempFileOption(); + TDECmdLineArgs::init( argc, argv, &aboutData ); + TDECmdLineArgs::addCmdLineOptions( option ); + TDECmdLineArgs::addTempFileOption(); if ( !ArkApplication::start() ) { |