qt5base-lts/tests/auto/network/socket
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
..
platformsocketengine Fallback to IPv4 when IPv6 is not present. 2012-05-21 13:00:27 +02:00
qabstractsocket Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qhttpsocketengine Improved stability of tst_qhttpsocketengine 2012-02-08 02:10:44 +01:00
qlocalsocket fixed unittest builds for wince 2012-07-06 21:14:09 +02:00
qsocks5socketengine Handle fragmented responses on SOCKS5 control channel 2012-06-21 00:58:19 +02:00
qtcpserver QtNetwork: use nullary version of qRegisterMetaType<T>("T") 2012-07-25 19:32:41 +02:00
qtcpsocket QtNetwork: use nullary version of qRegisterMetaType<T>("T") 2012-07-25 19:32:41 +02:00
qudpsocket tst_qudpsocket: Interface fix for Windows Xp 2012-07-06 03:54:35 +02:00
socket.pro Enable qlocalsocket auto test 2012-02-21 22:31:00 +01:00