QMqttStringPair#

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

Inheritance diagram of PySide6.QtMqtt.QMqttStringPair

Synopsis#

Functions#

Detailed Description#

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

class PySide6.QtMqtt.QMqttStringPair#

PySide6.QtMqtt.QMqttStringPair(arg__1)

PySide6.QtMqtt.QMqttStringPair(name, value)

Parameters
PySide6.QtMqtt.QMqttStringPair.name()#
Return type

str

Returns the name of the string pair.

See also

setName()

PySide6.QtMqtt.QMqttStringPair.__ne__(other)#
Parameters

otherPySide6.QtMqtt.QMqttStringPair

Return type

bool

Returns true if this instance does not match other.

PySide6.QtMqtt.QMqttStringPair.__eq__(other)#
Parameters

otherPySide6.QtMqtt.QMqttStringPair

Return type

bool

Returns true if this instance matches other.

PySide6.QtMqtt.QMqttStringPair.setName(n)#
Parameters

n – str

Sets the name to n.

See also

name()

PySide6.QtMqtt.QMqttStringPair.setValue(v)#
Parameters

v – str

Sets the value to v.

See also

value()

PySide6.QtMqtt.QMqttStringPair.value()#
Return type

str

Returns the value of the string pair.

See also

setValue()