qt5base-lts/tests/auto
Axel Waggershauser 6b68be9587 Let QMetaObject::connectSlotsByName(o) also check for signals of o
QMetaObject::connectSlotsByName(QObject* o) creates a list of all
children to look for signals that match slots of o. This changeset
simply adds the object o itself to that list.

The motivation is to finally fix the long standing QtCreator bug
QTCREATORBUG-6494. Where executing 'Go to slot...' and choosing
'accepted()' for a simple QDialog named 'MyDialog' will add a
on_MyDialog_accepted() slot to MyDialog. That slot never gets
connected. More details may be found in the linked QTBUG-7595.

Task-number: QTBUG-7595
Task-number: QTCREATORBUG-6494

Change-Id: I35f52761791af697eabb569adb5faee6fae50638
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
2013-03-07 08:37:26 +01:00
..
android Add missing license header 2013-03-05 08:31:23 +01:00
bic/data Remove QPointerBase bic check. 2013-02-13 15:06:53 +01:00
cmake Merge remote-tracking branch 'origin/stable' into dev 2013-03-05 13:42:11 +01:00
compilerwarnings/data Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
concurrent Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
corelib Let QMetaObject::connectSlotsByName(o) also check for signals of o 2013-03-07 08:37:26 +01:00
dbus Add QDBusReply::error() const. 2013-03-01 09:39:23 +01:00
gui Add methods to convert lists of QKeySequence to/from strings 2013-03-06 21:50:28 +01:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
network Fix warnings about unused field variables (CLANG). 2013-03-06 21:50:28 +01:00
opengl Merge remote-tracking branch 'origin/stable' into dev 2013-03-05 13:42:11 +01:00
other Check for network module when building according auto tests 2013-02-19 19:20:53 +01:00
printsupport Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
shared Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
sql Merge remote-tracking branch 'origin/stable' into dev 2013-02-18 16:14:52 +01:00
testlib Merge remote-tracking branch 'origin/stable' into dev 2013-01-28 11:10:29 +01:00
tools Merge remote-tracking branch 'origin/stable' into dev 2013-03-05 13:42:11 +01:00
widgets Fix warnings about unused field variables (CLANG). 2013-03-06 21:50:28 +01:00
xml Check for network module when building according auto tests 2013-02-19 19:20:53 +01:00
auto.pro Check for printsupport module when building according auto tests 2013-02-19 19:20:58 +01:00
network-settings.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qtest-config.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
test.pl Fix test script 2013-02-27 18:02:22 +01:00