summaryrefslogtreecommitdiffstats
path: root/akregator/src/simplenodeselector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/simplenodeselector.cpp')
-rw-r--r--akregator/src/simplenodeselector.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/akregator/src/simplenodeselector.cpp b/akregator/src/simplenodeselector.cpp
index 5370bebef..1bceb6722 100644
--- a/akregator/src/simplenodeselector.cpp
+++ b/akregator/src/simplenodeselector.cpp
@@ -31,7 +31,7 @@
#include <klistview.h>
#include <klocale.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqmap.h>
#include <tqwidget.h>
@@ -102,9 +102,9 @@ class SimpleNodeSelector::NodeVisitor : public TreeNodeVisitor
virtual bool visitFolder(Folder* node)
{
visitTreeNode(node);
- TQValueList<TreeNode*> tqchildren = node->tqchildren();
+ TQValueList<TreeNode*> children = node->children();
m_view->d->nodeToItem[node]->setExpandable(true);
- for (TQValueList<TreeNode*>::ConstIterator it = tqchildren.begin(); it != tqchildren.end(); ++it)
+ for (TQValueList<TreeNode*>::ConstIterator it = children.begin(); it != children.end(); ++it)
createItems(*it);
return true;
}
@@ -142,8 +142,8 @@ SimpleNodeSelector::SimpleNodeSelector(FeedList* feedList, TQWidget* parent, con
connect(d->view, TQT_SIGNAL(selectionChanged(TQListViewItem*)), this, TQT_SLOT(slotItemSelected(TQListViewItem*)));
- TQGridLayout* tqlayout = new TQGridLayout(this, 1, 1);
- tqlayout->addWidget(d->view, 0, 0);
+ TQGridLayout* layout = new TQGridLayout(this, 1, 1);
+ layout->addWidget(d->view, 0, 0);
d->visitor = new NodeVisitor(this);