projects
/
profile
/
ivi
/
qtbase.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6b3072
)
Mark the enumerator QVariant::Type as obsolete.
author
Stephen Kelly
<stephen.kelly@kdab.com>
Wed, 25 Jan 2012 09:22:05 +0000
(10:22 +0100)
committer
Qt by Nokia
<qt-info@nokia.com>
Wed, 25 Jan 2012 14:05:40 +0000
(15:05 +0100)
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>
src/corelib/kernel/qvariant.cpp
patch
|
blob
|
history
diff --git
a/src/corelib/kernel/qvariant.cpp
b/src/corelib/kernel/qvariant.cpp
index
de8a87e
..
e0d1114
100644
(file)
--- a/
src/corelib/kernel/qvariant.cpp
+++ b/
src/corelib/kernel/qvariant.cpp
@@
-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