summaryrefslogtreecommitdiffstats
path: root/src/common/global/process.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/global/process.h')
-rw-r--r--src/common/global/process.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/common/global/process.h b/src/common/global/process.h
index 083fb0a..ad0143d 100644
--- a/src/common/global/process.h
+++ b/src/common/global/process.h
@@ -13,7 +13,7 @@
#include <tqstringlist.h>
#include <tqobject.h>
#include <tqtimer.h>
-class KProcess;
+class TDEProcess;
#include "global.h"
namespace PURL { class Directory; }
@@ -57,14 +57,14 @@ signals:
protected slots:
void exited();
void timeoutSlot();
- virtual void receivedStdout(KProcess*, char *buffer, int len) = 0;
- virtual void receivedStderr(KProcess*, char *buffer, int len) = 0;
+ virtual void receivedStdout(TDEProcess*, char *buffer, int len) = 0;
+ virtual void receivedStderr(TDEProcess*, char *buffer, int len) = 0;
friend State runSynchronously(Base &, RunActions, uint);
protected:
State _state;
- KProcess *_process;
+ TDEProcess *_process;
TQTimer *_timer;
TQString _stdout, _stderr;
@@ -82,8 +82,8 @@ public:
TQString serr() const { return _stderr; }
private slots:
- virtual void receivedStdout(KProcess *, char *buffer, int len);
- virtual void receivedStderr(KProcess *, char *buffer, int len);
+ virtual void receivedStdout(TDEProcess *, char *buffer, int len);
+ virtual void receivedStderr(TDEProcess *, char *buffer, int len);
};
//----------------------------------------------------------------------------
@@ -95,8 +95,8 @@ public:
LineBase(TQObject *parent = 0, const char *name = 0) : Base(parent, name) {}
private slots:
- virtual void receivedStdout(KProcess *, char *buffer, int len);
- virtual void receivedStderr(KProcess *, char *buffer, int len);
+ virtual void receivedStdout(TDEProcess *, char *buffer, int len);
+ virtual void receivedStderr(TDEProcess *, char *buffer, int len);
private:
virtual void addStdoutLine(const TQString &line) = 0;