QXmpp Version: 1.5.6
Loading...
Searching...
No Matches
QXmppMixParticipantItem.h
1// SPDX-FileCopyrightText: 2019 Linus Jahn <lnj@kaidan.im>
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4
5#ifndef QXMPPMIXPARTICIPANTITEM_H
6#define QXMPPMIXPARTICIPANTITEM_H
7
8#include "QXmppPubSubBaseItem.h"
9
10class QXmppMixParticipantItemPrivate;
11
13{
14public:
19
22
23 const QString &nick() const;
24 void setNick(QString);
25
26 const QString &jid() const;
27 void setJid(QString);
28
29 static bool isItem(const QDomElement &);
30
31protected:
33 void parsePayload(const QDomElement &payloadElement) override;
34 void serializePayload(QXmlStreamWriter *writer) const override;
36
37private:
38 QSharedDataPointer<QXmppMixParticipantItemPrivate> d;
39};
40
41#endif // QXMPPMIXPARTICIPANTITEM_H
Definition QXmppMixParticipantItem.h:13
QXmppMixParticipantItem & operator=(const QXmppMixParticipantItem &)
Default assignment operator.
QXmppMixParticipantItem & operator=(QXmppMixParticipantItem &&)
Default move-assignment operator.
QXmppMixParticipantItem(const QXmppMixParticipantItem &)
Default copy-constructor.
QXmppMixParticipantItem(QXmppMixParticipantItem &&)
Default move-constructor.
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