Utilize templates for Settings class

Use boost2::signals for the valueChanged signal (a LOT less messy to
        deal with than qt signals)
Remove unused settings classes (BoolSetting, FloatSetting, IntSetting,
        StringSetting)

What's left: Implement the remaining signals
This commit is contained in:
Rasmus Karlsson
2017-01-22 23:00:35 +01:00
parent 84be4c9046
commit 5429e62e73
13 changed files with 189 additions and 512 deletions
+5 -3
View File
@@ -40,10 +40,12 @@ private:
SettingsDialogTab *selectedTab = NULL;
/// Widget creation helpers
QCheckBox *createCheckbox(const QString &title,
settings::BoolSetting &setting);
settings::Setting<bool> &setting);
};
}
}
} // namespace widgets
} // namespace chatterino
#endif // SETTINGSDIALOG_H