diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-12 09:17:55 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-12 09:17:55 +0900 |
commit | cd00c5640f160b5451a363434c991e5e958a1728 (patch) | |
tree | 037d0998c26863ae0c08d5b6225fab68cf591cbc /KMFSysTray | |
parent | 94838659277be582d1694c1483bec4935c9decc2 (diff) | |
download | kmyfirewall-cd00c5640f160b5451a363434c991e5e958a1728.tar.gz kmyfirewall-cd00c5640f160b5451a363434c991e5e958a1728.zip |
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'KMFSysTray')
-rw-r--r-- | KMFSysTray/kmfiptwatcher.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/KMFSysTray/kmfiptwatcher.cpp b/KMFSysTray/kmfiptwatcher.cpp index 789fb25..65c92ec 100644 --- a/KMFSysTray/kmfiptwatcher.cpp +++ b/KMFSysTray/kmfiptwatcher.cpp @@ -118,7 +118,7 @@ void KMFIPTWatcher::queryChainsInTable( const TQString& table, KMFIPTDoc* iptdoc emit sigUpdateActive( false ); } else { TQDataStream answer( reply_data, IO_ReadOnly ); - if ( reply_type == TQSTRINGLIST_OBJECT_NAME_STRING ) { + if ( reply_type == "TQStringList" ) { TQStringList result; answer >> result; IPTable *tableObj = iptdoc->table( table ); @@ -175,7 +175,7 @@ void KMFIPTWatcher::fetchChainPolicy( IPTChain* chain ) { emit sigUpdateActive( false ); } else { TQDataStream answer( reply_data, IO_ReadOnly ); - if ( reply_type == TQSTRING_OBJECT_NAME_STRING ) { + if ( reply_type == "TQString" ) { TQString result; answer >> result; kdDebug() << "Found Chain Policy: " << chain->table()->name() << " " << chain->name() << " " << result << endl; @@ -253,7 +253,7 @@ void KMFIPTWatcher::fetchRulesProperties( IPTRule* rule, int index ) { emit sigUpdateActive( false ); } else { TQDataStream answer( reply_data, IO_ReadOnly ); - if ( reply_type == TQSTRINGLIST_OBJECT_NAME_STRING ) { + if ( reply_type == "TQStringList" ) { TQStringList result; answer >> result; if ( *result.at( 0 ) == "ERROR" ) { |