diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2011-04-28 23:11:27 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2011-04-28 23:11:27 +0000 |
| commit | f999dd4bb51b23b2628f12724dd408f1ea2bb5b1 (patch) | |
| tree | 653e7328e710ec99214e133bff132ed268c3f890 /src/QXmppMucManager.h | |
| parent | d9c96b1688a2f3af0df05b453bd4282b7c3e99f3 (diff) | |
| download | qxmpp-f999dd4bb51b23b2628f12724dd408f1ea2bb5b1.tar.gz | |
improve code documentation
Diffstat (limited to 'src/QXmppMucManager.h')
| -rw-r--r-- | src/QXmppMucManager.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/QXmppMucManager.h b/src/QXmppMucManager.h index a6f21aae..cf0dcd44 100644 --- a/src/QXmppMucManager.h +++ b/src/QXmppMucManager.h @@ -89,10 +89,7 @@ private: /// \brief The QXmppMucRoom class represents a multi-user chat room /// as defined by XEP-0045: Multi-User Chat. /// -/// \code -/// QXmppMucManager *manager = new QXmppMucManager; -/// client->addExtension(manager); -/// \endcode +/// \sa QXmppMucManager class QXmppMucRoom : public QObject { @@ -105,12 +102,13 @@ class QXmppMucRoom : public QObject public: + /// This enum is used to describe chat room actions. enum Action { - NoAction = 0, - SubjectAction = 1, - ConfigurationAction = 2, - PermissionsAction = 4, - KickAction = 8, + NoAction = 0, ///< no action + SubjectAction = 1, ///< change the room's subject + ConfigurationAction = 2, ///< change the room's configuration + PermissionsAction = 4, ///< change the room's permissions + KickAction = 8, ///< kick users from the room }; Q_DECLARE_FLAGS(Actions, Action) |
