QXmpp Version:0.3.91
|
The QXmppPubSubIq class represents an IQ used for the publish-subscribe mechanisms defined by XEP-0060: Publish-Subscribe. More...
#include <QXmppPubSubIq.h>
Public Types | |
enum | QueryType { AffiliationsQuery, DefaultQuery, ItemsQuery, PublishQuery, RetractQuery, SubscribeQuery, SubscriptionQuery, SubscriptionsQuery, UnsubscribeQuery } |
This enum is used to describe a publish-subscribe query type. | |
Public Member Functions | |
QXmppPubSubIq::QueryType | queryType () const |
void | setQueryType (QXmppPubSubIq::QueryType queryType) |
QString | queryJid () const |
void | setQueryJid (const QString &jid) |
QString | queryNode () const |
void | setQueryNode (const QString &node) |
QList< QXmppPubSubItem > | items () const |
void | setItems (const QList< QXmppPubSubItem > &items) |
QString | subscriptionId () const |
void | setSubscriptionId (const QString &id) |
The QXmppPubSubIq class represents an IQ used for the publish-subscribe mechanisms defined by XEP-0060: Publish-Subscribe.
QList< QXmppPubSubItem > QXmppPubSubIq::items | ( | ) | const |
Returns the IQ's items.
QString QXmppPubSubIq::queryJid | ( | ) | const |
Returns the JID being queried.
QString QXmppPubSubIq::queryNode | ( | ) | const |
Returns the node being queried.
QXmppPubSubIq::QueryType QXmppPubSubIq::queryType | ( | ) | const |
Returns the PubSub queryType for this IQ.
void QXmppPubSubIq::setItems | ( | const QList< QXmppPubSubItem > & | items | ) |
Sets the IQ's items.
items |
void QXmppPubSubIq::setQueryJid | ( | const QString & | queryJid | ) |
Sets the JID being queried.
queryJid |
void QXmppPubSubIq::setQueryNode | ( | const QString & | queryNode | ) |
Sets the node being queried.
queryNode |
void QXmppPubSubIq::setQueryType | ( | QXmppPubSubIq::QueryType | queryType | ) |
Sets the PubSub queryType for this IQ.
queryType |
void QXmppPubSubIq::setSubscriptionId | ( | const QString & | subscriptionId | ) |
Sets the subscription ID.
subscriptionId |
QString QXmppPubSubIq::subscriptionId | ( | ) | const |
Returns the subscription ID.