![]() |
Sayonara Player
|
A singleton class for retrieving shortcuts. More...
#include <ShortcutHandler.h>
Signals | |
| void | sig_shortcut_changed (ShortcutIdentifier db_key) |
Public Member Functions | |
| Shortcut | shortcut (ShortcutIdentifier db_key) const |
| get a shortcut by its unique identifier More... | |
| void | set_shortcut (ShortcutIdentifier db_key, const QStringList &shortcut) |
| set the shortcut by its unique identifier More... | |
| QList< ShortcutIdentifier > | all_identifiers () const |
| get all shortcuts More... | |
| QString | db_key (ShortcutIdentifier id) const |
| QString | shortcut_text (ShortcutIdentifier id) const |
Friends | |
| class | Shortcut |
A singleton class for retrieving shortcuts.
| QList<ShortcutIdentifier> ShortcutHandler::all_identifiers | ( | ) | const |
get all shortcuts
| void ShortcutHandler::set_shortcut | ( | ShortcutIdentifier | db_key, |
| const QStringList & | shortcut | ||
| ) |
set the shortcut by its unique identifier
| identifier | the identifier which is used in database |
| shortcut | a shortcut instance |
| Shortcut ShortcutHandler::shortcut | ( | ShortcutIdentifier | db_key | ) | const |
get a shortcut by its unique identifier
| identifier | the identifier which is used in database |
1.8.14