citra-qt: Add /default parsing for hotkeys. Also minor code cleanups.
This commit is contained in:
parent
71f36efd27
commit
80ebd75285
12 changed files with 67 additions and 74 deletions
|
@ -48,7 +48,7 @@ public:
|
|||
QShortcut* GetHotkey(const QString& group, const QString& action, QWidget* widget);
|
||||
|
||||
/**
|
||||
* Returns a QKeySequence object who signal can be connected to QAction->SetShortcut.
|
||||
* Returns a QKeySequence object whose signal can be connected to QAction::setShortcut.
|
||||
*
|
||||
* @param group General group this hotkey belongs to (e.g. "Main Window", "Debugger").
|
||||
* @param action Name of the action (e.g. "Start Emulation", "Load Image").
|
||||
|
@ -57,9 +57,10 @@ public:
|
|||
|
||||
/**
|
||||
* Returns a Qt::ShortcutContext object who can be connected to other
|
||||
* QAction->SetShortcutContext.
|
||||
* QAction::setShortcutContext.
|
||||
*
|
||||
* @param group General group this shortcutcontext belongs to (e.g. "Main Window", "Debugger").
|
||||
* @param group General group this shortcut context belongs to (e.g. "Main Window",
|
||||
* "Debugger").
|
||||
* @param action Name of the action (e.g. "Start Emulation", "Load Image").
|
||||
*/
|
||||
Qt::ShortcutContext GetShortcutContext(const QString& group, const QString& action);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue