From ff555d89650f5cea72365e12fb2b71be9e25b89d Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Mon, 20 Jul 2020 12:19:50 +0200 Subject: 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 --- src/corelib/kernel/qvariant.cpp | 40 ---------------------------------------- 1 file changed, 40 deletions(-) (limited to 'src/corelib') 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 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 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 T qvariant_cast(const QVariant &value) \relates QVariant -- cgit v1.2.3