summaryrefslogtreecommitdiffstats
path: root/KMFSysTray/kmfiptwatcher.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-27 17:52:36 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-27 17:52:36 +0000
commitff419492931de3748936967da36948af7a04d7a0 (patch)
tree31a70be62d3bfb8e405d51e4b256a7210940ffe8 /KMFSysTray/kmfiptwatcher.h
parentf1fd95abe28acef708caac65af44473461d7026c (diff)
downloadkmyfirewall-ff419492.tar.gz
kmyfirewall-ff419492.zip
TQt4 convert kmyfirewall
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmyfirewall@1238525 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'KMFSysTray/kmfiptwatcher.h')
-rw-r--r--KMFSysTray/kmfiptwatcher.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/KMFSysTray/kmfiptwatcher.h b/KMFSysTray/kmfiptwatcher.h
index c6c27f8..68ecf3c 100644
--- a/KMFSysTray/kmfiptwatcher.h
+++ b/KMFSysTray/kmfiptwatcher.h
@@ -20,24 +20,25 @@
#ifndef KMFIPTWATCHER_H
#define KMFIPTWATCHER_H
-#include <qobject.h>
+#include <tqobject.h>
/**
@author Christian Hubinger
*/
-class QTimer;
+class TQTimer;
class KMFIPTDoc;
class IPTChain;
class IPTable;
class IPTRule;
class IPTRuleOption;
-class KMFIPTWatcher : public QObject
+class KMFIPTWatcher : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMFIPTWatcher(QObject *parent = 0, const char *name = 0);
+ KMFIPTWatcher(TQObject *tqparent = 0, const char *name = 0);
~KMFIPTWatcher();
@@ -52,10 +53,10 @@ private slots:
private:
void go();
void queryExtendedInfo();
- void queryNumRulesInChain( const QString& /*table*/, const QString& /*Chain*/, KMFIPTDoc* /* doc */ );
- void queryChainsInTable( const QString& /*table*/, KMFIPTDoc* /* doc */ );
+ void queryNumRulesInChain( const TQString& /*table*/, const TQString& /*Chain*/, KMFIPTDoc* /* doc */ );
+ void queryChainsInTable( const TQString& /*table*/, KMFIPTDoc* /* doc */ );
- QTimer *m_timer;
+ TQTimer *m_timer;
bool m_queryExtendedInfo;
void fetchChainPolicy( IPTChain* );
@@ -66,7 +67,7 @@ private:
signals:
void sigUpdateIPTDoc( KMFIPTDoc* );
void sigUpdateActive( bool );
- void sigUpdateRuleCount( const QString& /*table*/, const QString& /*Chain*/, int );
+ void sigUpdateRuleCount( const TQString& /*table*/, const TQString& /*Chain*/, int );
};