diff options
Diffstat (limited to 'src/processexec.cpp')
| -rw-r--r-- | src/processexec.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/processexec.cpp b/src/processexec.cpp index ac2825c..6856ed3 100644 --- a/src/processexec.cpp +++ b/src/processexec.cpp @@ -18,11 +18,11 @@ #include <string.h> #include "processexec.h" -ProcessExec::ProcessExec(): KProcess() +ProcessExec::ProcessExec(): TDEProcess() { clearData(); - connect( this, SIGNAL(receivedStdout(KProcess *, char *, int)),this, SLOT(slotReceivedStdout(KProcess *, char *, int)) ); - connect( this, SIGNAL(receivedStderr(KProcess *, char *, int)),this, SLOT(slotReceivedStderr(KProcess *, char *, int)) ); + connect( this, SIGNAL(receivedStdout(TDEProcess *, char *, int)),this, SLOT(slotReceivedStdout(TDEProcess *, char *, int)) ); + connect( this, SIGNAL(receivedStderr(TDEProcess *, char *, int)),this, SLOT(slotReceivedStderr(TDEProcess *, char *, int)) ); } ProcessExec::~ProcessExec(){ @@ -40,12 +40,12 @@ bool ProcessExec::runAndWait() return start(Block,Communication(Stdout | Stderr)); } -void ProcessExec::slotReceivedStdout(KProcess *proc, char *buf, int len) +void ProcessExec::slotReceivedStdout(TDEProcess *proc, char *buf, int len) { - buffer = QString(buf); + buffer = TQString(buf); } -void ProcessExec::slotReceivedStderr(KProcess *proc, char *buf, int len) +void ProcessExec::slotReceivedStderr(TDEProcess *proc, char *buf, int len) { fErrors= true; slotReceivedStdout(proc,buf,len); |
