Mark the enumerator QVariant::Type as obsolete.
In most cases, QMetaType::Type should be used (contains more entries) and in APIs an int should be used to allow for user-extended metatypes. Change-Id: Iaa768f6d510686da36c61b8aaf5de3ac53a6f463 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
f6b30722fa
commit
b465f859a2
@ -980,6 +980,7 @@ Q_CORE_EXPORT void QVariantPrivate::unregisterHandler(const int /* Modules::Name
|
||||
*/
|
||||
|
||||
/*!
|
||||
\obsolete Use QMetaType::Type instead
|
||||
\enum QVariant::Type
|
||||
|
||||
This enum type defines the types of variable that a QVariant can
|
||||
|
Loading…
x
Reference in New Issue
Block a user