qt5base-lts/tests/auto/corelib
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
..
animation Merge remote-tracking branch 'origin/stable' into dev 2013-01-22 18:40:13 +01:00
codecs Correctly detect HTML 5 charset attribute in QTextCodec::codecForHtml() 2013-02-12 01:31:26 +01:00
global Enable QGlobalStatic autotest. 2013-02-28 23:43:50 +01:00
io Fix warning about float truncation in tst_qdatastream. 2013-03-06 21:50:28 +01:00
itemmodels Merge remote-tracking branch 'origin/stable' into dev 2013-03-05 13:42:11 +01:00
json Add toJson() formatting argument to QJsonDocument interface 2013-01-26 03:09:27 +01:00
kernel Let QMetaObject::connectSlotsByName(o) also check for signals of o 2013-03-07 08:37:26 +01:00
mimetypes QMimeDatabase: pass MatchMode down, to fix MatchContent. 2013-03-01 13:05:11 +01:00
plugin Distinguish between 'mac' and 'macx' qmake scopes 2013-03-05 20:59:45 +01:00
statemachine Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
thread Remove QT_{BEGIN,END}_HEADER macro usage 2013-01-29 01:06:04 +01:00
tools QVector - removeLast optimize 2013-03-07 08:37:26 +01:00
xml Check for network module when building according auto tests 2013-02-19 19:20:53 +01:00
corelib.pro Import QMimeType / QMimeDatabase into QtCore. 2012-02-18 22:19:43 +01:00