|
game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
|
Predefined shortcut categories. More...
Variables | |
| constexpr const char * | GameActions = "Game Actions" |
| constexpr const char * | Global = "Global" |
| constexpr const char * | Navigation = "Navigation" |
| constexpr const char * | Panels = "Panels" |
| constexpr const char * | Tools = "Tools" |
| constexpr const char * | View = "View" |
Predefined shortcut categories.
Plain const char* constants — QString construction at namespace scope is technically a throwing static initialiser (clang-tidy bugprone-throwing-static-initialization), and an exception during static init can't be caught and would call std::terminate. const char* literals don't allocate. Callers using .category(ShortcutCategory::X) implicitly construct a QString at the call site, which is reachable code where any exception is recoverable.
|
inlineconstexpr |
Definition at line 79 of file shortcut_manager.h.
Referenced by ShortcutsController::setupKeyboardShortcuts().
|
inlineconstexpr |
Definition at line 78 of file shortcut_manager.h.
Referenced by ShortcutsController::setupKeyboardShortcuts().
|
inlineconstexpr |
Definition at line 81 of file shortcut_manager.h.
Referenced by ShortcutsController::setupKeyboardShortcuts().
|
inlineconstexpr |
Definition at line 82 of file shortcut_manager.h.
Referenced by ShortcutsController::setupKeyboardShortcuts().
|
inlineconstexpr |
Definition at line 83 of file shortcut_manager.h.
|
inlineconstexpr |
Definition at line 80 of file shortcut_manager.h.
Referenced by ShortcutsController::setupKeyboardShortcuts().