diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kpilot/lib/actionQueue.cc | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpilot/lib/actionQueue.cc')
-rw-r--r-- | kpilot/lib/actionQueue.cc | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kpilot/lib/actionQueue.cc b/kpilot/lib/actionQueue.cc index e4770d369..693629731 100644 --- a/kpilot/lib/actionQueue.cc +++ b/kpilot/lib/actionQueue.cc @@ -29,7 +29,7 @@ */ #include "options.h" -#include <qtimer.h> +#include <tqtimer.h> #include "actions.h" #include "plugin.h" @@ -70,7 +70,7 @@ void ActionQueue::queueInit() addAction(new WelcomeAction(fHandle)); } -void ActionQueue::queueConduits(const QStringList &l, +void ActionQueue::queueConduits(const TQStringList &l, const SyncAction::SyncMode &m) { FUNCTIONSETUP; @@ -78,7 +78,7 @@ void ActionQueue::queueConduits(const QStringList &l, // Add conduits here ... // // - for (QStringList::ConstIterator it = l.begin(); + for (TQStringList::ConstIterator it = l.begin(); it != l.end(); ++it) { @@ -156,17 +156,17 @@ void ActionQueue::actionCompleted(SyncAction *b) << endl; #endif - QObject::connect(a, SIGNAL(logMessage(const QString &)), - this, SIGNAL(logMessage(const QString &))); - QObject::connect(a, SIGNAL(logError(const QString &)), - this, SIGNAL(logMessage(const QString &))); - QObject::connect(a, SIGNAL(logProgress(const QString &, int)), - this, SIGNAL(logProgress(const QString &, int))); - QObject::connect(a, SIGNAL(syncDone(SyncAction *)), - this, SLOT(actionCompleted(SyncAction *))); + TQObject::connect(a, TQT_SIGNAL(logMessage(const TQString &)), + this, TQT_SIGNAL(logMessage(const TQString &))); + TQObject::connect(a, TQT_SIGNAL(logError(const TQString &)), + this, TQT_SIGNAL(logMessage(const TQString &))); + TQObject::connect(a, TQT_SIGNAL(logProgress(const TQString &, int)), + this, TQT_SIGNAL(logProgress(const TQString &, int))); + TQObject::connect(a, TQT_SIGNAL(syncDone(SyncAction *)), + this, TQT_SLOT(actionCompleted(SyncAction *))); // Run the action picked from the queue when we get back // to the event loop. - QTimer::singleShot(0,a,SLOT(execConduit())); + TQTimer::singleShot(0,a,TQT_SLOT(execConduit())); } |