Manufacturers Namespace

QKnx::Ets::Manufacturers

Contains KNX manufacturer-specific identifiers used throughout the QtKnx 库。 更多...

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

This namespace was introduced in Qt 5.13.

    函数

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

    详细描述

    函数文档编制

    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 id was not found in the list of known manufacturers.

    该函数在 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 id was not found in the list of known manufacturers.

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

    该函数在 Qt 5.13 引入。