diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-07-18 12:06:08 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-07-18 12:06:08 +0000 |
| commit | 9c08abcff13bb568aa0825b67ac0cdf66b756798 (patch) | |
| tree | 22525f62e30cd59a2ee7c0736ba88030349cbfff /source/QXmppStanza.h | |
| parent | d410cf9b263816d6951f9393476216710354f51d (diff) | |
| download | qxmpp-9c08abcff13bb568aa0825b67ac0cdf66b756798.tar.gz | |
improve code documentation
Diffstat (limited to 'source/QXmppStanza.h')
| -rw-r--r-- | source/QXmppStanza.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source/QXmppStanza.h b/source/QXmppStanza.h index 8eb8dd7b..3c0bdc63 100644 --- a/source/QXmppStanza.h +++ b/source/QXmppStanza.h @@ -35,6 +35,12 @@ // for an explanation. #include <QXmlStreamWriter> +/// \defgroup Stanzas + +/// \brief The QXmppStanza class is the base class for all XMPP stanzas. +/// +/// \ingroup Stanzas + class QXmppStanza : public QXmppPacket { public: @@ -99,10 +105,12 @@ public: void toXml(QXmlStreamWriter *writer) const; // deprecated accessors, use the form without "get" instead + /// \cond int Q_DECL_DEPRECATED getCode() const; QString Q_DECL_DEPRECATED getText() const; Condition Q_DECL_DEPRECATED getCondition() const; Type Q_DECL_DEPRECATED getType() const; + /// \endcond private: QString getConditionStr() const; @@ -142,11 +150,13 @@ public: bool isErrorStanza(); // deprecated accessors, use the form without "get" instead + /// \cond QString Q_DECL_DEPRECATED getTo() const; QString Q_DECL_DEPRECATED getFrom() const; QString Q_DECL_DEPRECATED getId() const; QString Q_DECL_DEPRECATED getLang() const; QXmppStanza::Error Q_DECL_DEPRECATED getError() const; + /// \endcond protected: void generateAndSetNextId(); |
