diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2010-03-01 19:48:54 -0300 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2010-03-03 17:32:29 -0300 |
commit | 4eafde570f4bb3d4bf663959959d8c1a0b221212 (patch) | |
tree | f8a6276627debbdf0ad22edc24fbff99b5303154 | |
parent | 0169a27adc524ffd7553264240dbd74aaad74739 (diff) |
Re-add polymorphic-id-expression attribute on QtCore and QtGui typesystems.
Also add some missing classes on QtGui.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
-rw-r--r-- | PySide/QtCore/typesystem_core.xml | 8 | ||||
-rw-r--r-- | PySide/QtGui/CMakeLists.txt | 5 | ||||
-rw-r--r-- | PySide/QtGui/typesystem_gui_common.xml | 154 |
3 files changed, 91 insertions, 76 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml index cbf94addd..2c43617ff 100644 --- a/PySide/QtCore/typesystem_core.xml +++ b/PySide/QtCore/typesystem_core.xml @@ -2463,8 +2463,8 @@ <modify-function signature="iniCodec()const" remove="all"/> <!--TODO--> </object-type> - <object-type name="QEvent" /> - <object-type name="QChildEvent"> + <object-type name="QEvent" polymorphic-id-expression="%1->type() == QEvent::None" /> + <object-type name="QChildEvent" polymorphic-id-expression="%1->type() == QEvent::ChildAdded || %1->type() == QEvent::ChildPolished || %1->type() == QEvent::ChildRemoved"> <modify-field name="c" read="false" write="false"/> <modify-function signature="child() const"> <modify-argument index="return"> @@ -2472,8 +2472,8 @@ </modify-argument> </modify-function> </object-type> - <object-type name="QTimerEvent" /> - <object-type name="QDynamicPropertyChangeEvent" /> + <object-type name="QTimerEvent" polymorphic-id-expression="%1->type() == QEvent::Timer" /> + <object-type name="QDynamicPropertyChangeEvent" polymorphic-id-expression="%1->type() == QEvent::DynamicPropertyChange" /> <template name="stream_read_method"> %RETURN_TYPE _cpp_result; diff --git a/PySide/QtGui/CMakeLists.txt b/PySide/QtGui/CMakeLists.txt index 983d5031d..0dc3b781c 100644 --- a/PySide/QtGui/CMakeLists.txt +++ b/PySide/QtGui/CMakeLists.txt @@ -114,6 +114,7 @@ ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qcdestyle_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qcheckbox_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qcleanlooksstyle_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qclipboard_wrapper.cpp +${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qclipboardevent_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qcloseevent_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qcolordialog_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qcolor_wrapper.cpp @@ -300,6 +301,7 @@ ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qstyleoptiondockwidgetv2_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qstyleoptiondockwidget_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qstyleoptionfocusrect_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qstyleoptionframev2_wrapper.cpp +${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qstyleoptionframev3_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qstyleoptionframe_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qstyleoptiongraphicsitem_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qstyleoptiongroupbox_wrapper.cpp @@ -312,7 +314,9 @@ ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qstyleoptionsizegrip_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qstyleoptionslider_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qstyleoptionspinbox_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qstyleoptiontabbarbase_wrapper.cpp +${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qstyleoptiontabbarbasev2_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qstyleoptiontabv2_wrapper.cpp +${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qstyleoptiontabv3_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qstyleoptiontabwidgetframe_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qstyleoptiontab_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qstyleoptiontitlebar_wrapper.cpp @@ -372,6 +376,7 @@ ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qtexttable_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qtgui_module_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qtimeedit_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qtoolbar_wrapper.cpp +${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qtoolbarchangeevent_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qtoolbox_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qtoolbutton_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qtooltip_wrapper.cpp diff --git a/PySide/QtGui/typesystem_gui_common.xml b/PySide/QtGui/typesystem_gui_common.xml index b94d7e51f..948e16f66 100644 --- a/PySide/QtGui/typesystem_gui_common.xml +++ b/PySide/QtGui/typesystem_gui_common.xml @@ -416,57 +416,66 @@ <enum-type name="QTextOption::TabType"/> <enum-type name="QTextOption::WrapMode"/> <enum-type name="QTextOption::Flag" flags="QTextOption::Flags"/> - <value-type name="QStyleOption" > + <value-type name="QStyleOption" polymorphic-id-expression="%1->type == QStyleOption::SO_Default"> <modify-function signature="operator=(QStyleOption)" remove="all"/> <modify-function signature="init(const QWidget*)" remove="all"/> <!--### Obsolete in 4.3--> </value-type> <enum-type name="QPixmap::ShareMode"/> - <value-type name="QStyleOptionGraphicsItem" /> - <value-type name="QStyleOptionSizeGrip" /> - <value-type name="QStyleOptionButton" /> - <value-type name="QStyleOptionComboBox" /> - <value-type name="QStyleOptionComplex" /> - <value-type name="QStyleOptionDockWidget" /> - <value-type name="QStyleOptionDockWidgetV2" > + <value-type name="QStyleOptionGraphicsItem" polymorphic-id-expression="%1->type == QStyleOptionGraphicsItem::Type && %1->version == QStyleOptionGraphicsItem::Version" /> + <value-type name="QStyleOptionSizeGrip" polymorphic-id-expression="%1->type == QStyleOptionSizeGrip::Type && %1->version == QStyleOptionSizeGrip::Version" /> + <value-type name="QStyleOptionButton" polymorphic-id-expression="%1->type == QStyleOptionButton::Type && %1->version == QStyleOptionButton::Version" /> + <value-type name="QStyleOptionComboBox" polymorphic-id-expression="%1->type == QStyleOptionComboBox::Type && %1->version == QStyleOptionComboBox::Version" /> + <value-type name="QStyleOptionComplex" polymorphic-id-expression="%1->type == QStyleOptionComplex::Type && %1->version == QStyleOptionComplex::Version" /> + <value-type name="QStyleOptionDockWidget" polymorphic-id-expression="%1->type == QStyleOptionDockWidget::Type && %1->version == QStyleOptionDockWidget::Version" /> + <value-type name="QStyleOptionDockWidgetV2" polymorphic-id-expression="%1->type == QStyleOptionDockWidgetV2::Type && %1->version == QStyleOptionDockWidgetV2::Version" > <modify-function signature="operator=(QStyleOptionDockWidget)" remove="all"/> </value-type> - <value-type name="QStyleOptionFocusRect" /> - <value-type name="QStyleOptionFrame" /> - <value-type name="QStyleOptionFrameV2" > + <value-type name="QStyleOptionFocusRect" polymorphic-id-expression="%1->type == QStyleOptionFocusRect::Type && %1->version == QStyleOptionFocusRect::Version" /> + <value-type name="QStyleOptionFrame" polymorphic-id-expression="%1->type == QStyleOptionFrame::Type && %1->version == QStyleOptionFrame::Version" /> + <value-type name="QStyleOptionFrameV2" polymorphic-id-expression="%1->type == QStyleOptionFrameV2::Type && %1->version == QStyleOptionFrameV2::Version" > <modify-function signature="operator=(QStyleOptionFrame)" remove="all"/> </value-type> - <value-type name="QStyleOptionGroupBox" /> - <value-type name="QStyleOptionHeader" /> - <value-type name="QStyleOptionMenuItem" /> - <value-type name="QStyleOptionProgressBar" /> - <value-type name="QStyleOptionProgressBarV2" > + <value-type name="QStyleOptionFrameV3" polymorphic-id-expression="%1->type == QStyleOptionFrameV3::Type && %1->version == QStyleOptionFrameV3::Version"> + <modify-function signature="operator=(QStyleOptionFrame)" remove="all"/> + </value-type> + <value-type name="QStyleOptionGroupBox" polymorphic-id-expression="%1->type == QStyleOptionGroupBox::Type && %1->version == QStyleOptionGroupBox::Version" /> + <value-type name="QStyleOptionHeader" polymorphic-id-expression="%1->type == QStyleOptionHeader::Type && %1->version == QStyleOptionHeader::Version" /> + <value-type name="QStyleOptionMenuItem" polymorphic-id-expression="%1->type == QStyleOptionMenuItem::Type && %1->version == QStyleOptionMenuItem::Version" /> + <value-type name="QStyleOptionProgressBar" polymorphic-id-expression="%1->type == QStyleOptionProgressBar::Type && %1->version == QStyleOptionProgressBar::Version" /> + <value-type name="QStyleOptionProgressBarV2" polymorphic-id-expression="%1->type == QStyleOptionProgressBarV2::Type && %1->version == QStyleOptionProgressBarV2::Version" > <modify-function signature="operator=(QStyleOptionProgressBar)" remove="all"/> </value-type> - <value-type name="QStyleOptionRubberBand" /> - <value-type name="QStyleOptionSlider" /> - <value-type name="QStyleOptionSpinBox" /> - <value-type name="QStyleOptionTab" /> - <value-type name="QStyleOptionTabV2" > + <value-type name="QStyleOptionRubberBand" polymorphic-id-expression="%1->type == QStyleOptionRubberBand::Type && %1->version == QStyleOptionRubberBand::Version" /> + <value-type name="QStyleOptionSlider" polymorphic-id-expression="%1->type == QStyleOptionSlider::Type && %1->version == QStyleOptionSlider::Version" /> + <value-type name="QStyleOptionSpinBox" polymorphic-id-expression="%1->type == QStyleOptionSpinBox::Type && %1->version == QStyleOptionSpinBox::Version" /> + <value-type name="QStyleOptionTab" polymorphic-id-expression="%1->type == QStyleOptionTab::Type && %1->version == QStyleOptionTab::Version" /> + <value-type name="QStyleOptionTabV2" polymorphic-id-expression="%1->type == QStyleOptionTabV2::Type && %1->version == QStyleOptionTabV2::Version" > <modify-function signature="operator=(const QStyleOptionTab &)" remove="all"/> </value-type> - <value-type name="QStyleOptionTabBarBase" /> - <value-type name="QStyleOptionTabWidgetFrame" /> - <value-type name="QStyleOptionTitleBar" /> - <value-type name="QStyleOptionToolBar" /> - <value-type name="QStyleOptionToolBox" /> - <value-type name="QStyleOptionToolBoxV2" > + <value-type name="QStyleOptionTabV3" polymorphic-id-expression="%1->type == QStyleOptionTabV3::Type && %1->version == QStyleOptionTabV3::Version"> + <modify-function signature="operator=(QStyleOptionTab)" remove="all" /> + </value-type> + <value-type name="QStyleOptionTabBarBase" polymorphic-id-expression="%1->type == QStyleOptionTabBarBase::Type && %1->version == QStyleOptionTabBarBase::Version" /> + <value-type name="QStyleOptionTabBarBaseV2" delete-in-main-thread="yes" polymorphic-id-expression="%1->type == QStyleOptionTabBarBaseV2::Type && %1->version == QStyleOptionTabBarBaseV2::Version"> + <modify-function signature="operator=(QStyleOptionTabBarBase)" remove="all" /> + </value-type> + <value-type name="QStyleOptionTabWidgetFrame" polymorphic-id-expression="%1->type == QStyleOptionTabWidgetFrame::Type && %1->version == QStyleOptionTabWidgetFrame::Version" /> + <value-type name="QStyleOptionTitleBar" polymorphic-id-expression="%1->type == QStyleOptionTitleBar::Type && %1->version == QStyleOptionTitleBar::Version" /> + <value-type name="QStyleOptionToolBar" polymorphic-id-expression="%1->type == QStyleOptionToolBar::Type && %1->version == QStyleOptionToolBar::Version" /> + <value-type name="QStyleOptionToolBox" polymorphic-id-expression="%1->type == QStyleOptionToolBox::Type && %1->version == QStyleOptionToolBox::Version" /> + <value-type name="QStyleOptionToolBoxV2" polymorphic-id-expression="%1->type == QStyleOptionToolBoxV2::Type && %1->version == QStyleOptionToolBoxV2::Version" > <modify-function signature="operator=(QStyleOptionToolBox)" remove="all"/> </value-type> - <value-type name="QStyleOptionToolButton" /> - <value-type name="QStyleOptionViewItem" /> - <value-type name="QStyleOptionViewItemV2" > + <value-type name="QStyleOptionToolButton" polymorphic-id-expression="%1->type == QStyleOptionToolButton::Type && %1->version == QStyleOptionToolButton::Version" /> + <value-type name="QStyleOptionViewItem" polymorphic-id-expression="%1->type == QStyleOptionViewItem::Type && %1->version == QStyleOptionViewItem::Version" /> + <value-type name="QStyleOptionViewItemV2" polymorphic-id-expression="%1->type == QStyleOptionViewItemV2::Type && %1->version == QStyleOptionViewItemV2::Version" > <modify-function signature="operator=(QStyleOptionViewItem)" remove="all"/> </value-type> - <value-type name="QStyleOptionViewItemV3" > + <value-type name="QStyleOptionViewItemV3" polymorphic-id-expression="%1->type == QStyleOptionViewItemV3::Type && %1->version == QStyleOptionViewItemV3::Version" > <modify-function signature="operator=(QStyleOptionViewItem)" remove="all"/> </value-type> - <value-type name="QStyleOptionViewItemV4" > + <value-type name="QStyleOptionViewItemV4" polymorphic-id-expression="%1->type == QStyleOptionViewItemV4::Type && %1->version == QStyleOptionViewItemV4::Version" > <modify-function signature="operator=(QStyleOptionViewItem)" remove="all"/> </value-type> <value-type name="QTextFragment" > @@ -718,11 +727,11 @@ </inject-code> </modify-function> </value-type> - <value-type name="QConicalGradient"/> + <value-type name="QConicalGradient" polymorphic-id-expression="%1->type() == QGradient::ConicalGradient" /> <value-type name="QFontInfo" > <modify-function signature="operator=(QFontInfo)" remove="all"/> </value-type> - <value-type name="QRadialGradient" /> + <value-type name="QRadialGradient" polymorphic-id-expression="%1->type() == QGradient::RadialGradient" /> <value-type name="QPainterPath::Element"> <modify-field name="x" write="false"/> <modify-field name="y" write="false"/> @@ -1148,8 +1157,8 @@ <modify-function signature="operator=(QFontMetrics)" remove="all"/> </value-type> - <value-type name="QGradient" force-abstract="yes" /> - <value-type name="QLinearGradient" /> + <value-type name="QGradient" force-abstract="yes" polymorphic-id-expression="%1->type() == QGradient::NoGradient" /> + <value-type name="QLinearGradient" polymorphic-id-expression="%1->type() == QGradient::LinearGradient" /> <value-type name="QPrinterInfo"> <modify-function signature="operator=(const QPrinterInfo &)" remove="all"/> </value-type> @@ -2129,13 +2138,13 @@ </modify-argument> </modify-function> </object-type> - <object-type name="QActionEvent" /> - <object-type name="QCloseEvent" /> - <object-type name="QContextMenuEvent" /> - <object-type name="QDragEnterEvent" /> - <object-type name="QDragLeaveEvent" /> - <object-type name="QDragMoveEvent" /> - <object-type name="QDropEvent" > + <object-type name="QActionEvent" polymorphic-id-expression="%1->type() == QEvent::ActionAdded || %1->type() == QEvent::ActionRemoved || %1->type() == QEvent::ActionChanged" /> + <object-type name="QClipboardEvent" polymorphic-id-expression="%1->type() == QEvent::Clipboard"/> + <object-type name="QCloseEvent" polymorphic-id-expression="%1->type() == QEvent::Close"/> + <object-type name="QContextMenuEvent" polymorphic-id-expression="%1->type() == QEvent::ContextMenu"/> + <object-type name="QDragEnterEvent" polymorphic-id-expression="%1->type() == QEvent::DragEnter"/> + <object-type name="QDragLeaveEvent" polymorphic-id-expression="%1->type() == QEvent::DragLeave"/> + <object-type name="QDragMoveEvent" polymorphic-id-expression="%1->type() == QEvent::DragMove"> <modify-function signature="source() const"> <modify-argument index="return"> <define-ownership owner="target"/> @@ -2145,49 +2154,50 @@ <modify-function signature="format(int)const" remove="all"/> <modify-function signature="provides(const char*)const" remove="all"/> </object-type> - <object-type name="QFileOpenEvent" /> - <object-type name="QFocusEvent" > - <modify-function signature="reason()const" remove="all"/> - </object-type> - <object-type name="QGraphicsSceneContextMenuEvent" copyable="false"/> - <object-type name="QGraphicsSceneDragDropEvent" copyable="false" > + <object-type name="QDropEvent" polymorphic-id-expression="%1->type() == QEvent::Drop" /> + <object-type name="QFileOpenEvent" polymorphic-id-expression="%1->type() == QEvent::FileOpen" /> + <object-type name="QFocusEvent" polymorphic-id-expression="%1->type() == QEvent::FocusIn || %1->type() == QEvent::FocusOut" /> + <object-type name="QGraphicsSceneContextMenuEvent" copyable="false" polymorphic-id-expression="%1->type() == QEvent::GraphicsSceneContextMenu" /> + <object-type name="QGraphicsSceneDragDropEvent" copyable="false" polymorphic-id-expression="%1->type() == QEvent::GraphicsSceneDragEnter || %1->type() == QEvent::GraphicsSceneDragLeave || %1->type() == QEvent::GraphicsSceneDragMove || %1->type() == QEvent::GraphicsSceneDrop" > <modify-function signature="setMimeData(const QMimeData *)" remove="all"/> <modify-function signature="setSource(QWidget *)" remove="all"/> </object-type> <object-type name="QGraphicsSceneEvent" copyable="false"> <modify-function signature="setWidget(QWidget *)" remove="all"/> </object-type> - <object-type name="QGraphicsSceneMoveEvent" copyable="false" /> - <object-type name="QGraphicsSceneResizeEvent" copyable="false" /> - <object-type name="QGraphicsSceneHelpEvent" copyable="false" /> - <object-type name="QGraphicsSceneHoverEvent" copyable="false" /> - <object-type name="QGraphicsSceneMouseEvent" copyable="false" /> - <object-type name="QGraphicsSceneWheelEvent" copyable="false"/> - <object-type name="QHelpEvent" copyable="false"/> - <object-type name="QHideEvent" copyable="false"/> - <object-type name="QHoverEvent" copyable="false"/> - <object-type name="QIconDragEvent" copyable="false"/> - <object-type name="QInputMethodEvent" copyable="no"/> - <object-type name="QMoveEvent" copyable = "false" /> - <object-type name="QResizeEvent" copyable = "false"/> - <object-type name="QShortcutEvent" copyable = "false" > + <object-type name="QGraphicsSceneMoveEvent" copyable="false" polymorphic-id-expression="%1->type() == QEvent::GraphicsSceneMove" /> + <object-type name="QGraphicsSceneResizeEvent" copyable="false" polymorphic-id-expression="%1->type() == QEvent::GraphicsSceneResize" /> + <object-type name="QGraphicsSceneHelpEvent" copyable="false" polymorphic-id-expression="%1->type() == QEvent::GraphicsSceneHelp" /> + <object-type name="QGraphicsSceneHoverEvent" copyable="false" polymorphic-id-expression="%1->type() == QEvent::GraphicsSceneHoverEnter || %1->type() == QEvent::GraphicsSceneHoverLeave || %1->type() == QEvent::GraphicsSceneHoverMove" /> + <object-type name="QGraphicsSceneMouseEvent" copyable="false" polymorphic-id-expression="%1->type() == QEvent::GraphicsSceneMouseDoubleClick || %1->type() == QEvent::GraphicsSceneMouseMove || %1->type() == QEvent::GraphicsSceneMousePress || %1->type() == QEvent::GraphicsSceneMouseRelease"/> + <object-type name="QGraphicsSceneWheelEvent" copyable="false" polymorphic-id-expression="%1->type() == QEvent::GraphicsSceneWheel"/> + <object-type name="QHelpEvent" copyable="false" polymorphic-id-expression="%1->type() == QEvent::ToolTip || %1->type() == QEvent::WhatsThis"/> + <object-type name="QHideEvent" copyable="false" polymorphic-id-expression="%1->type() == QEvent::Hide"/> + <object-type name="QHoverEvent" copyable="false" polymorphic-id-expression="%1->type() == QEvent::HoverEnter || %1->type() == QEvent::HoverLeave || %1->type() == QEvent::HoverMove"/> + <object-type name="QIconDragEvent" copyable="false" polymorphic-id-expression="%1->type() == QEvent::IconDrag"/> + <object-type name="QInputMethodEvent" copyable="no" polymorphic-id-expression="%1->type() == QEvent::InputMethod"/> + <object-type name="QMoveEvent" copyable = "false" polymorphic-id-expression="%1->type() == QEvent::Move" /> + <object-type name="QResizeEvent" copyable = "false" polymorphic-id-expression="%1->type() == QEvent::Resize"/> + <object-type name="QShortcutEvent" copyable = "false" polymorphic-id-expression="%1->type() == QEvent::Shortcut"> <!-- All these have const overloads that are used instead --> <modify-function signature="isAmbiguous()" remove="all"/> <modify-function signature="shortcutId()" remove="all"/> <modify-function signature="key()" remove="all"/> </object-type> - <object-type name="QShowEvent" copyable= "false"/> - <object-type name="QStatusTipEvent" copyable= "false"/> - <object-type name="QTabletEvent" copyable= "false"/> - <object-type name="QWhatsThisClickedEvent" copyable="false"/> - <object-type name="QWheelEvent" copyable= "false" /> - <object-type name="QWindowStateChangeEvent" copyable="false"/> + <object-type name="QShowEvent" copyable= "false" polymorphic-id-expression="%1->type() == QEvent::Show"/> + <object-type name="QStatusTipEvent" copyable= "false" polymorphic-id-expression="%1->type() == QEvent::StatusTip"/> + <object-type name="QTabletEvent" copyable= "false" polymorphic-id-expression="%1->type() == QEvent::TabletMove || %1->type() == QEvent::TabletPress || %1->type() == QEvent::TabletRelease"/> + <object-type name="QToolBarChangeEvent" polymorphic-id-expression="%1->type() == QEvent::ToolBarChange"/> + <object-type name="QWhatsThisClickedEvent" copyable="false" polymorphic-id-expression="%1->type() == QEvent::WhatsThisClicked"/> + <object-type name="QWheelEvent" copyable= "false" polymorphic-id-expression="%1->type() == QEvent::Wheel"/> + <object-type name="QWindowStateChangeEvent" copyable="false" polymorphic-id-expression="%1->type() == QEvent::WindowStateChange"/> <object-type name="QInputEvent" copyable="false"> <modify-function signature="modifiers()const" access="non-final"/> </object-type> - <object-type name="QKeyEvent" copyable= "false"/> - <object-type name="QMouseEvent" copyable= "false"/> - <object-type name="QPaintEvent" copyable= "false"/> + <object-type name="QKeyEvent" copyable= "false" polymorphic-id-expression="%1->type() == QEvent::KeyPress || %1->type() == QEvent::KeyRelease"/> + <object-type name="QMouseEvent" copyable= "false" polymorphic-id-expression="%1->type() == QEvent::MouseButtonDblClick || %1->type() == QEvent::MouseButtonPress || %1->type() == QEvent::MouseButtonRelease || %1->type() == QEvent::MouseMove"/> + <object-type name="QPaintEvent" copyable= "false" polymorphic-id-expression="%1->type() == QEvent::Paint"/> + <object-type name="QAccessibleEvent" polymorphic-id-expression="%1->type() == QEvent::AccessibilityDescription || %1->type() == QEvent::AccessibilityHelp"/> <object-type name="QAbstractButton"/> <object-type name="QStyle"> <modify-function signature="standardIconImplementation(QStyle::StandardPixmap, const QStyleOption *, const QWidget *)const" virtual-slot="yes"/> |