┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2010-11-09 08:23:33 +0000
committerFrank Reininghaus <[email protected]>2010-11-09 08:23:33 +0000
commitda44e5e0b2237fa1019caeecf854aa95a4b360d8 (patch)
treec553bbc32f87fd4c321fda3c76a66e2c8e706718 /src/views
parent1a13fffbd95c5cbb00001f4dd1a3ea4c86c53106 (diff)
Add unit test for bug 217447.
To make it work, I had to make DolphinTreeView::indexAt public, but this method is public in the base class anyway. svn path=/trunk/KDE/kdebase/apps/; revision=1194511
Diffstat (limited to 'src/views')
-rw-r--r--src/views/dolphintreeview.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/dolphintreeview.h b/src/views/dolphintreeview.h
index 67f8eedf2..4eb00c101 100644
--- a/src/views/dolphintreeview.h
+++ b/src/views/dolphintreeview.h
@@ -40,6 +40,7 @@ public:
explicit DolphinTreeView(QWidget* parent = 0);
virtual ~DolphinTreeView();
+ virtual QModelIndex indexAt (const QPoint& point) const;
virtual QRegion visualRegionForSelection(const QItemSelection& selection) const;
protected:
@@ -62,7 +63,6 @@ protected:
virtual void keyPressEvent(QKeyEvent* event);
virtual void keyReleaseEvent(QKeyEvent* event);
virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous);
- virtual QModelIndex indexAt (const QPoint& point) const;
virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command);
virtual void scrollTo(const QModelIndex& index, ScrollHint hint = EnsureVisible);