QMqttStringPair Class
La clase QMqttStringPair representa el tipo de datos de par de cadenas del estándar MQTT 5.0. Más...
| Cabecera: | #include <QMqttStringPair> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Mqtt)target_link_libraries(mytarget PRIVATE Qt6::Mqtt) |
| qmake: | QT += mqtt |
Funciones públicas
| 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 |
Documentación de las funciones
QString QMqttStringPair::name() const
Devuelve el nombre del par de cadenas.
Véase también setName().
void QMqttStringPair::setName(const QString &n)
Establece el nombre n.
Véase también name().
void QMqttStringPair::setValue(const QString &v)
Establece el valor en v.
Véase también value().
QString QMqttStringPair::value() const
Devuelve el valor del par de cadenas.
Véase también setValue().
bool QMqttStringPair::operator!=(const QMqttStringPair &other) const
Devuelve true si esta instancia no coincide con other.
bool QMqttStringPair::operator==(const QMqttStringPair &other) const
Devuelve true si esta instancia coincide con 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.