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 /ksystraycmd/main.cpp | |
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 'ksystraycmd/main.cpp')
-rw-r--r-- | ksystraycmd/main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ksystraycmd/main.cpp b/ksystraycmd/main.cpp index b10728fd9..ac6b94d74 100644 --- a/ksystraycmd/main.cpp +++ b/ksystraycmd/main.cpp @@ -67,7 +67,7 @@ int main( int argc, char *argv[] ) KSysTrayCmd cmd; // Read the window id - QString wid = args->getOption( "wid" ); + TQString wid = args->getOption( "wid" ); if ( !wid.isEmpty() ) { int base = 10; if ( wid.startsWith( "0x" ) ) { @@ -85,7 +85,7 @@ int main( int argc, char *argv[] ) } // Read window title regexp - QString title = args->getOption( "window" ); + TQString title = args->getOption( "window" ); if ( !title.isEmpty() ) cmd.setPattern( title ); @@ -93,14 +93,14 @@ int main( int argc, char *argv[] ) KCmdLineArgs::usage(i18n("No command or window specified")); // Read the command - QString command; + TQString command; for ( int i = 0; i < args->count(); i++ ) - command += KProcess::quote(QString::fromLocal8Bit( args->arg(i) )) + " "; + command += KProcess::quote(TQString::fromLocal8Bit( args->arg(i) )) + " "; if ( !command.isEmpty() ) cmd.setCommand( command ); // Tooltip - QString tip = args->getOption( "tooltip" ); + TQString tip = args->getOption( "tooltip" ); if ( !tip.isEmpty() ) cmd.setDefaultTip( tip ); |