diff options
Diffstat (limited to 'generator/typesystem_xmlpatterns-common.xml')
-rw-r--r-- | generator/typesystem_xmlpatterns-common.xml | 142 |
1 files changed, 142 insertions, 0 deletions
diff --git a/generator/typesystem_xmlpatterns-common.xml b/generator/typesystem_xmlpatterns-common.xml new file mode 100644 index 0000000..20ccc57 --- /dev/null +++ b/generator/typesystem_xmlpatterns-common.xml @@ -0,0 +1,142 @@ +<?xml version="1.0"?> +<typesystem> + + + <enum-type name="QXmlNodeModelIndex::NodeKind"/> + <enum-type name="QXmlNodeModelIndex::DocumentOrder"/> + <enum-type name="QXmlNodeModelIndex::Axis"/> + <enum-type name="QAbstractXmlNodeModel::SimpleAxis"/> + + <object-type name="QAbstractMessageHandler"> + <modify-function signature="QAbstractMessageHandler(QObject*)" remove="all" /> + </object-type> + <object-type name="QAbstractUriResolver"/> + <object-type name="QAbstractXmlForwardIterator"/> + + <rejection class="QPatternist::NodeIndexStorage" /> + + <rejection class="QAbstractXmlNodeModel" enum-name="NodeCopySetting"/> + <rejection class="QAbstractXmlNodeModel" function-name="mapToSequence" /> + <rejection class="QAbstractXmlNodeModel" function-name="sequencedTypedValue" /> + <rejection class="QAbstractXmlNodeModel" function-name="sendNamespaces" /> + <rejection class="QAbstractXmlNodeModel" function-name="iterate" /> + <rejection class="QAbstractXmlNodeModel" function-name="copyNodeTo" /> + <rejection class="QAbstractXmlNodeModel" function-name="type" /> + <rejection class="QAbstractXmlNodeModel" function-name="isDeepEqual" /> + <rejection class="QAbstractXmlNodeModel" function-name="namespaceForPrefix" /> + <object-type name="QAbstractXmlNodeModel"> + </object-type> + + <rejection class="QAbstractXmlReceiver" function-name="item" /> + <rejection class="QAbstractXmlReceiver" function-name="sendAsNode" /> + <object-type name="QAbstractXmlReceiver"> + </object-type> + + <object-type name="QSimpleXmlNodeModel" /> + + <value-type name="QSourceLocation"> + <modify-function signature="operator=(QSourceLocation)" remove="all" /> + </value-type> + + <rejection class="QXmlFormatter" function-name="item" /> + <object-type name="QXmlFormatter"> + <modify-function signature="startFormattingContent()" remove="all" /> + </object-type> + + <value-type name="QXmlItem"> + <modify-function signature="operator=(QXmlItem)" remove="all" /> + </value-type> + + <value-type name="QXmlName"> + <modify-function signature="operator=(QXmlName)" remove="all" /> + <modify-function signature="QXmlName(short,short,short)" remove="all" /> + <modify-function signature="localName()const" remove="all" /> + <modify-function signature="prefix()const" remove="all" /> + <modify-function signature="hasPrefix()const" remove="all" /> + <modify-function signature="hasNamespace()const" remove="all" /> + <modify-function signature="namespaceURI()const" remove="all" /> + <modify-function signature="isLexicallyEqual(const QXmlName)const" remove="all" /> + <modify-function signature="setPrefix(const short)" remove="all" /> + <modify-function signature="setNamespaceURI(const short)" remove="all" /> + <modify-function signature="setLocalName(const short)" remove="all" /> + <modify-function signature="code()const" remove="all" /> + </value-type> + + <value-type name="QXmlNamePool"> + <modify-function signature="operator=(QXmlNamePool)" remove="all" /> + </value-type> + + <rejection class="QXmlNodeModelIndex" function-name="sequencedTypedValue" /> + <rejection class="QXmlNodeModelIndex" function-name="sendNamespaces" /> + <rejection class="QXmlNodeModelIndex" function-name="iterate" /> + <rejection class="QXmlNodeModelIndex" function-name="type" /> + <value-type name="QXmlNodeModelIndex"> + <modify-function signature="name() const" remove="all" /> + <modify-function signature="root() const" remove="all" /> + <modify-function signature="documentUri() const" remove="all" /> + <modify-function signature="baseUri() const" remove="all" /> + <modify-function signature="kind() const" remove="all" /> + <modify-function signature="isDeepEqual(QXmlNodeModelIndex) const" remove="all" /> + <modify-function signature="compareOrder(QXmlNodeModelIndex) const" remove="all" /> + <modify-function signature="namespaceBindings() const" remove="all" /> + <modify-function signature="namespaceForPrefix(short) const" remove="all" /> + <modify-function signature="stringValue() const" remove="all" /> + <modify-function signature="is(QXmlNodeModelIndex) const" remove="all" /> + <modify-function signature="reset()" remove="all" /> + <modify-function signature="internalPointer()const" remove="all" /> + </value-type> + + <value-type name="QXmlQuery"> + <modify-function signature="evaluateTo(QStringList<QString>*)const" remove="all" /> + <modify-function signature="setMessageHandler(QAbstractMessageHandler*)"> + <modify-argument index="1"> + <reference-count action="set" variable-name="__rcMessageHandler" /> + </modify-argument> + </modify-function> + <modify-function signature="setQuery(QIODevice*, QUrl)"> + <modify-argument index="1"> + <reference-count action="ignore" /> <!-- Data from IODevice is readAll()'d immediately and the pointer is not stored --> + </modify-argument> + </modify-function> + <modify-function signature="setUriResolver(const QAbstractUriResolver*)"> + <modify-argument index="1"> + <reference-count action="set" variable-name="__rcUriResolver" /> + </modify-argument> + </modify-function> + </value-type> + <object-type name="QXmlResultItems"/> + + <rejection class="QXmlSerializer" function-name="item" /> + <object-type name="QXmlSerializer"> + </object-type> + + + + <suppress-warning text="WARNING(MetaJavaBuilder) :: horribly broken type ''"/> + + <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QXmlItem::QXmlItem', unmatched parameter type 'QPatternist::Item const&'" /> + <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QXmlNodeModelIndex::sequencedTypedValue', unmatched return type 'QExplicitlySharedDataPointer<QAbstractXmlForwardIterator<QPatternist::Item>>"/> + + <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QXmlNodeModelIndex::QXmlNodeModelIndex', unmatched parameter type 'QPatternist::NodeIndexStorage const&'" /> + + <!-- To avoid warnings when running the generator on systems without XML patterns --> + <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QSimpleXmlNodeModel' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> + <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QSourceLocation' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> + <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QXmlFormatter' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> + <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QAbstractUriResolver' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> + <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QAbstractXmlReceiver' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> + <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'com.trolltech.qt.xmlpatterns.QXmlNodeModelIndex' for enum 'DocumentOrder' is not declared"/> + <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QXmlQuery' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> + <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QXmlName' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> + <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'com.trolltech.qt.xmlpatterns.QAbstractXmlNodeModel' for enum 'NodeCopySetting' is not declared"/> + <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QXmlSerializer' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> + <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QAbstractXmlNodeModel' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> + <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QXmlItem' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> + <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QXmlNodeModelIndex' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> + <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QXmlResultItems' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> + <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QAbstractMessageHandler' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> + <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'com.trolltech.qt.xmlpatterns.QXmlNodeModelIndex' for enum 'NodeKind' is not declared"/> + <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'com.trolltech.qt.xmlpatterns.QAbstractXmlNodeModel' for enum 'SimpleAxis' is not declared"/> + <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QXmlNamePool' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> + +</typesystem> |