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 50 void qtShortcutsAdded(ShortcutIdentifier databaseKey,
const QList<QShortcut*>& qtShortcuts);
53 void sigShortcutChanged(ShortcutIdentifier databaseKey);
76 QString databaseKey(ShortcutIdentifier
id)
const;
77 QString shortcut_text(ShortcutIdentifier
id)
const;
80 void qtShortcutDestroyed();
83 #endif // SHORTCUTHANDLER_H A singleton class for retrieving shortcuts.
Definition: ShortcutHandler.h:40
A single shortcut managed by ShortcutHandler. This class holds information about the default shortcut...
Definition: Shortcut.h:41
Shortcut shortcut(ShortcutIdentifier databaseKey) const
get a shortcut by its unique identifier
void setShortcut(ShortcutIdentifier databaseKey, const QStringList &shortcut)
set the shortcut by its unique identifier
QList< ShortcutIdentifier > allIdentifiers() const
get all shortcuts