summaryrefslogtreecommitdiffstats
path: root/generator/typesystem_xmlpatterns-common.xml
diff options
context:
space:
mode:
Diffstat (limited to 'generator/typesystem_xmlpatterns-common.xml')
-rw-r--r--generator/typesystem_xmlpatterns-common.xml58
1 files changed, 53 insertions, 5 deletions
diff --git a/generator/typesystem_xmlpatterns-common.xml b/generator/typesystem_xmlpatterns-common.xml
index 5b3638c..d0a6e08 100644
--- a/generator/typesystem_xmlpatterns-common.xml
+++ b/generator/typesystem_xmlpatterns-common.xml
@@ -2,11 +2,14 @@
<typesystem>
+ <namespace-type name="QPatternist"/>
+ <namespace-type name="QPatternistSDK"/>
+
<enum-type name="QXmlNodeModelIndex::NodeKind"/>
<enum-type name="QXmlNodeModelIndex::DocumentOrder"/>
- <enum-type name="QXmlNodeModelIndex::Axis"/>
- <enum-type name="QXmlQuery::QueryLanguage"/>
+ <enum-type name="QAbstractXmlNodeModel::NodeCopySetting"/>
<enum-type name="QAbstractXmlNodeModel::SimpleAxis"/>
+ <enum-type name="QXmlQuery::QueryLanguage" />
<object-type name="QAbstractMessageHandler">
<modify-function signature="QAbstractMessageHandler(QObject*)" remove="all" />
@@ -15,8 +18,7 @@
<object-type name="QAbstractXmlForwardIterator"/>
<rejection class="QPatternist::NodeIndexStorage" />
-
- <rejection class="QAbstractXmlNodeModel" enum-name="NodeCopySetting"/>
+ <rejection class="QAbstractXmlNodeModel" function-name="mapToItem" />
<rejection class="QAbstractXmlNodeModel" function-name="mapToSequence" />
<rejection class="QAbstractXmlNodeModel" function-name="sequencedTypedValue" />
<rejection class="QAbstractXmlNodeModel" function-name="sendNamespaces" />
@@ -26,6 +28,11 @@
<rejection class="QAbstractXmlNodeModel" function-name="isDeepEqual" />
<rejection class="QAbstractXmlNodeModel" function-name="namespaceForPrefix" />
<object-type name="QAbstractXmlNodeModel">
+ <modify-function signature="QAbstractXmlNodeModel()" remove="all" />
+ <modify-function signature="namespaceForPrefix(QXmlNodeModelIndex,short) const"
+ remove="all" />
+ <modify-function signature="isDeepEqual(QXmlNodeModelIndex,QXmlNodeModelIndex) const"
+ remove="all" />
</object-type>
<rejection class="QAbstractXmlReceiver" function-name="item" />
@@ -38,6 +45,8 @@
<value-type name="QSourceLocation">
<modify-function signature="operator=(QSourceLocation)" remove="all" />
</value-type>
+ <value-type name="QXmlSchema" />
+ <object-type name="QXmlSchemaValidator" />
<rejection class="QXmlFormatter" function-name="item" />
<object-type name="QXmlFormatter">
@@ -49,6 +58,15 @@
</value-type>
<value-type name="QXmlName">
+ <modify-function signature="QXmlName(QXmlNamePool&amp;,QString,QString,QString)" access="private">
+ <modify-argument index="3">
+ <remove-default-expression />
+ </modify-argument>
+ <modify-argument index="4">
+ <remove-default-expression />
+ </modify-argument>
+ </modify-function>
+
<modify-function signature="operator=(QXmlName)" remove="all" />
<modify-function signature="QXmlName(short,short,short)" remove="all" />
<modify-function signature="localName()const" remove="all" />
@@ -71,6 +89,7 @@
<rejection class="QXmlNodeModelIndex" function-name="sendNamespaces" />
<rejection class="QXmlNodeModelIndex" function-name="iterate" />
<rejection class="QXmlNodeModelIndex" function-name="type" />
+ <rejection class="QXmlNodeModelIndex" enum-name="Axis" />
<value-type name="QXmlNodeModelIndex">
<modify-function signature="name() const" remove="all" />
<modify-function signature="root() const" remove="all" />
@@ -87,7 +106,20 @@
<modify-function signature="internalPointer()const" remove="all" />
</value-type>
+ <value-type name="QXmlSerializerPointer"/>
+
<value-type name="QXmlQuery">
+ <modify-function signature="setFocus(QIODevice*)">
+ <modify-argument index="1">
+ <reference-count action="set" variable-name="__rcFocusDevice" />
+ </modify-argument>
+ </modify-function>
+ <modify-function signature="setNetworkAccessManager(QNetworkAccessManager*)">
+ <modify-argument index="1">
+ <reference-count action="set" variable-name="__rcNetworkAccessManager" />
+ </modify-argument>
+ </modify-function>
+ <modify-function signature="evaluateTo(QAbstractXmlReceiver *)const" remove="all" />
<modify-function signature="evaluateTo(QStringList&lt;QString&gt;*)const" remove="all" />
<modify-function signature="setMessageHandler(QAbstractMessageHandler*)">
<modify-argument index="1">
@@ -109,19 +141,35 @@
<rejection class="QXmlSerializer" function-name="item" />
<object-type name="QXmlSerializer">
+ <modify-function signature="atDocumentRoot()const" remove="all" />
+ <modify-function signature="startContent()" remove="all" />
+ <modify-function signature="writeEscaped(QString)" remove="all" />
+ <modify-function signature="writeEscapedAttribute(QString)" remove="all" />
+ <modify-function signature="write(QString)" remove="all" />
+ <modify-function signature="write(QXmlName)" remove="all" />
+ <modify-function signature="write(const char *)" remove="all" />
+ <modify-function signature="isBindingInScope(QXmlName)const" remove="all" />
+ <modify-function signature="setCodec(const QTextCodec *)">
+ <modify-argument index="1">
+ <reference-count action="set" variable-name="__rcCodec" />
+ </modify-argument>
+ </modify-function>
</object-type>
<suppress-warning text="WARNING(MetaJavaBuilder) :: horribly broken type ''"/>
+ <suppress-warning text="WARNING(MetaJavaBuilder) :: template baseclass 'QExplicitlySharedDataPointer&lt;QXmlSerializer&gt;' of 'QXmlSerializerPointer' is not known" />
<suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QXmlItem::QXmlItem', unmatched parameter type 'QPatternist::Item const&amp;'" />
<suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QXmlNodeModelIndex::sequencedTypedValue', unmatched return type 'QExplicitlySharedDataPointer&lt;QAbstractXmlForwardIterator&lt;QPatternist::Item&gt;&gt;"/>
+ <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QXmlNamePool::QXmlNamePool', unmatched parameter type 'QPatternist::NamePool*'" />
<suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QXmlNodeModelIndex::QXmlNodeModelIndex', unmatched parameter type 'QPatternist::NodeIndexStorage const&amp;'" />
<!-- 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 'QXmlSerializerPointer' 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."/>
@@ -139,5 +187,5 @@
<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."/>
-
+ <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'com.trolltech.qt.xmlpatterns.QXmlQuery' for enum 'QueryLanguage' is not declared" />
</typesystem>