QXmppMucOwnerIq Class

The QXmppMucOwnerIq class represents a chat room configuration IQ as defined by XEP-0045: Multi-User Chat. More...

Header: #include <QXmppMucIq.h>
Inherits: QXmppIq

Public Functions

(since QXmpp 1.16) QString destroyJid() const
(since QXmpp 1.16) QString destroyReason() const
QXmppDataForm form() const
(since QXmpp 1.16) void setDestroyJid(const QString &jid)
(since QXmpp 1.16) void setDestroyReason(const QString &reason)
void setForm(const QXmppDataForm &form)

Detailed Description

It is used to get or modify room configuration options.

See also QXmppDataForm.

Member Function Documentation

[since QXmpp 1.16] QString QXmppMucOwnerIq::destroyJid() const

Returns the alternate room JID to redirect occupants to after destroying the room.

Only set when the IQ represents a destroy request. Empty otherwise.

This function was introduced in QXmpp 1.16.

See also setDestroyJid().

[since QXmpp 1.16] QString QXmppMucOwnerIq::destroyReason() const

Returns the reason for destroying the room.

This function was introduced in QXmpp 1.16.

See also setDestroyReason().

QXmppDataForm QXmppMucOwnerIq::form() const

Returns the IQ's data form.

See also setForm().

[since QXmpp 1.16] void QXmppMucOwnerIq::setDestroyJid(const QString &jid)

Sets the alternate room jid to redirect occupants to when destroying the room.

This function was introduced in QXmpp 1.16.

See also destroyJid().

[since QXmpp 1.16] void QXmppMucOwnerIq::setDestroyReason(const QString &reason)

Sets the reason for destroying the room.

This function was introduced in QXmpp 1.16.

See also destroyReason().

void QXmppMucOwnerIq::setForm(const QXmppDataForm &form)

Sets the IQ's data form.

See also form().