diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-10-20 21:04:23 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-10-21 07:31:26 +0200 |
commit | 58060e7b6b7c22a9171ca73aec2d4914ce309c56 (patch) | |
tree | af6a48ae4fbdc763d859f60a805388dbf441612a /src/dbus/qdbuspendingcall.cpp | |
parent | b6cd3bca280bd81e932ff51a3ec2b9fc70231646 (diff) |
Fix qdoc warnings in QtDBus
And remove the limitation to 8 types from the documentation.
Change-Id: I92c67368e53d69fd851886c621f3f894f638bae9
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/dbus/qdbuspendingcall.cpp')
-rw-r--r-- | src/dbus/qdbuspendingcall.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/dbus/qdbuspendingcall.cpp b/src/dbus/qdbuspendingcall.cpp index 34f5f9fac3..74aa1629fa 100644 --- a/src/dbus/qdbuspendingcall.cpp +++ b/src/dbus/qdbuspendingcall.cpp @@ -308,8 +308,9 @@ QDBusPendingCall &QDBusPendingCall::operator=(const QDBusPendingCall &other) \sa QDBusPendingReply::isFinished() */ + /*! - \fn template <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8> bool QDBusPendingReply<T1, T2, T3, T4, T5, T6, T7, T8>::isFinished() const + \fn template <typename... Types> bool QDBusPendingReply<Types...>::isFinished() const Returns \c true if the pending call has finished processing and the reply has been received. If this function returns \c true, the @@ -338,7 +339,7 @@ void QDBusPendingCall::waitForFinished() } /*! - \fn template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8> bool QDBusPendingReply<T1, T2, T3, T4, T5, T6, T7, T8>::isValid() const + \fn template <typename... Types> bool QDBusPendingReply<Types...>::isValid() const Returns \c true if the reply contains a normal reply message, false if it contains anything else. @@ -355,7 +356,7 @@ bool QDBusPendingCall::isValid() const } /*! - \fn template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8> bool QDBusPendingReply<T1, T2, T3, T4, T5, T6, T7, T8>::isError() const + \fn template <typename... Types> bool QDBusPendingReply<Types...>::isError() const Returns \c true if the reply contains an error message, false if it contains a normal method reply. @@ -372,7 +373,7 @@ bool QDBusPendingCall::isError() const } /*! - \fn template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8> QDBusError QDBusPendingReply<T1, T2, T3, T4, T5, T6, T7, T8>::error() const + \fn template <typename... Types> QDBusError QDBusPendingReply<Types...>::error() const Retrieves the error content of the reply message, if it has finished processing. If the reply message has not finished @@ -393,7 +394,7 @@ QDBusError QDBusPendingCall::error() const } /*! - \fn template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8> QDBusMessage QDBusPendingReply<T1, T2, T3, T4, T5, T6, T7, T8>::reply() const + \fn template <typename... Types> QDBusMessage QDBusPendingReply<Types...>::reply() const Retrieves the reply message received for the asynchronous call that was sent, if it has finished processing. If the pending call @@ -443,7 +444,7 @@ bool QDBusPendingCall::setReplyCallback(QObject *target, const char *member) \since 4.6 Creates a QDBusPendingCall object based on the error condition \a error. The resulting pending call object will be in the - "finished" state and QDBusPendingReply<T1, T2, T3, T4, T5, T6, T7, T8>::isError() will return true. + "finished" state and QDBusPendingReply<Types...>::isError() will return true. \sa fromCompletedCall() */ |