Fix compilation of websocketprotocol test.
authorMilian Wolff <mail@milianw.de>
Thu, 6 Feb 2014 13:46:30 +0000 (14:46 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 6 Feb 2014 19:17:02 +0000 (20:17 +0100)
commit95655e87913556e69bdda4a9b3140da4602031e4
treeb966ccb163f8b888fbc699c69d7dd3540d705bca
parent0a9ea1ed6f2c201445381be62305a5e8b889f321
Fix compilation of websocketprotocol test.

The versionFromString method must be exported for usage in the test.
Additionally, the metatype of the version enum must be declared.

Change-Id: I8e0aef28f9902f274cab43f772667ad5a93c4062
Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
src/websockets/qwebsocketprotocol_p.h
tests/auto/websocketprotocol/tst_websocketprotocol.cpp