qt6-bb10/src/dbus
Thiago Macieira 6f275a4beb Make sure QDBusConnection::connect() returns false if already connected
QDBusConnection::connect() behaves like QObject::connect with a
connection type of Qt::UniqueConnection | Qt::QueuedConnection. So
return false if it's already connected.

[ChangeLog][QtDBus][QDBusConnection] Fixed a bug that would cause
QDBusConnection::connect() to return true if a slot was already
connected to the same D-Bus signal. QtDBus does not support multiple
connections.

Change-Id: I87e17314d8b24ae983b1fffd1453aef5a7c9ad0b
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2016-08-09 02:41:22 +00:00
..
doc Merge remote-tracking branch 'origin/5.6' into 5.7 2016-05-19 12:55:27 +02:00
Qt5DBusConfigExtras.cmake.in Check that files we expect to find actually exist when using a cmake package. 2013-05-20 15:20:26 +02:00
Qt5DBusMacros.cmake Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
dbus.pro Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
dbus_minimal_p.h Merge remote-tracking branch 'origin/5.6' into 5.7 2016-04-29 17:55:20 +02:00
qdbus_symbols.cpp Merge remote-tracking branch 'origin/5.6' into 5.7 2016-05-06 15:36:44 +02:00
qdbus_symbols_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusabstractadaptor.cpp Add Intel copyright to files that Intel has had non-trivial contribution 2016-01-21 22:44:21 +00:00
qdbusabstractadaptor.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusabstractadaptor_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusabstractinterface.cpp Updated license headers 2016-01-21 18:55:18 +00:00
qdbusabstractinterface.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusabstractinterface_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusargument.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qdbusargument.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusargument_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusconnection.cpp Windows: stop using _beginthreadex on regular builds 2016-06-02 22:16:47 +00:00
qdbusconnection.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusconnection_p.h Make sure QDBusConnection::connect() returns false if already connected 2016-08-09 02:41:22 +00:00
qdbusconnectioninterface.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qdbusconnectioninterface.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusconnectionmanager_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbuscontext.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qdbuscontext.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbuscontext_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusdemarshaller.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qdbuserror.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qdbuserror.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusextratypes.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qdbusextratypes.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusintegrator.cpp Make sure QDBusConnection::connect() returns false if already connected 2016-08-09 02:41:22 +00:00
qdbusintegrator_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusinterface.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qdbusinterface.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusinterface_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusinternalfilters.cpp Add Intel copyright to files that Intel has had non-trivial contribution 2016-01-21 22:44:21 +00:00
qdbusintrospection.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qdbusintrospection_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusmarshaller.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qdbusmessage.cpp Add Intel copyright to files that Intel has had non-trivial contribution 2016-01-21 22:44:21 +00:00
qdbusmessage.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusmessage_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusmetaobject.cpp Add Intel copyright to files that Intel has had non-trivial contribution 2016-01-21 22:44:21 +00:00
qdbusmetaobject_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusmetatype.cpp QDBusArgument: deprecate relying on a streamable Base to stream a Derived 2016-05-15 10:00:19 +00:00
qdbusmetatype.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusmetatype_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusmisc.cpp qDBusInterfaceFromMetaObject: avoid quadratic complexity. 2016-04-29 15:44:30 +00:00
qdbuspendingcall.cpp Updated license headers 2016-01-21 18:55:18 +00:00
qdbuspendingcall.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbuspendingcall_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbuspendingreply.cpp Add Intel copyright to files that Intel has had non-trivial contribution 2016-01-21 22:44:21 +00:00
qdbuspendingreply.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusreply.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qdbusreply.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusserver.cpp Updated license headers 2016-01-21 18:55:18 +00:00
qdbusserver.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusservicewatcher.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qdbusservicewatcher.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusthreaddebug_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusunixfiledescriptor.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qdbusunixfiledescriptor.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusutil.cpp DBus: use QStringRef to optimize memory allocation 2016-04-28 16:47:54 +00:00
qdbusutil_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qdbusvirtualobject.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qdbusvirtualobject.h Cleanup QDBusVirtualObjectPrivate 2016-08-04 08:47:40 +00:00
qdbusxmlgenerator.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qdbusxmlparser.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qdbusxmlparser_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qtdbusglobal.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00
qtdbusglobal_p.h Add qtdbusglobal.h and qtdbusglobal_p.h 2016-07-14 06:06:43 +00:00