QXmppDiscoItem Class
| Header: | #include <QXmppDiscoveryIq.h> |
Public Functions
| QXmppDiscoItem(const QString &jid, const QString &name = {}, const QString &node = {}) | |
| const QString & | jid() const |
| const QString & | name() const |
| const QString & | node() const |
| void | setJid(const QString &newJid) |
| void | setName(const QString &newName) |
| void | setNode(const QString &newNode) |
Detailed Description
Related entity that can be queried using XEP-0030: Service Discovery.
Note: In QXmpp 1.11 and earlier, this class was called QXmppDiscoveryIq::Item.
Member Function Documentation
[explicit] QXmppDiscoItem::QXmppDiscoItem(const QString &jid, const QString &name = {}, const QString &node = {})
Default constructor
const QString &QXmppDiscoItem::jid() const
Returns the JID of the item.
See also setJid().
const QString &QXmppDiscoItem::name() const
Returns the name of the item.
See also setName().
const QString &QXmppDiscoItem::node() const
Returns the node for querying the information.
See also setNode().
void QXmppDiscoItem::setJid(const QString &newJid)
Sets the JID of the item.
newJid.
See also jid().
void QXmppDiscoItem::setName(const QString &newName)
Sets the name of the item.
newName.
See also name().
void QXmppDiscoItem::setNode(const QString &newNode)
Sets the node for querying the information.
newNode.
See also node().