From 93c35b3f1260f3dfafbc77609fcadb9a40a7b97f Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Thu, 29 Dec 2022 21:44:40 +0100 Subject: 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. --- src/base/QXmppStanza.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/base/QXmppStanza.h') 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 conditionOpt() const; void setCondition(Condition cond); - void setCondition(std::optional cond); Type type() const; - std::optional typeOpt() const; void setType(Type type); - void setType(std::optional type); QString by() const; void setBy(const QString &by); -- cgit v1.2.3