summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/interfaceframework/doc/src/ifcodegen/generator-usage.qdoc2
-rw-r--r--src/interfaceframework/qifpendingreply.cpp8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/interfaceframework/doc/src/ifcodegen/generator-usage.qdoc b/src/interfaceframework/doc/src/ifcodegen/generator-usage.qdoc
index 45644c51..ff5d09cc 100644
--- a/src/interfaceframework/doc/src/ifcodegen/generator-usage.qdoc
+++ b/src/interfaceframework/doc/src/ifcodegen/generator-usage.qdoc
@@ -393,7 +393,7 @@
\target config_simulator_defaultServerMode
\code
config_simulator:
- defaultApplicationMode: "gui"
+ defaultServerMode: "gui"
\endcode
\li Accompanying YAML file
\li Module
diff --git a/src/interfaceframework/qifpendingreply.cpp b/src/interfaceframework/qifpendingreply.cpp
index a1b50432..90188acb 100644
--- a/src/interfaceframework/qifpendingreply.cpp
+++ b/src/interfaceframework/qifpendingreply.cpp
@@ -774,7 +774,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.
@@ -808,7 +808,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.
@@ -817,7 +817,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.
@@ -827,7 +827,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.