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/QXmppCallManager.h | |
| parent | d410cf9b263816d6951f9393476216710354f51d (diff) | |
| download | qxmpp-9c08abcff13bb568aa0825b67ac0cdf66b756798.tar.gz | |
improve code documentation
Diffstat (limited to 'source/QXmppCallManager.h')
| -rw-r--r-- | source/QXmppCallManager.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/source/QXmppCallManager.h b/source/QXmppCallManager.h index a16e3717..ea397ab5 100644 --- a/source/QXmppCallManager.h +++ b/source/QXmppCallManager.h @@ -49,19 +49,21 @@ class QXmppCall : public QIODevice Q_OBJECT public: + /// This enum is used to describe the direction of a call. enum Direction { IncomingDirection, ///< The call is incoming. OutgoingDirection, ///< The call is outgoing. }; + /// This enum is used to describe the state of a call. enum State { - OfferState = 0, - ConnectingState = 1, - ActiveState = 2, - DisconnectingState = 3, - FinishedState = 4, + OfferState = 0, ///< The remote part is being called. + ConnectingState = 1, ///< The call is being connected. + ActiveState = 2, ///< The call is active. + DisconnectingState = 3, ///< The call is being disconnected. + FinishedState = 4, ///< The call is finished. }; QXmppCall::Direction direction() const; |
