summaryrefslogtreecommitdiffstats
path: root/kopete/protocols
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 /kopete/protocols
parent9a9de18eb7ccd5afe5d01c17576a42e7aca6b321 (diff)
downloadtdenetwork-master.tar.gz
tdenetwork-master.zip
Use TDEProcIO classHEADmaster
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kopete/protocols')
-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
4 files changed, 10 insertions, 10 deletions
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();