summaryrefslogtreecommitdiffstats
path: root/akregator/src/feediconmanager.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch)
tree766a8ad7939fcf3eec534184c36bd0e0f80489e2 /akregator/src/feediconmanager.cpp
parent469cc56a805bd3d6940d54adbef554877c29853c (diff)
downloadtdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.tar.gz
tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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);