diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 23:37:00 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 23:37:00 +0000 |
commit | b0e912c8b3d02a518fedda28c3180eb4794a7520 (patch) | |
tree | 07d344862562fab58cbe2df39d13d16f2e4d2bea /libk9copy/k9process.cpp | |
parent | 4d695ec81fe4d4335ee82c7a9346ad9c9e144ecc (diff) | |
download | k9copy-b0e912c8b3d02a518fedda28c3180eb4794a7520.tar.gz k9copy-b0e912c8b3d02a518fedda28c3180eb4794a7520.zip |
TQt4 convert k9copy
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k9copy@1233843 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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)); |