diff options
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 */ |