Manufacturers Namespace

QKnx::Ets::Manufacturers

Contains KNX manufacturer-specific identifiers used throughout the QtKnx library. More...

Header: #include <Manufacturers>
qmake: QT += knx
Since: Qt 5.13

This namespace was introduced in Qt 5.13.

Functions

QString fromId(int id, const QString &defaultValue = {})
QString fromId(const QString &id, const QString &defaultValue = {})

Detailed Description

Function Documentation

QString Manufacturers::fromId(int id, const QString &defaultValue = {})

Returns the name of a KNX manufacturer for the given manufacturer ID id or the given default value defaultValue if the id was not found in the list of known manufacturers.

This function was introduced in Qt 5.13.

QString Manufacturers::fromId(const QString &id, const QString &defaultValue = {})

Returns the name of a KNX manufacturer for the given manufacturer ID id or the given default value defaultValue if the id was not found in the list of known manufacturers.

Note: : The id must be in the format of M-\d{4}.

This function was introduced in Qt 5.13.

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