X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/9829fd0d5a2a48109407cbd5aaba02487985728d..refs/heads/master:/src/views/dolphinviewactionhandler.h?ds=sidebyside diff --git a/src/views/dolphinviewactionhandler.h b/src/views/dolphinviewactionhandler.h index 20d62cf64..a589be9ea 100644 --- a/src/views/dolphinviewactionhandler.h +++ b/src/views/dolphinviewactionhandler.h @@ -165,6 +165,16 @@ private Q_SLOTS: */ void slotSortRoleChanged(const QByteArray &role); + /** + * Updates the state of the 'Group Ascending/Descending' action. + */ + void slotGroupOrderChanged(Qt::SortOrder order); + + /** + * Updates the state of the 'Group by' actions. + */ + void slotGroupRoleChanged(const QByteArray &role); + /** * Updates the state of the 'Zoom In' and 'Zoom Out' actions. */ @@ -186,6 +196,11 @@ private Q_SLOTS: */ void slotVisibleRolesChanged(const QList ¤t, const QList &previous); + /** + * Changes the grouping of the current view. + */ + void slotGroupTriggered(QAction *); + /** * Switches between sorting by groups or not. */ @@ -281,6 +296,7 @@ private: DolphinView *m_currentView; QHash m_sortByActions; + QHash m_groupByActions; QHash m_visibleRoles; };