From 2e588733c759cccd2d86e34a3a394b9a8ab0c800 Mon Sep 17 00:00:00 2001 From: Felix Ernst Date: Thu, 28 Apr 2022 22:55:28 +0200 Subject: Improve naming consistency and leave mode on Escape --- src/views/dolphinview.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/views/dolphinview.h') diff --git a/src/views/dolphinview.h b/src/views/dolphinview.h index 9b0dee62e..2ecd75957 100644 --- a/src/views/dolphinview.h +++ b/src/views/dolphinview.h @@ -115,7 +115,7 @@ public: /** * Enables or disables a mode for quick and easy selection of items. */ - void setSelectionMode(bool enabled); + void setSelectionModeEnabled(bool enabled); bool selectionMode() const; /** @@ -609,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. -- cgit v1.3