21 #ifndef SHORTCUTHANDLER_H 22 #define SHORTCUTHANDLER_H 26 #include "Helper/Singleton.h" 27 #include "Helper/Settings/SayonaraClass.h" 60 void set_shortcut(
const QString& identifier,
const QStringList& shortcut);
87 #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:35
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:41
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...