summaryrefslogtreecommitdiffstats
path: root/src/app/dirviewcontroller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/dirviewcontroller.cpp')
-rw-r--r--src/app/dirviewcontroller.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/app/dirviewcontroller.cpp b/src/app/dirviewcontroller.cpp
index 2826915..2bf34f1 100644
--- a/src/app/dirviewcontroller.cpp
+++ b/src/app/dirviewcontroller.cpp
@@ -53,12 +53,12 @@ struct DirViewController::Private {
};
-DirViewController::DirViewController(TQWidget* tqparent)
-: TQObject(tqparent)
+DirViewController::DirViewController(TQWidget* parent)
+: TQObject(parent)
{
d=new Private;
- d->mTreeView=new TreeView(tqparent);
+ d->mTreeView=new TreeView(parent);
connect(d->mTreeView, TQT_SIGNAL(selectionChanged(TQListViewItem*)),
this, TQT_SLOT(slotTreeViewSelectionChanged(TQListViewItem*)) );
@@ -130,7 +130,7 @@ void DirViewController::removeDir() {
TQListViewItem* item=d->mTreeView->currentItem();
if (!item) return;
- item=item->tqparent();
+ item=item->parent();
if (!item) return;
d->mTreeView->setCurrentItem(item);
}