QXmpp Version: 1.10.0
QXmppPubSubItem.h
1// SPDX-FileCopyrightText: 2010 Jeremy Lainé <jeremy.laine@m4x.org>
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4
5#ifndef QXMPPPUBSUBITEM_H
6#define QXMPPPUBSUBITEM_H
7
8#include "QXmppGlobal.h"
9
10#include <QSharedDataPointer>
11
12class QDomElement;
13class QXmlStreamWriter;
14
15class QXmppElement;
16class QXmppPubSubItemPrivate;
17
18#if QXMPP_DEPRECATED_SINCE(1, 5)
19class QXMPP_EXPORT QXmppPubSubItem
20{
21public:
22 [[deprecated]] QXmppPubSubItem();
23 QXmppPubSubItem(const QXmppPubSubItem &iq);
24 ~QXmppPubSubItem();
25
26 QXmppPubSubItem &operator=(const QXmppPubSubItem &iq);
27
28 [[deprecated]] QString id() const;
29 [[deprecated]] void setId(const QString &id);
30
31 [[deprecated]] QXmppElement contents() const;
32 [[deprecated]] void setContents(const QXmppElement &contents);
33
34 [[deprecated]] void parse(const QDomElement &element);
35 [[deprecated]] void toXml(QXmlStreamWriter *writer) const;
36
37private:
38 QSharedDataPointer<QXmppPubSubItemPrivate> d;
39};
40#endif
41
42#endif // QXMPPPUBSUBITEM_H
Definition: QXmppElement.h:21