aboutsummaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorElvis Angelaccio <elvis.angelaccio@kdemail.net>2016-08-14 12:10:15 +0200
committerElvis Angelaccio <elvis.angelaccio@kdemail.net>2016-08-14 12:13:19 +0200
commit3434b9efd0a8b77d558e4376af38e17d59ded66c (patch)
treeb98b9ab1056f96d5b2d4df3c5b08c3aa689a9d33 /src/gui
parent0eb1637e2e98b1a60be13dfc2842923d2246efd2 (diff)
downloadkconfig-3434b9efd0a8b77d558e4376af38e17d59ded66c.tar.gz
kconfig-3434b9efd0a8b77d558e4376af38e17d59ded66c.tar.bz2
Add Donate standard shortcut
REVIEW: 128608 CHANGELOG: Add Donate entry to KStandardShortcut
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/kstandardshortcut.cpp1
-rw-r--r--src/gui/kstandardshortcut.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/kstandardshortcut.cpp b/src/gui/kstandardshortcut.cpp
index 6d749455..92eb0913 100644
--- a/src/gui/kstandardshortcut.cpp
+++ b/src/gui/kstandardshortcut.cpp
@@ -167,6 +167,7 @@ static KStandardShortcutInfo g_infoStandardShortcut[] = {
{ DeleteFile, "DeleteFile", QT_TRANSLATE_NOOP3("KStandardShortcut", "Delete File", "@action"), SHIFT(Delete), 0, QList<QKeySequence>(), false },
{ RenameFile, "RenameFile", QT_TRANSLATE_NOOP3("KStandardShortcut", "Rename File", "@action"), Qt::Key_F2, 0, QList<QKeySequence>(), false },
{ MoveToTrash, "MoveToTrash", QT_TRANSLATE_NOOP3("KStandardShortcut", "Move to Trash", "@action"), Qt::Key_Delete, 0, QList<QKeySequence>(), false },
+ { Donate, "Donate", QT_TRANSLATE_NOOP3("KStandardShortcut", "Donate", "@action"), 0, 0, QList<QKeySequence>(), false },
//dummy entry to catch simple off-by-one errors. Insert new entries before this line.
{ AccelNone, 0, {0, 0}, 0, 0, QList<QKeySequence>(), false }
diff --git a/src/gui/kstandardshortcut.h b/src/gui/kstandardshortcut.h
index a5a7c28f..0ff55d1e 100644
--- a/src/gui/kstandardshortcut.h
+++ b/src/gui/kstandardshortcut.h
@@ -117,6 +117,8 @@ enum StandardShortcut {
DeleteFile, // @since 5.25
RenameFile, // @since 5.25
MoveToTrash, // @since 5.25
+
+ Donate, // @since 5.26
// Insert new items here!
StandardShortcutCount // number of standard shortcuts