summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-01-14 16:57:23 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:51:46 -0300
commit6d379db301e5cb604fa208e93c4938e81a554647 (patch)
treebea744f61859ec8f43e9e758ddd3e68316ad77a2
parent7e4a01a4b9a0ff4b34fe50a870091bdc76689acb (diff)
Named the single argument of all "QWidget.*Event(arg)" methods as "event".
Just to make the generated documentation more readable.
-rw-r--r--PySide/QtGui/typesystem_gui_common.xml104
1 files changed, 78 insertions, 26 deletions
diff --git a/PySide/QtGui/typesystem_gui_common.xml b/PySide/QtGui/typesystem_gui_common.xml
index 50247c3d..27df7d3c 100644
--- a/PySide/QtGui/typesystem_gui_common.xml
+++ b/PySide/QtGui/typesystem_gui_common.xml
@@ -3339,82 +3339,134 @@
</modify-function>
<modify-function signature="actionEvent(QActionEvent*)">
- <modify-argument index="1" invalidate-after-use="yes"/>
+ <modify-argument index="1" invalidate-after-use="yes">
+ <rename to="event"/>
+ </modify-argument>
</modify-function>
<modify-function signature="changeEvent(QEvent*)">
- <modify-argument index="1" invalidate-after-use="yes"/>
+ <modify-argument index="1" invalidate-after-use="yes">
+ <rename to="event"/>
+ </modify-argument>
</modify-function>
<modify-function signature="closeEvent(QCloseEvent*)">
- <modify-argument index="1" invalidate-after-use="yes"/>
+ <modify-argument index="1" invalidate-after-use="yes">
+ <rename to="event"/>
+ </modify-argument>
</modify-function>
<modify-function signature="contextMenuEvent(QContextMenuEvent*)">
- <modify-argument index="1" invalidate-after-use="yes"/>
+ <modify-argument index="1" invalidate-after-use="yes">
+ <rename to="event"/>
+ </modify-argument>
</modify-function>
<modify-function signature="dragEnterEvent(QDragEnterEvent*)">
- <modify-argument index="1" invalidate-after-use="yes"/>
+ <modify-argument index="1" invalidate-after-use="yes">
+ <rename to="event"/>
+ </modify-argument>
</modify-function>
<modify-function signature="dragLeaveEvent(QDragLeaveEvent*)">
- <modify-argument index="1" invalidate-after-use="yes"/>
+ <modify-argument index="1" invalidate-after-use="yes">
+ <rename to="event"/>
+ </modify-argument>
</modify-function>
<modify-function signature="dragMoveEvent(QDragMoveEvent*)">
- <modify-argument index="1" invalidate-after-use="yes"/>
+ <modify-argument index="1" invalidate-after-use="yes">
+ <rename to="event"/>
+ </modify-argument>
</modify-function>
<modify-function signature="dropEvent(QDropEvent*)">
- <modify-argument index="1" invalidate-after-use="yes"/>
+ <modify-argument index="1" invalidate-after-use="yes">
+ <rename to="event"/>
+ </modify-argument>
</modify-function>
<modify-function signature="enterEvent(QEvent*)">
- <modify-argument index="1" invalidate-after-use="yes"/>
+ <modify-argument index="1" invalidate-after-use="yes">
+ <rename to="event"/>
+ </modify-argument>
</modify-function>
<modify-function signature="focusInEvent(QFocusEvent*)">
- <modify-argument index="1" invalidate-after-use="yes"/>
+ <modify-argument index="1" invalidate-after-use="yes">
+ <rename to="event"/>
+ </modify-argument>
</modify-function>
<modify-function signature="focusOutEvent(QFocusEvent*)">
- <modify-argument index="1" invalidate-after-use="yes"/>
+ <modify-argument index="1" invalidate-after-use="yes">
+ <rename to="event"/>
+ </modify-argument>
</modify-function>
<modify-function signature="hideEvent(QHideEvent*)">
- <modify-argument index="1" invalidate-after-use="yes"/>
+ <modify-argument index="1" invalidate-after-use="yes">
+ <rename to="event"/>
+ </modify-argument>
</modify-function>
<modify-function signature="inputMethodEvent(QInputMethodEvent*)">
- <modify-argument index="1" invalidate-after-use="yes"/>
+ <modify-argument index="1" invalidate-after-use="yes">
+ <rename to="event"/>
+ </modify-argument>
</modify-function>
<modify-function signature="keyPressEvent(QKeyEvent*)">
- <modify-argument index="1" invalidate-after-use="yes"/>
+ <modify-argument index="1" invalidate-after-use="yes">
+ <rename to="event"/>
+ </modify-argument>
</modify-function>
<modify-function signature="keyReleaseEvent(QKeyEvent*)">
- <modify-argument index="1" invalidate-after-use="yes"/>
+ <modify-argument index="1" invalidate-after-use="yes">
+ <rename to="event"/>
+ </modify-argument>
</modify-function>
<modify-function signature="leaveEvent(QEvent*)">
- <modify-argument index="1" invalidate-after-use="yes"/>
+ <modify-argument index="1" invalidate-after-use="yes">
+ <rename to="event"/>
+ </modify-argument>
</modify-function>
<modify-function signature="mouseDoubleClickEvent(QMouseEvent*)">
- <modify-argument index="1" invalidate-after-use="yes"/>
+ <modify-argument index="1" invalidate-after-use="yes">
+ <rename to="event"/>
+ </modify-argument>
</modify-function>
<modify-function signature="mouseMoveEvent(QMouseEvent*)">
- <modify-argument index="1" invalidate-after-use="yes"/>
+ <modify-argument index="1" invalidate-after-use="yes">
+ <rename to="event"/>
+ </modify-argument>
</modify-function>
<modify-function signature="mousePressEvent(QMouseEvent*)">
- <modify-argument index="1" invalidate-after-use="yes"/>
+ <modify-argument index="1" invalidate-after-use="yes">
+ <rename to="event"/>
+ </modify-argument>
</modify-function>
<modify-function signature="mouseReleaseEvent(QMouseEvent*)">
- <modify-argument index="1" invalidate-after-use="yes"/>
+ <modify-argument index="1" invalidate-after-use="yes">
+ <rename to="event"/>
+ </modify-argument>
</modify-function>
<modify-function signature="moveEvent(QMoveEvent*)">
- <modify-argument index="1" invalidate-after-use="yes"/>
+ <modify-argument index="1" invalidate-after-use="yes">
+ <rename to="event"/>
+ </modify-argument>
</modify-function>
<modify-function signature="paintEvent(QPaintEvent*)">
- <modify-argument index="1" invalidate-after-use="yes"/>
+ <modify-argument index="1" invalidate-after-use="yes">
+ <rename to="event"/>
+ </modify-argument>
</modify-function>
<modify-function signature="resizeEvent(QResizeEvent*)">
- <modify-argument index="1" invalidate-after-use="yes"/>
+ <modify-argument index="1" invalidate-after-use="yes">
+ <rename to="event"/>
+ </modify-argument>
</modify-function>
<modify-function signature="showEvent(QShowEvent*)">
- <modify-argument index="1" invalidate-after-use="yes"/>
+ <modify-argument index="1" invalidate-after-use="yes">
+ <rename to="event"/>
+ </modify-argument>
</modify-function>
<modify-function signature="tabletEvent(QTabletEvent*)">
- <modify-argument index="1" invalidate-after-use="yes"/>
+ <modify-argument index="1" invalidate-after-use="yes">
+ <rename to="event"/>
+ </modify-argument>
</modify-function>
<modify-function signature="wheelEvent(QWheelEvent*)">
- <modify-argument index="1" invalidate-after-use="yes"/>
+ <modify-argument index="1" invalidate-after-use="yes">
+ <rename to="event"/>
+ </modify-argument>
</modify-function>
<modify-function signature="setStyle(QStyle*)">