diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
commit | 47c8a359c5276062c4bc17f0e82410f29081b502 (patch) | |
tree | 2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /wifi/interface_wireless.h | |
parent | 6f82532777a35e0e60bbd2b290b2e93e646f349b (diff) | |
download | tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'wifi/interface_wireless.h')
-rw-r--r-- | wifi/interface_wireless.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/wifi/interface_wireless.h b/wifi/interface_wireless.h index 029a8156..0a92709e 100644 --- a/wifi/interface_wireless.h +++ b/wifi/interface_wireless.h @@ -20,9 +20,9 @@ #include "config.h" -#include <qobject.h> -#include <qstring.h> -#include <qtable.h> +#include <tqobject.h> +#include <tqstring.h> +#include <tqtable.h> #ifndef WITHOUT_ARTS #include <arts/iomanager.h> @@ -35,28 +35,28 @@ const int MAX_HISTORY = 240; // number of device states to be saved class Interface_wireless:public QObject { Q_OBJECT public: - Interface_wireless (QStringList * ignoreInterfaces); + Interface_wireless (TQStringList * ignoreInterfaces); virtual ~ Interface_wireless() { }; virtual bool get_device_freq (double &freq); // true: device returned valid frequency virtual bool get_mode (int &mode); // true: device returned valid mode info - virtual bool get_key (QString & key, int &size, int &flags); + virtual bool get_key (TQString & key, int &size, int &flags); // true: device has set up a valid crypto key - virtual QString get_essid (); - virtual bool get_AP_info (QString & mac, QString & ip); + virtual TQString get_essid (); + virtual bool get_AP_info (TQString & mac, TQString & ip); // true: could retrieve IP, false: returned IP info invalid - virtual QString get_IP_info (); + virtual TQString get_IP_info (); virtual double get_bitrate (); - virtual QString get_interface_name (); + virtual TQString get_interface_name (); // if no device is attached, return empty QString virtual bool get_current_quality (int &sig, int &noi, int &qua); // quality info is only valid when true - virtual QTable* get_available_networks () = 0; + virtual TQTable* get_available_networks () = 0; virtual bool get_has_txpower(); virtual int get_txpower_disabled(); - virtual void setActiveDevice( QString device ) = 0; + virtual void setActiveDevice( TQString device ) = 0; // stats int sigLevel[MAX_HISTORY]; int sigLevelMin, sigLevelMax; @@ -75,7 +75,7 @@ signals: void statusChanged (); void modeChanged (); void speedChanged (); - void essidChanged (QString essid); + void essidChanged (TQString essid); void txPowerChanged (); void statsUpdated (); protected: @@ -86,18 +86,18 @@ protected: bool has_mode; int mode; bool has_key; - QString key; + TQString key; int key_size; int key_flags; - QString essid; - QString access_point_address; - QString ip_address; + TQString essid; + TQString access_point_address; + TQString ip_address; double bitrate; - QString interface_name; + TQString interface_name; int socket; bool has_range; int range; - QStringList * ignoreInterfaces; + TQStringList * ignoreInterfaces; bool has_txpower; int txpower_disabled; }; @@ -120,6 +120,6 @@ public: #endif -QString whois (const char *MAC_ADR, QStringList APList); +TQString whois (const char *MAC_ADR, TQStringList APList); #endif /* INTERFACE_WIRELESS_H */ |