]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/views/dolphinview.h
Don't show selection toggle areas on files while in selection mode
[dolphin.git] / src / views / dolphinview.h
index 9b0dee62e431507f153f35032b1eb11cd8d8ea15..2ecd75957fa8791b8e1ba0225f3a8f4b2043cce0 100644 (file)
@@ -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.