QXmpp  Version: 1.10.4
QXmppStanza_p.h
1 // SPDX-FileCopyrightText: 2017 Niels Ole Salscheider <niels_ole@salscheider-online.de>
2 //
3 // SPDX-License-Identifier: LGPL-2.1-or-later
4 
5 #ifndef QXMPPSTANZA_P_H
6 #define QXMPPSTANZA_P_H
7 
8 #include "QXmppStanza.h"
9 
10 #include <optional>
11 
12 // W A R N I N G
13 // -------------
14 //
15 // This file is not part of the QXmpp API. It exists for the convenience
16 // of the QXmppStanza class.
17 //
18 // This header file may change from version to version without notice,
19 // or even be removed.
20 //
21 // We mean it.
22 //
23 
24 namespace QXmpp::Private {
25 
26 // defined in QXmppStanza.cpp
27 auto conditionToString(QXmppStanza::Error::Condition condition) -> QString;
28 auto conditionFromString(const QString &string) -> std::optional<QXmppStanza::Error::Condition>;
29 auto typeToString(QXmppStanza::Error::Type type) -> QString;
30 auto typeFromString(const QString &string) -> std::optional<QXmppStanza::Error::Type>;
31 
32 } // namespace QXmpp::Private
33 
34 #endif
Condition
A detailed condition of the error.
Definition: QXmppStanza.h:110
Definition: Algorithms.h:12
Type
Definition: QXmppStanza.h:100