The QKnxSceneNumber class is a datapoint type for a scene number. More...
|qmake:||QT += knx|
Reimplemented Public Functions
|virtual bool||isValid() const override|
This is a fixed size datapoint type with the length of 1 byte.
The minimum scene number is
0 and the maximum scene number is
See also QKnxDatapointType, QKnxSceneControl, QKnxSceneInfo, and Qt KNX Datapoint Type Classes.
Member Function Documentation
Creates a fixed size datapoint type with the scene number set to number.
Creates a fixed size datapoint type with the scene number set to
[override virtual] bool QKnxSceneNumber::isValid() const
Reimplements: QKnxDatapointType::isValid() const.
quint8 QKnxSceneNumber::sceneNumber() const
Returns the scene number stored in the datapoint type.
See also setSceneNumber().
bool QKnxSceneNumber::setSceneNumber(quint8 number)
Sets the scene number stored in the datapoint type to number.
If the value is outside the allowed range, returns
false and does not set the value.
See also sceneNumber().
© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.