Introduce initializer macros for QString- and QByteArrayData
authorJoão Abecasis <joao.abecasis@nokia.com>
Tue, 3 Apr 2012 11:23:55 +0000 (13:23 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 4 Apr 2012 21:29:52 +0000 (23:29 +0200)
commit4c892e14c6929e174c8bccc9ec5693a63a8ce69c
treec8e08cd6dc541fd122f395ea2c74f8733f31fc63
parenta959f34d716f42925b22d42838e7a4b97e415c69
Introduce initializer macros for QString- and QByteArrayData

This enables easier updating of those structs, by reducing the amount of
code that needs to be fixed. The common (and known) use cases are
covered by the two macros being introduced in each case.

Change-Id: I44981ca9b9b034f99238a11797b30bb85471cfb7
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/corelib/kernel/qmetaobjectbuilder.cpp
src/corelib/statemachine/qstatemachine.cpp
src/corelib/tools/qbytearray.cpp
src/corelib/tools/qbytearray.h
src/corelib/tools/qstring.cpp
src/corelib/tools/qstring.h
src/dbus/qdbusabstractadaptor.cpp
src/tools/moc/generator.cpp
tests/auto/corelib/tools/qstringbuilder/qstringbuilder1/stringbuilder.cpp