diff --git a/src/corelib/thread/qthreadstorage.cpp b/src/corelib/thread/qthreadstorage.cpp index 2f77a9ce264..c0b523a4313 100644 --- a/src/corelib/thread/qthreadstorage.cpp +++ b/src/corelib/thread/qthreadstorage.cpp @@ -260,13 +260,13 @@ void QThreadStorageData::finish(void **p) */ /*! - \fn QThreadStorage::QThreadStorage() + \fn template QThreadStorage::QThreadStorage() Constructs a new per-thread data storage object. */ /*! - \fn QThreadStorage::~QThreadStorage() + \fn template QThreadStorage::~QThreadStorage() Destroys the per-thread data storage object. @@ -278,7 +278,7 @@ void QThreadStorageData::finish(void **p) */ /*! - \fn bool QThreadStorage::hasLocalData() const + \fn template bool QThreadStorage::hasLocalData() const If T is a pointer type, returns \c true if the calling thread has non-zero data available. @@ -290,7 +290,7 @@ void QThreadStorageData::finish(void **p) */ /*! - \fn T &QThreadStorage::localData() + \fn template T &QThreadStorage::localData() Returns a reference to the data that was set by the calling thread. @@ -302,7 +302,7 @@ void QThreadStorageData::finish(void **p) */ /*! - \fn const T QThreadStorage::localData() const + \fn template const T QThreadStorage::localData() const \overload Returns a copy of the data that was set by the calling thread. @@ -311,7 +311,7 @@ void QThreadStorageData::finish(void **p) */ /*! - \fn void QThreadStorage::setLocalData(T data) + \fn template void QThreadStorage::setLocalData(T data) Sets the local data for the calling thread to \a data. It can be accessed later using the localData() functions.