diff options
author | Ivan Solovev <[email protected]> | 2025-06-16 17:53:45 +0200 |
---|---|---|
committer | Ivan Solovev <[email protected]> | 2025-06-18 18:05:07 +0200 |
commit | a8d91092193d3c62a0a9ced86f6805cbf37a2746 (patch) | |
tree | ab50b77fdff0b810659a84c818e29d1c424a6728 | |
parent | 41bbe3cbf091406cdd8f8ac4fcb1d0e19b7b4548 (diff) |
Document QDBusMessage move-assignment operator
It was added in 15a50356713079804d0a7c97fa0ae4c27dd44d41, back in
Qt 5 times, so pick into all active branches.
Pick-to: 6.10 6.9 6.8 6.5
Change-Id: I46b17e50cc0b68d0b29a8a0660052599d0926c7d
Reviewed-by: Marc Mutz <[email protected]>
-rw-r--r-- | src/dbus/qdbusmessage.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/dbus/qdbusmessage.cpp b/src/dbus/qdbusmessage.cpp index 9f91d4ed4e1..24a80528f65 100644 --- a/src/dbus/qdbusmessage.cpp +++ b/src/dbus/qdbusmessage.cpp @@ -542,6 +542,18 @@ QDBusMessage::~QDBusMessage() } /*! + \fn QDBusMessage &QDBusMessage::operator=(QDBusMessage &&other) + + Move-assigns \a other into this object. + +//! [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] +*/ + +/*! Copies the contents of the object given by \a other. Note: QDBusMessage objects are shared. Modifications made to the |