10#include <QSharedDataPointer>
12#if QXMPP_DEPRECATED_SINCE(1, 2)
13#include "QXmppPubSubItem.h"
16class QXmppPubSubIqPrivate;
18#if QXMPP_DEPRECATED_SINCE(1, 5)
19class QXMPP_EXPORT QXmppPubSubIq :
public QXmppIq
22 enum [[deprecated]] QueryType {
34 [[deprecated]] QXmppPubSubIq();
35 QXmppPubSubIq(
const QXmppPubSubIq &iq);
38 QXmppPubSubIq &
operator=(
const QXmppPubSubIq &iq);
40 [[deprecated]] QXmppPubSubIq::QueryType queryType()
const;
41 [[deprecated]]
void setQueryType(QXmppPubSubIq::QueryType queryType);
43 [[deprecated]] QString queryJid()
const;
44 [[deprecated]]
void setQueryJid(
const QString &jid);
46 [[deprecated]] QString queryNode()
const;
47 [[deprecated]]
void setQueryNode(
const QString &node);
49 [[deprecated]] QList<QXmppPubSubItem> items()
const;
50 [[deprecated]]
void setItems(
const QList<QXmppPubSubItem> &items);
52 [[deprecated]] QString subscriptionId()
const;
53 [[deprecated]]
void setSubscriptionId(
const QString &
id);
55 [[deprecated]]
static bool isPubSubIq(
const QDomElement &element);
58 void parseElementFromChild(
const QDomElement &)
override;
59 void toXmlElementFromChild(QXmlStreamWriter *writer)
const override;
62 QSharedDataPointer<QXmppPubSubIqPrivate> d;
The QXmppIq class is the base class for all IQs.
Definition QXmppIq.h:23
QXmppIq & operator=(const QXmppIq &other)
Assigns other to this IQ.