Added ValueModel, first run.
This commit is contained in:
@@ -44,23 +44,23 @@ class BCValueManager : public QObject
|
||||
|
||||
public:
|
||||
|
||||
|
||||
BCValueManager();
|
||||
virtual ~BCValueManager();
|
||||
|
||||
void loadXml();
|
||||
void saveXml();
|
||||
|
||||
std::optional<BCValueModel*> getModel(const QString& key );
|
||||
|
||||
protected:
|
||||
|
||||
void readDevice();
|
||||
void makeValue(BCValueList& parsedValues);
|
||||
void readDevice( BCValueList& parsedValues );
|
||||
|
||||
QXmlStreamReader _xml;
|
||||
QMap<QString,BCValueModel*> _valueModels;
|
||||
BCDevice::ID _currentDeviceID{BCDevice::ID::Invalid};
|
||||
QMetaEnum _bcDeviceEnum{QMetaEnum::fromType<BCDevice::ID>()};
|
||||
QMetaEnum _bcValueEnum{QMetaEnum::fromType<BC::ID>()};
|
||||
|
||||
};
|
||||
|
||||
#endif // BCVALUEMANAGER_H
|
||||
|
||||
Reference in New Issue
Block a user