5 #ifndef QXMPPPUBSUBITEM_H 6 #define QXMPPPUBSUBITEM_H 8 #include "QXmppGlobal.h" 10 #include <QSharedDataPointer> 13 class QXmlStreamWriter;
16 class QXmppPubSubItemPrivate;
18 #if QXMPP_DEPRECATED_SINCE(1, 5) 19 class QXMPP_EXPORT QXmppPubSubItem
22 [[deprecated]] QXmppPubSubItem();
23 QXmppPubSubItem(
const QXmppPubSubItem &iq);
26 QXmppPubSubItem &operator=(
const QXmppPubSubItem &iq);
28 [[deprecated]] QString id()
const;
29 [[deprecated]]
void setId(
const QString &
id);
32 [[deprecated]]
void setContents(
const QXmppElement &contents);
34 [[deprecated]]
void parse(
const QDomElement &element);
35 [[deprecated]]
void toXml(QXmlStreamWriter *writer)
const;
38 QSharedDataPointer<QXmppPubSubItemPrivate> d;
42 #endif // QXMPPPUBSUBITEM_H Definition: QXmppElement.h:20