summaryrefslogtreecommitdiffstats
path: root/konsole
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-12-16 11:45:17 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-12-16 11:48:43 +0900
commit6d90c01c48d887053051fca3e1c9ca298a8fd1b3 (patch)
tree08c987954e7daf74a55a36481dac5a811b7bf323 /konsole
parent83e4d7076e1e5dfac804c0f89a1fcdf31795671a (diff)
downloadtdebase-6d90c01c48d887053051fca3e1c9ca298a8fd1b3.tar.gz
tdebase-6d90c01c48d887053051fca3e1c9ca298a8fd1b3.zip
Use TDEProcIO class
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'konsole')
-rw-r--r--konsole/konsole/session.cpp8
-rw-r--r--konsole/konsole/session.h4
2 files changed, 6 insertions, 6 deletions
diff --git a/konsole/konsole/session.cpp b/konsole/konsole/session.cpp
index d613a23e4..b66f4eddf 100644
--- a/konsole/konsole/session.cpp
+++ b/konsole/konsole/session.cpp
@@ -26,7 +26,7 @@
#include <tdemessagebox.h>
#include <knotifyclient.h>
#include <tdelocale.h>
-#include <kprocio.h>
+#include <tdeprocio.h>
#include <krun.h>
#include <kshell.h>
#include <kstandarddirs.h>
@@ -624,7 +624,7 @@ void TESession::cancelZModem()
void TESession::startZModem(const TQString &zmodem, const TQString &dir, const TQStringList &list)
{
zmodemBusy = true;
- zmodemProc = new KProcIO;
+ zmodemProc = new TDEProcIO;
(*zmodemProc) << zmodem << "-v";
for(TQStringList::ConstIterator it = list.begin();
@@ -636,9 +636,9 @@ void TESession::startZModem(const TQString &zmodem, const TQString &dir, const T
if (!dir.isEmpty())
zmodemProc->setWorkingDirectory(dir);
- zmodemProc->start(KProcIO::NotifyOnExit, false);
+ zmodemProc->start(TDEProcIO::NotifyOnExit, false);
- // Override the read-processing of KProcIO
+ // Override the read-processing of TDEProcIO
disconnect(zmodemProc,TQ_SIGNAL (receivedStdout (TDEProcess *, char *, int)), 0, 0);
connect(zmodemProc,TQ_SIGNAL (receivedStdout (TDEProcess *, char *, int)),
this, TQ_SLOT(zmodemSendBlock(TDEProcess *, char *, int)));
diff --git a/konsole/konsole/session.h b/konsole/konsole/session.h
index 3b5f211fa..0b4dbed50 100644
--- a/konsole/konsole/session.h
+++ b/konsole/konsole/session.h
@@ -31,7 +31,7 @@
#include "sessioniface.h"
-class KProcIO;
+class TDEProcIO;
class TDEProcess;
class ZModemDialog;
@@ -222,7 +222,7 @@ private:
// ZModem
bool zmodemBusy;
- KProcIO* zmodemProc;
+ TDEProcIO* zmodemProc;
ZModemDialog* zmodemProgress;
// Color/Font Changes by ESC Sequences