diff options
Diffstat (limited to 'src/base/QXmppStanza.h')
| -rw-r--r-- | src/base/QXmppStanza.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/base/QXmppStanza.h b/src/base/QXmppStanza.h index 43ae4375..a25a138e 100644 --- a/src/base/QXmppStanza.h +++ b/src/base/QXmppStanza.h @@ -143,7 +143,8 @@ public: ServiceUnavailable, ///< The service is currently not available. SubscriptionRequired, ///< The requester needs to subscribe first. UndefinedCondition, ///< An undefined condition was hit. - UnexpectedRequest ///< The request was unexpected. + UnexpectedRequest, ///< The request was unexpected. + PolicyViolation ///< The entity has violated a local server policy. \since QXmpp 1.3 }; Error(); @@ -234,4 +235,7 @@ private: static uint s_uniqeIdNo; }; +Q_DECLARE_METATYPE(QXmppStanza::Error::Type); +Q_DECLARE_METATYPE(QXmppStanza::Error::Condition); + #endif // QXMPPSTANZA_H |
