summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2011-07-14 15:23:47 -0300
committerRenato Filho <renato.filho@openbossa.org>2011-07-14 17:21:34 -0300
commit28592411f4c2aac67e5af7436557ec5c483bf3cf (patch)
tree930396b38b8e2c41c69ded952a4e0be0dd702213
parent50e4abe0c2bd193ed9d1452e00a3a615a4576e38 (diff)
downloadpyside-28592411f4c2aac67e5af7436557ec5c483bf3cf.tar.gz
pyside-28592411f4c2aac67e5af7436557ec5c483bf3cf.tar.xz
pyside-28592411f4c2aac67e5af7436557ec5c483bf3cf.zip
Fix argument name on QStyle functions, and modify default value.
Fixes bug #919. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
-rw-r--r--PySide/QtGui/typesystem_gui_common.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/PySide/QtGui/typesystem_gui_common.xml b/PySide/QtGui/typesystem_gui_common.xml
index 791759f..66fe96b 100644
--- a/PySide/QtGui/typesystem_gui_common.xml
+++ b/PySide/QtGui/typesystem_gui_common.xml
@@ -2934,12 +2934,30 @@
<modify-function signature="layoutSpacingImplementation(QSizePolicy::ControlType, QSizePolicy::ControlType, Qt::Orientation, const QStyleOption *, const QWidget *) const" virtual-slot="yes"/>
<modify-function signature="drawComplexControl(QStyle::ComplexControl,const QStyleOptionComplex*,QPainter*,const QWidget*)const">
<modify-argument index="3" invalidate-after-use="yes"/>
+ <modify-argument index="4">
+ <replace-default-expression with="0"/>
+ <rename to="widget" />
+ </modify-argument>
</modify-function>
<modify-function signature="drawControl(QStyle::ControlElement,const QStyleOption*,QPainter*,const QWidget*)const">
<modify-argument index="3" invalidate-after-use="yes"/>
+ <modify-argument index="4">
+ <replace-default-expression with="0"/>
+ <rename to="widget" />
+ </modify-argument>
</modify-function>
<modify-function signature="drawPrimitive(QStyle::PrimitiveElement,const QStyleOption*,QPainter*,const QWidget*)const">
<modify-argument index="3" invalidate-after-use="yes"/>
+ <modify-argument index="4">
+ <replace-default-expression with="0"/>
+ <rename to="widget" />
+ </modify-argument>
+ </modify-function>
+ <modify-function signature="hitTestComplexControl(ComplexControl, const QStyleOptionComplex*, const QPoint&amp;, const QWidget*)const">
+ <modify-argument index="4">
+ <replace-default-expression with="0"/>
+ <rename to="widget" />
+ </modify-argument>
</modify-function>
<modify-function signature="styleHint(QStyle::StyleHint,const QStyleOption*,const QWidget*,QStyleHintReturn*)const">
<modify-argument index="4" invalidate-after-use="yes"/>