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 --- akregator/src/fetchqueue.cpp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'akregator/src/fetchqueue.cpp') diff --git a/akregator/src/fetchqueue.cpp b/akregator/src/fetchqueue.cpp index 5a363430..63c4a4c4 100644 --- a/akregator/src/fetchqueue.cpp +++ b/akregator/src/fetchqueue.cpp @@ -23,7 +23,7 @@ without including the source code for Qt in the source distribution. */ -#include +#include #include "akregatorconfig.h" #include "fetchqueue.h" @@ -37,12 +37,12 @@ class FetchQueue::FetchQueuePrivate { public: - QValueList queuedFeeds; - QValueList fetchingFeeds; + TQValueList queuedFeeds; + TQValueList fetchingFeeds; }; -FetchQueue::FetchQueue(QObject* parent, const char* name): QObject(parent, name), d(new FetchQueuePrivate) {} +FetchQueue::FetchQueue(TQObject* parent, const char* name): TQObject(parent, name), d(new FetchQueuePrivate) {} FetchQueue::~FetchQueue() @@ -54,14 +54,14 @@ FetchQueue::~FetchQueue() void FetchQueue::slotAbort() { - for (QValueList::Iterator it = d->fetchingFeeds.begin(); it != d->fetchingFeeds.end(); ++it) + for (TQValueList::Iterator it = d->fetchingFeeds.begin(); it != d->fetchingFeeds.end(); ++it) { disconnectFromFeed(*it); (*it)->slotAbortFetch(); } d->fetchingFeeds.clear(); - for (QValueList::Iterator it = d->queuedFeeds.begin(); it != d->queuedFeeds.end(); ++it) + for (TQValueList::Iterator it = d->queuedFeeds.begin(); it != d->queuedFeeds.end(); ++it) { disconnectFromFeed(*it); } @@ -129,18 +129,18 @@ void FetchQueue::feedDone(Feed *f) void FetchQueue::connectToFeed(Feed* feed) { - connect (feed, SIGNAL(fetched(Feed*)), this, SLOT(slotFeedFetched(Feed*))); - connect (feed, SIGNAL(fetchError(Feed*)), this, SLOT(slotFetchError(Feed*))); - connect (feed, SIGNAL(fetchAborted(Feed*)), this, SLOT(slotFetchAborted(Feed*))); - connect (feed, SIGNAL(signalDestroyed(TreeNode*)), this, SLOT(slotNodeDestroyed(TreeNode*))); + connect (feed, TQT_SIGNAL(fetched(Feed*)), this, TQT_SLOT(slotFeedFetched(Feed*))); + connect (feed, TQT_SIGNAL(fetchError(Feed*)), this, TQT_SLOT(slotFetchError(Feed*))); + connect (feed, TQT_SIGNAL(fetchAborted(Feed*)), this, TQT_SLOT(slotFetchAborted(Feed*))); + connect (feed, TQT_SIGNAL(signalDestroyed(TreeNode*)), this, TQT_SLOT(slotNodeDestroyed(TreeNode*))); } void FetchQueue::disconnectFromFeed(Feed* feed) { - disconnect (feed, SIGNAL(fetched(Feed*)), this, SLOT(slotFeedFetched(Feed*))); - disconnect (feed, SIGNAL(fetchError(Feed*)), this, SLOT(slotFetchError(Feed*))); - disconnect (feed, SIGNAL(fetchAborted(Feed*)), this, SLOT(slotFetchAborted(Feed*))); - disconnect (feed, SIGNAL(signalDestroyed(TreeNode*)), this, SLOT(slotNodeDestroyed(TreeNode*))); + disconnect (feed, TQT_SIGNAL(fetched(Feed*)), this, TQT_SLOT(slotFeedFetched(Feed*))); + disconnect (feed, TQT_SIGNAL(fetchError(Feed*)), this, TQT_SLOT(slotFetchError(Feed*))); + disconnect (feed, TQT_SIGNAL(fetchAborted(Feed*)), this, TQT_SLOT(slotFetchAborted(Feed*))); + disconnect (feed, TQT_SIGNAL(signalDestroyed(TreeNode*)), this, TQT_SLOT(slotNodeDestroyed(TreeNode*))); } -- cgit v1.2.3