diff options
Diffstat (limited to 'wifi/interface_wireless.cpp')
-rw-r--r-- | wifi/interface_wireless.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/wifi/interface_wireless.cpp b/wifi/interface_wireless.cpp index 5ece6301..d04efa95 100644 --- a/wifi/interface_wireless.cpp +++ b/wifi/interface_wireless.cpp @@ -16,9 +16,9 @@ ***************************************************************************/ #include "interface_wireless.h" -#include <qdir.h> -#include <qfile.h> -#include <qstringlist.h> +#include <tqdir.h> +#include <tqfile.h> +#include <tqstringlist.h> #ifndef WITHOUT_ARTS #include <arts/artsflow.h> @@ -32,10 +32,10 @@ #include <klocale.h> #include <kprocio.h> #include <kdebug.h> -#include <qstring.h> +#include <tqstring.h> #include <arpa/inet.h> -Interface_wireless::Interface_wireless (QStringList * ignoreInterfaces) +Interface_wireless::Interface_wireless (TQStringList * ignoreInterfaces) { this->ignoreInterfaces = ignoreInterfaces; has_frequency = false; @@ -94,7 +94,7 @@ bool Interface_wireless::get_mode (int &ext_mode) } } -bool Interface_wireless::get_key (QString & ext_key, +bool Interface_wireless::get_key (TQString & ext_key, int &ext_size, int &ext_flags) { @@ -111,7 +111,7 @@ bool Interface_wireless::get_key (QString & ext_key, } } -QString Interface_wireless::get_essid () +TQString Interface_wireless::get_essid () { return essid; } @@ -126,13 +126,13 @@ int Interface_wireless::get_txpower_disabled() return txpower_disabled; } -bool Interface_wireless::get_AP_info (QString & mac, QString &/*ip*/) +bool Interface_wireless::get_AP_info (TQString & mac, TQString &/*ip*/) { mac = access_point_address; return false; } -QString Interface_wireless::get_IP_info () +TQString Interface_wireless::get_IP_info () { return ip_address; } @@ -142,7 +142,7 @@ double Interface_wireless::get_bitrate () return bitrate; } -QString Interface_wireless::get_interface_name () +TQString Interface_wireless::get_interface_name () { return interface_name; } @@ -196,12 +196,12 @@ MyTimeNotify::notifyTime () #endif QString -whois (const char *MAC_ADR, QStringList APList) +whois (const char *MAC_ADR, TQStringList APList) { - for (QStringList::Iterator it = APList.begin (); it != APList.end (); + for (TQStringList::Iterator it = APList.begin (); it != APList.end (); (it++)++) { - if ((*it) == (QString) MAC_ADR) + if ((*it) == (TQString) MAC_ADR) return *(++it); } return i18n ("UNKNOWN"); |