qt5base-lts/tests/auto/corelib
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
..
animation Fix deadlock in QPropertyAnimation 2012-03-07 12:48:49 +01:00
codecs Wrap all Latin 1 strings with QString::fromLatin1 or QLatin1Strings 2012-04-27 22:52:01 +02:00
global Merge master into api_changes 2012-03-27 19:22:48 +02:00
io Wrap all Latin 1 strings with QString::fromLatin1 or QLatin1Strings 2012-04-27 22:52:01 +02:00
itemmodels Remove insignification from qabstractitemmodel test on Mac OS X. 2012-04-24 19:36:55 +02:00
json Don't crash when comparing values containing empty arrays/objects 2012-04-11 16:09:06 +02:00
kernel Add QMetaMethod-based QObject::connect/disconnectNotify() API 2012-05-01 01:18:03 +02:00
mimetypes Make comment() work in the C locale too. 2012-03-22 13:29:50 +01:00
plugin Remove insignification from QPluginLoader and QFactoryLoader tests. 2012-04-17 16:28:46 +02:00
statemachine Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
thread Add a remainingTime() method to the public interface of the QTimer class 2012-04-03 15:10:05 +02:00
tools Re-enable casting to and from "ASCII" on tst_qstring.cpp 2012-04-28 01:16:20 +02:00
xml Convert these files to ASCII or UTF-8 2012-04-27 22:52:01 +02:00
corelib.pro Import QMimeType / QMimeDatabase into QtCore. 2012-02-18 22:19:43 +01:00