summaryrefslogtreecommitdiffstats
path: root/twin/killer
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:43 -0600
commitd41050ea3f6904e5156d35f664346b816b9e4d12 (patch)
tree7b3ff517432a631adc61a2a93080dc3bacfab604 /twin/killer
parentc16d0f2191af1e4810391dbd1a06d7713fb38666 (diff)
downloadtdebase-d41050ea3f6904e5156d35f664346b816b9e4d12.tar.gz
tdebase-d41050ea3f6904e5156d35f664346b816b9e4d12.zip
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'twin/killer')
-rw-r--r--twin/killer/killer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/twin/killer/killer.cpp b/twin/killer/killer.cpp
index 18fbac02b..46969da7f 100644
--- a/twin/killer/killer.cpp
+++ b/twin/killer/killer.cpp
@@ -46,11 +46,11 @@ static const KCmdLineOptions options[] =
int main( int argc, char* argv[] )
{
KLocale::setMainCatalogue( "twin" ); // the messages are in twin's .po file
- KCmdLineArgs::init( argc, argv, "twin_killer_helper", I18N_NOOP( "TWin" ),
+ TDECmdLineArgs::init( argc, argv, "twin_killer_helper", 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();
TQCString hostname = args->getOption( "hostname" );
bool pid_ok = false;
pid_t pid = args->getOption( "pid" ).toULong( &pid_ok );
@@ -64,7 +64,7 @@ int main( int argc, char* argv[] )
if( !pid_ok || pid == 0 || !id_ok || id == None || !time_ok || timestamp == CurrentTime
|| hostname.isEmpty() || caption.isEmpty() || appname.isEmpty())
{
- 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;
}
TQString question = i18n(