diff options
Diffstat (limited to 'src/dbus/qdbuspendingcall.cpp')
-rw-r--r-- | src/dbus/qdbuspendingcall.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/dbus/qdbuspendingcall.cpp b/src/dbus/qdbuspendingcall.cpp index 225b05ed1e2..cd222c9ffa5 100644 --- a/src/dbus/qdbuspendingcall.cpp +++ b/src/dbus/qdbuspendingcall.cpp @@ -227,6 +227,15 @@ void QDBusPendingCallPrivate::waitForFinishedWithGui() } /*! + \fn QDBusPendingCall::QDBusPendingCall(QDBusPendingCall &&other) + \since 6.11 + + Moves \a other into this object. + + \include qdbuspendingcall.cpp partially-formed +*/ + +/*! Creates a copy of the \a other pending asynchronous call. Note that both objects will refer to the same pending call. */ @@ -258,6 +267,19 @@ QDBusPendingCall::~QDBusPendingCall() // d deleted by QExplicitlySharedDataPointer } +QT_DEFINE_QESDP_SPECIALIZATION_DTOR(QDBusPendingCallPrivate) + +/*! + \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 |