X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/3d4e6938f57fcf010b4fda7255384098327eb67d..b9f1ebca009cb3da36ebc3d4537aedcc69770077:/src/selectionmanager.h diff --git a/src/selectionmanager.h b/src/selectionmanager.h index c263da3ea..0263e5282 100644 --- a/src/selectionmanager.h +++ b/src/selectionmanager.h @@ -28,6 +28,7 @@ class DolphinSortFilterProxyModel; class QAbstractItemView; class QModelIndex; class QAbstractButton; +class QItemSelection; class SelectionToggle; /** @@ -60,6 +61,7 @@ private slots: void slotViewportEntered(); void setItemSelected(bool selected); void slotRowsRemoved(const QModelIndex& parent, int start, int end); + void slotSelectionChanged(const QItemSelection& selected, const QItemSelection& deselected); private: KUrl urlForIndex(const QModelIndex& index) const; @@ -68,6 +70,7 @@ private: private: QAbstractItemView* m_view; SelectionToggle* m_toggle; + bool m_connected; }; #endif