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 <szehowe.koh@gmail.com> Reviewed-by: Martin Smith <martin.smith@digia.com>
This commit is contained in:
parent
555a5ca61b
commit
7a988e4c0d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user