diff options
Diffstat (limited to 'lib/util/blockingkprocess.cpp')
-rw-r--r-- | lib/util/blockingkprocess.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/util/blockingkprocess.cpp b/lib/util/blockingkprocess.cpp index 9c9d9130..2a99f23b 100644 --- a/lib/util/blockingkprocess.cpp +++ b/lib/util/blockingkprocess.cpp @@ -14,8 +14,8 @@ #include <tqapplication.h> #include <tqtimer.h> -BlockingKProcess::BlockingKProcess(TQObject *parent, const char *name) - : KProcess(parent, name) +BlockingKProcess::BlockingKProcess(TQObject *tqparent, const char *name) + : KProcess(tqparent, name) { m_stdOut = ""; m_stdErr = ""; @@ -68,24 +68,24 @@ bool BlockingKProcess::start(RunMode runmode, Communication comm) void BlockingKProcess::slotReceivedStdOut(KProcess *, char *buffer, int buflen) { - m_stdOut += TQString::fromLatin1(buffer, buflen); + m_stdOut += TQString::tqfromLatin1(buffer, buflen); } void BlockingKProcess::slotReceivedStdErr(KProcess *, char *buffer, int buflen) { - m_stdErr += TQString::fromLatin1(buffer, buflen); + m_stdErr += TQString::tqfromLatin1(buffer, buflen); } void BlockingKProcess::slotProcessExited(KProcess *) { - qApp->exit_loop(); + tqApp->exit_loop(); } void BlockingKProcess::slotTimeOut() { m_timeout = true; kill(); - qApp->exit_loop(); + tqApp->exit_loop(); } @@ -95,9 +95,9 @@ void qt_leave_modal( TQWidget *widget ); void BlockingKProcess::enter_loop() { TQWidget dummy(0,0,WType_Dialog | WShowModal); - dummy.setFocusPolicy( TQWidget::NoFocus ); + dummy.setFocusPolicy( TQ_NoFocus ); qt_enter_modal(&dummy); - qApp->enter_loop(); + tqApp->enter_loop(); qt_leave_modal(&dummy); } |