qt5base-lts/tests/auto/network/kernel
Marc Mutz 79b742b7e0 QtNetwork: use nullary version of qRegisterMetaType<T>("T")
Using the nullary version has the advantage that multiple calls
during a program run are much more efficient, since an inlined
atomic is used to store the result. It also ensures that
Q_DECLARE_METATYPE(T) has been used, whereas qRegisterMetaType<T>("T")
will happily register anything. So I've added the macro where it
was missing, or moved it to a central place when it existed
hidden.

In tst_qnetworkreply, this became a bit tricky, because a private
header is conditionally included, so moved the Q_DECLARE_METATYPE()
into a conditional section, too.

Change-Id: I71484523e4277f4697b7d4b2ddc3505375162727
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
2012-07-25 19:32:41 +02:00
..
qauthenticator QAuthenticator - test NTLM SSO and normal paths separately 2012-05-23 14:18:34 +02:00
qdnslookup Fix QDnsLookup test again after public DNS servers changed 2012-06-14 00:05:40 +02:00
qdnslookup_appless Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qhostaddress Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qhostinfo Partial fix for WebKit compilation on Windows 2012-06-13 23:24:08 +02:00
qnetworkaddressentry Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qnetworkinterface Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qnetworkproxy Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qnetworkproxyfactory QtNetwork: use nullary version of qRegisterMetaType<T>("T") 2012-07-25 19:32:41 +02:00
kernel.pro Uncomment qnetworkproxyfactory autotest 2012-04-26 17:52:12 +02:00