|
QXmpp Version: 1.11.3
|
The QXmppJingleMessageInitiationElement class represents a Jingle Message Initiation element as specified by XEP-0353: Jingle Message Initiation. More...
Public Types | |
| enum class | Type { None , Propose , Ringing , Proceed , Reject , Retract , Finish } |
Public Member Functions | |
| QXmppJingleMessageInitiationElement () | |
| Constructs a Jingle Message Initiation element. | |
| Type | type () const |
| void | setType (Type type) |
| QString | id () const |
| void | setId (const QString &id) |
| std::optional< QXmppJingleDescription > | description () const |
| void | setDescription (std::optional< QXmppJingleDescription > description) |
| std::optional< QXmppJingleReason > | reason () const |
| void | setReason (std::optional< QXmppJingleReason > reason) |
| bool | containsTieBreak () const |
| void | setContainsTieBreak (bool containsTieBreak) |
| QString | migratedTo () const |
| void | setMigratedTo (const QString &migratedTo) |
Static Public Member Functions | |
| static bool | isJingleMessageInitiationElement (const QDomElement &) |
The QXmppJingleMessageInitiationElement class represents a Jingle Message Initiation element as specified by XEP-0353: Jingle Message Initiation.
|
strong |
Possible types of Jingle Message Initiation elements
| bool QXmppJingleMessageInitiationElement::containsTieBreak | ( | ) | const |
Returns true if the Jingle Message Initiation element contains a <tie-break/> tag.
| std::optional< QXmppJingleDescription > QXmppJingleMessageInitiationElement::description | ( | ) | const |
Returns the Jingle Message Initiation element description.
| QString QXmppJingleMessageInitiationElement::id | ( | ) | const |
Returns the Jingle Message Initiation element id.
|
static |
Returns true if passed QDomElement is a Jingle Message Initiation element
| QString QXmppJingleMessageInitiationElement::migratedTo | ( | ) | const |
Returns the Jingle Message Initiation element ID migrated to if the Jingle is being migrated to a different device.
| std::optional< QXmppJingleReason > QXmppJingleMessageInitiationElement::reason | ( | ) | const |
Returns the Jingle Message Initiation element reason.
| void QXmppJingleMessageInitiationElement::setContainsTieBreak | ( | bool | containsTieBreak | ) |
Sets if the Jingle Message Initiation element contains a <tie-break/> tag.
| void QXmppJingleMessageInitiationElement::setDescription | ( | std::optional< QXmppJingleDescription > | description | ) |
Sets the Jingle Message Initiation element description.
| void QXmppJingleMessageInitiationElement::setId | ( | const QString & | id | ) |
Sets the Jingle Message Initiation element id.
| void QXmppJingleMessageInitiationElement::setMigratedTo | ( | const QString & | migratedTo | ) |
Sets the Jingle Message Initiation element ID migrated to if the Jingle is being migrated to a different device.
| void QXmppJingleMessageInitiationElement::setReason | ( | std::optional< QXmppJingleReason > | reason | ) |
Sets the Jingle Message Initiation element reason.
| void QXmppJingleMessageInitiationElement::setType | ( | Type | type | ) |
Sets the Jingle Message Initiation element type.
| QXmppJingleMessageInitiationElement::Type QXmppJingleMessageInitiationElement::type | ( | ) | const |
Returns the Jingle Message Initiation element type