From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kwin/killer/killer.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kwin/killer/killer.cpp') diff --git a/kwin/killer/killer.cpp b/kwin/killer/killer.cpp index eed473cf5..ae31fc3e0 100644 --- a/kwin/killer/killer.cpp +++ b/kwin/killer/killer.cpp @@ -51,11 +51,11 @@ int main( int argc, char* argv[] ) KCmdLineArgs::addCmdLineOptions( options ); KApplication app; KCmdLineArgs* args = KCmdLineArgs::parsedArgs(); - QCString hostname = args->getOption( "hostname" ); + TQCString hostname = args->getOption( "hostname" ); bool pid_ok = false; pid_t pid = args->getOption( "pid" ).toULong( &pid_ok ); - QString caption = QString::fromUtf8( args->getOption( "windowname" )); - QString appname = QString::fromLatin1( args->getOption( "applicationname" )); + TQString caption = TQString::fromUtf8( args->getOption( "windowname" )); + TQString appname = TQString::fromLatin1( args->getOption( "applicationname" )); bool id_ok = false; Window id = args->getOption( "wid" ).toULong( &id_ok ); bool time_ok = false; @@ -67,13 +67,13 @@ int main( int argc, char* argv[] ) KCmdLineArgs::usage( i18n( "This helper utility is not supposed to be called directly." )); return 1; } - QString question = i18n( + TQString question = i18n( "Window with title \"%2\" is not responding. " "This window belongs to application %1 (PID=%3, hostname=%4).

" "Do you wish to terminate this application? (All unsaved data in this application will be lost.)" ) .arg( appname ).arg( caption ).arg( pid ).arg( hostname ); app.updateUserTimestamp( timestamp ); - if( KMessageBox::warningYesNoWId( id, question, QString::null, i18n("Terminate"), i18n("Keep Running") ) == KMessageBox::Yes ) + if( KMessageBox::warningYesNoWId( id, question, TQString::null, i18n("Terminate"), i18n("Keep Running") ) == KMessageBox::Yes ) { if( hostname != "localhost" ) { -- cgit v1.2.3