summaryrefslogtreecommitdiffstats
path: root/akregator/src/folder.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/folder.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/folder.cpp')
-rw-r--r--akregator/src/folder.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/akregator/src/folder.cpp b/akregator/src/folder.cpp
index d55c75aec..2a0f2776e 100644
--- a/akregator/src/folder.cpp
+++ b/akregator/src/folder.cpp
@@ -99,7 +99,7 @@ TQStringList Folder::tags() const
// intersect tag sets instead of appending lists, to avoid dupes. This sucks. Definitely. I want TQSet. Now.
TQStringList t2 = (*it)->tags();
for (TQStringList::ConstIterator it2 = t2.begin(); it2 != t2.end(); ++it2)
- if (!t.tqcontains(*it2))
+ if (!t.contains(*it2))
t.append(*it2);
}
return t;
@@ -137,7 +137,7 @@ TQValueList<TreeNode*> Folder::tqchildren() const
void Folder::insertChild(TreeNode* node, TreeNode* after)
{
- int pos = d->tqchildren.tqfindIndex(after);
+ int pos = d->tqchildren.findIndex(after);
if (pos < 0)
prependChild(node);
@@ -202,7 +202,7 @@ void Folder::prependChild(TreeNode* node)
void Folder::removeChild(TreeNode* node)
{
// kdDebug() << "enter Folder::removeChild() node:" << (node ? node->title() : "null") << endl;
- if (node && d->tqchildren.tqcontains(node))
+ if (node && d->tqchildren.contains(node))
{
node->setParent(0);
d->tqchildren.remove(node);