19 #ifndef SWGDeviceListItem_H_ 20 #define SWGDeviceListItem_H_ 22 #include <QJsonObject> 40 virtual QString asJson ()
override;
41 virtual QJsonObject* asJsonObject()
override;
42 virtual void fromJsonObject(QJsonObject &json)
override;
45 QString* getDisplayedName();
46 void setDisplayedName(QString* displayed_name);
49 void setHwType(QString* hw_type);
52 void setSerial(QString* serial);
55 void setSequence(qint32 sequence);
57 qint32 getDirection();
58 void setDirection(qint32 direction);
60 qint32 getDeviceNbStreams();
61 void setDeviceNbStreams(qint32 device_nb_streams);
63 qint32 getDeviceStreamIndex();
64 void setDeviceStreamIndex(qint32 device_stream_index);
66 qint32 getDeviceSetIndex();
67 void setDeviceSetIndex(qint32 device_set_index);
70 void setIndex(qint32 index);
73 virtual bool isSet()
override;
bool m_device_nb_streams_isSet
bool m_device_stream_index_isSet
bool m_device_set_index_isSet
qint32 device_stream_index
bool m_displayed_name_isSet