diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2015-03-13 00:16:40 +0100 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2015-03-13 00:16:40 +0100 |
| commit | 05bff44937922c0a7519952201f6854b72d38483 (patch) | |
| tree | 1b05e4263c4621f99a477d13d2362143bdaa8e03 /src/client | |
| parent | 69afc4644606d40f0928a0eb0775ec9a03fdb661 (diff) | |
| download | qxmpp-05bff44937922c0a7519952201f6854b72d38483.tar.gz | |
Remove trailing comma after last item in enums
This allows compilation with GCC in pedantic mode.
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/QXmppCallManager.h | 4 | ||||
| -rw-r--r-- | src/client/QXmppClient.h | 4 | ||||
| -rw-r--r-- | src/client/QXmppMucManager.h | 2 | ||||
| -rw-r--r-- | src/client/QXmppTransferManager.h | 8 |
4 files changed, 9 insertions, 9 deletions
diff --git a/src/client/QXmppCallManager.h b/src/client/QXmppCallManager.h index 9fe75a95..3ef7b7ca 100644 --- a/src/client/QXmppCallManager.h +++ b/src/client/QXmppCallManager.h @@ -66,7 +66,7 @@ public: enum Direction { IncomingDirection, ///< The call is incoming. - OutgoingDirection, ///< The call is outgoing. + OutgoingDirection ///< The call is outgoing. }; /// This enum is used to describe the state of a call. @@ -75,7 +75,7 @@ public: ConnectingState = 0, ///< The call is being connected. ActiveState = 1, ///< The call is active. DisconnectingState = 2, ///< The call is being disconnected. - FinishedState = 3, ///< The call is finished. + FinishedState = 3 ///< The call is finished. }; ~QXmppCall(); diff --git a/src/client/QXmppClient.h b/src/client/QXmppClient.h index c42d05ed..bfda2abe 100644 --- a/src/client/QXmppClient.h +++ b/src/client/QXmppClient.h @@ -92,7 +92,7 @@ public: NoError, ///< No error. SocketError, ///< Error due to TCP socket. KeepAliveError, ///< Error due to no response to a keep alive. - XmppStreamError, ///< Error due to XML stream. + XmppStreamError ///< Error due to XML stream. }; /// This enumeration describes a client state. @@ -100,7 +100,7 @@ public: { DisconnectedState, ///< Disconnected from the server. ConnectingState, ///< Trying to connect to the server. - ConnectedState, ///< Connected to the server. + ConnectedState ///< Connected to the server. }; QXmppClient(QObject *parent = 0); diff --git a/src/client/QXmppMucManager.h b/src/client/QXmppMucManager.h index a9e841c2..77d9ed31 100644 --- a/src/client/QXmppMucManager.h +++ b/src/client/QXmppMucManager.h @@ -119,7 +119,7 @@ public: 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 + KickAction = 8 ///< kick users from the room }; Q_DECLARE_FLAGS(Actions, Action) diff --git a/src/client/QXmppTransferManager.h b/src/client/QXmppTransferManager.h index dc7a883d..372a32f7 100644 --- a/src/client/QXmppTransferManager.h +++ b/src/client/QXmppTransferManager.h @@ -102,7 +102,7 @@ public: enum Direction { IncomingDirection, ///< The file is being received. - OutgoingDirection, ///< The file is being sent. + OutgoingDirection ///< The file is being sent. }; /// This enum is used to describe the type of error encountered by a transfer job. @@ -112,7 +112,7 @@ public: AbortError, ///< The file transfer was aborted. FileAccessError, ///< An error was encountered trying to access a local file. FileCorruptError, ///< The file is corrupt: the file size or hash do not match. - ProtocolError, ///< An error was encountered in the file transfer protocol. + ProtocolError ///< An error was encountered in the file transfer protocol. }; /// This enum is used to describe a transfer method. @@ -121,7 +121,7 @@ public: NoMethod = 0, ///< No transfer method. InBandMethod = 1, ///< XEP-0047: In-Band Bytestreams SocksMethod = 2, ///< XEP-0065: SOCKS5 Bytestreams - AnyMethod = 3, ///< Any supported transfer method. + AnyMethod = 3 ///< Any supported transfer method. }; Q_DECLARE_FLAGS(Methods, Method) @@ -131,7 +131,7 @@ public: OfferState = 0, ///< The transfer is being offered to the remote party. StartState = 1, ///< The transfer is being connected. TransferState = 2, ///< The transfer is ongoing. - FinishedState = 3, ///< The transfer is finished. + FinishedState = 3 ///< The transfer is finished. }; ~QXmppTransferJob(); |
