Add function switches to model print and compare

This commit is contained in:
elecpower
2021-12-17 17:08:49 +01:00
committed by Raphael Coeffic
parent 9a07b83b00
commit f5b398b32c
4 changed files with 65 additions and 12 deletions
+4 -4
View File
@@ -286,11 +286,11 @@ class ModelData {
static QString trainerModeToString(const int value);
static bool isTrainerModeAvailable(const GeneralSettings & generalSettings, const Firmware * firmware, const int value);
static AbstractStaticItemModel * trainerModeItemModel(const GeneralSettings & generalSettings, const Firmware * firmware);
QString funcSwitchConfigToString(unsigned int index) const;
static QString funcSwitchConfigToString(const int value);
QString funcSwitchConfigToString(const int index) const;
static QString funcSwitchConfigToString(const int index, const int value);
static AbstractStaticItemModel * funcSwitchConfigItemModel();
QString funcSwitchStartToString(unsigned int index) const;
static QString funcSwitchStartToString(const int value);
QString funcSwitchStartToString(const int index) const;
static QString funcSwitchStartToString(const int index, const int value);
static AbstractStaticItemModel * funcSwitchStartItemModel();
protected: