summaryrefslogtreecommitdiffstats
path: root/akregator/src/feedlistview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/feedlistview.cpp')
-rw-r--r--akregator/src/feedlistview.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/akregator/src/feedlistview.cpp b/akregator/src/feedlistview.cpp
index ac9c82125..a891445fc 100644
--- a/akregator/src/feedlistview.cpp
+++ b/akregator/src/feedlistview.cpp
@@ -212,15 +212,15 @@ class NodeListView::CreateItemVisitor : public TreeNodeVisitor
TagNodeItem* item = 0;
TreeNode* prev = node->prevSibling();
- FolderItem* tqparentItem = static_cast<FolderItem*>(m_view->findNodeItem(node->tqparent()));
- if (tqparentItem)
+ FolderItem* parentItem = static_cast<FolderItem*>(m_view->findNodeItem(node->tqparent()));
+ if (parentItem)
{
if (prev)
{
- item = new TagNodeItem( tqparentItem, m_view->findNodeItem(prev), node);
+ item = new TagNodeItem( parentItem, m_view->findNodeItem(prev), node);
}
else
- item = new TagNodeItem( tqparentItem, node);
+ item = new TagNodeItem( parentItem, node);
}
else
{
@@ -234,8 +234,8 @@ class NodeListView::CreateItemVisitor : public TreeNodeVisitor
item->nodeChanged();
m_view->d->itemDict.insert(node, item);
m_view->connectToNode(node);
- if (tqparentItem)
- tqparentItem->sortChildItems(0, true);
+ if (parentItem)
+ parentItem->sortChildItems(0, true);
return true;
}
@@ -246,15 +246,15 @@ class NodeListView::CreateItemVisitor : public TreeNodeVisitor
TagFolderItem* item = 0;
TreeNode* prev = node->prevSibling();
- FolderItem* tqparentItem = static_cast<FolderItem*>(m_view->findNodeItem(node->tqparent()));
- if (tqparentItem)
+ FolderItem* parentItem = static_cast<FolderItem*>(m_view->findNodeItem(node->tqparent()));
+ if (parentItem)
{
if (prev)
{
- item = new TagFolderItem( tqparentItem, m_view->findNodeItem(prev), node);
+ item = new TagFolderItem( parentItem, m_view->findNodeItem(prev), node);
}
else
- item = new TagFolderItem(tqparentItem, node);
+ item = new TagFolderItem(parentItem, node);
}
else
{
@@ -284,15 +284,15 @@ class NodeListView::CreateItemVisitor : public TreeNodeVisitor
FolderItem* item = 0;
TreeNode* prev = node->prevSibling();
- FolderItem* tqparentItem = static_cast<FolderItem*>(m_view->findNodeItem(node->tqparent()));
- if (tqparentItem)
+ FolderItem* parentItem = static_cast<FolderItem*>(m_view->findNodeItem(node->tqparent()));
+ if (parentItem)
{
if (prev)
{
- item = new FolderItem( tqparentItem, m_view->findNodeItem(prev), node);
+ item = new FolderItem( parentItem, m_view->findNodeItem(prev), node);
}
else
- item = new FolderItem(tqparentItem, node);
+ item = new FolderItem(parentItem, node);
}
else
{
@@ -321,16 +321,16 @@ class NodeListView::CreateItemVisitor : public TreeNodeVisitor
FeedItem* item = 0;
TreeNode* prev = node->prevSibling();
- FolderItem* tqparentItem = static_cast<FolderItem*>(m_view->findNodeItem(node->tqparent()));
+ FolderItem* parentItem = static_cast<FolderItem*>(m_view->findNodeItem(node->tqparent()));
- if (tqparentItem)
+ if (parentItem)
{
if (prev)
{
- item = new FeedItem( tqparentItem, m_view->findNodeItem(prev), node);
+ item = new FeedItem( parentItem, m_view->findNodeItem(prev), node);
}
else
- item = new FeedItem( tqparentItem, node);
+ item = new FeedItem( parentItem, node);
}
else
{
@@ -534,7 +534,7 @@ void NodeListView::movableDropEvent(TQListViewItem* /*tqparent*/, TQListViewItem
{
openFolder();
- Folder* tqparentNode = (dynamic_cast<FolderItem*> (d->tqparent))->node();
+ Folder* parentNode = (dynamic_cast<FolderItem*> (d->tqparent))->node();
TreeNode* afterMeNode = 0;
TreeNode* current = selectedNode();
@@ -542,7 +542,7 @@ void NodeListView::movableDropEvent(TQListViewItem* /*tqparent*/, TQListViewItem
afterMeNode = (dynamic_cast<TreeNodeItem*> (d->afterme))->node();
current->tqparent()->removeChild(current);
- tqparentNode->insertChild(current, afterMeNode);
+ parentNode->insertChild(current, afterMeNode);
KListView::movableDropEvent(d->tqparent, d->afterme);
}
}