IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QMqttStringPair Class

The QMqttStringPair class represents the string pair data type of the MQTT 5.0 standard.

This class was introduced in Qt 5.12.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QMqttStringPair Class▲

  • Header: QMqttStringPair

  • Since: Qt 5.12

  • qmake: QT += mqtt

Detailed Description▲

This data type is used to hold a name-value pair.

Member Function Documentation▲

 

QString QMqttStringPair::name() const▲

Returns the name of the string pair.

See Also▲

See also setName()

void QMqttStringPair::setName(const QString &n)▲

Sets the name to n.

See Also▲

See also name()

void QMqttStringPair::setValue(const QString &v)▲

Sets the value to v.

See Also▲

See also value()

QString QMqttStringPair::value() const▲

Returns the value of the string pair.

See Also▲

See also setValue()

bool QMqttStringPair::operator!=(const QMqttStringPair &other) const▲

Returns true if this instance does not match other.

bool QMqttStringPair::operator==(const QMqttStringPair &other) const▲

Returns true if this instance matches other.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+