QXmpp Version: 1.10.0
QXmppSendStanzaParams.h
1// SPDX-FileCopyrightText: 2022 Linus Jahn <lnj@kaidan.im>
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4
5#ifndef QXMPPSENDSTANZAPARAMS_H
6#define QXMPPSENDSTANZAPARAMS_H
7
8#include "QXmppGlobal.h"
9#include "QXmppTrustLevel.h"
10
11#include <optional>
12
13#include <QSharedDataPointer>
14
15class QXmppSendStanzaParamsPrivate;
16
17class QXMPP_EXPORT QXmppSendStanzaParams
18{
19public:
26
27 QVector<QString> encryptionJids() const;
28 void setEncryptionJids(QVector<QString>);
29
30 std::optional<QXmpp::TrustLevels> acceptedTrustLevels() const;
31 void setAcceptedTrustLevels(std::optional<QXmpp::TrustLevels> trustLevels);
32
33private:
34 QSharedDataPointer<QXmppSendStanzaParamsPrivate> d;
35};
36
37#endif // QXMPPSENDSTANZAPARAMS_H
Definition: QXmppSendStanzaParams.h:18
QXmppSendStanzaParams & operator=(QXmppSendStanzaParams &&)
Move-assignment operator.
QXmppSendStanzaParams & operator=(const QXmppSendStanzaParams &)
Assignment operator.
QXmppSendStanzaParams(QXmppSendStanzaParams &&)
Move-constructor.
QXmppSendStanzaParams(const QXmppSendStanzaParams &other)
Copy-constructor.