qt5base-lts/tests/auto
Kent Hansen 243ea09e4c Add QMetaMethod-based QObject::connect/disconnectNotify() API
This API will fully replace the const char *-based connectNotify()
and disconnectNotify() in Qt5; the old functions will be REMOVED
before Qt 5.0 final.

The new implementation fixes the long-standing issue of
connectNotify() not being called when using the (internal)
index-based QMetaObject::connect() (e.g., from QML).

As with the old API, there are still two "unintuitive" behaviors
concerning disconnectNotify():
- disconnectNotify() is not called when the signal is disconnected
  using the QObject::disconnect(QMetaObject::Connection) overload.
- disconnectNotify() is not called when a receiver is destroyed
  (i.e., when a connection is implicitly removed).

The old versions of connectNotify() and disconnectNotify() are kept
for now, and they are still called. They will be removed once known
existing reimplementations (e.g., QtNetwork, QtDBus) have been
ported to the new API.

Change-Id: I8b4f007f3c6d89199c1ba04a3e23c8ca314e0896
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
2012-05-01 01:18:03 +02:00
..
cmake Simplify the cmake version check. 2012-04-29 14:05:39 +02:00
compilerwarnings/data Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
concurrent Remove insignification from QtConcurrentFilter test. 2012-04-19 13:26:51 +02:00
corelib Add QMetaMethod-based QObject::connect/disconnectNotify() API 2012-05-01 01:18:03 +02:00
dbus Finish cleaning up com.trolltech -> org.qtproject in QtDBus 2012-04-16 00:07:39 +02:00
gui Removed insignification from QBackingStore test 2012-04-30 11:37:36 +02:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
network Remove insignification from qsslsocket_onDemandCertificates_* tests 2012-04-30 01:08:09 +02:00
opengl Re-enable QGLThreads autotest on Mac OS X. 2012-04-19 13:26:51 +02:00
other Remove insignification of lancelot test on Mac OS X. 2012-04-30 03:29:52 +02:00
printsupport Re-enable QPrinterInfo test on Mac OS X. 2012-04-19 04:13:04 +02:00
shared Added some convenience API for platform input contexts 2012-04-01 20:13:51 +02:00
sql QSqlQueryModel::setQuery() don't use deprecated reset() 2012-04-23 19:20:19 +02:00
testlib Merge remote-tracking branch 'origin/master' into api_changes 2012-04-10 15:31:45 +02:00
tools Remove QMetaObjectExtraData and put everything into QMetaObject 2012-04-25 20:19:29 +02:00
widgets Remove insignficiation from qgraphicsscene test on Windows. 2012-04-30 03:29:52 +02:00
xml Merge remote-tracking branch 'origin/master' into api_changes 2012-04-16 12:04:34 +02:00
auto.pro Re-enable network tests on Mac OS. 2012-04-24 16:06:28 +02:00
network-settings.h Don't require exact IMAP server version in autotests 2012-04-03 12:45:46 +02:00
platformquirks.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
test.pl Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00