summaryrefslogtreecommitdiffstats
path: root/akregator/src/feediconmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/feediconmanager.cpp')
-rw-r--r--akregator/src/feediconmanager.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/akregator/src/feediconmanager.cpp b/akregator/src/feediconmanager.cpp
index adc3fce42..ba75561ea 100644
--- a/akregator/src/feediconmanager.cpp
+++ b/akregator/src/feediconmanager.cpp
@@ -59,7 +59,7 @@ FeedIconManager* FeedIconManager::self()
void FeedIconManager::fetchIcon(Feed* feed)
{
- if (!d->registeredFeeds.tqcontains(feed))
+ if (!d->registeredFeeds.contains(feed))
{
d->registeredFeeds.append(feed);
connect(feed, TQT_SIGNAL(signalDestroyed(TreeNode*)), this, TQT_SLOT(slotFeedDestroyed(TreeNode*)));
@@ -133,8 +133,8 @@ void FeedIconManager::slotFeedDestroyed(TreeNode* node)
{
Feed* feed = dynamic_cast<Feed*>(node);
if (feed)
- while (d->registeredFeeds.tqcontains(feed))
- d->registeredFeeds.remove(d->registeredFeeds.tqfind(feed));
+ while (d->registeredFeeds.contains(feed))
+ d->registeredFeeds.remove(d->registeredFeeds.find(feed));
}
void FeedIconManager::slotIconChanged(bool /*isHost*/, const TQString& hostOrURL,
@@ -147,7 +147,7 @@ void FeedIconManager::slotIconChanged(bool /*isHost*/, const TQString& hostOrURL
if (!p.isNull()) // we don't set null pixmaps, as feed checks pixmap.isNull() to find out whether the icon was already loaded or not. It would request the icon another time, resulting an infinite loop (until stack overflow that is
{
while (( f = d->urlDict.take(hostOrURL) ))
- if (d->registeredFeeds.tqcontains(f))
+ if (d->registeredFeeds.contains(f))
f->setFavicon(p);
}
emit signalIconChanged(hostOrURL, iconFile);