QXmppMixInfoItem Class
The QXmppMixInfoItem class represents a PubSub item of a MIX channel containing channel information as defined by XEP-0369: Mediated Information eXchange (MIX). More...
| Header: | #include <QXmppMixInfoItem> |
| Since: | QXmpp 1.5 |
| Inherits: | QXmppPubSubBaseItem |
- List of all members, including inherited members
- QXmppMixInfoItem is part of Stanzas.
Public Functions
| QXmppMixInfoItem(const QXmppMixInfoItem &) | |
| QXmppMixInfoItem(QXmppMixInfoItem &&) | |
| const QStringList & | contactJids() const |
| const QString & | description() const |
| QXmppDataForm::Type | formType() const |
| const QString & | name() const |
| void | setContactJids(QStringList contactJids) |
| void | setDescription(QString description) |
| void | setFormType(QXmppDataForm::Type formType) |
| void | setName(QString name) |
| QXmppMixInfoItem & | operator=(QXmppMixInfoItem &&) |
| QXmppMixInfoItem & | operator=(const QXmppMixInfoItem &) |
Static Public Members
| bool | isItem(const QDomElement &element) |
Detailed Description
Member Function Documentation
QXmppMixInfoItem::QXmppMixInfoItem(const QXmppMixInfoItem &)
Default copy-constructor
QXmppMixInfoItem::QXmppMixInfoItem(QXmppMixInfoItem &&)
Default move-constructor
const QStringList &QXmppMixInfoItem::contactJids() const
Returns a list of JIDs that are responsible for this channel.
See also setContactJids().
const QString &QXmppMixInfoItem::description() const
Returns the description of the channel. This string might be very long.
See also setDescription().
QXmppDataForm::Type QXmppMixInfoItem::formType() const
Returns the type of the data form that contains the channel information.
See also setFormType().
[static] bool QXmppMixInfoItem::isItem(const QDomElement &element)
Returns true, if the given dom element is a MIX channel info item.
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.
See also setName().
void QXmppMixInfoItem::setContactJids(QStringList contactJids)
Sets a list of public JIDs that are responsible for this channel.
contactJids.
See also contactJids().
void QXmppMixInfoItem::setDescription(QString description)
Sets the longer channel description.
See also description().
void QXmppMixInfoItem::setFormType(QXmppDataForm::Type formType)
Sets the data form's formType that contains the channel information.
See also formType().
void QXmppMixInfoItem::setName(QString name)
Sets the name of the channel.
See also name().
QXmppMixInfoItem &QXmppMixInfoItem::operator=(QXmppMixInfoItem &&)
Default move-assignment operator
QXmppMixInfoItem &QXmppMixInfoItem::operator=(const QXmppMixInfoItem &)
Default assignment operator