diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/gui/kstandardshortcut.cpp | 4 | ||||
| -rw-r--r-- | src/gui/kstandardshortcut.h | 6 | 
2 files changed, 10 insertions, 0 deletions
| diff --git a/src/gui/kstandardshortcut.cpp b/src/gui/kstandardshortcut.cpp index 1bdbd247..a8215138 100644 --- a/src/gui/kstandardshortcut.cpp +++ b/src/gui/kstandardshortcut.cpp @@ -554,5 +554,9 @@ const QList<QKeySequence> &moveToTrash()  {      return shortcut(MoveToTrash);  } +const QList<QKeySequence> &preferences() +{ +    return shortcut(Preferences); +}  } diff --git a/src/gui/kstandardshortcut.h b/src/gui/kstandardshortcut.h index aabe6b3c..15cdc1b9 100644 --- a/src/gui/kstandardshortcut.h +++ b/src/gui/kstandardshortcut.h @@ -527,6 +527,12 @@ KCONFIGGUI_EXPORT const QList<QKeySequence> &renameFile();   */  KCONFIGGUI_EXPORT const QList<QKeySequence> &moveToTrash(); +/** + * Opens the app's settings window. Default: Ctrl+Shift+Comma + * @return the shortcut of the standard accelerator + * @since 5.64 + */ +KCONFIGGUI_EXPORT const QList<QKeySequence> &preferences();  }  #endif // KSTANDARDSHORTCUT_H | 
