diff options
author | Ivan Solovev <[email protected]> | 2025-06-17 12:39:00 +0200 |
---|---|---|
committer | Ivan Solovev <[email protected]> | 2025-06-18 18:05:07 +0200 |
commit | c8fa1b736e975b89bd512bbf5c1d02bfcf1c046f (patch) | |
tree | f56559479d74a2e4aaf1c6975c155fb6f02715bc | |
parent | 2f12e0d1ebbe173ac2d9dd4f7bd4e02a2cce243e (diff) |
Document QDBusPendingCall move-assignment operator
It was added in Qt 5 times, so pick to all active Qt 6 branches.
Amends bc1804fa7247502b27a0501ec030e398a95bf367.
Pick-to: 6.10 6.9 6.8 6.5
Change-Id: I429b808c439bdc1013e4f53c60e1f55366602320
Reviewed-by: Marc Mutz <[email protected]>
-rw-r--r-- | src/dbus/qdbuspendingcall.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/dbus/qdbuspendingcall.cpp b/src/dbus/qdbuspendingcall.cpp index 225b05ed1e2..063ee4760b1 100644 --- a/src/dbus/qdbuspendingcall.cpp +++ b/src/dbus/qdbuspendingcall.cpp @@ -260,6 +260,18 @@ QDBusPendingCall::~QDBusPendingCall() /*! + \fn QDBusPendingCall &QDBusPendingCall::operator=(QDBusPendingCall &&other) + + Move-assigns \a other into this QDBusPendingCall. + +//! [partially-formed] + \note The moved-from object \a other is placed in a partially-formed state, + in which the only valid operations are destruction and assignment of a new + value. +//! [partially-formed] +*/ + +/*! Creates a copy of the \a other pending asynchronous call and drops the reference to the previously-referenced call. Note that both objects will refer to the same pending call after this function. |