summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbusabstractinterface.cpp
diff options
context:
space:
mode:
authorIevgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io>2023-12-07 14:50:30 +0100
committerIevgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io>2023-12-07 22:56:30 +0100
commitc4d598b35bd11c1c0eca57771e68f399aeed57d2 (patch)
tree11d42c46703964be8eba9a64ee8ab209e273cb5e /src/dbus/qdbusabstractinterface.cpp
parent9bbfdd6844f986de861336c0a5e3c43dbc8d1898 (diff)
QDBus: Document that calls to local objects are never asynchronous
This is a limitation of current implementation. Task-number: QTBUG-92107 Change-Id: Idb1543f432348e66ca20aa67a2498034c2f05fa6 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/dbus/qdbusabstractinterface.cpp')
-rw-r--r--src/dbus/qdbusabstractinterface.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/dbus/qdbusabstractinterface.cpp b/src/dbus/qdbusabstractinterface.cpp
index 423aca7b82..f0a5032d5c 100644
--- a/src/dbus/qdbusabstractinterface.cpp
+++ b/src/dbus/qdbusabstractinterface.cpp
@@ -500,6 +500,9 @@ QDBusMessage QDBusAbstractInterface::callWithArgumentList(QDBus::CallMode mode,
Normally, you should place calls using asyncCall().
+ \note Method calls to objects registered by the application itself are never
+ asynchronous due to implementation limitations.
+
\threadsafe
*/
QDBusPendingCall QDBusAbstractInterface::asyncCallWithArgumentList(const QString& method,
@@ -536,6 +539,9 @@ QDBusPendingCall QDBusAbstractInterface::asyncCallWithArgumentList(const QString
parameter as its last or only parameter. The \a errorMethod must
have a QDBusError as its only parameter.
+ \note Method calls to objects registered by the application itself are never
+ asynchronous due to implementation limitations.
+
\since 4.3
\sa QDBusError, QDBusMessage
*/
@@ -763,6 +769,9 @@ void QDBusAbstractInterface::internalPropSet(const char *propname, const QVarian
\note Before Qt 5.14, this function accepted a maximum of just eight (8) arguments.
+ \note Method calls to local \c{QDBusServer}'s are never asynchronous
+ due to implementation limitations.
+
\sa asyncCallWithArgumentList()
*/