diff options
author | Timothy Pearson <[email protected]> | 2011-12-19 11:36:58 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-19 11:36:58 -0600 |
commit | b8b2c2b828b8e3a3aee8bc7d912975769c7aae88 (patch) | |
tree | 058052d0f27163e31cf9ae85d321f4800aa4ce15 /KMFSysTray/kmfiptwatcher.cpp | |
parent | 161cc76d48c479b4f90433703b855a48b093f9cc (diff) | |
download | kmyfirewall-b8b2c2b828b8e3a3aee8bc7d912975769c7aae88.tar.gz kmyfirewall-b8b2c2b828b8e3a3aee8bc7d912975769c7aae88.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'KMFSysTray/kmfiptwatcher.cpp')
-rw-r--r-- | KMFSysTray/kmfiptwatcher.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/KMFSysTray/kmfiptwatcher.cpp b/KMFSysTray/kmfiptwatcher.cpp index 1ff7024..ae472c5 100644 --- a/KMFSysTray/kmfiptwatcher.cpp +++ b/KMFSysTray/kmfiptwatcher.cpp @@ -76,14 +76,14 @@ void KMFIPTWatcher::timeout() { *( new TQCString( "numChainsInTable(TQString)" ) ), params, reply_type, reply_data, false, 10000 ) ) { - // KMessageBox::information( 0, i18n( "Error with DCOP: %1" ).tqarg( kapp->dcopClient() ->appId() ) ); + // KMessageBox::information( 0, i18n( "Error with DCOP: %1" ).arg( kapp->dcopClient() ->appId() ) ); emit sigUpdateActive( false ); } else { TQDataStream answer( reply_data, IO_ReadOnly ); if ( reply_type == "int" ) { int result; answer >> result; - // KMessageBox::information( 0, i18n( "Got answer %1" ).tqarg(result) ); + // KMessageBox::information( 0, i18n( "Got answer %1" ).arg(result) ); emit sigUpdateActive( result > 0 ); } else KMessageBox::information( 0, i18n( "Calling over DCOP succeeded, but the answer had wrong type!" ) ); @@ -205,7 +205,7 @@ void KMFIPTWatcher::fetchRulesInChain( IPTChain* chain ) { answer >> result; TQPtrList<IPTRule> *used = new TQPtrList<IPTRule>; for ( int i = 0; i < result; i++ ) { - TQString rn = TQString("rule_%1").tqarg( i ); + TQString rn = TQString("rule_%1").arg( i ); IPTRule *rule = 0; rule = chain->ruleForName( rn ); if ( ! rule ) { @@ -221,7 +221,7 @@ void KMFIPTWatcher::fetchRulesInChain( IPTChain* chain ) { found_rule = it_rules.current(); bool found = false; for ( int i = 0; i < result; i++ ) { - TQString rn = TQString("rule_%1").tqarg( i ); + TQString rn = TQString("rule_%1").arg( i ); if ( rn == found_rule->name() ) { found = true; } |