qt5base-lts/src/dbus
Thiago Macieira daeb334039 Merge the QDBusMetaType's custom information to QDBusConnectionManager
This allows us to get rid of two Q_GLOBAL_STATIC in QtDBus, which means
fewer opportunities for screwing up the order of destruction. And since
QDBusConnectionManager now ensures that the types are initialized, we
don't need to re-initialize them everywhere.

The Q_GLOBAL_STATIC for QDBusConnectionManager ensures the proper
thread-safe locking, so we don't need to lock for every type that we're
trying to register. This should make things faster.

But as a side-effect, trying to register a D-Bus metatype will cause the
QDBusConnectionManager thread to start too.

Change-Id: Ifea6e497f11a461db432ffff1449a4e535234485
Reviewed-by: René J.V. Bertin <rjvbertin@gmail.com>
Reviewed-by: Anton Kudryavtsev <antkudr@mail.ru>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2017-05-11 08:35:24 +00:00
..
doc Merge remote-tracking branch 'origin/5.6' into 5.7 2016-05-19 12:55:27 +02:00
dbus_minimal_p.h Merge remote-tracking branch 'origin/5.6' into 5.7 2016-04-29 17:55:20 +02:00
dbus.pro remove unnecessary references to $$QMAKE_CFLAGS_DBUS 2016-10-04 20:21:28 +00:00
qdbus_symbols_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbus_symbols.cpp Use QT_CONFIG(library) instead of QT_NO_LIBRARY 2017-03-06 11:27:20 +00:00
qdbusabstractadaptor_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusabstractadaptor.cpp Add Intel copyright to files that Intel has had non-trivial contribution 2016-01-21 22:44:21 +00:00
qdbusabstractadaptor.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusabstractinterface_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusabstractinterface.cpp Merge remote-tracking branch 'origin/5.6' into 5.7 2016-10-13 15:18:02 +02:00
qdbusabstractinterface.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusargument_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusargument.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qdbusargument.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusconnection_p.h Remove unused QDBusConnectionPrivate::checkReplyForDelivery() 2017-03-01 21:07:14 +00:00
qdbusconnection.cpp Merge the QDBusMetaType's custom information to QDBusConnectionManager 2017-05-11 08:35:24 +00:00
qdbusconnection.h Q_ENUMS -> Q_ENUM and Q_FLAGS -> Q_FLAG 2017-01-02 10:31:25 +00:00
qdbusconnectioninterface.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qdbusconnectioninterface.h Q_ENUMS -> Q_ENUM and Q_FLAGS -> Q_FLAG 2017-01-02 10:31:25 +00:00
qdbusconnectionmanager_p.h Merge the QDBusMetaType's custom information to QDBusConnectionManager 2017-05-11 08:35:24 +00:00
qdbuscontext_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbuscontext.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qdbuscontext.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusdemarshaller.cpp Merge remote-tracking branch 'origin/5.6' into 5.7 2016-10-08 17:15:55 +02:00
qdbuserror.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qdbuserror.h Merge remote-tracking branch 'origin/5.7' into 5.8 2016-09-21 11:57:52 +02:00
qdbusextratypes.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qdbusextratypes.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusintegrator_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusintegrator.cpp Merge the QDBusMetaType's custom information to QDBusConnectionManager 2017-05-11 08:35:24 +00:00
qdbusinterface_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusinterface.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qdbusinterface.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusinternalfilters.cpp Use QString::asprintf(), QStringBuilder, and the multi-arg overload of QString::arg() 2017-01-12 17:54:28 +00:00
qdbusintrospection_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusintrospection.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qdbusmarshaller.cpp Support C++17 fallthrough attribute 2016-08-19 18:38:53 +00:00
qdbusmessage_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusmessage.cpp Add Intel copyright to files that Intel has had non-trivial contribution 2016-01-21 22:44:21 +00:00
qdbusmessage.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusmetaobject_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusmetaobject.cpp Add Intel copyright to files that Intel has had non-trivial contribution 2016-01-21 22:44:21 +00:00
qdbusmetatype_p.h Merge the QDBusMetaType's custom information to QDBusConnectionManager 2017-05-11 08:35:24 +00:00
qdbusmetatype.cpp Merge the QDBusMetaType's custom information to QDBusConnectionManager 2017-05-11 08:35:24 +00:00
qdbusmetatype.h Use nullptr in qDBusRegisterMetaType 2017-02-03 20:24:45 +00:00
qdbusmisc.cpp Merge the QDBusMetaType's custom information to QDBusConnectionManager 2017-05-11 08:35:24 +00:00
qdbuspendingcall_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbuspendingcall.cpp Updated license headers 2016-01-21 18:55:18 +00:00
qdbuspendingcall.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbuspendingreply.cpp Add Intel copyright to files that Intel has had non-trivial contribution 2016-01-21 22:44:21 +00:00
qdbuspendingreply.h Fix using 0 as null pointer 2016-12-06 15:32:26 +00:00
qdbusreply.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qdbusreply.h Fix using 0 as null pointer 2016-12-06 15:32:26 +00:00
qdbusserver.cpp Merge remote-tracking branch 'origin/5.6' into 5.7 2016-10-22 21:19:57 +02:00
qdbusserver.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusservicewatcher.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qdbusservicewatcher.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusthreaddebug_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusunixfiledescriptor.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qdbusunixfiledescriptor.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusutil_p.h Doc: bool inline to inline bool 2016-10-04 13:13:09 +00:00
qdbusutil.cpp DBus: use QStringRef to optimize memory allocation 2016-04-28 16:47:54 +00:00
qdbusvirtualobject.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qdbusvirtualobject.h Cleanup QDBusVirtualObjectPrivate 2016-08-04 08:47:40 +00:00
qdbusxmlgenerator.cpp Use QString::asprintf(), QStringBuilder, and the multi-arg overload of QString::arg() 2017-01-12 17:54:28 +00:00
qdbusxmlparser_p.h qdbusxmlparser: Enabled error output 2016-09-27 15:48:45 +00:00
qdbusxmlparser.cpp Silence bogus whitespace "errors" from the DBus XML parser 2017-01-02 07:56:29 +00:00
Qt5DBusConfigExtras.cmake.in Check that files we expect to find actually exist when using a cmake package. 2013-05-20 15:20:26 +02:00
Qt5DBusMacros.cmake Qt5DBusMacros: remove intermediate variable 2017-04-11 14:07:29 +00:00
qtdbusglobal_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qtdbusglobal.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00