21#ifndef SHORTCUTHANDLER_H
22#define SHORTCUTHANDLER_H
24#include "ShortcutIdentifier.h"
25#include "Utils/Singleton.h"
26#include "Utils/Pimpl.h"
33#define ShortcutPrivate private
49 void qtShortcutsAdded(ShortcutIdentifier databaseKey,
const QList<QShortcut*>& qtShortcuts);
52 void sigShortcutChanged(ShortcutIdentifier databaseKey);
75 QString databaseKey(ShortcutIdentifier
id)
const;
76 QString shortcut_text(ShortcutIdentifier
id)
const;
79 void qtShortcutDestroyed();
Definition: EngineUtils.h:33
A singleton class for retrieving shortcuts.
Definition: ShortcutHandler.h:41
void setShortcut(ShortcutIdentifier databaseKey, const QStringList &shortcut)
set the shortcut by its unique identifier
QList< ShortcutIdentifier > allIdentifiers() const
get all shortcuts
Shortcut shortcut(ShortcutIdentifier databaseKey) 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:42