summaryrefslogtreecommitdiffstats
path: root/akregator/src/feedlist.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit36a36a5c1015aa0d03f4515c401e907ddb9d6291 (patch)
tree0212ba6d2c749043134005a41f2bd0379619d40f /akregator/src/feedlist.cpp
parent4c6f8d69e2d1501837affb472c4eb8fec4462240 (diff)
downloadtdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.tar.gz
tdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'akregator/src/feedlist.cpp')
-rw-r--r--akregator/src/feedlist.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/akregator/src/feedlist.cpp b/akregator/src/feedlist.cpp
index 72db09113..1daf1aa63 100644
--- a/akregator/src/feedlist.cpp
+++ b/akregator/src/feedlist.cpp
@@ -80,8 +80,8 @@ class FeedList::RemoveNodeVisitor : public TreeNodeVisitor
FeedList* m_list;
};
-FeedList::FeedList(TQObject *tqparent, const char *name)
- : NodeList(tqparent, name), d(new FeedListPrivate)
+FeedList::FeedList(TQObject *parent, const char *name)
+ : NodeList(parent, name), d(new FeedListPrivate)
{
d->addNodeVisitor = new AddNodeVisitor(this);
d->removeNodeVisitor = new RemoveNodeVisitor(this);
@@ -104,7 +104,7 @@ void FeedList::removeNode(TreeNode* node)
d->removeNodeVisitor->visit(node);
}
-void FeedList::parseChildNodes(TQDomNode &node, Folder* tqparent)
+void FeedList::parseChildNodes(TQDomNode &node, Folder* parent)
{
TQDomElement e = node.toElement(); // try to convert the node to an element.
@@ -119,13 +119,13 @@ void FeedList::parseChildNodes(TQDomNode &node, Folder* tqparent)
{
if (!d->urlMap[feed->xmlUrl()].contains(feed))
d->urlMap[feed->xmlUrl()].append(feed);
- tqparent->appendChild(feed);
+ parent->appendChild(feed);
}
}
else
{
Folder* fg = Folder::fromOPML(e);
- tqparent->appendChild(fg);
+ parent->appendChild(fg);
if (e.hasChildNodes())
{
@@ -214,13 +214,13 @@ Article FeedList::findArticle(const TQString& feedURL, const TQString& guid) con
return feed ? feed->findArticle(guid) : Article();
}
-void FeedList::append(FeedList* list, Folder* tqparent, TreeNode* after)
+void FeedList::append(FeedList* list, Folder* parent, TreeNode* after)
{
if ( list == this )
return;
- if ( !flatList()->contains(tqparent) )
- tqparent = rootNode();
+ if ( !flatList()->contains(parent) )
+ parent = rootNode();
TQValueList<TreeNode*> tqchildren = list->rootNode()->tqchildren();
@@ -228,7 +228,7 @@ void FeedList::append(FeedList* list, Folder* tqparent, TreeNode* after)
for (TQValueList<TreeNode*>::ConstIterator it = tqchildren.begin(); it != end; ++it)
{
list->rootNode()->removeChild(*it);
- tqparent->insertChild(*it, after);
+ parent->insertChild(*it, after);
after = *it;
}
}