QMqttStringPair Class
La classe QMqttStringPair représente le type de données « paire de chaînes » de la norme MQTT 5.0. En savoir plus...
| En-tête : | #include <QMqttStringPair> |
| CMake : | find_package(Qt6 REQUIRED COMPONENTS Mqtt) target_link_libraries(mytarget PRIVATE Qt6::Mqtt) |
| qmake : | QT += mqtt |
Fonctions publiques
| 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 |
Documentation des fonctions membres
QString QMqttStringPair::name() const
Renvoie le nom de la paire de chaînes.
Voir aussi setName().
void QMqttStringPair::setName(const QString &n)
Définit le nom sur « n ».
Voir également name().
void QMqttStringPair::setValue(const QString &v)
Définit la valeur sur v.
Voir également value().
QString QMqttStringPair::value() const
Renvoie la valeur de la paire de chaînes.
Voir aussi setValue().
bool QMqttStringPair::operator!=(const QMqttStringPair &other) const
Renvoie « true » si cette instance ne correspond pas à « other ».
bool QMqttStringPair::operator==(const QMqttStringPair &other) const
Renvoie « true » si cette instance correspond à « other ».
© 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.