21 #ifndef SHORTCUTHANDLER_H 22 #define SHORTCUTHANDLER_H 26 #include "Utils/Singleton.h" 27 #include "Utils/Settings/SayonaraClass.h" 28 #include "Utils/Pimpl.h" 55 void set_shortcut(
const QString& identifier,
const QStringList& shortcut);
82 #endif // SHORTCUTHANDLER_H void set_shortcut(const QString &identifier, const QStringList &shortcut)
set the shortcut by its unique identifier
The SayonaraClass class provides access to Settings and notifications.
Definition: SayonaraClass.h:29
A singleton class for retrieving shortcuts.
Definition: ShortcutHandler.h:36
Shortcut get_shortcut(const QString &identifier) const
get a shortcut by its unique identifier
A single shortcut managed by ShortcutHandler. This class holds information about the default shortcut...
Definition: Shortcut.h:40
QList< Shortcut > get_shortcuts() const
get all shortcuts
Shortcut add(const Shortcut &shortcut)
add a new shortcut instance to the handler. This is usually done by the widget the shortcut is attach...
Definition: org_mpris_media_player2_adaptor.h:20