summaryrefslogtreecommitdiffstats
path: root/wifi/interface_wireless_wirelessextensions.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-12-16 13:36:02 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-12-16 13:36:02 +0900
commitef41ffcd0d5ac06c867c98f4e6395f504db61041 (patch)
treedfb30ad56f63b0ac66339c47771063c94d833dc7 /wifi/interface_wireless_wirelessextensions.cpp
parent9a9de18eb7ccd5afe5d01c17576a42e7aca6b321 (diff)
downloadtdenetwork-ef41ffcd0d5ac06c867c98f4e6395f504db61041.tar.gz
tdenetwork-ef41ffcd0d5ac06c867c98f4e6395f504db61041.zip
Use TDEProcIO classHEADmaster
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'wifi/interface_wireless_wirelessextensions.cpp')
-rw-r--r--wifi/interface_wireless_wirelessextensions.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/wifi/interface_wireless_wirelessextensions.cpp b/wifi/interface_wireless_wirelessextensions.cpp
index db2e3545..61cdada0 100644
--- a/wifi/interface_wireless_wirelessextensions.cpp
+++ b/wifi/interface_wireless_wirelessextensions.cpp
@@ -38,7 +38,7 @@
#include <string>
#include <tdelocale.h>
#include <kstandarddirs.h>
-#include <kprocio.h>
+#include <tdeprocio.h>
#include <kdebug.h>
#include <tqstring.h>
#include <arpa/inet.h>
@@ -530,7 +530,7 @@ TQTable* Interface_wireless_wirelessextensions::get_available_networks ()
networks->horizontalHeader()->setLabel( 2, i18n("Quality") );
networks->horizontalHeader()->setLabel( 3, i18n("WEP") );
- KProcIO *iwlist = new KProcIO;
+ TDEProcIO *iwlist = new TDEProcIO;
TQString iwlist_bin = TDEStandardDirs::findExe("iwlist");
if(iwlist_bin.isEmpty())
iwlist_bin = TDEStandardDirs::findExe("iwlist", "/usr/local/sbin:/usr/sbin:/sbin");
@@ -539,7 +539,7 @@ TQTable* Interface_wireless_wirelessextensions::get_available_networks ()
*iwlist << iwlist_bin << interface_name << "scanning";
-// connect ( iwlist, TQ_SIGNAL ( readReady ( KProcIO * ) ), this, TQ_SLOT ( parseScanData ( KProcIO * ) ) );
+// connect ( iwlist, TQ_SIGNAL ( readReady ( TDEProcIO * ) ), this, TQ_SLOT ( parseScanData ( TDEProcIO * ) ) );
if ( !iwlist->start ( TDEProcess::Block ) )
KMessageBox::sorry ( 0, i18n ( "Unable to perform the scan. Please make sure the executable \"iwlist\" is in your $PATH." ),
@@ -556,7 +556,7 @@ TQTable* Interface_wireless_wirelessextensions::get_available_networks ()
}
void
-Interface_wireless_wirelessextensions::parseScanData ( KProcIO * iwlist )
+Interface_wireless_wirelessextensions::parseScanData ( TDEProcIO * iwlist )
{
TQString data;
int cellcount = 0, iteratecount = 0;