QKnxUtf8 Class

The QKnxUtf8 class is a datapoint type for a UTF-8 string. More...

Header: #include <QKnxUtf8>
qmake: QT += knx
Since: Qt 5.11
Inherits: QKnxUtf8String

This class was introduced in Qt 5.11.

Public Functions

QKnxUtf8(const char *string, int size = -1)
QKnxUtf8(const QString &string)
QKnxUtf8()

Detailed Description

This datapoint type stores a UTF-8 (Unicode Transformation Format-8) string. The data length for one character can vary from 1 to 4 octets. Each character is encoded according to UTF-8.

This is a variable sized datapoint type.

See also QKnxDatapointType, QKnxUtf8String, and Qt KNX Datapoint Type Classes.

Member Function Documentation

QKnxUtf8::QKnxUtf8(const char *string, int size = -1)

Creates a variable sized datapoint type that stores the string string with the length size.

QKnxUtf8::QKnxUtf8(const QString &string)

Creates a variable sized datapoint type that stores the string string.

QKnxUtf8::QKnxUtf8()

Creates a variable sized datapoint type.

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