diff options
| author | Linus Jahn <lnj@kaidan.im> | 2022-10-16 21:54:40 +0200 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2022-10-17 16:26:03 +0200 |
| commit | c85c9c460907e26604554f1b2c6f54734bc8f303 (patch) | |
| tree | 917fd8553b2606c141cc4ac0ba377e5ecf9eb242 /src/base/QXmppEntityTimeIq.h | |
| parent | 556442eab0bdbd5b30a5fad3112d88c4b124ff5e (diff) | |
| download | qxmpp-c85c9c460907e26604554f1b2c6f54734bc8f303.tar.gz | |
Add checkIqType() function to IQs
This is required so they can be parsed just be specifying the type.
Diffstat (limited to 'src/base/QXmppEntityTimeIq.h')
| -rw-r--r-- | src/base/QXmppEntityTimeIq.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/base/QXmppEntityTimeIq.h b/src/base/QXmppEntityTimeIq.h index 1d9f5b15..7525617c 100644 --- a/src/base/QXmppEntityTimeIq.h +++ b/src/base/QXmppEntityTimeIq.h @@ -25,9 +25,10 @@ public: void setUtc(const QDateTime &utc); static bool isEntityTimeIq(const QDomElement &element); + /// \cond + static bool checkIqType(const QString &tagName, const QString &xmlns); protected: - /// \cond void parseElementFromChild(const QDomElement &element) override; void toXmlElementFromChild(QXmlStreamWriter *writer) const override; /// \endcond |
