From f81d73a7f3a851dc755ef0cd1fd2a2507587a900 Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Mon, 3 Feb 2025 18:23:16 +0000 Subject: implement shortcut action for file creation BUG: 462899 --- src/views/dolphinviewactionhandler.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/views/dolphinviewactionhandler.h') 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); -- cgit v1.3.1