summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbuspendingreply.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbus/qdbuspendingreply.cpp')
-rw-r--r--src/dbus/qdbuspendingreply.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/dbus/qdbuspendingreply.cpp b/src/dbus/qdbuspendingreply.cpp
index 7bb23aa3e36..c6523d915fd 100644
--- a/src/dbus/qdbuspendingreply.cpp
+++ b/src/dbus/qdbuspendingreply.cpp
@@ -1,6 +1,7 @@
// Copyright (C) 2016 The Qt Company Ltd.
// Copyright (C) 2016 Intel Corporation.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#include "qdbuspendingreply.h"
#include "qdbuspendingcall_p.h"
@@ -75,6 +76,13 @@
*/
/*!
+ \fn template<typename... Types> QDBusPendingReply<Types...>::QDBusPendingReply(QDBusPendingReply &&other)
+ \since 6.10
+
+ Moves-constructs a new QDBusPendingReply from \a other.
+*/
+
+/*!
\fn template<typename... Types> QDBusPendingReply<Types...>::QDBusPendingReply(const QDBusPendingCall &call)
Creates a QDBusPendingReply object that will take its contents from
@@ -103,6 +111,17 @@
*/
/*!
+ \fn template<typename... Types> QDBusPendingReply &QDBusPendingReply<Types...>::operator=(QDBusPendingReply &&other)
+ \since 6.10
+
+ Move-assigns \a other to this QDBusPendingReply instance and drops
+ the reference to the current pending call. If the current reference
+ is to an unfinished pending call and this is the last reference, the
+ pending call will be canceled and there will be no way of retrieving
+ the reply's contents, when they arrive.
+*/
+
+/*!
\fn template<typename... Types> QDBusPendingReply &QDBusPendingReply<Types...>::operator=(const QDBusPendingCall &call)
Makes this object take its contents from the \a call pending call