Fixes for QtCore and QtGui type sytems

- Added missing Qt::InputMethodHints flags
- Fixed QFontMetricsF::boundingRect

Reviewed by Hugo Parente <hugo.lima@openbossa.org>
This commit is contained in:
Carlos Goncalves 2010-02-07 01:54:14 +00:00 • committed by Hugo Lima
commit c8e3a73ee7
2 changed files with 3 additions and 3 deletions

View file

@ -307,7 +307,7 @@
<enum-type name="Qt::Initialization"/> <enum-type name="Qt::Initialization"/>
<enum-type name="Qt::AnchorPoint"/> <enum-type name="Qt::AnchorPoint"/>
<enum-type name="Qt::NavigationMode"/> <enum-type name="Qt::NavigationMode"/>
<enum-type name="Qt::InputMethodHint"/> <enum-type name="Qt::InputMethodHint" flags="Qt::InputMethodHints"/>
<enum-type name="Qt::TouchPointState"/> <enum-type name="Qt::TouchPointState"/>
<enum-type name="QEasingCurve::Type"/> <enum-type name="QEasingCurve::Type"/>
<enum-type name="QAbstractAnimation::DeletionPolicy"/> <enum-type name="QAbstractAnimation::DeletionPolicy"/>

View file

@ -1031,7 +1031,7 @@
</value-type> </value-type>
<value-type name="QFontMetricsF" > <value-type name="QFontMetricsF" >
<modify-function signature="boundingRect(QRect,int,QString,int,int*)const"> <modify-function signature="boundingRect(QRectF,int,QString,int,int*)const">
<modify-argument index="5"> <modify-argument index="5">
<remove-argument /> <remove-argument />
<remove-default-expression /> <remove-default-expression />
@ -1041,7 +1041,7 @@
</modify-argument> </modify-argument>
<inject-code class="target" position="beginning"> <inject-code class="target" position="beginning">
<insert-template name="fix_return_args,int*"> <insert-template name="fix_return_args,int*">
<replace from="RETURNTYPE" to="QRect" /> <replace from="RETURNTYPE" to="QRectF" />
</insert-template> </insert-template>
</inject-code> </inject-code>
</modify-function> </modify-function>