summaryrefslogtreecommitdiffstats
path: root/cervisia/updateview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cervisia/updateview.cpp')
-rw-r--r--cervisia/updateview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cervisia/updateview.cpp b/cervisia/updateview.cpp
index 50f7825a..ae2ae61b 100644
--- a/cervisia/updateview.cpp
+++ b/cervisia/updateview.cpp
@@ -38,8 +38,8 @@ using Cervisia::Entry;
using Cervisia::EntrytqStatus;
-UpdateView::UpdateView(KConfig& partConfig, TQWidget *tqparent, const char *name)
- : KListView(tqparent, name),
+UpdateView::UpdateView(KConfig& partConfig, TQWidget *parent, const char *name)
+ : KListView(parent, name),
m_partConfig(partConfig),
m_unfoldingTree(false)
{
@@ -333,7 +333,7 @@ void UpdateView::foldTree()
while (TQListViewItem* item = it.current())
{
// don't close the top level directory
- if (isDirItem(item) && item->tqparent())
+ if (isDirItem(item) && item->parent())
item->setOpen(false);
++it;
@@ -500,7 +500,7 @@ void UpdateView::syncSelection()
UpdateDirItem* dirItem(0);
if (isDirItem(item))
dirItem = static_cast<UpdateDirItem*>(item);
- else if (TQListViewItem* parentItem = item->tqparent())
+ else if (TQListViewItem* parentItem = item->parent())
dirItem = static_cast<UpdateDirItem*>(parentItem);
if (dirItem)