diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kwin/killer | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kwin/killer')
-rw-r--r-- | kwin/killer/killer.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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( "<qt>Window with title \"<b>%2</b>\" is not responding. " "This window belongs to application <b>%1</b> (PID=%3, hostname=%4).<p>" "Do you wish to terminate this application? (All unsaved data in this application will be lost.)</qt>" ) .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" ) { |