diff options
Diffstat (limited to 'libk9copy/k9process.cpp')
-rw-r--r-- | libk9copy/k9process.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libk9copy/k9process.cpp b/libk9copy/k9process.cpp index 5b17545..d358656 100644 --- a/libk9copy/k9process.cpp +++ b/libk9copy/k9process.cpp @@ -10,14 +10,14 @@ // // #include "k9process.h" -#include <qobject.h> -#include <qapplication.h> -#include <qeventloop.h> +#include <tqobject.h> +#include <tqapplication.h> +#include <tqeventloop.h> -k9Process::k9Process(QObject *parent, const char *name) - : KProcess(parent, name),m_waitSync(false) +k9Process::k9Process(TQObject *tqparent, const char *name) + : KProcess(tqparent, name),m_waitSync(false) { - connect(this,SIGNAL(processExited( KProcess* )),this,SLOT(slotProcessExited( KProcess* ))); + connect(this,TQT_SIGNAL(processExited( KProcess* )),this,TQT_SLOT(slotProcessExited( KProcess* ))); } @@ -28,18 +28,18 @@ k9Process::~k9Process() void k9Process::sync() { m_waitSync=true; - QApplication::eventLoop()->enterLoop(); + TQApplication::eventLoop()->enterLoop(); } void k9Process::slotProcessExited( KProcess * proc) { if (m_waitSync) { - QApplication::eventLoop()->exitLoop(); + TQApplication::eventLoop()->exitLoop(); m_waitSync=false; } } -const QString & k9Process::debug() { +const TQString & k9Process::debug() { m_debug=""; for (int i=0;i<arguments.count();i++ ){ m_debug +=" "+ *(arguments.at(i)); |