diff options
author | Venu <venugopal.shivashankar@digia.com> | 2013-03-26 14:56:37 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-29 07:36:48 +0100 |
commit | edcfbebe98bf81f13f5edc2e1c2df15594e801b4 (patch) | |
tree | a7fc89d2f893ddfad1b59b15ae0cef65d5474e41 /src/corelib | |
parent | 5a5a09289fdc326be2e185e4d63dc243ce466e6c (diff) |
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>
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/kernel/qvariant.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qvariant.cpp b/src/corelib/kernel/qvariant.cpp index c1bb460e7b..7b80e5c1da 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() 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 |