QXmpp Version: 1.5.6
Loading...
Searching...
No Matches
QXmppMixInfoItem.h
1// SPDX-FileCopyrightText: 2019 Linus Jahn <lnj@kaidan.im>
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4
5#ifndef QXMPPMIXINFOITEM_H
6#define QXMPPMIXINFOITEM_H
7
8#include "QXmppPubSubBaseItem.h"
9
10class QXmppMixInfoItemPrivate;
11
12class QXMPP_EXPORT QXmppMixInfoItem : public QXmppPubSubBaseItem
13{
14public:
19
22
23 const QString &name() const;
24 void setName(QString);
25
26 const QString &description() const;
27 void setDescription(QString);
28
29 const QStringList &contactJids() const;
30 void setContactJids(QStringList);
31
32 static bool isItem(const QDomElement &itemElement);
33
34protected:
36 void parsePayload(const QDomElement &payloadElement) override;
37 void serializePayload(QXmlStreamWriter *writer) const override;
39
40private:
41 QSharedDataPointer<QXmppMixInfoItemPrivate> d;
42};
43
44#endif // QXMPPMIXINFOITEM_H
The QXmppMixInfoItem class represents a PubSub item of a MIX channel containing channel information a...
Definition QXmppMixInfoItem.h:13
QXmppMixInfoItem(const QXmppMixInfoItem &)
Default copy-constructor.
QXmppMixInfoItem & operator=(QXmppMixInfoItem &&)
Default move-assignment operator.
QXmppMixInfoItem(QXmppMixInfoItem &&)
Default move-constructor.
QXmppMixInfoItem & operator=(const QXmppMixInfoItem &)
Default assignment operator.
Definition QXmppPubSubBaseItem.h:19
virtual void serializePayload(QXmlStreamWriter *writer) const
Definition QXmppPubSubBaseItem.cpp:150
virtual void parsePayload(const QDomElement &payloadElement)
Definition QXmppPubSubBaseItem.cpp:140
static bool isItem(const QDomElement &element)
Definition QXmppPubSubBaseItem.cpp:130