summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2020-07-20 12:19:50 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2020-08-14 09:59:11 +0200
commitff555d89650f5cea72365e12fb2b71be9e25b89d (patch)
treeb04a8d517477d8bd8d81cda7e6a0a0dce0a29c7d /src/corelib
parent67ba2a5db89fb1964de00e91c3144ffecf0b72fe (diff)
QVariant: remove docs for non-existent deprecated methods
This follows up on commit 3898c022a647b1c742042e586963e193da546c1e which removed the code but not the methods themselves. Change-Id: Ia2311921365fdc5fee1104dd3162d6f26e5bb091 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/kernel/qvariant.cpp40
1 files changed, 0 insertions, 40 deletions
diff --git a/src/corelib/kernel/qvariant.cpp b/src/corelib/kernel/qvariant.cpp
index d9fafca0b7..f8970212f0 100644
--- a/src/corelib/kernel/qvariant.cpp
+++ b/src/corelib/kernel/qvariant.cpp
@@ -4113,46 +4113,6 @@ QDebug operator<<(QDebug dbg, const QVariant::Type p)
\sa fromValue()
*/
-#if QT_DEPRECATED_SINCE(5, 14)
-/*!
- \fn template<typename T> QVariant qVariantFromValue(const T &value)
- \relates QVariant
- \obsolete
-
- Returns a variant containing a copy of the given \a value
- with template type \c{T}.
-
- This function is equivalent to QVariant::fromValue(\a value).
-
- \note This function was provided as a workaround for MSVC 6
- which did not support member template functions. It is advised
- to use the other form in new code.
-
- For example, a QObject pointer can be stored in a variant with the
- following code:
-
- \snippet code/src_corelib_kernel_qvariant.cpp 8
-
- \sa QVariant::fromValue()
-*/
-
-/*! \fn template<typename T> void qVariantSetValue(QVariant &variant, const T &value)
- \relates QVariant
- \obsolete
-
- Sets the contents of the given \a variant to a copy of the
- \a value with the specified template type \c{T}.
-
- This function is equivalent to QVariant::setValue(\a value).
-
- \note This function was provided as a workaround for MSVC 6
- which did not support member template functions. It is advised
- to use the other form in new code.
-
- \sa QVariant::setValue()
-*/
-#endif
-
/*!
\fn template<typename T> T qvariant_cast(const QVariant &value)
\relates QVariant