Whole config is handled by Config class.
This also means : we have only one config file, now
This commit is contained in:
parent
426c4a2a5b
commit
e33b938505
8 changed files with 181 additions and 118 deletions
|
@ -33,14 +33,14 @@ QShortcut* GetHotkey(const QString& group, const QString& action, QWidget* widge
|
|||
*
|
||||
* @note Each hotkey group will be stored a settings group; For each hotkey inside that group, a settings group will be created to store the key sequence and the hotkey context.
|
||||
*/
|
||||
void SaveHotkeys(QSettings& settings);
|
||||
void SaveHotkeys();
|
||||
|
||||
/**
|
||||
* Loads hotkeys from the settings file.
|
||||
*
|
||||
* @note Yet unregistered hotkeys which are present in the settings will automatically be registered.
|
||||
*/
|
||||
void LoadHotkeys(QSettings& settings);
|
||||
void LoadHotkeys();
|
||||
|
||||
class GHotkeysDialog : public QWidget
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue