QXmpp: QXmppPubSubItem.h Source File

QXmpp Version: 1.14.3

Loading...
Searching...
No Matches
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]]
23 QXmppPubSubItem();
24 QXmppPubSubItem(const QXmppPubSubItem &iq);
25 ~QXmppPubSubItem();
26
27 QXmppPubSubItem &operator=(const QXmppPubSubItem &iq);
28
29 [[deprecated]]
30 QString id() const;
31 [[deprecated]]
32 void setId(const QString &id);
33
34 [[deprecated]]
35 QXmppElement contents() const;
36 [[deprecated]]
37 void setContents(const QXmppElement &contents);
38
39 [[deprecated]]
40 void parse(const QDomElement &element);
41 [[deprecated]]
42 void toXml(QXmlStreamWriter *writer) const;
43
44private:
45 QSharedDataPointer<QXmppPubSubItemPrivate> d;
46};
47#endif
48
49#endif // QXMPPPUBSUBITEM_H
QXmppElement
Definition QXmppElement.h:21