]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/views/dolphinview.h
Remember sort settings
[dolphin.git] / src / views / dolphinview.h
index fa0baa61e37eb53fb8118e30c15061b4d36c7cdf..9a3a83fa302b24f368d283833d3d357199617f8a 100644 (file)
@@ -646,6 +646,18 @@ private slots:
      */
     void slotRefreshItems();
 
+    /**
+     * Is invoked when the sort order has been changed by the user by clicking
+     * on a header item. The view properties of the directory will get updated.
+     */
+    void slotSortOrderChangedByHeader(Qt::SortOrder current, Qt::SortOrder previous);
+
+    /**
+     * Is invoked when the sort role has been changed by the user by clicking
+     * on a header item. The view properties of the directory will get updated.
+     */
+    void slotSortRoleChangedByHeader(const QByteArray& current, const QByteArray& previous);
+
     /**
      * Observes the item with the URL \a url. As soon as the directory
      * model indicates that the item is available, the item will