From 8e55f2c2409fd6ca9ebc66a6568f4d3bcbef7576 Mon Sep 17 00:00:00 2001 From: Felix Ernst Date: Sun, 24 Apr 2022 13:18:30 +0200 Subject: Better separation of classes Make obvious when actions trigger selection mode. --- src/dolphinmainwindow.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/dolphinmainwindow.h') diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index 0c9c762d6..fe844ad1b 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -10,7 +10,7 @@ #define DOLPHIN_MAINWINDOW_H #include "dolphintabwidget.h" -#include "selectionmode/selectionmodebottombar.h" +#include "selectionmode/bottombar.h" #include "config-dolphin.h" #include #include @@ -48,6 +48,9 @@ class TerminalPanel; namespace KIO { class OpenUrlJob; } +namespace SelectionMode { + class ActionTextHelper; +} /** * @short Main window for Dolphin. @@ -315,7 +318,7 @@ private Q_SLOTS: void updatePasteAction(); /** Calls DolphinViewContainer::setSelectionMode() for m_activeViewContainer. */ - void slotSetSelectionMode(bool enabled, SelectionModeBottomBar::Contents bottomBarContents); + void slotSetSelectionMode(bool enabled, SelectionMode::BottomBar::Contents bottomBarContents); /** Selects all items from the active view. */ void selectAll(); @@ -705,6 +708,7 @@ private: DolphinRemoteEncoding* m_remoteEncoding; QPointer m_settingsDialog; DolphinBookmarkHandler* m_bookmarkHandler; + SelectionMode::ActionTextHelper* m_actionTextHelper; // Members for the toolbar menu that is shown when the menubar is hidden: QToolButton* m_controlButton; -- cgit v1.3