Manufacturers Namespace
QKnx::Ets::ManufacturersContains 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.