summaryrefslogtreecommitdiffstats
path: root/akregator/src/feedlist.cpp
diff options
context:
space:
mode:
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 72db0911..1daf1aa6 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;
}
}