From 4c899296290a7499b75b1bd88267d53d7d690ffe Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 Jan 2013 13:29:01 -0600 Subject: Rename KStandard for enhanced compatibility with KDE4 --- wifi/interface_wireless_wirelessextensions.cpp | 4 ++-- wifi/kwifimanager.cpp | 2 +- wifi/picture.cpp | 2 +- wifi/strength.cpp | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'wifi') 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"); -- cgit v1.2.1