The QXmppMixInfoItem class represents a PubSub item of a MIX channel containing channel information as defined by XEP-0369: Mediated Information eXchange (MIX).
More...
|
static bool | isItem (const QDomElement &itemElement) |
|
static bool | isItem (const QDomElement &element) |
|
|
virtual void | parsePayload (const QDomElement &payloadElement) |
|
virtual void | serializePayload (QXmlStreamWriter *writer) const |
|
template<typename PayloadChecker > |
static bool | isItem (const QDomElement &element, PayloadChecker isPayloadValid) |
|
The QXmppMixInfoItem class represents a PubSub item of a MIX channel containing channel information as defined by XEP-0369: Mediated Information eXchange (MIX).
- Since
- QXmpp 1.5
◆ contactJids()
const QStringList & QXmppMixInfoItem::contactJids |
( |
| ) |
const |
Returns a list of JIDs that are responsible for this channel.
◆ description()
const QString & QXmppMixInfoItem::description |
( |
| ) |
const |
Returns the description of the channel. This string might be very long.
◆ formType()
Returns the type of the data form that contains the channel information.
- Returns
- the data form's type
◆ isItem()
bool QXmppMixInfoItem::isItem |
( |
const QDomElement & |
element | ) |
|
|
static |
Returns true, if the given dom element is a MIX channel info item.
◆ name()
const QString & QXmppMixInfoItem::name |
( |
| ) |
const |
Returns the user-specified name of the MIX channel. This is not the name part of the channel's JID.
◆ setContactJids()
void QXmppMixInfoItem::setContactJids |
( |
QStringList |
contactJids | ) |
|
Sets a list of public JIDs that are responsible for this channel.
◆ setDescription()
void QXmppMixInfoItem::setDescription |
( |
QString |
description | ) |
|
Sets the longer channel description.
◆ setFormType()
Sets the type of the data form that contains the channel information.
- Parameters
-
◆ setName()
void QXmppMixInfoItem::setName |
( |
QString |
name | ) |
|
Sets the name of the channel.
The documentation for this class was generated from the following files: