diff options
Diffstat (limited to 'wifi/interface_wireless_wirelessextensions.cpp')
-rw-r--r-- | wifi/interface_wireless_wirelessextensions.cpp | 8 |
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; |