A singleton class for retrieving shortcuts.
More...
#include <ShortcutHandler.h>
|
void | sigShortcutChanged (ShortcutIdentifier databaseKey) |
|
|
Shortcut | shortcut (ShortcutIdentifier databaseKey) const |
| get a shortcut by its unique identifier More...
|
|
void | setShortcut (ShortcutIdentifier databaseKey, const QStringList &shortcut) |
| set the shortcut by its unique identifier More...
|
|
QList< ShortcutIdentifier > | allIdentifiers () const |
| get all shortcuts More...
|
|
QString | databaseKey (ShortcutIdentifier id) const |
|
QString | shortcut_text (ShortcutIdentifier id) const |
|
A singleton class for retrieving shortcuts.
◆ allIdentifiers()
QList<ShortcutIdentifier> ShortcutHandler::allIdentifiers |
( |
| ) |
const |
get all shortcuts
- Returns
◆ setShortcut()
void ShortcutHandler::setShortcut |
( |
ShortcutIdentifier |
databaseKey, |
|
|
const QStringList & |
shortcut |
|
) |
| |
set the shortcut by its unique identifier
- Parameters
-
identifier | the identifier which is used in database |
shortcut | a shortcut instance |
◆ shortcut()
Shortcut ShortcutHandler::shortcut |
( |
ShortcutIdentifier |
databaseKey | ) |
const |
get a shortcut by its unique identifier
- Parameters
-
identifier | the identifier which is used in database |
- Returns
- a shortcut instance