diff options
-rw-r--r-- | src/interfaceframework/qifpendingreply.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/interfaceframework/qifpendingreply.cpp b/src/interfaceframework/qifpendingreply.cpp index f101ab75..e68649ec 100644 --- a/src/interfaceframework/qifpendingreply.cpp +++ b/src/interfaceframework/qifpendingreply.cpp @@ -776,7 +776,7 @@ void QIfPendingReplyBase::setSuccessNoCheck(const QVariant &value) */ /*! - \fn template <class T> QIfPendingReply<T>::createFailedReply() + \fn template <class T> QIfPendingReply<T> QIfPendingReply<T>::createFailedReply() Creates a reply object which is marked as failed. This is convenient in error cases inside functions returning a reply e.g. @@ -810,7 +810,7 @@ void QIfPendingReplyBase::setSuccessNoCheck(const QVariant &value) */ /*! - \fn template <class T> QIfPendingReply<T>::reply() const + \fn template <class T> T QIfPendingReply<T>::reply() const Returns the result of the reply. If no result has been set yet or when the reply is marked as failed, a default constructed value is returned. @@ -819,7 +819,7 @@ void QIfPendingReplyBase::setSuccessNoCheck(const QVariant &value) */ /*! - \fn template <class T> QIfPendingReply<T>::setSuccess(const T &val) + \fn template <class T> void QIfPendingReply<T>::setSuccess(const T &val) Sets the result of the reply to \a val and marks the reply as succeeded. @@ -829,7 +829,7 @@ void QIfPendingReplyBase::setSuccessNoCheck(const QVariant &value) */ /*! - \fn template <class T> QIfPendingReply<T>::then(const std::function<void (const T &)> &success, const std::function<void ()> &failed) + \fn template <class T> void QIfPendingReply<T>::then(const std::function<void (const T &)> &success, const std::function<void ()> &failed) Sets the C++ callbacks to be called once a result is delivered. If the reply succeeds \a success is called; otherwise \a failed is called. |