diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-09-01 20:58:41 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-09-02 15:07:59 -0300 |
commit | 8f4246a522aa02c9e1d7e44ab6a18d13075d53b9 (patch) | |
tree | 34e4551d31960708e3850ca03f8231211dd3fcd3 /PySide/QtGui/typesystem_gui_common.xml | |
parent | 94ce2814e9a3709ab7d60f3acee6576fe9476b1d (diff) |
Fix bug#125 - "QAbstractTextDocumentLayout.registerHandler apparently not working"
Added class QPyTextObject which inherits from QObject and QTextObjectInterface to
solve the issue with registerHandler, the same approach used by PyQt.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
Diffstat (limited to 'PySide/QtGui/typesystem_gui_common.xml')
-rw-r--r-- | PySide/QtGui/typesystem_gui_common.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/PySide/QtGui/typesystem_gui_common.xml b/PySide/QtGui/typesystem_gui_common.xml index 48bad7a7e..b21750987 100644 --- a/PySide/QtGui/typesystem_gui_common.xml +++ b/PySide/QtGui/typesystem_gui_common.xml @@ -1388,6 +1388,7 @@ <modify-argument index="1" invalidate-after-use="yes"/> </modify-function> </object-type> + <object-type name="QPyTextObject" /> <object-type name="QActionGroup"> <modify-function signature="addAction(QAction*)"> <modify-argument index="1"> @@ -2527,7 +2528,7 @@ <extra-includes> <include file-name="autoarraypointer.h" location="global"/> </extra-includes> - + <modify-argument index="2"> <remove-argument/> <conversion-rule class="native"> |