path: root/src/corelib/kernel
diff options
authorVenu <>2013-04-02 14:37:05 +0200
committerThe Qt Project <>2013-04-03 13:16:39 +0200
commit7a988e4c0d1d288b0a4793a9fea6a5e6912e9584 (patch)
treea2db635409a1192b26e41d7f1c3f66d63a319ece /src/corelib/kernel
parent555a5ca61b9288108a6366552d4d263f1571104b (diff)
Doc: Replaced canConvert() with canConvert(Int)
This change amends my earlier change to make the function reference relevant to the example being discussed. Task-number: QTBUG-28204 Change-Id: I841a561ba117f83a96b8b4a3661cea2a7a3e47da Reviewed-by: Sze Howe Koh <> Reviewed-by: Martin Smith <>
Diffstat (limited to 'src/corelib/kernel')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qvariant.cpp b/src/corelib/kernel/qvariant.cpp
index 7b80e5c1da..bae4a837a0 100644
--- a/src/corelib/kernel/qvariant.cpp
+++ b/src/corelib/kernel/qvariant.cpp
@@ -971,7 +971,7 @@ Q_CORE_EXPORT void QVariantPrivate::registerHandler(const int /* Modules::Names
QVariant to convert between types given suitable data; it is still
possible to supply data which cannot actually be converted.
- For example, canConvert(int) would return true when called on a variant
+ For example, canConvert(Int) would return true when called on a variant
containing a string because, in principle, QVariant is able to convert
strings of numbers to integers.
However, if the string contains non-numeric characters, it cannot be