┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphinviewactionhandler.h
diff options
context:
space:
mode:
authorChristian Schwarz <[email protected]>2025-02-03 18:23:16 +0000
committerMéven Car <[email protected]>2025-02-03 18:23:16 +0000
commitf81d73a7f3a851dc755ef0cd1fd2a2507587a900 (patch)
tree58e66690a91048fd965e0885880b7c07a3185c91 /src/views/dolphinviewactionhandler.h
parent726753f81a96f15e1d88165cf93d55c7aac03707 (diff)
implement shortcut action for file creation
BUG: 462899
Diffstat (limited to 'src/views/dolphinviewactionhandler.h')
-rw-r--r--src/views/dolphinviewactionhandler.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/views/dolphinviewactionhandler.h b/src/views/dolphinviewactionhandler.h
index f36b3d1d0..20d62cf64 100644
--- a/src/views/dolphinviewactionhandler.h
+++ b/src/views/dolphinviewactionhandler.h
@@ -87,6 +87,13 @@ Q_SIGNALS:
*/
void createDirectoryTriggered();
+ /**
+ * Emitted if the user requested creating a new file.
+ * The receiver of the signal (DolphinMainWindow or DolphinPart) invokes
+ * the method createFile of their KNewFileMenu instance.
+ */
+ void createFileTriggered();
+
/** Used to request either entering or leaving of selection mode */
void selectionModeChangeTriggered(bool enabled, SelectionMode::BottomBar::Contents bottomBarContents = SelectionMode::BottomBar::Contents::GeneralContents);