Loading...
Searching...
No Matches
QXmppMixParticipantItem.h
// SPDX-FileCopyrightText: 2019 Linus Jahn <lnj@kaidan.im>
//
// SPDX-License-Identifier: LGPL-2.1-or-later
#ifndef QXMPPMIXPARTICIPANTITEM_H
#define QXMPPMIXPARTICIPANTITEM_H
#include "QXmppPubSubBaseItem.h"
class QXmppMixParticipantItemPrivate;
class QXMPP_EXPORT QXmppMixParticipantItem : public QXmppPubSubBaseItem
{
public:
QXmppMixParticipantItem();
QXmppMixParticipantItem(const QXmppMixParticipantItem &);
QXmppMixParticipantItem(QXmppMixParticipantItem &&);
~QXmppMixParticipantItem();
QXmppMixParticipantItem &operator=(const QXmppMixParticipantItem &);
QXmppMixParticipantItem &operator=(QXmppMixParticipantItem &&);
const QString &nick() const;
void setNick(QString);
const QString &jid() const;
void setJid(QString);
static bool isItem(const QDomElement &);
protected:
void parsePayload(const QDomElement &payloadElement) override;
void serializePayload(QXmlStreamWriter *writer) const override;
private:
QSharedDataPointer<QXmppMixParticipantItemPrivate> d;
};
Q_DECLARE_METATYPE(QXmppMixParticipantItem)
#endif // QXMPPMIXPARTICIPANTITEM_H
QXmppMixParticipantItem
Definition QXmppMixParticipantItem.h:13
QXmppMixParticipantItem::setJid
void setJid(QString)
Definition QXmppMixItems.cpp:1174
QXmppMixParticipantItem::nick
const QString & nick() const
Definition QXmppMixItems.cpp:1150
QXmppMixParticipantItem::jid
const QString & jid() const
Definition QXmppMixItems.cpp:1166
QXmppMixParticipantItem::operator=
QXmppMixParticipantItem & operator=(const QXmppMixParticipantItem &)
Default assignment operator.
QXmppMixParticipantItem::setNick
void setNick(QString)
Definition QXmppMixItems.cpp:1158
QXmppMixParticipantItem::operator=
QXmppMixParticipantItem & operator=(QXmppMixParticipantItem &&)
Default move-assignment operator.
QXmppMixParticipantItem::QXmppMixParticipantItem
QXmppMixParticipantItem(const QXmppMixParticipantItem &)
Default copy-constructor.
QXmppMixParticipantItem::QXmppMixParticipantItem
QXmppMixParticipantItem(QXmppMixParticipantItem &&)
Default move-constructor.
QXmppPubSubBaseItem::serializePayload
virtual void serializePayload(QXmlStreamWriter *writer) const
Definition QXmppPubSubBaseItem.cpp:154
QXmppPubSubBaseItem::QXmppPubSubBaseItem
QXmppPubSubBaseItem(const QString &id={}, const QString &publisher={})
Definition QXmppPubSubBaseItem.cpp:62
QXmppPubSubBaseItem::parsePayload
virtual void parsePayload(const QDomElement &payloadElement)
Definition QXmppPubSubBaseItem.cpp:144
QXmppPubSubBaseItem::isItem
static bool isItem(const QDomElement &element)
Definition QXmppPubSubBaseItem.cpp:134