QXmpp
Version: 1.15.1
Toggle main menu visibility
Loading...
Searching...
No Matches
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
15
class
QXmppSendStanzaParamsPrivate;
16
17
class
QXMPP_EXPORT QXmppSendStanzaParams
18
{
19
public
:
20
QXmppSendStanzaParams();
21
QXmppSendStanzaParams
(
const
QXmppSendStanzaParams &other);
22
QXmppSendStanzaParams
(QXmppSendStanzaParams &&);
23
~QXmppSendStanzaParams();
24
QXmppSendStanzaParams &
operator=
(
const
QXmppSendStanzaParams &);
25
QXmppSendStanzaParams &
operator=
(QXmppSendStanzaParams &&);
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
33
private
:
34
QSharedDataPointer<QXmppSendStanzaParamsPrivate> d;
35
};
36
37
#endif
// QXMPPSENDSTANZAPARAMS_H
QXmppSendStanzaParams::encryptionJids
QVector< QString > encryptionJids() const
Definition
QXmppSendStanzaParams.cpp:47
QXmppSendStanzaParams::setEncryptionJids
void setEncryptionJids(QVector< QString >)
Definition
QXmppSendStanzaParams.cpp:58
QXmppSendStanzaParams::operator=
QXmppSendStanzaParams & operator=(QXmppSendStanzaParams &&)
Move-assignment operator.
QXmppSendStanzaParams::operator=
QXmppSendStanzaParams & operator=(const QXmppSendStanzaParams &)
Assignment operator.
QXmppSendStanzaParams::acceptedTrustLevels
std::optional< QXmpp::TrustLevels > acceptedTrustLevels() const
Definition
QXmppSendStanzaParams.cpp:70
QXmppSendStanzaParams::QXmppSendStanzaParams
QXmppSendStanzaParams(QXmppSendStanzaParams &&)
Move-constructor.
QXmppSendStanzaParams::setAcceptedTrustLevels
void setAcceptedTrustLevels(std::optional< QXmpp::TrustLevels > trustLevels)
Definition
QXmppSendStanzaParams.cpp:85
QXmppSendStanzaParams::QXmppSendStanzaParams
QXmppSendStanzaParams(const QXmppSendStanzaParams &other)
Copy-constructor.
src
client
QXmppSendStanzaParams.h
Generated by
1.17.0