From b9e542d0c805e9adee3a67e44532d5321032e21e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:51:01 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- lib/util/blockingkprocess.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'lib/util/blockingkprocess.h') diff --git a/lib/util/blockingkprocess.h b/lib/util/blockingkprocess.h index f6fa9d2e..8d164bef 100644 --- a/lib/util/blockingkprocess.h +++ b/lib/util/blockingkprocess.h @@ -17,8 +17,8 @@ #include /** - * Blocking version of KProcess, which stores the stdout. - * Differences between start(KProcess::Block, KProcess::StdOut) and this + * Blocking version of TDEProcess, which stores the stdout. + * Differences between start(TDEProcess::Block, TDEProcess::StdOut) and this * class are: * - the GUI update is not blocked why the external process is running * - in case of problems there is a timeout (defaults to 60 seconds), after which the @@ -28,22 +28,22 @@ */ class TQTimer; -class BlockingKProcess : public KProcess +class BlockingTDEProcess : public TDEProcess { Q_OBJECT public: - BlockingKProcess(TQObject *parent, const char *name=0); - BlockingKProcess(); + BlockingTDEProcess(TQObject *parent, const char *name=0); + BlockingTDEProcess(); - virtual ~BlockingKProcess(); + virtual ~BlockingTDEProcess(); /** * Start the process. It waits until the process exits or the timeout is hit. - * @param runmode @see KProcess, use KProcess::NotifyOnExit to get proper behaviour, - * not KProcess::Block - * @param comm if Stdout is passed, it catches the output. For the rest @see KProcess + * @param runmode @see TDEProcess, use TDEProcess::NotifyOnExit to get proper behaviour, + * not TDEProcess::Block + * @param comm if Stdout is passed, it catches the output. For the rest @see TDEProcess * @return true in case of success, false if there are problems to start the process * or it was killed because of the timeout. */ @@ -75,9 +75,9 @@ public: void setTimeOut(int timeout) { m_timeoutValue = timeout; } private slots: - void slotReceivedStdOut(KProcess *proc, char *buffer, int buflen); - void slotReceivedStdErr(KProcess *proc, char *buffer, int buflen); - void slotProcessExited(KProcess *proc); + void slotReceivedStdOut(TDEProcess *proc, char *buffer, int buflen); + void slotReceivedStdErr(TDEProcess *proc, char *buffer, int buflen); + void slotProcessExited(TDEProcess *proc); void slotTimeOut(); private: -- cgit v1.2.3