From d41050ea3f6904e5156d35f664346b816b9e4d12 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 19 Jan 2013 18:46:43 -0600 Subject: Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4 --- twin/killer/killer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'twin/killer/killer.cpp') 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( -- cgit v1.2.1