summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qvariant.cpp
diff options
context:
space:
mode:
authorSze Howe Koh <szehowe.koh@gmail.com>2014-02-15 11:54:53 +0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-25 16:36:34 +0100
commitb648195c314ab0b342e5883ba13efbdc7104fd9e (patch)
tree5bd23368d7e37abf28fccfc7eaa9d43fb3c40a0e /src/corelib/kernel/qvariant.cpp
parent6a7747f30cc853f07501770a8704fee215eea322 (diff)
Doc: Replace obsolete types with their newer counterparts
This patch ignores: - Docs for obsolete types themselves - Comparisons between new and obsolete types Change-Id: Id9b1e628255113e7c44520abe0f8a4e0db4a283d Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'src/corelib/kernel/qvariant.cpp')
-rw-r--r--src/corelib/kernel/qvariant.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/corelib/kernel/qvariant.cpp b/src/corelib/kernel/qvariant.cpp
index f7540dc20f..5e8f330a92 100644
--- a/src/corelib/kernel/qvariant.cpp
+++ b/src/corelib/kernel/qvariant.cpp
@@ -1165,7 +1165,7 @@ Q_CORE_EXPORT void QVariantPrivate::registerHandler(const int /* Modules::Names
instead to construct variants from the pointer types represented by
\c QMetaType::VoidStar, and \c QMetaType::QObjectStar.
- \sa QVariant::fromValue(), Type
+ \sa QVariant::fromValue(), QMetaType::Type
*/
/*!
@@ -1765,7 +1765,7 @@ const char *QVariant::typeName() const
}
/*!
- Convert this variant to type Invalid and free up any resources
+ Convert this variant to type QMetaType::UnknownType and free up any resources
used.
*/
void QVariant::clear()
@@ -1781,7 +1781,7 @@ void QVariant::clear()
Converts the int representation of the storage type, \a typeId, to
its string representation.
- Returns a null pointer if the type is QVariant::Invalid or doesn't exist.
+ Returns a null pointer if the type is QMetaType::UnknownType or doesn't exist.
*/
const char *QVariant::typeToName(int typeId)
{
@@ -2019,7 +2019,7 @@ QDataStream& operator<<(QDataStream &s, const QVariant::Type p)
\fn bool QVariant::isValid() const
Returns \c true if the storage type of this variant is not
- QVariant::Invalid; otherwise returns \c false.
+ QMetaType::UnknownType; otherwise returns \c false.
*/
template <typename T>