summaryrefslogtreecommitdiffstats
path: root/akregator/src/tagset.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/tagset.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/tagset.cpp')
-rw-r--r--akregator/src/tagset.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/akregator/src/tagset.cpp b/akregator/src/tagset.cpp
index 1be7f952..a6b41285 100644
--- a/akregator/src/tagset.cpp
+++ b/akregator/src/tagset.cpp
@@ -54,7 +54,7 @@ TagSet::~TagSet()
void TagSet::insert(const Tag& tag)
{
- if (!d->map.tqcontains(tag.id()))
+ if (!d->map.contains(tag.id()))
{
d->map.insert(tag.id(), tag);
tag.addedToTagSet(this);
@@ -64,7 +64,7 @@ void TagSet::insert(const Tag& tag)
void TagSet::remove(const Tag& tag)
{
- if (d->map.tqcontains(tag.id()))
+ if (d->map.contains(tag.id()))
{
d->map.remove(tag.id());
tag.removedFromTagSet(this);
@@ -74,17 +74,17 @@ void TagSet::remove(const Tag& tag)
bool TagSet::containsID(const TQString& id) const
{
- return d->map.tqcontains(id);
+ return d->map.contains(id);
}
-bool TagSet::tqcontains(const Tag& tag) const
+bool TagSet::contains(const Tag& tag) const
{
- return d->map.tqcontains(tag.id());
+ return d->map.contains(tag.id());
}
Tag TagSet::findByID(const TQString& id) const
{
- return d->map.tqcontains(id) ? d->map[id] : Tag();
+ return d->map.contains(id) ? d->map[id] : Tag();
}
TQMap<TQString,Tag> TagSet::toMap() const