summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/winpopup/wpuserinfo.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 /kopete/protocols/winpopup/wpuserinfo.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 'kopete/protocols/winpopup/wpuserinfo.cpp')
-rw-r--r--kopete/protocols/winpopup/wpuserinfo.cpp6
1 files changed, 3 insertions, 3 deletions
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\\|(.*)\\|(.*)$");