qt6-bb10/src/dbus
Fabian Kosmale fa987d4441 MetaObject: Store the QMetaType of the methods
This does the analog of 46f407126e for the
methods we care about (signals, slots, Q_INVOKABLEs). In addition to the
actual QMetaType, we store an array with offsets so that we later can do
a mapping from methodIndex to metatype.

The newly added QMetaMethod::{return,parameter}MetaType methods can then
be used to retrieve the metatypes.

This does however require that all involved types are complete. This is
unfortunately not a feasible requirement. Thus, we only populate the
metatype array on a best effort basis. For any incomplete type, we store
QMetaType::Unknown. Then, when accessing the metatype, we fall back to
the old string based code base if it's Unknown.

Squashes "moc: support incomplete types" and  "Fix compile failures
after QMetaMethod change"


Fixes: QTBUG-82932
Change-Id: I6b7a587cc364b7cad0c158d6de54e8a204289ad4
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2020-06-02 22:42:15 +02:00
..
doc Document how to use CMake for Qt DBus 2020-05-26 15:11:40 +02:00
.prev_CMakeLists.txt Regenerate projects to correctly handle private dependencies 2020-02-05 14:36:31 +00:00
CMakeLists.txt Regenerate projects to correctly handle private dependencies 2020-02-05 14:36:31 +00:00
LIBDBUS-1-LICENSE.txt Document libdbus-1 code in Qt D-Bus 2018-04-20 06:45:12 +00:00
Qt6DBusMacros.cmake Update add_custom_command and add_custom_target dependencies 2020-02-03 08:07:03 +00:00
dbus.pro Migrate Windows system libs to external dependencies 2019-05-08 08:30:02 +00:00
dbus_minimal_p.h DBus: verify up to date with dbus-1.12.12 2019-02-21 13:25:58 +00:00
qdbus_symbols.cpp Convert a few sizeof(array)/sizeof(element0) fors to range fors 2019-10-04 09:00:24 +02:00
qdbus_symbols_p.h Support interactive authorization flag in DBusMessage 2018-07-10 19:46:40 +00:00
qdbusabstractadaptor.cpp Merge remote-tracking branch 'origin/5.15' into dev 2019-12-09 10:16:01 +01:00
qdbusabstractadaptor.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusabstractadaptor_p.h Add support for slots to receive the raw void ** arguments array 2019-10-07 20:40:51 +02:00
qdbusabstractinterface.cpp Replace most use of QVariant::type and occurrences of QVariant::Type 2020-01-23 16:46:51 +01:00
qdbusabstractinterface.h QDBusAbstractInterface: make call() and asyncCall() variadic templates 2019-06-21 09:18:13 +02:00
qdbusabstractinterface_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusargument.cpp Cleanup QDBusArgument marshalling for containers 2020-02-03 17:43:30 +01:00
qdbusargument.h Sweep Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6 -> Q_DECLARE_SHARED 2020-05-19 23:45:54 +02:00
qdbusargument_p.h More nullptr usage in headers 2019-03-14 07:37:52 +00:00
qdbusconnection.cpp MetaObject: Store the QMetaType of the methods 2020-06-02 22:42:15 +02:00
qdbusconnection.h MetaObject: Store the QMetaType of the methods 2020-06-02 22:42:15 +02:00
qdbusconnection_p.h MetaObject: Store the QMetaType of the methods 2020-06-02 22:42:15 +02:00
qdbusconnectioninterface.cpp QDBusConnectionInterface: Add activatableServiceNames 2019-07-07 12:16:11 +02:00
qdbusconnectioninterface.h QDBusConnectionInterface: Add activatableServiceNames 2019-07-07 12:16:11 +02:00
qdbusconnectionmanager_p.h MetaObject: Store the QMetaType of the methods 2020-06-02 22:42:15 +02:00
qdbuscontext.cpp Tidy nullptr usage 2019-12-06 12:13:20 +01:00
qdbuscontext.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbuscontext_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusdemarshaller.cpp Tidy nullptr usage 2019-12-06 12:13:20 +01:00
qdbuserror.cpp qdbuserror: Use qOffsetStringArray instead of script generated code 2018-10-16 18:32:18 +00:00
qdbuserror.h MetaObject: Store the QMetaType of the methods 2020-06-02 22:42:15 +02:00
qdbusextratypes.cpp Port users of QDBusAbstractInterface::(async)callWithArgumentList() to new variadic (async)Call() 2019-08-07 20:09:17 +00:00
qdbusextratypes.h Sweep Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6 -> Q_DECLARE_SHARED 2020-05-19 23:45:54 +02:00
qdbusintegrator.cpp Introduce QSocketNotifier::activate(QSocketDescriptor, QSN::Type) 2020-04-16 13:52:11 +02:00
qdbusintegrator_p.h Merge "Merge remote-tracking branch 'origin/5.13' into dev" into refs/staging/dev 2019-04-04 23:01:17 +00:00
qdbusinterface.cpp Replace most use of QVariant::type and occurrences of QVariant::Type 2020-01-23 16:46:51 +01:00
qdbusinterface.h Replace Q_NULLPTR with nullptr where possible 2017-09-19 11:53:55 +00:00
qdbusinterface_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusinternalfilters.cpp Tidy nullptr usage 2019-12-06 12:13:20 +01:00
qdbusintrospection.cpp Replace 'an unique' with 'a unique' 2017-10-11 18:44:57 +00:00
qdbusintrospection_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusmarshaller.cpp Replace most use of QVariant::type and occurrences of QVariant::Type 2020-01-23 16:46:51 +01:00
qdbusmessage.cpp Replace most use of QVariant::type and occurrences of QVariant::Type 2020-01-23 16:46:51 +01:00
qdbusmessage.h MetaObject: Store the QMetaType of the methods 2020-06-02 22:42:15 +02:00
qdbusmessage_p.h Support interactive authorization flag in DBusMessage 2018-07-10 19:46:40 +00:00
qdbusmetaobject.cpp MetaObject: Store the QMetaType of the methods 2020-06-02 22:42:15 +02:00
qdbusmetaobject_p.h MetaObject: store the QMetaType of the properties 2020-02-25 15:43:15 +01:00
qdbusmetatype.cpp Replace most use of QVariant::type and occurrences of QVariant::Type 2020-01-23 16:46:51 +01:00
qdbusmetatype.h Use nullptr in qDBusRegisterMetaType 2017-02-03 20:24:45 +00:00
qdbusmetatype_p.h Revert "Merge the QDBusMetaType's custom information to QDBusConnectionManager" 2017-05-17 13:42:47 +00:00
qdbusmisc.cpp Merge remote-tracking branch 'origin/5.15' into dev 2020-03-03 14:13:02 +01:00
qdbuspendingcall.cpp Merge remote-tracking branch 'origin/5.14' into 5.15 2020-01-18 01:00:08 +01:00
qdbuspendingcall.h Remove remaining Q_DECL_NOEXCEPT/Q_DECL_NOTHROW usage 2019-04-04 18:01:38 +00:00
qdbuspendingcall_p.h More nullptr usage in headers 2019-03-14 07:37:52 +00:00
qdbuspendingreply.cpp Merge remote-tracking branch 'origin/5.14' into 5.15 2020-01-18 01:00:08 +01:00
qdbuspendingreply.h More nullptr usage in headers 2019-03-14 07:37:52 +00:00
qdbusreply.cpp Doc: Document QDBusReply copy constructor 2020-03-26 15:26:48 +01:00
qdbusreply.h Fix -Wdeprecated-copy warning 2020-01-14 16:52:34 +01:00
qdbusserver.cpp Merge remote-tracking branch 'origin/5.13' into 5.14 2019-09-04 07:03:54 +02:00
qdbusserver.h Replace Q_NULLPTR with nullptr where possible 2017-09-19 11:53:55 +00:00
qdbusservicewatcher.cpp QDBusServiceWatcher namespace prefix support 2018-11-06 09:52:09 +00:00
qdbusservicewatcher.h Replace Q_NULLPTR with nullptr where possible 2017-09-19 11:53:55 +00:00
qdbusthreaddebug_p.h Remove obsolete DBus dispatch lock 2017-11-08 05:38:39 +00:00
qdbusunixfiledescriptor.cpp Tidy nullptr usage 2019-12-06 12:13:20 +01:00
qdbusunixfiledescriptor.h Remove remaining Q_DECL_NOEXCEPT/Q_DECL_NOTHROW usage 2019-04-04 18:01:38 +00:00
qdbusutil.cpp Replace most use of QVariant::type and occurrences of QVariant::Type 2020-01-23 16:46:51 +01:00
qdbusutil_p.h QtDBus: use new QLatin1String::arg() 2019-06-03 23:28:18 +02:00
qdbusvirtualobject.cpp
qdbusvirtualobject.h Replace Q_NULLPTR with nullptr where possible 2017-09-19 11:53:55 +00:00
qdbusxmlgenerator.cpp Use Qt::SplitBehavior in preference to QString::SplitBehavior 2020-02-28 15:37:11 +01:00
qdbusxmlparser.cpp Silence bogus whitespace "errors" from the DBus XML parser 2017-01-02 07:56:29 +00:00
qdbusxmlparser_p.h qdbusxmlparser: Enabled error output 2016-09-27 15:48:45 +00:00
qt_attribution.json Record that we're still up to date with latest dbus 2020-03-16 08:52:10 +01:00
qtdbusglobal.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qtdbusglobal_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00