aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/pysideapi2.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/pysideapi2.rst b/doc/pysideapi2.rst
index 3aaee4536..c7c5ac583 100644
--- a/doc/pysideapi2.rst
+++ b/doc/pysideapi2.rst
@@ -93,3 +93,4 @@ QVariant
As QVariant was removed, any function expecting it can receive any Python object (None is an invalid QVariant). The same rule is valid when returning something: the returned QVariant will be converted to the its original Python object type.
+When a method expects a *QVariant::Type* the programmer can use a string (the type name) or the type itself.