summaryrefslogtreecommitdiffstats
path: root/generator/typesystem_xmlpatterns.xml
blob: cfb1d458ed7a4029a3cb1cf9ee17c3c1e9f0f55b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<?xml version="1.0"?>
<typesystem package="com.trolltech.qt.xmlpatterns">


  <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&lt;QString&gt;*)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&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 '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 '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>