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 引入。