summaryrefslogtreecommitdiffstats
path: root/ark
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:48 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:48 -0600
commit6fdacb9c2e3adb3b5da38cd8a22afc1668e1d36b (patch)
treea6a367ba18807833d8f90cb6b233e7bdb3f007cc /ark
parentba743d360eabb06e6ffbafd2c7bc833dd985aa0c (diff)
downloadtdeutils-6fdacb9c2e3adb3b5da38cd8a22afc1668e1d36b.tar.gz
tdeutils-6fdacb9c2e3adb3b5da38cd8a22afc1668e1d36b.zip
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'ark')
-rw-r--r--ark/arkapp.cpp10
-rw-r--r--ark/main.cpp6
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() )
{