summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qshareddata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/tools/qshareddata.cpp')
-rw-r--r--src/corelib/tools/qshareddata.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/corelib/tools/qshareddata.cpp b/src/corelib/tools/qshareddata.cpp
index 2748f9d95f..187bfa7a5d 100644
--- a/src/corelib/tools/qshareddata.cpp
+++ b/src/corelib/tools/qshareddata.cpp
@@ -285,11 +285,23 @@ QT_BEGIN_NAMESPACE
\sa constData()
*/
+/*! \fn template <class T> T* QSharedDataPointer<T>::get()
+ \since 6.0
+
+ Same as data(). This function is provided for STL compatibility.
+*/
+
/*! \fn template <class T> const T* QSharedDataPointer<T>::data() const
Returns a pointer to the shared data object.
This function does \e not call detach().
*/
+/*! \fn template <class T> const T* QSharedDataPointer<T>::get() const
+ \since 6.0
+
+ Same as data(). This function is provided for STL compatibility.
+*/
+
/*! \fn template <class T> const T* QSharedDataPointer<T>::constData() const
Returns a const pointer to the shared data object.
This function does \e not call detach().
@@ -457,6 +469,12 @@ QT_BEGIN_NAMESPACE
Returns a pointer to the shared data object.
*/
+/*! \fn template <class T> T* QExplicitlySharedDataPointer<T>::get() const
+ \since 6.0
+
+ Same as data(). This function is provided for STL compatibility.
+*/
+
/*! \fn template <class T> const T* QExplicitlySharedDataPointer<T>::constData() const
Returns a const pointer to the shared data object.