summaryrefslogtreecommitdiffstats
path: root/wifi
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 13:29:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 13:29:01 -0600
commit4c899296290a7499b75b1bd88267d53d7d690ffe (patch)
treec08d380471f924338a10031b9d810d38af7c852a /wifi
parent7f8c2db2f66cc2bc671bc92e0fc4efa967ff2351 (diff)
downloadtdenetwork-4c899296290a7499b75b1bd88267d53d7d690ffe.tar.gz
tdenetwork-4c899296290a7499b75b1bd88267d53d7d690ffe.zip
Rename KStandard for enhanced compatibility with KDE4
Diffstat (limited to 'wifi')
-rw-r--r--wifi/interface_wireless_wirelessextensions.cpp4
-rw-r--r--wifi/kwifimanager.cpp2
-rw-r--r--wifi/picture.cpp2
-rw-r--r--wifi/strength.cpp2
4 files changed, 5 insertions, 5 deletions
diff --git a/wifi/interface_wireless_wirelessextensions.cpp b/wifi/interface_wireless_wirelessextensions.cpp
index 7521391e..f14d375b 100644
--- a/wifi/interface_wireless_wirelessextensions.cpp
+++ b/wifi/interface_wireless_wirelessextensions.cpp
@@ -531,9 +531,9 @@ TQTable* Interface_wireless_wirelessextensions::get_available_networks ()
networks->horizontalHeader()->setLabel( 3, i18n("WEP") );
KProcIO *iwlist = new KProcIO;
- TQString iwlist_bin = KStandardDirs::findExe("iwlist");
+ TQString iwlist_bin = TDEStandardDirs::findExe("iwlist");
if(iwlist_bin.isEmpty())
- iwlist_bin = KStandardDirs::findExe("iwlist", "/usr/local/sbin:/usr/sbin:/sbin");
+ iwlist_bin = TDEStandardDirs::findExe("iwlist", "/usr/local/sbin:/usr/sbin:/sbin");
if(iwlist_bin.isEmpty())
iwlist_bin = "iwlist"; // try our best ;/
diff --git a/wifi/kwifimanager.cpp b/wifi/kwifimanager.cpp
index 9c3472da..40efb22f 100644
--- a/wifi/kwifimanager.cpp
+++ b/wifi/kwifimanager.cpp
@@ -142,7 +142,7 @@ KWiFiManagerApp::~KWiFiManagerApp ()
void
KWiFiManagerApp::init_whois_db ()
{
- KStandardDirs finder;
+ TDEStandardDirs finder;
TQString tdedir =
finder.findResourceDir ("data", "kwifimanager/locations/NOWHERE.loc");
tdedir += "kwifimanager/locations/";
diff --git a/wifi/picture.cpp b/wifi/picture.cpp
index 1edc9b9b..4c808e3f 100644
--- a/wifi/picture.cpp
+++ b/wifi/picture.cpp
@@ -29,7 +29,7 @@ Picture::Picture (TQWidget * parent, Interface_wireless * device):TQWidget (pare
"picture")
{
this->device = device;
- KStandardDirs finder;
+ TDEStandardDirs finder;
tdedir = finder.findResourceDir ("data", "kwifimanager/pics/no_card.png");
tdedir += "kwifimanager/pics/";
NO_CARD = new TQPixmap (tdedir + "no_card.png");
diff --git a/wifi/strength.cpp b/wifi/strength.cpp
index a448cfdb..35d156bd 100644
--- a/wifi/strength.cpp
+++ b/wifi/strength.cpp
@@ -31,7 +31,7 @@ Strength::Strength (TQWidget * parent, Interface_wireless * device):TQWidget (pa
"strength")
{
this->device = device;
- KStandardDirs finder;
+ TDEStandardDirs finder;
tdedir = finder.findResourceDir ("data", "kwifimanager/pics/no_card.png");
tdedir += "kwifimanager/pics/";
NOT_CON_OFFLINE_ADHOC = new TQPixmap (tdedir + "offline.png");