summaryrefslogtreecommitdiffstats
path: root/akregator/src/simplenodeselector.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:21 -0600
commit3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (patch)
tree89de88213bd261e4ccaade899ab2d6ec34b3a5a7 /akregator/src/simplenodeselector.cpp
parent1dad5f662a09dfc5cc041caffe0f674044a4dcec (diff)
downloadtdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.tar.gz
tdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.zip
Rename a number of old tq methods that are no longer tq specific
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);