From 418cfc1d7420eec3b8624b03e1e8250ba31dc08b Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 14 Dec 2006 19:54:59 +0000 Subject: Support 'select all' and 'invert selection' again. svn path=/trunk/playground/utils/dolphin/; revision=613698 --- src/dolphinview.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/dolphinview.h') diff --git a/src/dolphinview.h b/src/dolphinview.h index e5af61f3f..6aa5967f6 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -45,16 +45,13 @@ class QTimer; class Q3IconViewItem; class Q3ListViewItem; class Q3VBoxLayout; -//class KFileView; class DolphinMainWindow; class DolphinDirLister; class DolphinStatusBar; class DolphinIconsView; class DolphinDetailsView; class ViewProperties; -class Q3ScrollView; class KProgress; -class ItemEffectsManager; class FilterBar; class QModelIndex; @@ -413,9 +410,6 @@ private slots: void slotChangeNameFilter(const QString& nameFilter); private: - //KFileView* fileView() const; - Q3ScrollView* scrollView() const; - ItemEffectsManager* itemEffectsManager() const; void startDirLister(const KUrl& url, bool reload = false); /** @@ -447,6 +441,12 @@ private: */ int columnIndex(Sorting sorting) const; + /** + * Selects all items by using the selection flags \a flags. This is a helper + * method for the slots DolphinView::selectAll() and DolphinView::invertSelection(). + */ + void selectAll(QItemSelectionModel::SelectionFlags flags); + private: bool m_refreshing; bool m_showProgress; -- cgit v1.3