From 36a36a5c1015aa0d03f4515c401e907ddb9d6291 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: 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 --- akregator/src/feedlist.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'akregator/src/feedlist.cpp') 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 tqchildren = list->rootNode()->tqchildren(); @@ -228,7 +228,7 @@ void FeedList::append(FeedList* list, Folder* tqparent, TreeNode* after) for (TQValueList::ConstIterator it = tqchildren.begin(); it != end; ++it) { list->rootNode()->removeChild(*it); - tqparent->insertChild(*it, after); + parent->insertChild(*it, after); after = *it; } } -- cgit v1.2.1