summaryrefslogtreecommitdiffstats
path: root/cervisia/updateview_visitors.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit22253cd8fbc0bd2e70f32aaf1f95ea3a3e819a60 (patch)
treebabc4a761925023e16fa94633959f35d1c251887 /cervisia/updateview_visitors.cpp
parent0813b39aed2cf4c84157a22c4c9594336d93d412 (diff)
downloadtdesdk-22253cd8fbc0bd2e70f32aaf1f95ea3a3e819a60.tar.gz
tdesdk-22253cd8fbc0bd2e70f32aaf1f95ea3a3e819a60.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'cervisia/updateview_visitors.cpp')
-rw-r--r--cervisia/updateview_visitors.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cervisia/updateview_visitors.cpp b/cervisia/updateview_visitors.cpp
index 0da6940b..8232d98c 100644
--- a/cervisia/updateview_visitors.cpp
+++ b/cervisia/updateview_visitors.cpp
@@ -50,11 +50,11 @@ void ApplyFilterVisitor::postVisit(UpdateDirItem* item)
// - it has visible tqchildren
// - it is not opened
// - empty directories are not hidden
- // - it has no tqparent (top level item)
+ // - it has no parent (top level item)
const bool visible(!m_invisibleDirItems.count(item)
|| !item->wasScanned()
|| !(m_filter & UpdateView::NoEmptyDirectories)
- || !item->tqparent());
+ || !item->parent());
// only set invisible as TQListViewItem::setVisible() is recursive
// and so maybe overrides the state applied by the filter
@@ -81,7 +81,7 @@ void ApplyFilterVisitor::visit(UpdateFileItem* item)
void ApplyFilterVisitor::markAllParentsAsVisible(UpdateItem* item)
{
- while ((item = static_cast<UpdateDirItem*>(item->tqparent())))
+ while ((item = static_cast<UpdateDirItem*>(item->parent())))
{
TItemSet::iterator it = m_invisibleDirItems.find(item);
if (it != m_invisibleDirItems.end())