Add QUuid::toRfc4122() and fromRfc4122()
authorLiang Qi <liang.qi@nokia.com>
Fri, 27 May 2011 11:34:28 +0000 (13:34 +0200)
committerSergio Ahumada <sergio.ahumada@nokia.com>
Fri, 27 May 2011 11:59:53 +0000 (13:59 +0200)
commit623c753a7b6a582e352acc5a0abbb7eb402af3b7
tree03708ae6e5613acb571889e2dc0a8635e82885c8
parent8f4c007f85a4c16728281cb36f2f0f85b56c0999
Add QUuid::toRfc4122() and fromRfc4122()

Following the RFC4122, provide the interfaces between QUuid
and QByteArray, they are simpler then toByteArray() and
relevant.

Thanks for the suggestion and brief code from Robin Burchell.

Task-number: QTBUG-19420
Reviewed-by: joao
(cherry picked from commit 06873e467d98ad60d827afae29500bf2ff783c03)

Change-Id: I4623ae3363f1d5affa45de73fac616bb67a9eaa1
Reviewed-on: http://codereview.qt.nokia.com/168
Reviewed-by: Liang Qi <liang.qi@nokia.com>
src/corelib/plugin/quuid.cpp
src/corelib/plugin/quuid.h
tests/auto/quuid/tst_quuid.cpp
tests/benchmarks/corelib/plugin/quuid/tst_quuid.cpp