summaryrefslogtreecommitdiffstats
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
parent9a9de18eb7ccd5afe5d01c17576a42e7aca6b321 (diff)
downloadtdenetwork-master.tar.gz
tdenetwork-master.zip
Use TDEProcIO classHEADmaster
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--filesharing/advanced/nfs/nfsfile.cpp4
-rw-r--r--filesharing/advanced/propsdlgplugin/propertiespage.cpp4
-rw-r--r--kopete/plugins/cryptography/kgpginterface.cpp2
-rw-r--r--kopete/plugins/cryptography/kgpgselkey.cpp2
-rw-r--r--kopete/plugins/cryptography/popuppublic.cpp8
-rw-r--r--kopete/plugins/cryptography/popuppublic.h4
-rw-r--r--kopete/protocols/winpopup/libwinpopup/libwinpopup.cpp6
-rw-r--r--kopete/protocols/winpopup/libwinpopup/libwinpopup.h4
-rw-r--r--kopete/protocols/winpopup/wpuserinfo.cpp6
-rw-r--r--kopete/protocols/winpopup/wpuserinfo.h4
-rw-r--r--wifi/interface_wireless.cpp2
-rw-r--r--wifi/interface_wireless_wirelessextensions.cpp8
-rw-r--r--wifi/interface_wireless_wirelessextensions.h4
-rw-r--r--wifi/kcmwifi/kcmwifi.cpp2
-rw-r--r--wifi/kcmwifi/kcmwifi.h2
-rw-r--r--wifi/kcmwifi/mainconfig.cpp2
-rw-r--r--wifi/kcmwifi/mainconfig.h2
-rw-r--r--wifi/kcmwifi/wificonfig.cpp10
-rw-r--r--wifi/kcmwifi/wificonfig.h2
19 files changed, 39 insertions, 39 deletions
diff --git a/filesharing/advanced/nfs/nfsfile.cpp b/filesharing/advanced/nfs/nfsfile.cpp
index 3397ee9b..795054ca 100644
--- a/filesharing/advanced/nfs/nfsfile.cpp
+++ b/filesharing/advanced/nfs/nfsfile.cpp
@@ -31,7 +31,7 @@
#include <tdelocale.h>
#include <knfsshare.h>
#include <tdetempfile.h>
-#include <kprocio.h>
+#include <tdeprocio.h>
#include "nfsfile.h"
@@ -238,7 +238,7 @@ bool NFSFile::save()
tempFile.close();
tempFile.setAutoDelete( true );
- KProcIO proc;
+ TDEProcIO proc;
TQString command = TQString("cp %1 %2")
.arg(TDEProcess::quote( tempFile.name() ))
diff --git a/filesharing/advanced/propsdlgplugin/propertiespage.cpp b/filesharing/advanced/propsdlgplugin/propertiespage.cpp
index d6ca9f37..b2acd701 100644
--- a/filesharing/advanced/propsdlgplugin/propertiespage.cpp
+++ b/filesharing/advanced/propsdlgplugin/propertiespage.cpp
@@ -35,7 +35,7 @@
#include <kurlrequester.h>
#include <tdemessagebox.h>
#include <klineedit.h>
-#include <kprocio.h>
+#include <tdeprocio.h>
#include <tdetempfile.h>
// NFS related
@@ -204,7 +204,7 @@ bool PropertiesPage::save(NFSFile* nfsFile, SambaFile* sambaFile, bool nfs, bool
KTempFile sambaTempFile;
sambaTempFile.setAutoDelete(true);
- KProcIO proc;
+ TDEProcIO proc;
TQString command;
diff --git a/kopete/plugins/cryptography/kgpginterface.cpp b/kopete/plugins/cryptography/kgpginterface.cpp
index 79cd2510..ba3743df 100644
--- a/kopete/plugins/cryptography/kgpginterface.cpp
+++ b/kopete/plugins/cryptography/kgpginterface.cpp
@@ -28,7 +28,7 @@
#include <unistd.h>
#include <tqfile.h>
-#include <kprocio.h>
+#include <tdeprocio.h>
//#include "kdetailedconsole.h"
diff --git a/kopete/plugins/cryptography/kgpgselkey.cpp b/kopete/plugins/cryptography/kgpgselkey.cpp
index bdb09c86..ff16e230 100644
--- a/kopete/plugins/cryptography/kgpgselkey.cpp
+++ b/kopete/plugins/cryptography/kgpgselkey.cpp
@@ -69,7 +69,7 @@ KgpgSelKey::KgpgSelKey(TQWidget *parent, const char *name,bool showlocal):KDialo
TQString tst,tst2;
char line[130];
- // FIXME: Why use popen instead of TDEProcess, TQProcess or KProcIO?!?
+ // FIXME: Why use popen instead of TDEProcess, TQProcess or TDEProcIO?!?
// Are we interested in having buffer overflows now? - Martijn
fp = popen( "gpg --no-tty --with-colon --list-secret-keys", "r" );
while ( fgets( line, sizeof(line), fp))
diff --git a/kopete/plugins/cryptography/popuppublic.cpp b/kopete/plugins/cryptography/popuppublic.cpp
index 6c1d7271..faa9d95b 100644
--- a/kopete/plugins/cryptography/popuppublic.cpp
+++ b/kopete/plugins/cryptography/popuppublic.cpp
@@ -34,7 +34,7 @@
#include <tdeversion.h>
#include <tdelistview.h>
#include <tdeprocess.h>
-#include <kprocio.h>
+#include <tdeprocio.h>
#include <tdelocale.h>
#include <tdeaccel.h>
#include <tdelistviewsearchline.h>
@@ -347,11 +347,11 @@ void popupPublic::refreshkeys()
}
}
}*/
- KProcIO *encid=new KProcIO();
+ TDEProcIO *encid=new TDEProcIO();
*encid << "gpg"<<"--no-secmem-warning"<<"--no-tty"<<"--with-colon"<<"--list-keys";
///////// when process ends, update dialog infos
TQObject::connect(encid, TQ_SIGNAL(processExited(TDEProcess *)),this, TQ_SLOT(slotpreselect()));
- TQObject::connect(encid, TQ_SIGNAL(readReady(KProcIO *)),this, TQ_SLOT(slotprocread(KProcIO *)));
+ TQObject::connect(encid, TQ_SIGNAL(readReady(TDEProcIO *)),this, TQ_SLOT(slotprocread(TDEProcIO *)));
encid->start(TDEProcess::NotifyOnExit,true);
}
@@ -382,7 +382,7 @@ void popupPublic::slotSetVisible()
keysList->ensureItemVisible(keysList->currentItem());
}
-void popupPublic::slotprocread(KProcIO *p)
+void popupPublic::slotprocread(TDEProcIO *p)
{
///////////////////////////////////////////////////////////////// extract encryption keys
bool dead;
diff --git a/kopete/plugins/cryptography/popuppublic.h b/kopete/plugins/cryptography/popuppublic.h
index cbd301ba..96c7656c 100644
--- a/kopete/plugins/cryptography/popuppublic.h
+++ b/kopete/plugins/cryptography/popuppublic.h
@@ -29,7 +29,7 @@ class TQPushButton;
class TQCheckBox;
class TDEListView;
class TQButtonGroup;
-class KProcIO;
+class TDEProcIO;
class popupPublic : public KDialogBase //TQDialog
{
@@ -53,7 +53,7 @@ private:
private slots:
void customOpts(const TQString &);
- void slotprocread(KProcIO *);
+ void slotprocread(TDEProcIO *);
void slotpreselect();
void refreshkeys();
void refresh(bool state);
diff --git a/kopete/protocols/winpopup/libwinpopup/libwinpopup.cpp b/kopete/protocols/winpopup/libwinpopup/libwinpopup.cpp
index 138f2957..e9859834 100644
--- a/kopete/protocols/winpopup/libwinpopup/libwinpopup.cpp
+++ b/kopete/protocols/winpopup/libwinpopup/libwinpopup.cpp
@@ -159,10 +159,10 @@ void WinPopupLib::startReadProcess(const TQString &Host)
currentGroup = TQString();
// for Samba 3
- KProcIO *reader = new KProcIO;
+ TDEProcIO *reader = new TDEProcIO;
*reader << smbClientBin << "-N" << "-E" << "-g" << "-L" << Host << "-";
- connect(reader, TQ_SIGNAL(readReady(KProcIO *)), this, TQ_SLOT(slotReadProcessReady(KProcIO *)));
+ connect(reader, TQ_SIGNAL(readReady(TDEProcIO *)), this, TQ_SLOT(slotReadProcessReady(TDEProcIO *)));
connect(reader, TQ_SIGNAL(processExited(TDEProcess *)), this, TQ_SLOT(slotReadProcessExited(TDEProcess *)));
if (!reader->start(TDEProcess::NotifyOnExit, true)) {
@@ -171,7 +171,7 @@ void WinPopupLib::startReadProcess(const TQString &Host)
}
}
-void WinPopupLib::slotReadProcessReady(KProcIO *r)
+void WinPopupLib::slotReadProcessReady(TDEProcIO *r)
{
TQString tmpLine = TQString();
TQRegExp group("^Workgroup\\|(.*)\\|(.*)$"), host("^Server\\|(.*)\\|(.*)$"),
diff --git a/kopete/protocols/winpopup/libwinpopup/libwinpopup.h b/kopete/protocols/winpopup/libwinpopup/libwinpopup.h
index 91887308..ca7beecf 100644
--- a/kopete/protocols/winpopup/libwinpopup/libwinpopup.h
+++ b/kopete/protocols/winpopup/libwinpopup/libwinpopup.h
@@ -26,7 +26,7 @@
#include <tqdatetime.h>
// KDE Includes
-#include <kprocio.h>
+#include <tdeprocio.h>
#include <tdefileitem.h>
const TQString WP_POPUP_DIR = TQString::fromLatin1("/var/lib/winpopup");
@@ -76,7 +76,7 @@ private:
private slots:
void slotUpdateGroupData();
void startReadProcess(const TQString &Host);
- void slotReadProcessReady(KProcIO *r);
+ void slotReadProcessReady(TDEProcIO *r);
void slotReadProcessExited(TDEProcess *r);
void slotSendProcessExited(TDEProcess *p);
void slotStartDirLister();
diff --git a/kopete/protocols/winpopup/wpuserinfo.cpp b/kopete/protocols/winpopup/wpuserinfo.cpp
index 32fc6837..bfa05fcf 100644
--- a/kopete/protocols/winpopup/wpuserinfo.cpp
+++ b/kopete/protocols/winpopup/wpuserinfo.cpp
@@ -62,10 +62,10 @@ void WPUserInfo::startDetailsProcess(const TQString &host)
TDEGlobal::config()->setGroup("WinPopup");
TQString theSMBClientPath = TDEGlobal::config()->readEntry("SMBClientPath", "/usr/bin/smbclient");
- KProcIO *details = new KProcIO;
+ TDEProcIO *details = new TDEProcIO;
*details << theSMBClientPath << "-N" << "-E" << "-g" << "-L" << host << "-";
- connect(details, TQ_SIGNAL(readReady(KProcIO *)), this, TQ_SLOT(slotDetailsProcessReady(KProcIO *)));
+ connect(details, TQ_SIGNAL(readReady(TDEProcIO *)), this, TQ_SLOT(slotDetailsProcessReady(TDEProcIO *)));
connect(details, TQ_SIGNAL(processExited(TDEProcess *)), this, TQ_SLOT(slotDetailsProcessExited(TDEProcess *)));
if (!details->start(TDEProcess::NotifyOnExit, TDEProcess::Stderr)) {
@@ -74,7 +74,7 @@ void WPUserInfo::startDetailsProcess(const TQString &host)
}
}
-void WPUserInfo::slotDetailsProcessReady(KProcIO *d)
+void WPUserInfo::slotDetailsProcessReady(TDEProcIO *d)
{
TQString tmpLine = TQString();
TQRegExp info("^Domain=\\[(.*)\\]\\sOS=\\[(.*)\\]\\sServer=\\[(.*)\\]$"), host("^Server\\|(.*)\\|(.*)$");
diff --git a/kopete/protocols/winpopup/wpuserinfo.h b/kopete/protocols/winpopup/wpuserinfo.h
index 62122e50..6be73929 100644
--- a/kopete/protocols/winpopup/wpuserinfo.h
+++ b/kopete/protocols/winpopup/wpuserinfo.h
@@ -23,7 +23,7 @@
// KDE Includes
#include <kdialogbase.h>
-#include <kprocio.h>
+#include <tdeprocio.h>
// Local Includes
#include "wpuserinfowidget.h"
@@ -42,7 +42,7 @@ class WPUserInfo : public KDialogBase
void startDetailsProcess(const TQString &host);
private slots:
- void slotDetailsProcessReady(KProcIO *d);
+ void slotDetailsProcessReady(TDEProcIO *d);
void slotDetailsProcessExited(TDEProcess *d);
void slotCloseClicked();
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();