From eeb2bbeff7f1ee74b907d92acb0eae6a65590ad7 Mon Sep 17 00:00:00 2001 From: Domenico Panella Date: Sat, 29 Aug 2020 18:06:07 +0000 Subject: Add standard shortcut for "Create Folder" --- src/gui/kstandardshortcut.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/gui/kstandardshortcut.h') diff --git a/src/gui/kstandardshortcut.h b/src/gui/kstandardshortcut.h index 89d1fe9b..46885e28 100644 --- a/src/gui/kstandardshortcut.h +++ b/src/gui/kstandardshortcut.h @@ -139,6 +139,7 @@ enum StandardShortcut { AboutKDE, ///< Display the About KDE dialog. DeleteFile, ///< Permanently delete files or folders. @since 5.25 RenameFile, ///< Rename files or folders. @since 5.25 + CreateFolder, ///< Create a folder. @since 5.74 MoveToTrash, ///< Move files or folders to the trash. @since 5.25 Donate, ///< Open donation page on kde.org. @since 5.26 ShowHideHiddenFiles, ///< Toggle showing or hiding hidden files @since 5.70 @@ -548,6 +549,13 @@ KCONFIGGUI_EXPORT const QList &deleteFile(); */ KCONFIGGUI_EXPORT const QList &renameFile(); +/** + * Create a folder. Default: F10 + * @return the shortcut of the standard accelerator + * @since 5.74 + */ +KCONFIGGUI_EXPORT const QList &createFolder(); + /** * Moves files or folders to the trash. Default: Delete * @return the shortcut of the standard accelerator -- cgit v1.2.1