diff options
| author | Frank Reininghaus <[email protected]> | 2010-10-22 15:41:47 +0000 |
|---|---|---|
| committer | Frank Reininghaus <[email protected]> | 2010-10-22 15:41:47 +0000 |
| commit | 28bc452f0d4489e0f3076996dde128a5b2940209 (patch) | |
| tree | 34589545276e84167e868db9ed0186c6420cc7ec /src/views/dolphindetailsview.h | |
| parent | ef87498e5226ce44d9c3fd01893d668038122c55 (diff) | |
Add a second Dolphin unit test (for a regression in DolphinDetailsView
which has been fixed recently). This commit also adds a new class
TestHelper which provides some funtionality that most Dolphin unit
tests will need. I hope that this makes implementing additional tests
as easy as possible :-)
svn path=/trunk/KDE/kdebase/apps/; revision=1188536
Diffstat (limited to 'src/views/dolphindetailsview.h')
| -rw-r--r-- | src/views/dolphindetailsview.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/views/dolphindetailsview.h b/src/views/dolphindetailsview.h index 67f7f2e3e..479683f66 100644 --- a/src/views/dolphindetailsview.h +++ b/src/views/dolphindetailsview.h @@ -62,6 +62,9 @@ public: */ QSet<KUrl> expandedUrls() const; +public: + virtual QRect visualRect(const QModelIndex& index) const; + protected: virtual bool event(QEvent* event); virtual QStyleOptionViewItem viewOptions() const; @@ -76,7 +79,6 @@ protected: virtual void wheelEvent(QWheelEvent* event); virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); virtual bool eventFilter(QObject* watched, QEvent* event); - virtual QRect visualRect(const QModelIndex& index) const; virtual bool acceptsDrop(const QModelIndex& index) const; protected slots: |
