[Companion] Refactor settings system (CompStoreObj/AppData/etc):
~ All stored properties are fully dynamic, using an extended version of the Qt Property System; ~ CompStoreObj is now QObject subclass; + All properties now have change notifier signals; ~ Do not store default values in settings; + Add _reset() and _default() functions for each property; + Settings import now ignores all non-existent properties automatically; + Add settings export functions; + Add more version macros; ~ Remove template functions; ~ Move DownloadBranchType and create NewModelAction enums and register with Qt meta system; ~ Multiple efficiency and optimization changes (const functions, literals, etc).
This commit is contained in:
@@ -70,6 +70,7 @@ class MainWindow : public QMainWindow
|
||||
|
||||
private slots:
|
||||
void openDocURL();
|
||||
void initWindowOptions();
|
||||
void retranslateUi(bool showMsg = false);
|
||||
|
||||
void setLanguage(const QString & langString);
|
||||
@@ -84,6 +85,7 @@ class MainWindow : public QMainWindow
|
||||
void updateWindowActionTitle(const QMdiSubWindow * win, QAction * act = NULL);
|
||||
void onSubwindowTitleChanged();
|
||||
void onSubwindowModified();
|
||||
void onCurrentProfileChanged();
|
||||
|
||||
void checkForUpdates();
|
||||
void checkForFirmwareUpdate();
|
||||
|
||||
Reference in New Issue
Block a user