diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2013-10-15 13:19:17 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-15 16:11:18 +0200 |
commit | d5aa60fd33be47dd9ae1ad49c71d3edf059229bd (patch) | |
tree | 0c60dc56d952c94fea5eba4af0cf36bebf31d9d2 /src/imports/bluetooth/qdeclarativebluetoothsocket_p.h | |
parent | 90e953fca860f04e82c6451a8dbe5649e882677e (diff) |
Remove not needed error enum and avoid future enum value collisions
Change-Id: Ieb40958b689914db3b9b5303757426d7348d3fbe
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/imports/bluetooth/qdeclarativebluetoothsocket_p.h')
-rw-r--r-- | src/imports/bluetooth/qdeclarativebluetoothsocket_p.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/imports/bluetooth/qdeclarativebluetoothsocket_p.h b/src/imports/bluetooth/qdeclarativebluetoothsocket_p.h index cb6255b6..4b83dfb0 100644 --- a/src/imports/bluetooth/qdeclarativebluetoothsocket_p.h +++ b/src/imports/bluetooth/qdeclarativebluetoothsocket_p.h @@ -75,8 +75,7 @@ public: HostNotFoundError = QBluetoothSocket::HostNotFoundError, ServiceNotFoundError = QBluetoothSocket::ServiceNotFoundError, NetworkError = QBluetoothSocket::NetworkError, - UnsupportedProtocolError = QBluetoothSocket::UnsupportedProtocolError, - NoSocketerror + UnsupportedProtocolError = QBluetoothSocket::UnsupportedProtocolError }; enum SocketState { @@ -87,7 +86,7 @@ public: Bound = QBluetoothSocket::BoundState, Closing = QBluetoothSocket::ClosingState, Listening = QBluetoothSocket::ListeningState, - NoServiceSet + NoServiceSet = 100 //Leave gap for future enums and to avoid collision with QBluetoothSocket enums }; explicit QDeclarativeBluetoothSocket(QObject *parent = 0); |