summaryrefslogtreecommitdiffstats
path: root/src/knemod/backends/nettoolsbackend.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 18:16:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 18:16:06 +0000
commit02a6c8f36311eb6225066df35adf8d00f9cd942b (patch)
treeceb91c373877f7a69209e184c81b53dc6f9402d7 /src/knemod/backends/nettoolsbackend.h
parent09e6e27fe85b2efb28072f1c81f6581fa6837d92 (diff)
downloadknemo-02a6c8f36311eb6225066df35adf8d00f9cd942b.tar.gz
knemo-02a6c8f36311eb6225066df35adf8d00f9cd942b.zip
TQt4 port knemo
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/knemo@1238869 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/knemod/backends/nettoolsbackend.h')
-rw-r--r--src/knemod/backends/nettoolsbackend.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/knemod/backends/nettoolsbackend.h b/src/knemod/backends/nettoolsbackend.h
index 788938c..f457208 100644
--- a/src/knemod/backends/nettoolsbackend.h
+++ b/src/knemod/backends/nettoolsbackend.h
@@ -20,7 +20,7 @@
#ifndef NETTOOLSBACKEND_H
#define NETTOOLSBACKEND_H
-#include <qobject.h>
+#include <tqobject.h>
#include "backendbase.h"
@@ -35,14 +35,15 @@ class KProcess;
* @author Percy Leonhardt <percy@eris23.de>
*/
-class NetToolsBackend : public QObject, BackendBase
+class NetToolsBackend : public TQObject, BackendBase
{
Q_OBJECT
+ TQ_OBJECT
public:
- NetToolsBackend(QDict<Interface>& interfaces );
+ NetToolsBackend(TQDict<Interface>& interfaces );
virtual ~NetToolsBackend();
- static BackendBase* createInstance( QDict<Interface>& interfaces );
+ static BackendBase* createInstance( TQDict<Interface>& interfaces );
void update();
@@ -57,13 +58,13 @@ private slots:
private:
void parseRouteOutput();
void parseIfconfigOutput();
- void updateInterfaceData( QString& config, InterfaceData& data, int type );
+ void updateInterfaceData( TQString& config, InterfaceData& data, int type );
void parseIwconfigOutput();
- void updateWirelessData( QString& config, WirelessData& data );
+ void updateWirelessData( TQString& config, WirelessData& data );
- QString mRouteStdout;
- QString mIfconfigStdout;
- QString mIwconfigStdout;
+ TQString mRouteStdout;
+ TQString mIfconfigStdout;
+ TQString mIwconfigStdout;
KProcess* mRouteProcess;
KProcess* mIfconfigProcess;
KProcess* mIwconfigProcess;