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();
A singleton class for retrieving shortcuts.
Definition: ShortcutHandler.h:42
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