qt5base-lts/tests/manual/bearerex
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
..
bearerex_maemo.ui Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
bearerex.cpp QtNetwork: use nullary version of qRegisterMetaType<T>("T") 2012-07-25 19:32:41 +02:00
bearerex.h Build manual tests. 2012-04-12 14:50:39 +02:00
bearerex.pro Build manual tests. 2012-04-12 14:50:39 +02:00
bearerex.ui Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
datatransferer.cpp Change remaining uses of {to,from}Ascii to {to,from}Latin1 [QtNetwork] 2012-05-04 12:46:05 +02:00
datatransferer.h Build manual tests. 2012-04-12 14:50:39 +02:00
detailedinfodialog.ui Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
main.cpp Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
sessiondialog_maemo.ui Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
sessiondialog.ui Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
xqlistwidget.cpp Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
xqlistwidget.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00