From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kpilot/lib/actionQueue.cc | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'kpilot/lib/actionQueue.cc') 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 +#include #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())); } -- cgit v1.2.1