summaryrefslogtreecommitdiffstats
path: root/akregator/src/nodelist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/nodelist.cpp')
-rw-r--r--akregator/src/nodelist.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/akregator/src/nodelist.cpp b/akregator/src/nodelist.cpp
index fd49c060f..edea9c6e2 100644
--- a/akregator/src/nodelist.cpp
+++ b/akregator/src/nodelist.cpp
@@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#include "folder.h"
@@ -118,7 +118,7 @@ class NodeList::RemoveNodeVisitor : public TreeNodeVisitor
NodeList* m_list;
};
-NodeList::NodeList(TQObject *parent, const char *name) : d(new NodeListPrivate)
+NodeList::NodeList(TQObject *tqparent, const char *name) : d(new NodeListPrivate)
{
d->rootNode = 0;
d->addNodeVisitor = new AddNodeVisitor(this);
@@ -165,9 +165,9 @@ void NodeList::clear()
{
Q_ASSERT(rootNode());
- TQValueList<TreeNode*> children = rootNode()->children();
+ TQValueList<TreeNode*> tqchildren = rootNode()->tqchildren();
- for (TQValueList<TreeNode*>::ConstIterator it = children.begin(); it != children.end(); ++it)
+ for (TQValueList<TreeNode*>::ConstIterator it = tqchildren.begin(); it != tqchildren.end(); ++it)
delete *it; // emits signal "emitSignalDestroyed"
}
@@ -215,8 +215,8 @@ int NodeList::generateID()
void NodeList::slotNodeAdded(TreeNode* node)
{
- Folder* parent = node->parent();
- if ( !node || !d->flatList.tqcontains(parent) || d->flatList.tqcontains(node) )
+ Folder* tqparent = node->tqparent();
+ if ( !node || !d->flatList.tqcontains(tqparent) || d->flatList.tqcontains(node) )
return;
addNode(node, false);
@@ -230,7 +230,7 @@ void NodeList::slotNodeDestroyed(TreeNode* node)
removeNode(node);
}
-void NodeList::slotNodeRemoved(Folder* /*parent*/, TreeNode* node)
+void NodeList::slotNodeRemoved(Folder* /*tqparent*/, TreeNode* node)
{
if ( !node || !d->flatList.tqcontains(node) )
return;