diff options
Diffstat (limited to 'src/dolphincontroller.h')
| -rw-r--r-- | src/dolphincontroller.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/dolphincontroller.h b/src/dolphincontroller.h index 29dd7dfb1..f6abbb148 100644 --- a/src/dolphincontroller.h +++ b/src/dolphincontroller.h @@ -59,6 +59,7 @@ class QWidget; * - indicateDroppedUrls() * - indicateSortingChange() * - indicateSortOrderChanged() + * - indicateSortFoldersFirstChanged() * - triggerItem() * - requestTab() * - handleKeyPressEvent() @@ -165,6 +166,15 @@ public: void indicateSortOrderChange(Qt::SortOrder order); /** + * Informs the abstract Dolphin view about a change between separate sorting + * (with folders first) and mixed sorting of files and folders done inside + * the view implementation. This method should be invoked by the view + * implementation (e. g. the details view uses this method in combination + * with the details header). + */ + void indicateSortFoldersFirstChange(bool foldersFirst); + + /** * Informs the abstract Dolphin view about an additional information change * done inside the view implementation. This method should be invoked by the * view implementation (e. g. the details view uses this method in combination @@ -317,6 +327,14 @@ signals: void sortOrderChanged(Qt::SortOrder order); /** + * Is emitted if 'sort folders first' has been changed to \a foldersFirst + * by the view implementation (see indicateSortOrderChanged(). + * The abstract Dolphin view connects + * to this signal to update its menu actions. + */ + void sortFoldersFirstChanged(bool foldersFirst); + + /** * Is emitted if the additional info has been changed to \a info * by the view implementation. The abstract Dolphin view connects * to this signal to update its menu actions. |
