Doc: Replaced canConvert() with canConvert(int)

This change makes the function reference more
relevant to the example being discussed.

Task-number: QTBUG-28204

Change-Id: I50bea45f1e11d7e1eef4bc6726ebb329151fbc3d
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
This commit is contained in:
Venu 2013-03-26 14:56:37 +01:00 committed by The Qt Project
parent 5a5a09289f
commit edcfbebe98

View File

@ -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() 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