X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/3b7c05b385dc56fbc0b9ffdd332f8d30e7624d0c..40cc5f665d:/src/views/dolphinview.h diff --git a/src/views/dolphinview.h b/src/views/dolphinview.h index 37af97137..2ecd75957 100644 --- a/src/views/dolphinview.h +++ b/src/views/dolphinview.h @@ -112,7 +112,10 @@ public: void setViewMode(Mode mode); Mode viewMode() const; - void setSelectionMode(bool enabled); + /** + * Enables or disables a mode for quick and easy selection of items. + */ + void setSelectionModeEnabled(bool enabled); bool selectionMode() const; /** @@ -606,11 +609,11 @@ Q_SIGNALS: void goForwardRequested(); /** - * Is emitted when the selection mode is requested for the current view. - * This typically happens on press and hold. - * @see KItemListController::longPress() + * Used to request either entering or leaving of selection mode + * Entering is typically requested on press and hold. + * Leaving by pressing Escape when no item is selected. */ - void selectionModeRequested(); + void selectionModeChangeRequested(bool enabled); /** * Is emitted when the user wants to move the focus to another view.