Loading...
Searching...
No Matches
QXmppSendStanzaParams.h
// SPDX-FileCopyrightText: 2022 Linus Jahn <lnj@kaidan.im>
//
// SPDX-License-Identifier: LGPL-2.1-or-later
#ifndef QXMPPSENDSTANZAPARAMS_H
#define QXMPPSENDSTANZAPARAMS_H
#include "QXmppGlobal.h"
#include "QXmppTrustLevel.h"
#include <optional>
#include <QSharedDataPointer>
class QXmppSendStanzaParamsPrivate;
class QXMPP_EXPORT QXmppSendStanzaParams
{
public:
QXmppSendStanzaParams();
QXmppSendStanzaParams(const QXmppSendStanzaParams &other);
QXmppSendStanzaParams(QXmppSendStanzaParams &&);
~QXmppSendStanzaParams();
QXmppSendStanzaParams &operator=(const QXmppSendStanzaParams &);
QXmppSendStanzaParams &operator=(QXmppSendStanzaParams &&);
QVector<QString> encryptionJids() const;
void setEncryptionJids(QVector<QString>);
std::optional<QXmpp::TrustLevels> acceptedTrustLevels() const;
void setAcceptedTrustLevels(std::optional<QXmpp::TrustLevels> trustLevels);
private:
QSharedDataPointer<QXmppSendStanzaParamsPrivate> d;
};
#endif // QXMPPSENDSTANZAPARAMS_H
QXmppSendStanzaParams
Definition QXmppSendStanzaParams.h:18
QXmppSendStanzaParams::operator=
QXmppSendStanzaParams & operator=(QXmppSendStanzaParams &&)
Move-assignment operator.
QXmppSendStanzaParams::operator=
QXmppSendStanzaParams & operator=(const QXmppSendStanzaParams &)
Assignment operator.
QXmppSendStanzaParams::QXmppSendStanzaParams
QXmppSendStanzaParams(QXmppSendStanzaParams &&)
Move-constructor.
QXmppSendStanzaParams::QXmppSendStanzaParams
QXmppSendStanzaParams(const QXmppSendStanzaParams &other)
Copy-constructor.