diff options
author | renatofilho <renato.filho@openbossa.org> | 2010-10-25 20:28:49 -0300 |
---|---|---|
committer | renatofilho <renato.filho@openbossa.org> | 2010-10-26 11:04:10 -0300 |
commit | a82deb1de29320159c8614c2c62c96e176d32771 (patch) | |
tree | 5ef2c7f11dedb5fb87dfc0300e0f2a758e819d1a /PySide | |
parent | 78ab6c87ea27bf6f21d5144a2df5f977b90f7940 (diff) |
Moved QML enum from QtCore to QtDeclarative typesystem.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'PySide')
-rw-r--r-- | PySide/QtCore/typesystem_core.xml | 11 | ||||
-rw-r--r-- | PySide/QtDeclarative/typesystem_declarative.xml | 5 |
2 files changed, 10 insertions, 6 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml index 3cd052a6a..a4b4f9244 100644 --- a/PySide/QtCore/typesystem_core.xml +++ b/PySide/QtCore/typesystem_core.xml @@ -95,12 +95,6 @@ <enum-type name="QtMsgType"/> - <enum-type identified-by-value="QML_HAS_ATTACHED_PROPERTIES" since="4.7"> - <extra-includes> - <include file-name="Qt/qdeclarative.h" location="global"/> - </extra-includes> - </enum-type> - <primitive-type name="qint8"/> <primitive-type name="qint16"/> <primitive-type name="qint32"/> @@ -2837,4 +2831,9 @@ <suppress-warning text="enum 'enum_4' does not have a type entry or is not an enum" /> <suppress-warning text="enum 'enum_5' does not have a type entry or is not an enum" /> <suppress-warning text="Shadowing: *" /> + <!-- this enum is defined on Qt global header but only used in QtDeclarative module --> + <suppress-warning text="enum 'QML_HAS_ATTACHED_PROPERTIES' does not have a type entry or is not an enum" /> + + <!-- this enum is defined on Qt global header but only used in QtGui module --> + <suppress-warning text="enum 'PM_MessageBoxHeight' does not have a type entry or is not an enum" /> </typesystem> diff --git a/PySide/QtDeclarative/typesystem_declarative.xml b/PySide/QtDeclarative/typesystem_declarative.xml index 888ca6fd9..ee7355cc5 100644 --- a/PySide/QtDeclarative/typesystem_declarative.xml +++ b/PySide/QtDeclarative/typesystem_declarative.xml @@ -23,6 +23,11 @@ <load-typesystem name="typesystem_network.xml" generate="no"/> <load-typesystem name="typesystem_gui.xml" generate="no"/> + <enum-type identified-by-value="QML_HAS_ATTACHED_PROPERTIES" since="4.7"> + <extra-includes> + <include file-name="Qt/qdeclarative.h" location="global"/> + </extra-includes> + </enum-type> <object-type name="QDeclarativeExtensionInterface"/> <object-type name="QDeclarativeComponent"> |