qt6-bb10/tests/auto/corelib/kernel
Fabian Kosmale ac001bef79 moc/QMetaProperty: Remove limitation on non-own-class notify signals
The moc generated code does a sanity check that NOTIFY signals actually
exist in the parent class when they cannot be found in the class moc
currently runs on.
The logic there was however too simplistic, and couldn't deal with
signals taking a parameter.
Fix this, and take the opportunity to use a proper static_assert instead
of generating a "normal" compile error.

We do not do any checks for the presence of QPrivateSignal, as the whole
point of QPrivateSignal is that it should be private (and not e.g.
protected).

Moreover, we adjust QMetaProperty::notifySignalIndex to take
single-argument notify methods into consideration as well when
encontering an unresolved notify index.

Fixes: QTBUG-115989
Pick-to: 6.7
Change-Id: I8a056a15777f3132691e207b4b9ab6c2c9b2126d
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2024-01-26 14:51:35 +01:00
..
qapplicationstatic CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qcoreapplication CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qdeadlinetimer CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qelapsedtimer CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qeventdispatcher tst_qeventdispatcher: port to QDeadlineTimer 2023-09-04 22:40:35 +03:00
qeventloop Blacklist QEventLoop test on QNX 2023-12-18 21:55:14 +01:00
qjniarray QJniArray: fix const_iterator declaration, make it default-constructible 2024-01-24 00:26:37 +00:00
qjnienvironment JNI: Silence and harden QJniEnvironment test 2023-10-05 19:50:33 +02:00
qjniobject JNI API review: minor API and implementation cleanups 2023-12-15 12:17:17 +01:00
qjnitypes JNI: allow QString as a parameter to native methods 2023-11-07 01:59:51 +08:00
qmath CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qmetacontainer CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qmetaenum tst_QMetaEnum: add round-trip testing to valueToKeys() 2023-10-19 12:22:42 +00:00
qmetamethod CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qmetaobject QMetaEnum: let key(s)ToValue match fully-qualified unscoped enumerators 2023-11-26 22:51:49 +02:00
qmetaobjectbuilder CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qmetaproperty moc/QMetaProperty: Remove limitation on non-own-class notify signals 2024-01-26 14:51:35 +01:00
qmetatype QMetaType: fix typenameHelper() for types in the QtPrivate namespace 2023-12-08 14:03:55 -08:00
qmimedata tests/auto/*: port Q_FOREACH to ranged-for 2023-08-19 16:29:09 +03:00
qobject QObject: Let moveToThread return succcess state 2024-01-24 21:35:09 +01:00
qpermission Constrain QCoreApplication::requestPermission to compatible functors 2023-09-01 03:30:50 +02:00
qpointer QPointer: ensure construction from nullptr is constinit'able 2023-10-05 20:19:40 +02:00
qproperty QProperty: clean up unnecessary sentinel class 2023-12-09 08:37:44 +08:00
qsignalblocker Implement QSignalBlocker::dismiss() 2023-08-31 22:11:51 +00:00
qsignalmapper CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qsocketnotifier QAbstractSocketEngine: port to QDeadlineTimer 2023-10-07 02:28:12 +03:00
qtimer Purge empty BLACKLIST files from tests 2023-11-24 18:09:16 +01:00
qtranslator Give QLocale::uiLanguages() a separator parameter 2023-08-16 16:25:48 +02:00
qvariant QVariant: add fromMetaType 2023-09-20 00:05:53 +02:00
qwineventnotifier CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qwinregistrykey CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
CMakeLists.txt JNI: add QJniArray class for easier working with arrays 2023-10-16 18:43:16 +02:00