aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2011-06-13 19:56:14 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2011-06-13 19:56:14 +0000
commit6f701abe515c0d04d712a69e4883ce92ce6517b5 (patch)
treeb86deafbcb0d4f545666f46a68e96eb14f25d9cb /src
parentd2d653088ad4f8e507ae590ca8dc4ef0ba1ea6a6 (diff)
downloadqxmpp-6f701abe515c0d04d712a69e4883ce92ce6517b5.tar.gz
add documentation for State enum
Diffstat (limited to 'src')
-rw-r--r--src/QXmppClient.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/QXmppClient.h b/src/QXmppClient.h
index 4ce27abb..490351d9 100644
--- a/src/QXmppClient.h
+++ b/src/QXmppClient.h
@@ -93,11 +93,12 @@ public:
XmppStreamError, ///< Error due to XML stream
};
+ /// This enumeration describes a client state.
enum State
{
- DisconnectedState,
- ConnectingState,
- ConnectedState,
+ DisconnectedState, ///< Disconnected from the server.
+ ConnectingState, ///< Trying to connect to the server.
+ ConnectedState, ///< Connected to the server.
};
QXmppClient(QObject *parent = 0);