Migrate QByteArray over QArrayData.
authorJędrzej Nowacki <jedrzej.nowacki@nokia.com>
Tue, 27 Mar 2012 11:17:46 +0000 (13:17 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 16 Apr 2012 13:51:06 +0000 (15:51 +0200)
commitd1f5a85e661de94d115f11536f0f28f72e99b84d
treea8521c3890844a531514e0c10b0f6e8cfa556d1e
parent78b780b9a1ca402ee1f9762f617bb4163684ff34
Migrate QByteArray over QArrayData.

For the time being QByteArrayData keeps its independent existence, for
the sake of other modules. Once they have been ported to use the new
initializer macros it can be changed to:

    struct QByteArrayData { QArrayData array; };

Extra braces can then be added to the macros.

With respect to source compatibility, the only concern is with other
modules, as QByteArrayData has already changed in incompatible ways with
Qt 4.x

Done-with: João Abecasis
Change-Id: I044e2a680317431777a098feec8839a90a3d3da3
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/corelib/tools/qbytearray.cpp
src/corelib/tools/qbytearray.h