qt5base-lts/tests/auto/corelib/kernel/qobject
Kent Hansen 96f2365cf4 Rename QMetaMethod::signature() to methodSignature()
In Qt5 the meta-data format will be changed to not store the
method signature string explicitly; the signature will be
reconstructed on demand from the method name and parameter type
information.

The QMetaMethod::signature() method returns a const char pointer.
Changing the return type to QByteArray can lead to silent bugs due to
the implicit conversion to char *. Even though it's a source-
incompatible change, it's therefore better to introduce a new
function, methodSignature(), and remove the old signature().

Task-number: QTBUG-24154
Change-Id: Ib3579dedd27a3c7c8914d5f1b231947be2cf4027
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
2012-02-29 12:50:14 +01:00
..
signalbug clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
test Fixed tst_qobject signalbug silently not compiled in -fast builds. 2012-02-23 09:06:44 +01:00
.gitignore QObject-test: Reorganize subprocess. 2011-12-14 07:07:09 +01:00
moc_oldnormalizeobject.cpp Change the representation of meta-object string data 2012-02-29 12:50:14 +01:00
oldnormalizeobject.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qobject.pro Fixed tst_qobject signalbug silently not compiled in -fast builds. 2012-02-23 09:06:44 +01:00
tst_qobject.cpp Rename QMetaMethod::signature() to methodSignature() 2012-02-29 12:50:14 +01:00