Changeset View
Changeset View
Standalone View
Standalone View
src/gui/kstandardshortcut.h
Show First 20 Lines • Show All 135 Lines • ▼ Show 20 Line(s) | 130 | #endif | |||
---|---|---|---|---|---|
136 | ReportBug, ///< Display the Report Bug dialog. | 136 | ReportBug, ///< Display the Report Bug dialog. | ||
137 | SwitchApplicationLanguage, ///< Display the Switch Application Language dialog. | 137 | SwitchApplicationLanguage, ///< Display the Switch Application Language dialog. | ||
138 | AboutApp, ///< Display the application's About dialog. | 138 | AboutApp, ///< Display the application's About dialog. | ||
139 | AboutKDE, ///< Display the About KDE dialog. | 139 | AboutKDE, ///< Display the About KDE dialog. | ||
140 | DeleteFile, ///< Permanently delete files or folders. @since 5.25 | 140 | DeleteFile, ///< Permanently delete files or folders. @since 5.25 | ||
141 | RenameFile, ///< Rename files or folders. @since 5.25 | 141 | RenameFile, ///< Rename files or folders. @since 5.25 | ||
142 | MoveToTrash, ///< Move files or folders to the trash. @since 5.25 | 142 | MoveToTrash, ///< Move files or folders to the trash. @since 5.25 | ||
143 | Donate, ///< Open donation page on kde.org. @since 5.26 | 143 | Donate, ///< Open donation page on kde.org. @since 5.26 | ||
144 | ShowHideHiddenFiles, ///< Toggle showing or hiding hidden files @since 5.70 | ||||
144 | // Insert new items here! | 145 | // Insert new items here! | ||
145 | 146 | | |||
146 | StandardShortcutCount // number of standard shortcuts | 147 | StandardShortcutCount // number of standard shortcuts | ||
147 | }; | 148 | }; | ||
148 | 149 | | |||
149 | /** | 150 | /** | ||
150 | * Returns the keybinding for @p accel. | 151 | * Returns the keybinding for @p accel. | ||
151 | * On X11, if QApplication was initialized with GUI disabled, the | 152 | * On X11, if QApplication was initialized with GUI disabled, the | ||
▲ Show 20 Lines • Show All 369 Lines • ▼ Show 20 Line(s) | |||||
521 | KCONFIGGUI_EXPORT const QList<QKeySequence> &moveToTrash(); | 522 | KCONFIGGUI_EXPORT const QList<QKeySequence> &moveToTrash(); | ||
522 | 523 | | |||
523 | /** | 524 | /** | ||
524 | * Opens the app's settings window. Default: Ctrl+Shift+Comma | 525 | * Opens the app's settings window. Default: Ctrl+Shift+Comma | ||
525 | * @return the shortcut of the standard accelerator | 526 | * @return the shortcut of the standard accelerator | ||
526 | * @since 5.64 | 527 | * @since 5.64 | ||
527 | */ | 528 | */ | ||
528 | KCONFIGGUI_EXPORT const QList<QKeySequence> &preferences(); | 529 | KCONFIGGUI_EXPORT const QList<QKeySequence> &preferences(); | ||
530 | | ||||
531 | /** | ||||
532 | * Shows or hides hidden files. Defaults: Ctrl+H, Alt+. | ||||
533 | * @return the shortcut of the standard accelerator | ||||
534 | * @since 5.70 | ||||
535 | */ | ||||
536 | KCONFIGGUI_EXPORT const QList<QKeySequence> &showHideHiddenFiles(); | ||||
537 | | ||||
529 | } | 538 | } | ||
530 | 539 | | |||
531 | #endif // KSTANDARDSHORTCUT_H | 540 | #endif // KSTANDARDSHORTCUT_H |