aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtCore/typesystem_core.xml
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-06-15 16:12:26 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:54:29 -0300
commitaf2972255d9977541b6cd40521ea9a387f24b452 (patch)
tree1c77ed3eefa519a0d7891a9cd6770d2dbb6b11c6 /PySide/QtCore/typesystem_core.xml
parentdf30f375124a1faea6a960e6adcd0d90fba08615 (diff)
Updated PySide type systems to use the new type system variables: %ISCONVERTIBLE and %CHECKTYPE.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araujo <renato.filho@openbossa.org>
Diffstat (limited to 'PySide/QtCore/typesystem_core.xml')
-rw-r--r--PySide/QtCore/typesystem_core.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml
index 6de9e4556..704306115 100644
--- a/PySide/QtCore/typesystem_core.xml
+++ b/PySide/QtCore/typesystem_core.xml
@@ -2118,7 +2118,7 @@
Shiboken::AutoDecRef fileNo(PyObject_GetAttrString(%PYARG_1, "fileno"));
if (!fileNo.isNull()) {
Shiboken::AutoDecRef fileNoValue(PyObject_CallObject(fileNo, 0));
- if (Shiboken::Converter&lt;int>::checkType(fileNoValue))
+ if (%CHECKTYPE[int](fileNoValue))
%0 = new %TYPE(%CONVERTTOCPP[int](fileNoValue), %2, %3);
}
</inject-code>