diff options
| author | Linus Jahn <lnj@kaidan.im> | 2022-12-29 21:44:40 +0100 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2022-12-29 21:59:49 +0100 |
| commit | 93c35b3f1260f3dfafbc77609fcadb9a40a7b97f (patch) | |
| tree | ec80a32b7dfe37365598e17b8ec8afbaabd9bba3 /src/base/QXmppStanza.h | |
| parent | 1b5c7c466d0ca2df80cdec5009cac541afa735c7 (diff) | |
| download | qxmpp-93c35b3f1260f3dfafbc77609fcadb9a40a7b97f.tar.gz | |
StanzaError: Remove optional getter/settters for type/condition
The whole QXmppStanza::Error is now used optionally in QXmppStanza, so
type and condition of the error don't need to be optionals as well.
Part of #512.
Diffstat (limited to 'src/base/QXmppStanza.h')
| -rw-r--r-- | src/base/QXmppStanza.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/base/QXmppStanza.h b/src/base/QXmppStanza.h index 90ef6907..0e2d860e 100644 --- a/src/base/QXmppStanza.h +++ b/src/base/QXmppStanza.h @@ -158,14 +158,10 @@ public: void setText(const QString &text); Condition condition() const; - std::optional<Condition> conditionOpt() const; void setCondition(Condition cond); - void setCondition(std::optional<Condition> cond); Type type() const; - std::optional<Type> typeOpt() const; void setType(Type type); - void setType(std::optional<Type> type); QString by() const; void setBy(const QString &by); |
