summaryrefslogtreecommitdiffstats
path: root/akregator/src/storagedummyimpl.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/storagedummyimpl.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/storagedummyimpl.cpp')
-rw-r--r--akregator/src/storagedummyimpl.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/akregator/src/storagedummyimpl.cpp b/akregator/src/storagedummyimpl.cpp
index e8d5c4c01..393be7d14 100644
--- a/akregator/src/storagedummyimpl.cpp
+++ b/akregator/src/storagedummyimpl.cpp
@@ -100,12 +100,12 @@ bool StorageDummyImpl::rollback()
int StorageDummyImpl::unreadFor(const TQString &url)
{
- return d->feeds.tqcontains(url) ? d->feeds[url].unread : 0;
+ return d->feeds.contains(url) ? d->feeds[url].unread : 0;
}
void StorageDummyImpl::setUnreadFor(const TQString &url, int unread)
{
- if (!d->feeds.tqcontains(url))
+ if (!d->feeds.contains(url))
d->addEntry(url, unread, unread, 0);
else
d->feeds[url].unread = unread;
@@ -113,12 +113,12 @@ void StorageDummyImpl::setUnreadFor(const TQString &url, int unread)
int StorageDummyImpl::totalCountFor(const TQString &url)
{
- return d->feeds.tqcontains(url) ? d->feeds[url].totalCount : 0;
+ return d->feeds.contains(url) ? d->feeds[url].totalCount : 0;
}
void StorageDummyImpl::setTotalCountFor(const TQString &url, int total)
{
- if (!d->feeds.tqcontains(url))
+ if (!d->feeds.contains(url))
d->addEntry(url, 0, total, 0);
else
d->feeds[url].totalCount = total;
@@ -126,12 +126,12 @@ void StorageDummyImpl::setTotalCountFor(const TQString &url, int total)
int StorageDummyImpl::lastFetchFor(const TQString& url)
{
- return d->feeds.tqcontains(url) ? d->feeds[url].lastFetch : 0;
+ return d->feeds.contains(url) ? d->feeds[url].lastFetch : 0;
}
void StorageDummyImpl::setLastFetchFor(const TQString& url, int lastFetch)
{
- if (!d->feeds.tqcontains(url))
+ if (!d->feeds.contains(url))
d->addEntry(url, 0, 0, lastFetch);
else
d->feeds[url].lastFetch = lastFetch;
@@ -143,7 +143,7 @@ void StorageDummyImpl::slotCommit()
FeedStorage* StorageDummyImpl::archiveFor(const TQString& url)
{
- if (!d->feeds.tqcontains(url))
+ if (!d->feeds.contains(url))
d->feeds[url].feedStorage = new FeedStorageDummyImpl(url, this);
return d->feeds[url].feedStorage;