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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user