From 5bf7e701e7f598287a460682ad4468a2460a9932 Mon Sep 17 00:00:00 2001 From: Luciano Wolf Date: Thu, 18 Feb 2010 17:26:37 -0300 Subject: Support QPoint(QPoint) constructor. Reviewed by Marcelo Lira --- PySide/QtCore/typesystem_core.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'PySide/QtCore') diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml index 5db287ae0..34c46a6d8 100644 --- a/PySide/QtCore/typesystem_core.xml +++ b/PySide/QtCore/typesystem_core.xml @@ -1207,6 +1207,12 @@ + + + %TYPE ptr = %CONVERTTOCPP[%TYPE](%PYARG_1); + cptr = new %TYPE(ptr.x(), ptr.y()); + + -- cgit v1.2.3