[Qt] style adjustments 5

rename even more members and clean headers
adjust some more connects
move some function bodies to cpp
This commit is contained in:
Megamouse 2017-09-06 20:13:01 +02:00 committed by Ani
parent 95231c4dee
commit 43bae9f9d7
8 changed files with 189 additions and 197 deletions

View file

@ -166,9 +166,7 @@ public:
explicit gui_settings(QObject* parent = nullptr);
~gui_settings();
QString GetSettingsDir() {
return settingsDir.absolutePath();
}
QString GetSettingsDir();
/** Changes the settings file to the destination preset*/
void ChangeToConfig(const QString& destination);
@ -217,6 +215,6 @@ private:
QString ComputeSettingsDir();
void BackupSettingsToTarget(const QString& destination);
QSettings settings;
QDir settingsDir;
QSettings m_settings;
QDir m_settingsDir;
};