From a69675a9f99cafb6661d20854b9d815c075a49cb Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Mon, 11 Sep 2017 13:45:45 +0200 Subject: [PATCH] Add template text to \fn commands for QGlobalStatic The \fn commands were not recognized by clang-qdoc because the template stuff was missing from the \fn commands. This update adds the correct template text and parameters. Change-Id: I920d9cc4bef710f276267a34b6b9d49f7412adb0 Reviewed-by: Martin Smith --- src/corelib/global/qglobalstatic.qdoc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/corelib/global/qglobalstatic.qdoc b/src/corelib/global/qglobalstatic.qdoc index 8c34739d38..63cc968d1c 100644 --- a/src/corelib/global/qglobalstatic.qdoc +++ b/src/corelib/global/qglobalstatic.qdoc @@ -368,7 +368,7 @@ */ /*! - \fn bool QGlobalStatic::isDestroyed() const + \fn template bool QGlobalStatic::isDestroyed() const This function returns \c true if the global static object has already completed destruction (that is, if the destructor for the type has already @@ -398,7 +398,7 @@ */ /*! - \fn bool QGlobalStatic::exists() const + \fn template bool QGlobalStatic::exists() const This function returns \c true if the global static object has already completed initialization (that is, if the constructor for the type has @@ -447,7 +447,7 @@ */ /*! - \fn QGlobalStatic::operator Type*() + \fn template QGlobalStatic::operator Type*() This function returns the address of the contents of this global static. If the contents have not yet been created, they will be created thread-safely @@ -480,7 +480,7 @@ */ /*! - \fn Type *QGlobalStatic::operator()() + \fn template Type *QGlobalStatic::operator()() \deprecated This function returns the address of the contents of this global static. If @@ -495,7 +495,7 @@ */ /*! - \fn Type *QGlobalStatic::operator->() + \fn template Type *QGlobalStatic::operator->() This function returns the address of the contents of this global static. If the contents have not yet been created, they will be created thread-safely @@ -508,7 +508,7 @@ */ /*! - \fn Type &QGlobalStatic::operator*() + \fn template Type &QGlobalStatic::operator*() This function returns a reference to the contents of this global static. If the contents have not yet been created, they will be created thread-safely