The QMqttStringPair class represents the string pair data type of the MQTT 5.0 standard. More...
Header: | #include <QMqttStringPair> |
qmake: | QT += mqtt |
Since: | Qt 5.12 |
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 |
This data type is used to hold a name-value pair.
Returns the name of the string pair.
See also setName().
Sets the name to n.
See also name().
Sets the value to v.
See also value().
Returns the value of the string pair.
See also setValue().
Returns true
if this instance does not match other.
Returns true
if this instance matches other.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qmqttstringpair.html