aboutsummaryrefslogtreecommitdiff
path: root/src/gui/kstandardshortcut.h
diff options
context:
space:
mode:
authorLeslie Zhai <xiangzhai83@gmail.com>2016-08-01 09:27:36 +0800
committerLeslie Zhai <xiangzhai83@gmail.com>2016-08-01 09:27:36 +0800
commit0fc5d6db714697ff5a3756f315d2177db1b8e354 (patch)
tree30264cbf8cd95cc7dc0b5c19dbf2fa0d3604b71e /src/gui/kstandardshortcut.h
parent364921187d4d3291105fc7b0a4b1cacd41a6aadf (diff)
downloadkconfig-0fc5d6db714697ff5a3756f315d2177db1b8e354.tar.gz
kconfig-0fc5d6db714697ff5a3756f315d2177db1b8e354.tar.bz2
Add DeleteFile and RenameFile standard shortcut.
REVIEW: 128517
Diffstat (limited to 'src/gui/kstandardshortcut.h')
-rw-r--r--src/gui/kstandardshortcut.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/gui/kstandardshortcut.h b/src/gui/kstandardshortcut.h
index 9a2d0d87..a5a7c28f 100644
--- a/src/gui/kstandardshortcut.h
+++ b/src/gui/kstandardshortcut.h
@@ -114,6 +114,9 @@ enum StandardShortcut {
AboutApp,
AboutKDE,
+ DeleteFile, // @since 5.25
+ RenameFile, // @since 5.25
+ MoveToTrash, // @since 5.25
// Insert new items here!
StandardShortcutCount // number of standard shortcuts
@@ -472,6 +475,27 @@ KCONFIGGUI_EXPORT const QList<QKeySequence> &forwardWord();
*/
KCONFIGGUI_EXPORT const QList<QKeySequence> &showMenubar();
+/**
+ * Delete File. Default: Shift+Delete
+ * @return the shortcut of the standard accelerator
+ * @since 5.25
+ */
+KCONFIGGUI_EXPORT const QList<QKeySequence> &deleteFile();
+
+/**
+ * Rename File. Default: F2
+ * @return the shortcut of the standard accelerator
+ * @since 5.25
+ */
+KCONFIGGUI_EXPORT const QList<QKeySequence> &renameFile();
+
+/**
+ * Move to Trash. Default: Delete
+ * @return the shortcut of the standard accelerator
+ * @since 5.25
+ */
+KCONFIGGUI_EXPORT const QList<QKeySequence> &moveToTrash();
+
}
#endif // KSTANDARDSHORTCUT_H