summaryrefslogtreecommitdiffstats
path: root/wifi/interface_wireless.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /wifi/interface_wireless.cpp
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-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.cpp')
-rw-r--r--wifi/interface_wireless.cpp26
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");