|
QXmpp Version: 1.11.3
|


Public Types | |
| enum | Type { None , ClientJoin , ClientLeave , Join , Leave , UpdateSubscription , SetNick = 6 , Create , Destroy } |
Public Types inherited from QXmppIq | |
| enum | Type { Error = 0 , Get , Set , Result } |
| This enum describes the type of IQ. More... | |
Public Member Functions | |
| QXmppMixIq (const QXmppMixIq &) | |
| Default copy-constructor. | |
| QXmppMixIq (QXmppMixIq &&) | |
| Default move-constructor. | |
| QXmppMixIq & | operator= (const QXmppMixIq &) |
| Default assignment operator. | |
| QXmppMixIq & | operator= (QXmppMixIq &&) |
| Default move-assignment operator. | |
| QXmppMixIq::Type | actionType () const |
| void | setActionType (QXmppMixIq::Type) |
| QString | jid () const |
| void | setJid (const QString &) |
| QString | participantId () const |
| void | setParticipantId (const QString &) |
| QString | channelName () const |
| void | setChannelName (const QString &) |
| QString | channelId () const |
| void | setChannelId (const QString &) |
| QString | channelJid () const |
| void | setChannelJid (const QString &) |
| QStringList | nodes () const |
| void | setNodes (const QStringList &) |
| QXmppMixConfigItem::Nodes | subscriptions () const |
| void | setSubscriptions (QXmppMixConfigItem::Nodes) |
| QString | nick () const |
| void | setNick (const QString &) |
| std::optional< QXmppMixInvitation > | invitation () const |
| void | setInvitation (const std::optional< QXmppMixInvitation > &) |
Public Member Functions inherited from QXmppIq | |
| QXmppIq (QXmppIq::Type type=QXmppIq::Get) | |
| QXmppIq (const QXmppIq &other) | |
| Constructs a copy of other. | |
| QXmppIq (QXmppIq &&) | |
| Default move-constructor. | |
| QXmppIq & | operator= (const QXmppIq &other) |
| Assigns other to this IQ. | |
| QXmppIq & | operator= (QXmppIq &&) |
| Move-assignment operator. | |
| QXmppIq::Type | type () const |
| void | setType (QXmppIq::Type) |
| bool | isXmppStanza () const override |
Public Member Functions inherited from QXmppStanza | |
| QXmppStanza (const QString &from=QString(), const QString &to=QString()) | |
| QXmppStanza (const QXmppStanza &other) | |
| Constructs a copy of other. | |
| QXmppStanza (QXmppStanza &&) | |
| Move constructor. | |
| ~QXmppStanza () override | |
| Destroys a QXmppStanza. | |
| QXmppStanza & | operator= (const QXmppStanza &other) |
| Assigns other to this stanza. | |
| QXmppStanza & | operator= (QXmppStanza &&) |
| Move-assignment operator. | |
| QString | to () const |
| void | setTo (const QString &) |
| QString | from () const |
| void | setFrom (const QString &) |
| QString | id () const |
| void | setId (const QString &) |
| QString | lang () const |
| void | setLang (const QString &) |
| QXmppStanza::Error | error () const |
| std::optional< Error > | errorOptional () const |
| void | setError (const QXmppStanza::Error &error) |
| void | setError (const std::optional< Error > &error) |
| QXmppElementList | extensions () const |
| void | setExtensions (const QXmppElementList &elements) |
| QList< QXmppExtendedAddress > | extendedAddresses () const |
| void | setExtendedAddresses (const QList< QXmppExtendedAddress > &extendedAddresses) |
| std::optional< QXmppE2eeMetadata > | e2eeMetadata () const |
| void | setE2eeMetadata (const std::optional< QXmppE2eeMetadata > &e2eeMetadata) |
Public Member Functions inherited from QXmppNonza | |
| virtual void | parse (const QDomElement &)=0 |
| virtual void | toXml (QXmlStreamWriter *writer) const =0 |
This class represents an IQ used to do actions on a MIX channel as defined by XEP-0369: Mediated Information eXchange (MIX), XEP-0405: Mediated Information eXchange (MIX): Participant Server Requirements and XEP-0407: Mediated Information eXchange (MIX): Miscellaneous Capabilities.
| enum QXmppMixIq::Type |
Action type of the MIX IQ stanza.
| Enumerator | |
|---|---|
| None | Nothing is done. |
| ClientJoin | The client sends a request to join a MIX channel to the user's server. |
| ClientLeave | The client sends a request to leave a MIX channel to the user's server. |
| Join | The user's server forwards a join request from the client to the MIX channel. |
| Leave | The user's server forwards a leave request from the client to the MIX channel. |
| UpdateSubscription | The client subscribes to MIX nodes or unsubscribes from MIX nodes.
|
| SetNick | The client changes the user's nickname within the MIX channel. |
| Create | The client creates a MIX channel. |
| Destroy | The client destroys a MIX channel. |
| QXmppMixIq::Type QXmppMixIq::actionType | ( | ) | const |
Returns the MIX channel's action type.
| QString QXmppMixIq::channelId | ( | ) | const |
Returns the channel's ID (the local part of the channel JID).
It can be empty if a JID was set.
| QString QXmppMixIq::channelJid | ( | ) | const |
| QString QXmppMixIq::channelName | ( | ) | const |
Returns the channel's ID (the local part of the channel JID).
It can be empty if a JID was set.
| std::optional< QXmppMixInvitation > QXmppMixIq::invitation | ( | ) | const |
Returns the invitation to the channel being joined via Type::ClientJoin or Type::Join.
| QString QXmppMixIq::jid | ( | ) | const |
Returns the channel JID, in case of a Join/ClientJoin query result, containing the participant ID.
| QString QXmppMixIq::nick | ( | ) | const |
Returns the user's nickname in the channel.
| QStringList QXmppMixIq::nodes | ( | ) | const |
Returns the nodes being subscribed to.
| QString QXmppMixIq::participantId | ( | ) | const |
| void QXmppMixIq::setActionType | ( | QXmppMixIq::Type | type | ) |
Sets the MIX channel's action type.
| type | action type of the channel |
| void QXmppMixIq::setChannelId | ( | const QString & | channelId | ) |
Sets the channel's ID (the local part of the channel JID) for creating or destroying a channel.
If you create a new channel, the channel ID can be left empty to let the server generate an ID.
| channelId | channel ID to be set |
| void QXmppMixIq::setChannelJid | ( | const QString & | channelJid | ) |
| void QXmppMixIq::setChannelName | ( | const QString & | channelName | ) |
Sets the channel's ID (the local part of the channel JID) for creating or destroying a channel.
If you create a new channel, the channel ID can be left empty to let the server generate an ID.
| channelName | ID of the channel |
| void QXmppMixIq::setInvitation | ( | const std::optional< QXmppMixInvitation > & | invitation | ) |
Sets the invitation to the channel being joined via Type::ClientJoin or Type::Join.
| invitation | channel invitation |
| void QXmppMixIq::setJid | ( | const QString & | jid | ) |
Sets the channel JID, in case of a Join/ClientJoin query result, containing the participant ID.
| jid | channel JID including a possible participant ID |
| void QXmppMixIq::setNick | ( | const QString & | nick | ) |
Sets the user's nickname used for the channel.
| nick | nick of the user to be set |
| void QXmppMixIq::setNodes | ( | const QStringList & | nodes | ) |
Sets the nodes being subscribed to.
| nodes | nodes being subscribed to |
| void QXmppMixIq::setParticipantId | ( | const QString & | participantId | ) |
Sets the participant ID for a Join/ClientJoin result.
| participantId | ID of the user in the channel |
| void QXmppMixIq::setSubscriptions | ( | QXmppMixConfigItem::Nodes | subscriptions | ) |
| QXmppMixConfigItem::Nodes QXmppMixIq::subscriptions | ( | ) | const |