QKnxSceneControl Class

The QKnxSceneControl class is a datapoint type for a scene control. More...

Header: #include <QKnxSceneControl>
qmake: QT += knx
Inherits: QKnxFixedSizeDatapointType

Public Types

enum Control { Activate, Learn }

Public Functions

QKnxSceneControl(quint8 sceneNumber, Control control)
Control control() const
quint8 sceneNumber() const
bool setControl(Control control)
bool setSceneNumber(quint8 number)
bool setValue(quint8 sceneNumber, Control control)

Reimplemented Public Functions

virtual bool isValid() const override

Additional Inherited Members

Detailed Description

The QKnxSceneControl class is a datapoint type for a scene control.

This is a fixed size datapoint type with the length of 1 byte.

See also QKnxDatapointType.

Member Type Documentation

enum QKnxSceneControl::Control

Member Function Documentation


Default constructs an instance of QKnxSceneControl.

QKnxSceneControl::QKnxSceneControl(quint8 sceneNumber, Control control)

Default constructs an instance of QKnxSceneControl.

Control QKnxSceneControl::control() const

See also setControl().

[override virtual] bool QKnxSceneControl::isValid() const

quint8 QKnxSceneControl::sceneNumber() const

See also setSceneNumber().

bool QKnxSceneControl::setControl(Control control)

See also control().

bool QKnxSceneControl::setSceneNumber(quint8 number)

See also sceneNumber().

bool QKnxSceneControl::setValue(quint8 sceneNumber, Control control)

© 2017 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.