qt5base-lts/tests/auto
Olivier Goffart ed0b262de9 QObject::disconnect with new syntax
This add an overload to disconnect which is symetrical to the new
syntax of connect.

It is possible to diconnect connection like this:

QObject::connect( sender, &Sender::valueChanged,
                  receiver, &Receiver::updateValue );
QObject::disconnect( sender, &Sender::valueChanged,
                     receiver, &Receiver::updateValue );

This overload only work with pointer to member function, and not static
functions or functors.

The test is copied from tst_QObject::disconnect(), just
changed the syntax of the connection and disconnection

Change-Id: Ia8f819100cb12098e32877522b97b732b1e676a8
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
2011-11-29 17:08:39 +01:00
..
bic Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
compilerwarnings/data Remove uilib and QtUiTools from QtBase 2011-09-13 20:11:40 +02:00
corelib QObject::disconnect with new syntax 2011-11-29 17:08:39 +01:00
dbus Fix stack overwrite in QDBusDemarshaller 2011-11-23 19:14:12 +01:00
gui Temporarily disable Windows-specific QPrinter autotest. 2011-11-29 12:27:49 +01:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
integrationtests Fixed Qtbase OSX specific namespace compilation. 2011-11-29 03:44:58 +01:00
network Make the default ssloptions testable. 2011-11-29 14:00:01 +01:00
opengl Moved tests into gui/kernel/ and gui/qopengl/ 2011-11-04 20:48:19 +01:00
other Don't depend on moc to disable test functions. 2011-11-18 01:51:57 +01:00
sql SQLite support only one statement at a time 2011-11-23 08:36:14 +01:00
testlib Make usage of internal QVariant space. 2011-11-09 10:11:34 +01:00
tools Add support to moc for registering non-local enums via Q_ENUMS. 2011-11-27 22:51:39 +01:00
v8 qtbase tests: Fix some warnings 2011-11-21 09:58:23 +01:00
widgets Correct usage of network-settings.h. 2011-11-28 08:13:41 +01:00
xml all remaining tests: eliminated usage of qttest_p4.prf 2011-10-25 08:42:23 +02:00
auto.pro Re-enable the opengl autotests on Mac OS X 2011-11-21 14:24:36 +01:00
network-settings.h Fix sanity check of network test server 2011-11-28 08:13:41 +01:00
platformquirks.h Remove unused PlatformQuirks functions. 2011-11-05 02:31:07 +01:00
test.pl Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00