diff options
Diffstat (limited to 'wifi')
-rw-r--r-- | wifi/interface_wireless.cpp | 2 | ||||
-rw-r--r-- | wifi/interface_wireless_wirelessextensions.cpp | 8 | ||||
-rw-r--r-- | wifi/interface_wireless_wirelessextensions.h | 4 | ||||
-rw-r--r-- | wifi/kcmwifi/kcmwifi.cpp | 2 | ||||
-rw-r--r-- | wifi/kcmwifi/kcmwifi.h | 2 | ||||
-rw-r--r-- | wifi/kcmwifi/mainconfig.cpp | 2 | ||||
-rw-r--r-- | wifi/kcmwifi/mainconfig.h | 2 | ||||
-rw-r--r-- | wifi/kcmwifi/wificonfig.cpp | 10 | ||||
-rw-r--r-- | wifi/kcmwifi/wificonfig.h | 2 |
9 files changed, 17 insertions, 17 deletions
diff --git a/wifi/interface_wireless.cpp b/wifi/interface_wireless.cpp index 59277473..5c576bce 100644 --- a/wifi/interface_wireless.cpp +++ b/wifi/interface_wireless.cpp @@ -30,7 +30,7 @@ #include <iostream> #include <string> #include <tdelocale.h> -#include <kprocio.h> +#include <tdeprocio.h> #include <kdebug.h> #include <tqstring.h> #include <arpa/inet.h> 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; diff --git a/wifi/interface_wireless_wirelessextensions.h b/wifi/interface_wireless_wirelessextensions.h index 06453867..2f566fa9 100644 --- a/wifi/interface_wireless_wirelessextensions.h +++ b/wifi/interface_wireless_wirelessextensions.h @@ -31,7 +31,7 @@ #include "interface_wireless.h" class TQTable; -class KProcIO; +class TDEProcIO; extern "C" { @@ -63,7 +63,7 @@ private: int get_info (int skfd, const TQString& interface, struct wireless_info& info); TQTable* networks; private slots: - void parseScanData ( KProcIO * iwlist ); + void parseScanData ( TDEProcIO * iwlist ); }; #endif /* INTERFACE_WIRELESS_WIRELESSEXTENSIONS_H */ diff --git a/wifi/kcmwifi/kcmwifi.cpp b/wifi/kcmwifi/kcmwifi.cpp index 76393d69..9c2dcd97 100644 --- a/wifi/kcmwifi/kcmwifi.cpp +++ b/wifi/kcmwifi/kcmwifi.cpp @@ -29,7 +29,7 @@ #include <kgenericfactory.h> #include <tdelocale.h> #include <tdemessagebox.h> -#include <kprocio.h> +#include <tdeprocio.h> #include <klineedit.h> #include "kcmwifi.h" diff --git a/wifi/kcmwifi/kcmwifi.h b/wifi/kcmwifi/kcmwifi.h index 1445fead..eff4ea15 100644 --- a/wifi/kcmwifi/kcmwifi.h +++ b/wifi/kcmwifi/kcmwifi.h @@ -28,7 +28,7 @@ class IfConfigPage; class MainConfig; class TQTabWidget; -class KProcIO; +class TDEProcIO; class KCMWifi : public TDECModule { diff --git a/wifi/kcmwifi/mainconfig.cpp b/wifi/kcmwifi/mainconfig.cpp index f77292a3..6fcb079a 100644 --- a/wifi/kcmwifi/mainconfig.cpp +++ b/wifi/kcmwifi/mainconfig.cpp @@ -26,7 +26,7 @@ #include <klineedit.h> #include <tdelocale.h> #include <tdemessagebox.h> -#include <kprocio.h> +#include <tdeprocio.h> #include <kpushbutton.h> #include <knuminput.h> diff --git a/wifi/kcmwifi/mainconfig.h b/wifi/kcmwifi/mainconfig.h index b3d4b573..3ed8f854 100644 --- a/wifi/kcmwifi/mainconfig.h +++ b/wifi/kcmwifi/mainconfig.h @@ -23,7 +23,7 @@ #include "mainconfigbase.h" -class KProcIO; +class TDEProcIO; class MainConfig : public MainConfigBase { diff --git a/wifi/kcmwifi/wificonfig.cpp b/wifi/kcmwifi/wificonfig.cpp index 33fa1c88..6d529ea1 100644 --- a/wifi/kcmwifi/wificonfig.cpp +++ b/wifi/kcmwifi/wificonfig.cpp @@ -22,7 +22,7 @@ #include <ksimpleconfig.h> #include <tdeglobal.h> #include <kdebug.h> -#include <kprocio.h> +#include <tdeprocio.h> #include <tdemessagebox.h> #include <tdelocale.h> @@ -265,11 +265,11 @@ TQString WifiConfig::autoDetectInterface() for ( TQStringList::Iterator it = list.begin (); it != list.end (); ++it ) { if ( ((*it).contains("wifi"))==0 ) { // if the name is wifiX, ignore - KProcIO test; + TDEProcIO test; test << "iwconfig"; test << *it; - connect( &test, TQ_SIGNAL( readReady( KProcIO * ) ), - this, TQ_SLOT( slotTestInterface( KProcIO * ) ) ); + connect( &test, TQ_SIGNAL( readReady( TDEProcIO * ) ), + this, TQ_SLOT( slotTestInterface( TDEProcIO * ) ) ); test.start ( TDEProcess::Block ); } } @@ -284,7 +284,7 @@ TQString WifiConfig::autoDetectInterface() return m_detectedInterface; } -void WifiConfig::slotTestInterface( KProcIO *proc ) +void WifiConfig::slotTestInterface( TDEProcIO *proc ) { TQString output; proc->readln( output ); diff --git a/wifi/kcmwifi/wificonfig.h b/wifi/kcmwifi/wificonfig.h index cdff72e2..5a1ba44e 100644 --- a/wifi/kcmwifi/wificonfig.h +++ b/wifi/kcmwifi/wificonfig.h @@ -114,7 +114,7 @@ class WifiConfig : TQObject int m_numConfigs; private slots: - void slotTestInterface( KProcIO *proc ); + void slotTestInterface( TDEProcIO *proc ); private: WifiConfig(); |