summaryrefslogtreecommitdiffstats
path: root/src/knemod/backends/nettoolsbackend.h
diff options
context:
space:
mode:
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 <[email protected]>
*/
-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;