21 #ifndef SHORTCUTHANDLER_H 22 #define SHORTCUTHANDLER_H 25 #include "ShortcutIdentifier.h" 26 #include "Utils/Singleton.h" 27 #include "Utils/Pimpl.h" 34 #define ShortcutPrivate private 49 void qt_shortcuts_added(ShortcutIdentifier db_key,
const QList<QShortcut*>& qt_shortcuts);
52 void sig_shortcut_changed(ShortcutIdentifier db_key);
75 QString db_key(ShortcutIdentifier
id)
const;
76 QString shortcut_text(ShortcutIdentifier
id)
const;
79 void qt_shortcut_destroyed();
82 #endif // SHORTCUTHANDLER_H void set_shortcut(ShortcutIdentifier db_key, const QStringList &shortcut)
set the shortcut by its unique identifier
Shortcut shortcut(ShortcutIdentifier db_key) const
get a shortcut by its unique identifier
A singleton class for retrieving shortcuts.
Definition: ShortcutHandler.h:40
QList< ShortcutIdentifier > all_identifiers() const
get all shortcuts
A single shortcut managed by ShortcutHandler. This class holds information about the default shortcut...
Definition: Shortcut.h:41