diff options
Diffstat (limited to 'kdpkg-install')
-rw-r--r-- | kdpkg-install/process.cpp | 12 | ||||
-rw-r--r-- | kdpkg-install/process.h | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/kdpkg-install/process.cpp b/kdpkg-install/process.cpp index a788a9f..97c2f6b 100644 --- a/kdpkg-install/process.cpp +++ b/kdpkg-install/process.cpp @@ -6,10 +6,10 @@ Process::Process() { _buffer = TQString(); - _process = new KProcess(); + _process = new TDEProcess(); - connect(_process, TQT_SIGNAL(receivedStdout(KProcess*, char*, int)), - this, TQT_SLOT(slotProcessOutput(KProcess*, char*, int))); + connect(_process, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)), + this, TQT_SLOT(slotProcessOutput(TDEProcess*, char*, int))); } @@ -32,9 +32,9 @@ void Process::start(bool block) { if( block ) - _process->start(KProcess::Block, KProcess::Stdout); + _process->start(TDEProcess::Block, TDEProcess::Stdout); else - _process->start(KProcess::DontCare, KProcess::Stdout); + _process->start(TDEProcess::DontCare, TDEProcess::Stdout); } TQString Process::getBuffer() @@ -52,7 +52,7 @@ return _process->normalExit(); } - void Process::slotProcessOutput(KProcess* process, char* buffer, int len) + void Process::slotProcessOutput(TDEProcess* process, char* buffer, int len) { if (process != _process) return; diff --git a/kdpkg-install/process.h b/kdpkg-install/process.h index 65c1022..6a23639 100644 --- a/kdpkg-install/process.h +++ b/kdpkg-install/process.h @@ -26,11 +26,11 @@ public: void start(bool block=true); protected: - KProcess* _process; + TDEProcess* _process; TQString _buffer; protected slots: - void slotProcessOutput(KProcess* process, char* buffer, int buflen); + void slotProcessOutput(TDEProcess* process, char* buffer, int buflen); }; |