23 #ifndef SHORTCUTHANDLER_H
24 #define SHORTCUTHANDLER_H
28 #include <QStringList>
29 #include <QKeySequence>
32 #include "Helper/globals.h"
33 #include "RawShortcutMap.h"
35 #include "Helper/Settings/SayonaraClass.h"
67 void set_shortcut(
const QString& identifier,
const QStringList& shortcut);
95 #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:31
A singleton class for retrieving shortcuts.
Definition: ShortcutHandler.h:41
A single shortcut managed by ShortcutHandler. This class holds information about the default shortcut...
Definition: Shortcut.h:42
Shortcut add(const Shortcut &shortcut)
add a new shortcut instance to the handler. This is usually done by the widget the shortcut is attach...
Shortcut get_shortcut(const QString &identifier) const
get a shortcut by its unique identifier
QList< Shortcut > get_shortcuts() const
get all shortcuts