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>
This commit is contained in:
Edward Welbourne 2020-07-20 12:19:50 +02:00
parent 67ba2a5db8
commit ff555d8965

View File

@ -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