diff options
author | Renato Filho <renato.filho@openbossa.org> | 2011-10-06 11:38:31 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:56:11 -0300 |
commit | d9dd3192326d6d36a4123ba3cebfe5d196476fe5 (patch) | |
tree | 08e2338fdcd7ed8821f73444e78cf1f135f9be35 /PySide | |
parent | edaefbce481634b2f9d5a6e28c2e73db7f958602 (diff) |
Updated QtGui modue to works with python 2.x and 3.x
Diffstat (limited to 'PySide')
-rw-r--r-- | PySide/QtGui/typesystem_gui_common.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/PySide/QtGui/typesystem_gui_common.xml b/PySide/QtGui/typesystem_gui_common.xml index 5067812ae..7fbfb7ef1 100644 --- a/PySide/QtGui/typesystem_gui_common.xml +++ b/PySide/QtGui/typesystem_gui_common.xml @@ -1462,7 +1462,7 @@ <modify-function signature="boundingRect(QChar)const" rename="boundingRectChar"> <modify-argument index="1"> - <replace-type modified-type="PyBytes"/> + <replace-type modified-type="char"/> </modify-argument> <inject-code class="target" position="beginning"> <insert-template name="QFontCharFix"/> @@ -1471,7 +1471,7 @@ <modify-function signature="width(QChar)const" rename="widthChar"> <modify-argument index="1"> - <replace-type modified-type="PyBytes"/> + <replace-type modified-type="char"/> </modify-argument> <inject-code class="target" position="beginning"> <insert-template name="QFontCharFix"/> @@ -1538,7 +1538,7 @@ <modify-function signature="boundingRect(QChar)const" rename="boundingRectChar"> <modify-argument index="1"> - <replace-type modified-type="PyBytes"/> + <replace-type modified-type="char"/> </modify-argument> <inject-code class="target" position="beginning"> <insert-template name="QFontCharFix"/> @@ -1547,7 +1547,7 @@ <modify-function signature="width(QChar)const" rename="widthChar"> <modify-argument index="1"> - <replace-type modified-type="PyBytes"/> + <replace-type modified-type="char"/> </modify-argument> <inject-code class="target" position="beginning"> <insert-template name="QFontCharFix"/> |