From 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 22 Jun 2011 00:30:31 +0000 Subject: TQt4 port kdenetwork This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- wifi/interface_wireless.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'wifi/interface_wireless.h') diff --git a/wifi/interface_wireless.h b/wifi/interface_wireless.h index 0a92709e..583f5c34 100644 --- a/wifi/interface_wireless.h +++ b/wifi/interface_wireless.h @@ -32,9 +32,12 @@ const int POLL_DELAY_MS = 250; // how much time between device polls const int MAX_HISTORY = 240; // number of device states to be saved -class Interface_wireless:public QObject +class Interface_wireless:public TQObject { -Q_OBJECT public: + Q_OBJECT + TQ_OBJECT + +public: Interface_wireless (TQStringList * ignoreInterfaces); virtual ~ Interface_wireless() { }; @@ -50,7 +53,7 @@ Q_OBJECT public: virtual TQString get_IP_info (); virtual double get_bitrate (); virtual TQString get_interface_name (); - // if no device is attached, return empty QString + // if no device is attached, return empty TQString virtual bool get_current_quality (int &sig, int &noi, int &qua); // quality info is only valid when true virtual TQTable* get_available_networks () = 0; -- cgit v1.2.1