QMqttStringPair Class
Die Klasse „QMqttStringPair“ repräsentiert den Datentyp „String-Paar“ des MQTT 5.0-Standards. Mehr...
| Header: | #include <QMqttStringPair> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Mqtt) target_link_libraries(mytarget PRIVATE Qt6::Mqtt) |
| qmake: | QT += mqtt |
Öffentliche Funktionen
| QString | name() const |
| void | setName(const QString &n) |
| void | setValue(const QString &v) |
| QString | value() const |
| bool | operator!=(const QMqttStringPair &other) const |
| bool | operator==(const QMqttStringPair &other) const |
Dokumentation der Mitgliedsfunktionen
QString QMqttStringPair::name() const
Gibt den Namen des Zeichenfolgenpaares zurück.
Siehe auch setName().
void QMqttStringPair::setName(const QString &n)
Legt den Namen auf „ n “ fest.
Siehe auch name().
void QMqttStringPair::setValue(const QString &v)
Setzt den Wert auf „ v “.
Siehe auch value().
QString QMqttStringPair::value() const
Gibt den Wert des Zeichenfolgenpaares zurück.
Siehe auch „ setValue()“.
bool QMqttStringPair::operator!=(const QMqttStringPair &other) const
Gibt „ true “ zurück, wenn diese Instanz nicht mit „ other “ übereinstimmt.
bool QMqttStringPair::operator==(const QMqttStringPair &other) const
Gibt „ true “ zurück, wenn diese Instanz mit „ other “ übereinstimmt.
© 2026 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.