21 #ifndef SHORTCUTHANDLER_H 22 #define SHORTCUTHANDLER_H 25 #include "ShortcutIdentifier.h" 26 #include "Utils/Singleton.h" 27 #include "Utils/Settings/SayonaraClass.h" 28 #include "Utils/Pimpl.h" 36 #define ShortcutPrivate private 56 void sig_shortcut_changed(ShortcutIdentifier
identifier);
79 QString
identifier(ShortcutIdentifier
id)
const;
80 QString shortcut_text(ShortcutIdentifier
id)
const;
83 #endif // SHORTCUTHANDLER_H The SayonaraClass class provides access to Settings and notifications.
Definition: SayonaraClass.h:29
A singleton class for retrieving shortcuts.
Definition: ShortcutHandler.h:42
QList< ShortcutIdentifier > shortcuts_ids() const
get all shortcuts
A single shortcut managed by ShortcutHandler. This class holds information about the default shortcut...
Definition: Shortcut.h:41
ShortcutIdentifier identifier() const
get the unique identifier
const QStringList & shortcuts() const
get a human-readable list of mapped shortcuts
void set_shortcut(ShortcutIdentifier identifier, const QStringList &shortcut)
set the shortcut by its unique identifier
Shortcut shortcut(ShortcutIdentifier identifier) const
get a shortcut by its unique identifier
Definition: org_mpris_media_player2_adaptor.h:20