25 Q_PROPERTY(quint32
id READ
id CONSTANT)
26 Q_PROPERTY(QString name READ name CONSTANT)
28 Q_PROPERTY(
bool enabled READ enabled NOTIFY enabledChanged)
31 virtual quint32
id() const;
32 virtual QString name() const;
34 virtual
bool enabled() const;
40 void enabledChanged(
bool enabled);
43 virtual DExpected<
void> reset();
48 void setId(quint32
id);
49 void setName(const QString &name);
51 void setEnabled(
bool enabled);