diff options
author | Michele Calgaro <[email protected]> | 2025-01-21 12:05:51 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2025-01-21 12:05:51 +0900 |
commit | 4e279a8b16fb2fb649f33a5900de3dc71970354e (patch) | |
tree | ef70049f182db4ce98562e02d6c17c821b933472 /KMFSysTray/kmfiptwatcher.cpp | |
parent | f7f0ef7ddd9b7758b64ba583617c6cd8129a3a0a (diff) | |
download | kmyfirewall-4e279a8b16fb2fb649f33a5900de3dc71970354e.tar.gz kmyfirewall-4e279a8b16fb2fb649f33a5900de3dc71970354e.zip |
Use tdeApp
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'KMFSysTray/kmfiptwatcher.cpp')
-rw-r--r-- | KMFSysTray/kmfiptwatcher.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/KMFSysTray/kmfiptwatcher.cpp b/KMFSysTray/kmfiptwatcher.cpp index d09731c..067191f 100644 --- a/KMFSysTray/kmfiptwatcher.cpp +++ b/KMFSysTray/kmfiptwatcher.cpp @@ -62,7 +62,7 @@ void KMFIPTWatcher::timeout() { // kdDebug() << "timeout()" << endl; - DCOPClient *client = kapp->dcopClient(); + DCOPClient *client = tdeApp->dcopClient(); TQCString reply_type; TQByteArray params; TQDataStream stream( params, IO_WriteOnly ); @@ -75,7 +75,7 @@ void KMFIPTWatcher::timeout() { *( new TQCString( "numChainsInTable(TQString)" ) ), params, reply_type, reply_data, false, 10000 ) ) { - // KMessageBox::information( 0, i18n( "Error with DCOP: %1" ).arg( kapp->dcopClient() ->appId() ) ); + // KMessageBox::information( 0, i18n( "Error with DCOP: %1" ).arg( tdeApp->dcopClient() ->appId() ) ); emit sigUpdateActive( false ); } else { TQDataStream answer( reply_data, IO_ReadOnly ); @@ -103,7 +103,7 @@ void KMFIPTWatcher::queryExtendedInfo() { void KMFIPTWatcher::queryChainsInTable( const TQString& table, KMFIPTDoc* iptdoc ) { kdDebug() << "queryNumRulesInChain( const TQString& table, const TQString& chain )" << endl; - DCOPClient *client = kapp->dcopClient(); + DCOPClient *client = tdeApp->dcopClient(); TQCString reply_type; TQByteArray params; TQDataStream stream( params, IO_WriteOnly ); @@ -160,7 +160,7 @@ void KMFIPTWatcher::queryChainsInTable( const TQString& table, KMFIPTDoc* iptdoc } void KMFIPTWatcher::fetchChainPolicy( IPTChain* chain ) { - DCOPClient *client = kapp->dcopClient(); + DCOPClient *client = tdeApp->dcopClient(); TQCString reply_type; TQByteArray params; TQDataStream stream( params, IO_WriteOnly ); @@ -185,7 +185,7 @@ void KMFIPTWatcher::fetchChainPolicy( IPTChain* chain ) { void KMFIPTWatcher::fetchRulesInChain( IPTChain* chain ) { kdDebug() << "fetchRulesInChain( const TQString& table, const TQString& chain )" << endl; - DCOPClient *client = kapp->dcopClient(); + DCOPClient *client = tdeApp->dcopClient(); TQCString reply_type; TQByteArray params; TQDataStream stream( params, IO_WriteOnly ); @@ -238,7 +238,7 @@ void KMFIPTWatcher::fetchRulesInChain( IPTChain* chain ) { void KMFIPTWatcher::fetchRulesProperties( IPTRule* rule, int index ) { kdDebug() << "queryNumRulesInChain( const TQString& table, const TQString& chain )" << endl; - DCOPClient *client = kapp->dcopClient(); + DCOPClient *client = tdeApp->dcopClient(); TQCString reply_type; TQByteArray params; TQDataStream stream( params, IO_WriteOnly ); @@ -271,7 +271,7 @@ void KMFIPTWatcher::fetchRulesProperties( IPTRule* rule, int index ) { void KMFIPTWatcher::queryNumRulesInChain( const TQString& table, const TQString& chain, KMFIPTDoc* doc ) { kdDebug() << "queryNumRulesInChain( const TQString& table, const TQString& chain )" << endl; - DCOPClient *client = kapp->dcopClient(); + DCOPClient *client = tdeApp->dcopClient(); TQCString reply_type; TQByteArray params; TQDataStream stream( params, IO_WriteOnly ); |