diff options
author | Domenico Panella <pandom79@gmail.com> | 2020-08-29 18:06:07 +0000 |
---|---|---|
committer | Nate Graham <nate@kde.org> | 2020-08-29 18:06:07 +0000 |
commit | eeb2bbeff7f1ee74b907d92acb0eae6a65590ad7 (patch) | |
tree | 52251211cca1e8cf7c0c798fab6840862a67deda /src/gui/kstandardshortcut.h | |
parent | 7dbe2eb69e5b251b0c193f1a4dbbf4c69e2a3330 (diff) | |
download | kconfig-eeb2bbeff7f1ee74b907d92acb0eae6a65590ad7.tar.gz kconfig-eeb2bbeff7f1ee74b907d92acb0eae6a65590ad7.tar.bz2 |
Add standard shortcut for "Create Folder"
Diffstat (limited to 'src/gui/kstandardshortcut.h')
-rw-r--r-- | src/gui/kstandardshortcut.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 @@ -549,6 +550,13 @@ KCONFIGGUI_EXPORT const QList<QKeySequence> &deleteFile(); KCONFIGGUI_EXPORT const QList<QKeySequence> &renameFile(); /** + * Create a folder. Default: F10 + * @return the shortcut of the standard accelerator + * @since 5.74 + */ +KCONFIGGUI_EXPORT const QList<QKeySequence> &createFolder(); + +/** * Moves files or folders to the trash. Default: Delete * @return the shortcut of the standard accelerator * @since 5.25 |