summaryrefslogtreecommitdiffstats
path: root/akregator/src/storagedummyimpl.cpp
diff options
context:
space:
mode:
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 25d3f320f..43b8788d0 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.contains(url) ? d->feeds[url].unread : 0;
+ return d->feeds.tqcontains(url) ? d->feeds[url].unread : 0;
}
void StorageDummyImpl::setUnreadFor(const TQString &url, int unread)
{
- if (!d->feeds.contains(url))
+ if (!d->feeds.tqcontains(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.contains(url) ? d->feeds[url].totalCount : 0;
+ return d->feeds.tqcontains(url) ? d->feeds[url].totalCount : 0;
}
void StorageDummyImpl::setTotalCountFor(const TQString &url, int total)
{
- if (!d->feeds.contains(url))
+ if (!d->feeds.tqcontains(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.contains(url) ? d->feeds[url].lastFetch : 0;
+ return d->feeds.tqcontains(url) ? d->feeds[url].lastFetch : 0;
}
void StorageDummyImpl::setLastFetchFor(const TQString& url, int lastFetch)
{
- if (!d->feeds.contains(url))
+ if (!d->feeds.tqcontains(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.contains(url))
+ if (!d->feeds.tqcontains(url))
d->feeds[url].feedStorage = new FeedStorageDummyImpl(url, this);
return d->feeds[url].feedStorage;