##// END OF EJS Templates
generate extra wrappers for virtual slots to allow correct deriving via Python and to avoid recursion...
florianlink -
r175:7bc6abba6c12
parent child
Show More
@@ -1,946 +1,946
1 /****************************************************************************
1 /****************************************************************************
2 **
2 **
3 ** Copyright (C) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
3 ** Copyright (C) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
4 ** All rights reserved.
4 ** All rights reserved.
5 ** Contact: Nokia Corporation (qt-info@nokia.com)
5 ** Contact: Nokia Corporation (qt-info@nokia.com)
6 **
6 **
7 ** This file is part of the Qt Script Generator project on Qt Labs.
7 ** This file is part of the Qt Script Generator project on Qt Labs.
8 **
8 **
9 ** $QT_BEGIN_LICENSE:LGPL$
9 ** $QT_BEGIN_LICENSE:LGPL$
10 ** No Commercial Usage
10 ** No Commercial Usage
11 ** This file contains pre-release code and may not be distributed.
11 ** This file contains pre-release code and may not be distributed.
12 ** You may use this file in accordance with the terms and conditions
12 ** You may use this file in accordance with the terms and conditions
13 ** contained in the Technology Preview License Agreement accompanying
13 ** contained in the Technology Preview License Agreement accompanying
14 ** this package.
14 ** this package.
15 **
15 **
16 ** GNU Lesser General Public License Usage
16 ** GNU Lesser General Public License Usage
17 ** Alternatively, this file may be used under the terms of the GNU Lesser
17 ** Alternatively, this file may be used under the terms of the GNU Lesser
18 ** General Public License version 2.1 as published by the Free Software
18 ** General Public License version 2.1 as published by the Free Software
19 ** Foundation and appearing in the file LICENSE.LGPL included in the
19 ** Foundation and appearing in the file LICENSE.LGPL included in the
20 ** packaging of this file. Please review the following information to
20 ** packaging of this file. Please review the following information to
21 ** ensure the GNU Lesser General Public License version 2.1 requirements
21 ** ensure the GNU Lesser General Public License version 2.1 requirements
22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
23 **
23 **
24 ** In addition, as a special exception, Nokia gives you certain additional
24 ** In addition, as a special exception, Nokia gives you certain additional
25 ** rights. These rights are described in the Nokia Qt LGPL Exception
25 ** rights. These rights are described in the Nokia Qt LGPL Exception
26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
27 **
27 **
28 ** If you have questions regarding the use of this file, please contact
28 ** If you have questions regarding the use of this file, please contact
29 ** Nokia at qt-info@nokia.com.
29 ** Nokia at qt-info@nokia.com.
30 **
30 **
31 **
31 **
32 **
32 **
33 **
33 **
34 **
34 **
35 **
35 **
36 **
36 **
37 **
37 **
38 ** $QT_END_LICENSE$
38 ** $QT_END_LICENSE$
39 **
39 **
40 ****************************************************************************/
40 ****************************************************************************/
41
41
42 #ifndef ABSTRACTMETALANG_H
42 #ifndef ABSTRACTMETALANG_H
43 #define ABSTRACTMETALANG_H
43 #define ABSTRACTMETALANG_H
44
44
45 #include "codemodel.h"
45 #include "codemodel.h"
46
46
47 #include "typesystem.h"
47 #include "typesystem.h"
48
48
49 #include <QSet>
49 #include <QSet>
50 #include <QStringList>
50 #include <QStringList>
51 #include <QTextStream>
51 #include <QTextStream>
52
52
53
53
54 class AbstractMeta;
54 class AbstractMeta;
55 class AbstractMetaClass;
55 class AbstractMetaClass;
56 class AbstractMetaField;
56 class AbstractMetaField;
57 class AbstractMetaFunction;
57 class AbstractMetaFunction;
58 class AbstractMetaType;
58 class AbstractMetaType;
59 class AbstractMetaVariable;
59 class AbstractMetaVariable;
60 class AbstractMetaArgument;
60 class AbstractMetaArgument;
61 class AbstractMetaEnumValue;
61 class AbstractMetaEnumValue;
62 class AbstractMetaEnum;
62 class AbstractMetaEnum;
63 class QPropertySpec;
63 class QPropertySpec;
64
64
65 typedef QList<AbstractMetaField *> AbstractMetaFieldList;
65 typedef QList<AbstractMetaField *> AbstractMetaFieldList;
66 typedef QList<AbstractMetaArgument *> AbstractMetaArgumentList;
66 typedef QList<AbstractMetaArgument *> AbstractMetaArgumentList;
67 typedef QList<AbstractMetaFunction *> AbstractMetaFunctionList;
67 typedef QList<AbstractMetaFunction *> AbstractMetaFunctionList;
68 class AbstractMetaClassList : public QList<AbstractMetaClass *>
68 class AbstractMetaClassList : public QList<AbstractMetaClass *>
69 {
69 {
70 public:
70 public:
71 AbstractMetaClass *findClass(const QString &name) const;
71 AbstractMetaClass *findClass(const QString &name) const;
72 AbstractMetaEnumValue *findEnumValue(const QString &string) const;
72 AbstractMetaEnumValue *findEnumValue(const QString &string) const;
73 AbstractMetaEnum *findEnum(const EnumTypeEntry *entry) const;
73 AbstractMetaEnum *findEnum(const EnumTypeEntry *entry) const;
74
74
75 };
75 };
76
76
77
77
78
78
79 class AbstractMetaAttributes
79 class AbstractMetaAttributes
80 {
80 {
81 public:
81 public:
82 AbstractMetaAttributes() : m_attributes(0) { };
82 AbstractMetaAttributes() : m_attributes(0) { };
83
83
84 enum Attribute {
84 enum Attribute {
85 None = 0x00000000,
85 None = 0x00000000,
86
86
87 Private = 0x00000001,
87 Private = 0x00000001,
88 Protected = 0x00000002,
88 Protected = 0x00000002,
89 Public = 0x00000004,
89 Public = 0x00000004,
90 Friendly = 0x00000008,
90 Friendly = 0x00000008,
91 Visibility = 0x0000000f,
91 Visibility = 0x0000000f,
92
92
93 Native = 0x00000010,
93 Native = 0x00000010,
94 Abstract = 0x00000020,
94 Abstract = 0x00000020,
95 Static = 0x00000040,
95 Static = 0x00000040,
96
96
97 FinalInTargetLang = 0x00000080,
97 FinalInTargetLang = 0x00000080,
98 FinalInCpp = 0x00000100,
98 FinalInCpp = 0x00000100,
99 ForceShellImplementation = 0x00000200,
99 ForceShellImplementation = 0x00000200,
100
100
101 GetterFunction = 0x00000400,
101 GetterFunction = 0x00000400,
102 SetterFunction = 0x00000800,
102 SetterFunction = 0x00000800,
103
103
104 FinalOverload = 0x00001000,
104 FinalOverload = 0x00001000,
105 InterfaceFunction = 0x00002000,
105 InterfaceFunction = 0x00002000,
106
106
107 PropertyReader = 0x00004000,
107 PropertyReader = 0x00004000,
108 PropertyWriter = 0x00008000,
108 PropertyWriter = 0x00008000,
109 PropertyResetter = 0x00010000,
109 PropertyResetter = 0x00010000,
110
110
111 Fake = 0x00020000,
111 Fake = 0x00020000,
112
112
113 Invokable = 0x00040000,
113 Invokable = 0x00040000,
114
114
115 Final = FinalInTargetLang | FinalInCpp
115 Final = FinalInTargetLang | FinalInCpp
116 };
116 };
117
117
118 uint attributes() const { return m_attributes; }
118 uint attributes() const { return m_attributes; }
119 void setAttributes(uint attributes) { m_attributes = attributes; }
119 void setAttributes(uint attributes) { m_attributes = attributes; }
120
120
121 uint originalAttributes() const { return m_originalAttributes; }
121 uint originalAttributes() const { return m_originalAttributes; }
122 void setOriginalAttributes(uint attributes) { m_originalAttributes = attributes; }
122 void setOriginalAttributes(uint attributes) { m_originalAttributes = attributes; }
123
123
124 uint visibility() const { return m_attributes & Visibility; }
124 uint visibility() const { return m_attributes & Visibility; }
125 void setVisibility(uint visi) { m_attributes = (m_attributes & ~Visibility) | visi; }
125 void setVisibility(uint visi) { m_attributes = (m_attributes & ~Visibility) | visi; }
126
126
127 void operator+=(Attribute attribute) { m_attributes |= attribute; }
127 void operator+=(Attribute attribute) { m_attributes |= attribute; }
128 void operator-=(Attribute attribute) { m_attributes &= ~attribute; }
128 void operator-=(Attribute attribute) { m_attributes &= ~attribute; }
129
129
130 bool isNative() const { return m_attributes & Native; }
130 bool isNative() const { return m_attributes & Native; }
131 bool isFinal() const { return (m_attributes & Final) == Final; }
131 bool isFinal() const { return (m_attributes & Final) == Final; }
132 bool isFinalInTargetLang() const { return m_attributes & FinalInTargetLang; }
132 bool isFinalInTargetLang() const { return m_attributes & FinalInTargetLang; }
133 bool isFinalInCpp() const { return m_attributes & FinalInCpp; }
133 bool isFinalInCpp() const { return m_attributes & FinalInCpp; }
134 bool isAbstract() const { return m_attributes & Abstract; }
134 bool isAbstract() const { return m_attributes & Abstract; }
135 bool isStatic() const { return m_attributes & Static; }
135 bool isStatic() const { return m_attributes & Static; }
136 bool isForcedShellImplementation() const { return m_attributes & ForceShellImplementation; }
136 bool isForcedShellImplementation() const { return m_attributes & ForceShellImplementation; }
137 bool isInterfaceFunction() const { return m_attributes & InterfaceFunction; }
137 bool isInterfaceFunction() const { return m_attributes & InterfaceFunction; }
138 bool isFinalOverload() const { return m_attributes & FinalOverload; }
138 bool isFinalOverload() const { return m_attributes & FinalOverload; }
139 bool isInvokable() const { return m_attributes & Invokable; }
139 bool isInvokable() const { return m_attributes & Invokable; }
140
140
141 bool isPropertyReader() const { return m_attributes & PropertyReader; }
141 bool isPropertyReader() const { return m_attributes & PropertyReader; }
142 bool isPropertyWriter() const { return m_attributes & PropertyWriter; }
142 bool isPropertyWriter() const { return m_attributes & PropertyWriter; }
143 bool isPropertyResetter() const { return m_attributes & PropertyResetter; }
143 bool isPropertyResetter() const { return m_attributes & PropertyResetter; }
144
144
145 bool isPrivate() const { return m_attributes & Private; }
145 bool isPrivate() const { return m_attributes & Private; }
146 bool isProtected() const { return m_attributes & Protected; }
146 bool isProtected() const { return m_attributes & Protected; }
147 bool isPublic() const { return m_attributes & Public; }
147 bool isPublic() const { return m_attributes & Public; }
148 bool isFriendly() const { return m_attributes & Friendly; }
148 bool isFriendly() const { return m_attributes & Friendly; }
149
149
150 bool wasPrivate() const { return m_originalAttributes & Private; }
150 bool wasPrivate() const { return m_originalAttributes & Private; }
151 bool wasProtected() const { return m_originalAttributes & Protected; }
151 bool wasProtected() const { return m_originalAttributes & Protected; }
152 bool wasPublic() const { return m_originalAttributes & Public; }
152 bool wasPublic() const { return m_originalAttributes & Public; }
153 bool wasFriendly() const { return m_originalAttributes & Friendly; }
153 bool wasFriendly() const { return m_originalAttributes & Friendly; }
154
154
155 private:
155 private:
156 uint m_attributes;
156 uint m_attributes;
157 uint m_originalAttributes;
157 uint m_originalAttributes;
158 };
158 };
159
159
160
160
161 class AbstractMetaType
161 class AbstractMetaType
162 {
162 {
163 public:
163 public:
164 enum TypeUsagePattern {
164 enum TypeUsagePattern {
165 InvalidPattern,
165 InvalidPattern,
166 PrimitivePattern,
166 PrimitivePattern,
167 FlagsPattern,
167 FlagsPattern,
168 EnumPattern,
168 EnumPattern,
169 ValuePattern,
169 ValuePattern,
170 StringPattern,
170 StringPattern,
171 CharPattern,
171 CharPattern,
172 ObjectPattern,
172 ObjectPattern,
173 QObjectPattern,
173 QObjectPattern,
174 NativePointerPattern,
174 NativePointerPattern,
175 ContainerPattern,
175 ContainerPattern,
176 VariantPattern,
176 VariantPattern,
177 JObjectWrapperPattern,
177 JObjectWrapperPattern,
178 ArrayPattern,
178 ArrayPattern,
179 ThreadPattern
179 ThreadPattern
180 };
180 };
181
181
182 AbstractMetaType() :
182 AbstractMetaType() :
183 m_type_entry(0),
183 m_type_entry(0),
184 m_array_element_count(0),
184 m_array_element_count(0),
185 m_array_element_type(0),
185 m_array_element_type(0),
186 m_original_template_type(0),
186 m_original_template_type(0),
187 m_pattern(InvalidPattern),
187 m_pattern(InvalidPattern),
188 m_constant(false),
188 m_constant(false),
189 m_reference(false),
189 m_reference(false),
190 m_cpp_instantiation(true),
190 m_cpp_instantiation(true),
191 m_indirections(0),
191 m_indirections(0),
192 m_reserved(0)
192 m_reserved(0)
193 {
193 {
194 }
194 }
195
195
196 QString package() const { return m_type_entry->javaPackage(); }
196 QString package() const { return m_type_entry->javaPackage(); }
197 QString name() const { return m_type_entry->targetLangName(); }
197 QString name() const { return m_type_entry->targetLangName(); }
198 QString fullName() const { return m_type_entry->qualifiedTargetLangName(); }
198 QString fullName() const { return m_type_entry->qualifiedTargetLangName(); }
199
199
200 void setTypeUsagePattern(TypeUsagePattern pattern) { m_pattern = pattern; }
200 void setTypeUsagePattern(TypeUsagePattern pattern) { m_pattern = pattern; }
201 TypeUsagePattern typeUsagePattern() const { return m_pattern; }
201 TypeUsagePattern typeUsagePattern() const { return m_pattern; }
202
202
203 // true when use pattern is container
203 // true when use pattern is container
204 bool hasInstantiations() const { return !m_instantiations.isEmpty(); }
204 bool hasInstantiations() const { return !m_instantiations.isEmpty(); }
205 void addInstantiation(AbstractMetaType *inst) { m_instantiations << inst; }
205 void addInstantiation(AbstractMetaType *inst) { m_instantiations << inst; }
206 void setInstantiations(const QList<AbstractMetaType *> &insts) { m_instantiations = insts; }
206 void setInstantiations(const QList<AbstractMetaType *> &insts) { m_instantiations = insts; }
207 QList<AbstractMetaType *> instantiations() const { return m_instantiations; }
207 QList<AbstractMetaType *> instantiations() const { return m_instantiations; }
208 void setInstantiationInCpp(bool incpp) { m_cpp_instantiation = incpp; }
208 void setInstantiationInCpp(bool incpp) { m_cpp_instantiation = incpp; }
209 bool hasInstantiationInCpp() const { return hasInstantiations() && m_cpp_instantiation; }
209 bool hasInstantiationInCpp() const { return hasInstantiations() && m_cpp_instantiation; }
210
210
211 QString minimalSignature() const;
211 QString minimalSignature() const;
212
212
213 // true when the type is a QtJambiObject subclass
213 // true when the type is a QtJambiObject subclass
214 bool hasNativeId() const;
214 bool hasNativeId() const;
215
215
216 // returns true if the typs is used as a non complex primitive, no & or *'s
216 // returns true if the typs is used as a non complex primitive, no & or *'s
217 bool isPrimitive() const { return m_pattern == PrimitivePattern; }
217 bool isPrimitive() const { return m_pattern == PrimitivePattern; }
218
218
219 // returns true if the type is used as an enum
219 // returns true if the type is used as an enum
220 bool isEnum() const { return m_pattern == EnumPattern; }
220 bool isEnum() const { return m_pattern == EnumPattern; }
221
221
222 // returns true if the type is used as a QObject *
222 // returns true if the type is used as a QObject *
223 bool isQObject() const { return m_pattern == QObjectPattern; }
223 bool isQObject() const { return m_pattern == QObjectPattern; }
224
224
225 // returns true if the type is used as an object, e.g. Xxx *
225 // returns true if the type is used as an object, e.g. Xxx *
226 bool isObject() const { return m_pattern == ObjectPattern; }
226 bool isObject() const { return m_pattern == ObjectPattern; }
227
227
228 // returns true if the type is used as an array, e.g. Xxx[42]
228 // returns true if the type is used as an array, e.g. Xxx[42]
229 bool isArray() const { return m_pattern == ArrayPattern; }
229 bool isArray() const { return m_pattern == ArrayPattern; }
230
230
231 // returns true if the type is used as a value type (X or const X &)
231 // returns true if the type is used as a value type (X or const X &)
232 bool isValue() const { return m_pattern == ValuePattern; }
232 bool isValue() const { return m_pattern == ValuePattern; }
233
233
234 // returns true for more complex types...
234 // returns true for more complex types...
235 bool isNativePointer() const { return m_pattern == NativePointerPattern; }
235 bool isNativePointer() const { return m_pattern == NativePointerPattern; }
236
236
237 // returns true if the type was originally a QString or const QString & or equivalent for QLatin1String
237 // returns true if the type was originally a QString or const QString & or equivalent for QLatin1String
238 bool isTargetLangString() const { return m_pattern == StringPattern; }
238 bool isTargetLangString() const { return m_pattern == StringPattern; }
239
239
240 // returns true if the type was originally a QChar or const QChar &
240 // returns true if the type was originally a QChar or const QChar &
241 bool isTargetLangChar() const { return m_pattern == CharPattern; }
241 bool isTargetLangChar() const { return m_pattern == CharPattern; }
242
242
243 // return true if the type was originally a QVariant or const QVariant &
243 // return true if the type was originally a QVariant or const QVariant &
244 bool isVariant() const { return m_pattern == VariantPattern; }
244 bool isVariant() const { return m_pattern == VariantPattern; }
245
245
246 // return true if the type was originally a JObjectWrapper or const JObjectWrapper &
246 // return true if the type was originally a JObjectWrapper or const JObjectWrapper &
247 bool isJObjectWrapper() const { return m_pattern == JObjectWrapperPattern; }
247 bool isJObjectWrapper() const { return m_pattern == JObjectWrapperPattern; }
248
248
249 // returns true if the type was used as a container
249 // returns true if the type was used as a container
250 bool isContainer() const { return m_pattern == ContainerPattern; }
250 bool isContainer() const { return m_pattern == ContainerPattern; }
251
251
252 // returns true if the type was used as a flag
252 // returns true if the type was used as a flag
253 bool isFlags() const { return m_pattern == FlagsPattern; }
253 bool isFlags() const { return m_pattern == FlagsPattern; }
254
254
255 // returns true if the type was used as a thread
255 // returns true if the type was used as a thread
256 bool isThread() const { return m_pattern == ThreadPattern; }
256 bool isThread() const { return m_pattern == ThreadPattern; }
257
257
258 bool isConstant() const { return m_constant; }
258 bool isConstant() const { return m_constant; }
259 void setConstant(bool constant) { m_constant = constant; }
259 void setConstant(bool constant) { m_constant = constant; }
260
260
261 bool isReference() const { return m_reference; }
261 bool isReference() const { return m_reference; }
262 void setReference(bool ref) { m_reference = ref; }
262 void setReference(bool ref) { m_reference = ref; }
263
263
264 // Returns true if the type is to be implemented using Java enums, e.g. not plain ints.
264 // Returns true if the type is to be implemented using Java enums, e.g. not plain ints.
265 bool isTargetLangEnum() const { return isEnum() && !((EnumTypeEntry *) typeEntry())->forceInteger(); }
265 bool isTargetLangEnum() const { return isEnum() && !((EnumTypeEntry *) typeEntry())->forceInteger(); }
266 bool isIntegerEnum() const { return isEnum() && !isTargetLangEnum(); }
266 bool isIntegerEnum() const { return isEnum() && !isTargetLangEnum(); }
267
267
268 // Returns true if the type is to be implemented using Java QFlags, e.g. not plain ints.
268 // Returns true if the type is to be implemented using Java QFlags, e.g. not plain ints.
269 bool isTargetLangFlags() const {
269 bool isTargetLangFlags() const {
270 return isFlags() && !((FlagsTypeEntry *) typeEntry())->forceInteger(); }
270 return isFlags() && !((FlagsTypeEntry *) typeEntry())->forceInteger(); }
271 bool isIntegerFlags() const { return isFlags() && !isTargetLangFlags(); }
271 bool isIntegerFlags() const { return isFlags() && !isTargetLangFlags(); }
272
272
273 int actualIndirections() const { return m_indirections + (isReference() ? 1 : 0); }
273 int actualIndirections() const { return m_indirections + (isReference() ? 1 : 0); }
274 int indirections() const { return m_indirections; }
274 int indirections() const { return m_indirections; }
275 void setIndirections(int indirections) { m_indirections = indirections; }
275 void setIndirections(int indirections) { m_indirections = indirections; }
276
276
277 void setArrayElementCount(int n) { m_array_element_count = n; }
277 void setArrayElementCount(int n) { m_array_element_count = n; }
278 int arrayElementCount() const { return m_array_element_count; }
278 int arrayElementCount() const { return m_array_element_count; }
279
279
280 AbstractMetaType *arrayElementType() const { return m_array_element_type; }
280 AbstractMetaType *arrayElementType() const { return m_array_element_type; }
281 void setArrayElementType(AbstractMetaType *t) { m_array_element_type = t; }
281 void setArrayElementType(AbstractMetaType *t) { m_array_element_type = t; }
282
282
283 QString cppSignature() const;
283 QString cppSignature() const;
284
284
285 AbstractMetaType *copy() const;
285 AbstractMetaType *copy() const;
286
286
287 const TypeEntry *typeEntry() const { return m_type_entry; }
287 const TypeEntry *typeEntry() const { return m_type_entry; }
288 void setTypeEntry(const TypeEntry *type) { m_type_entry = type; }
288 void setTypeEntry(const TypeEntry *type) { m_type_entry = type; }
289
289
290 void setOriginalTypeDescription(const QString &otd) { m_original_type_description = otd; }
290 void setOriginalTypeDescription(const QString &otd) { m_original_type_description = otd; }
291 QString originalTypeDescription() const { return m_original_type_description; }
291 QString originalTypeDescription() const { return m_original_type_description; }
292
292
293 void setOriginalTemplateType(const AbstractMetaType *type) { m_original_template_type = type; }
293 void setOriginalTemplateType(const AbstractMetaType *type) { m_original_template_type = type; }
294 const AbstractMetaType *originalTemplateType() const { return m_original_template_type; }
294 const AbstractMetaType *originalTemplateType() const { return m_original_template_type; }
295
295
296 private:
296 private:
297 const TypeEntry *m_type_entry;
297 const TypeEntry *m_type_entry;
298 QList <AbstractMetaType *> m_instantiations;
298 QList <AbstractMetaType *> m_instantiations;
299 QString m_package;
299 QString m_package;
300 QString m_original_type_description;
300 QString m_original_type_description;
301
301
302 int m_array_element_count;
302 int m_array_element_count;
303 AbstractMetaType *m_array_element_type;
303 AbstractMetaType *m_array_element_type;
304 const AbstractMetaType *m_original_template_type;
304 const AbstractMetaType *m_original_template_type;
305
305
306 TypeUsagePattern m_pattern;
306 TypeUsagePattern m_pattern;
307 uint m_constant : 1;
307 uint m_constant : 1;
308 uint m_reference : 1;
308 uint m_reference : 1;
309 uint m_cpp_instantiation : 1;
309 uint m_cpp_instantiation : 1;
310 int m_indirections : 4;
310 int m_indirections : 4;
311 uint m_reserved : 25; // unused
311 uint m_reserved : 25; // unused
312 };
312 };
313
313
314 class AbstractMetaVariable
314 class AbstractMetaVariable
315 {
315 {
316 public:
316 public:
317 AbstractMetaVariable() : m_type(0) { }
317 AbstractMetaVariable() : m_type(0) { }
318
318
319 AbstractMetaType *type() const { return m_type; }
319 AbstractMetaType *type() const { return m_type; }
320 void setType(AbstractMetaType *type) { m_type = type; }
320 void setType(AbstractMetaType *type) { m_type = type; }
321
321
322 QString name() const { return m_name; }
322 QString name() const { return m_name; }
323 void setName(const QString &name) { m_name = name; }
323 void setName(const QString &name) { m_name = name; }
324
324
325 private:
325 private:
326 QString m_name;
326 QString m_name;
327 AbstractMetaType *m_type;
327 AbstractMetaType *m_type;
328 };
328 };
329
329
330
330
331
331
332 class AbstractMetaArgument : public AbstractMetaVariable
332 class AbstractMetaArgument : public AbstractMetaVariable
333 {
333 {
334 public:
334 public:
335 AbstractMetaArgument() : m_argument_index(0) { };
335 AbstractMetaArgument() : m_argument_index(0) { };
336
336
337 QString defaultValueExpression() const { return m_expression; }
337 QString defaultValueExpression() const { return m_expression; }
338 void setDefaultValueExpression(const QString &expr) { m_expression = expr; }
338 void setDefaultValueExpression(const QString &expr) { m_expression = expr; }
339
339
340 QString originalDefaultValueExpression() const { return m_original_expression; }
340 QString originalDefaultValueExpression() const { return m_original_expression; }
341 void setOriginalDefaultValueExpression(const QString &expr) { m_original_expression = expr; }
341 void setOriginalDefaultValueExpression(const QString &expr) { m_original_expression = expr; }
342
342
343 QString toString() const { return type()->name() + " " + AbstractMetaVariable::name() +
343 QString toString() const { return type()->name() + " " + AbstractMetaVariable::name() +
344 (m_expression.isEmpty() ? "" : " = " + m_expression); }
344 (m_expression.isEmpty() ? "" : " = " + m_expression); }
345
345
346 int argumentIndex() const { return m_argument_index; }
346 int argumentIndex() const { return m_argument_index; }
347 void setArgumentIndex(int argIndex) { m_argument_index = argIndex; }
347 void setArgumentIndex(int argIndex) { m_argument_index = argIndex; }
348
348
349 QString argumentName() const;
349 QString argumentName() const;
350 QString indexedName() const;
350 QString indexedName() const;
351
351
352 AbstractMetaArgument *copy() const;
352 AbstractMetaArgument *copy() const;
353
353
354 private:
354 private:
355 // Just to force people to call argumentName() And indexedName();
355 // Just to force people to call argumentName() And indexedName();
356 QString name() const;
356 QString name() const;
357
357
358 QString m_expression;
358 QString m_expression;
359 QString m_original_expression;
359 QString m_original_expression;
360 int m_argument_index;
360 int m_argument_index;
361 };
361 };
362
362
363
363
364 class AbstractMetaField : public AbstractMetaVariable, public AbstractMetaAttributes
364 class AbstractMetaField : public AbstractMetaVariable, public AbstractMetaAttributes
365 {
365 {
366 public:
366 public:
367 AbstractMetaField();
367 AbstractMetaField();
368 ~AbstractMetaField();
368 ~AbstractMetaField();
369
369
370 const AbstractMetaClass *enclosingClass() const { return m_class; }
370 const AbstractMetaClass *enclosingClass() const { return m_class; }
371 void setEnclosingClass(const AbstractMetaClass *cls) { m_class = cls; }
371 void setEnclosingClass(const AbstractMetaClass *cls) { m_class = cls; }
372
372
373 const AbstractMetaFunction *getter() const;
373 const AbstractMetaFunction *getter() const;
374 const AbstractMetaFunction *setter() const;
374 const AbstractMetaFunction *setter() const;
375
375
376 FieldModificationList modifications() const;
376 FieldModificationList modifications() const;
377
377
378 AbstractMetaField *copy() const;
378 AbstractMetaField *copy() const;
379
379
380 private:
380 private:
381 mutable AbstractMetaFunction *m_getter;
381 mutable AbstractMetaFunction *m_getter;
382 mutable AbstractMetaFunction *m_setter;
382 mutable AbstractMetaFunction *m_setter;
383 const AbstractMetaClass *m_class;
383 const AbstractMetaClass *m_class;
384 };
384 };
385
385
386
386
387 class AbstractMetaFunction : public AbstractMetaAttributes
387 class AbstractMetaFunction : public AbstractMetaAttributes
388 {
388 {
389 public:
389 public:
390 enum FunctionType {
390 enum FunctionType {
391 ConstructorFunction,
391 ConstructorFunction,
392 DestructorFunction,
392 DestructorFunction,
393 NormalFunction,
393 NormalFunction,
394 SignalFunction,
394 SignalFunction,
395 EmptyFunction,
395 EmptyFunction,
396 SlotFunction,
396 SlotFunction,
397 GlobalScopeFunction
397 GlobalScopeFunction
398 };
398 };
399
399
400 enum CompareResult {
400 enum CompareResult {
401 EqualName = 0x00000001,
401 EqualName = 0x00000001,
402 EqualArguments = 0x00000002,
402 EqualArguments = 0x00000002,
403 EqualAttributes = 0x00000004,
403 EqualAttributes = 0x00000004,
404 EqualImplementor = 0x00000008,
404 EqualImplementor = 0x00000008,
405 EqualReturnType = 0x00000010,
405 EqualReturnType = 0x00000010,
406 EqualDefaultValueOverload = 0x00000020,
406 EqualDefaultValueOverload = 0x00000020,
407 EqualModifiedName = 0x00000040,
407 EqualModifiedName = 0x00000040,
408
408
409 NameLessThan = 0x00001000,
409 NameLessThan = 0x00001000,
410
410
411 PrettySimilar = EqualName | EqualArguments,
411 PrettySimilar = EqualName | EqualArguments,
412 Equal = 0x0000001f,
412 Equal = 0x0000001f,
413 NotEqual = 0x00001000
413 NotEqual = 0x00001000
414 };
414 };
415
415
416 AbstractMetaFunction()
416 AbstractMetaFunction()
417 : m_function_type(NormalFunction),
417 : m_function_type(NormalFunction),
418 m_type(0),
418 m_type(0),
419 m_class(0),
419 m_class(0),
420 m_implementing_class(0),
420 m_implementing_class(0),
421 m_declaring_class(0),
421 m_declaring_class(0),
422 m_interface_class(0),
422 m_interface_class(0),
423 m_property_spec(0),
423 m_property_spec(0),
424 m_constant(false),
424 m_constant(false),
425 m_invalid(false)
425 m_invalid(false)
426 {
426 {
427 }
427 }
428
428
429 ~AbstractMetaFunction();
429 ~AbstractMetaFunction();
430
430
431 QString name() const { return m_name; }
431 QString name() const { return m_name; }
432 void setName(const QString &name) { m_name = name; }
432 void setName(const QString &name) { m_name = name; }
433
433
434 QString originalName() const { return m_original_name.isEmpty() ? name() : m_original_name; }
434 QString originalName() const { return m_original_name.isEmpty() ? name() : m_original_name; }
435 void setOriginalName(const QString &name) { m_original_name = name; }
435 void setOriginalName(const QString &name) { m_original_name = name; }
436
436
437 QString modifiedName() const;
437 QString modifiedName() const;
438
438
439 QString minimalSignature() const;
439 QString minimalSignature() const;
440 QStringList possibleIntrospectionCompatibleSignatures() const;
440 QStringList possibleIntrospectionCompatibleSignatures() const;
441
441
442 QString marshalledName() const;
442 QString marshalledName() const;
443
443
444 // true if one or more of the arguments are of QtJambiObject subclasses
444 // true if one or more of the arguments are of QtJambiObject subclasses
445 bool argumentsHaveNativeId() const
445 bool argumentsHaveNativeId() const
446 {
446 {
447 foreach (const AbstractMetaArgument *arg, m_arguments) {
447 foreach (const AbstractMetaArgument *arg, m_arguments) {
448 if (arg->type()->hasNativeId())
448 if (arg->type()->hasNativeId())
449 return true;
449 return true;
450 }
450 }
451
451
452 return false;
452 return false;
453 }
453 }
454
454
455 bool isModifiedRemoved(int types = TypeSystem::All) const;
455 bool isModifiedRemoved(int types = TypeSystem::All) const;
456
456
457 AbstractMetaType *type() const { return m_type; }
457 AbstractMetaType *type() const { return m_type; }
458 void setType(AbstractMetaType *type) { m_type = type; }
458 void setType(AbstractMetaType *type) { m_type = type; }
459
459
460 // The class that has this function as a member.
460 // The class that has this function as a member.
461 const AbstractMetaClass *ownerClass() const { return m_class; }
461 const AbstractMetaClass *ownerClass() const { return m_class; }
462 void setOwnerClass(const AbstractMetaClass *cls) { m_class = cls; }
462 void setOwnerClass(const AbstractMetaClass *cls) { m_class = cls; }
463
463
464 // The first class in a hierarchy that declares the function
464 // The first class in a hierarchy that declares the function
465 const AbstractMetaClass *declaringClass() const { return m_declaring_class; }
465 const AbstractMetaClass *declaringClass() const { return m_declaring_class; }
466 void setDeclaringClass(const AbstractMetaClass *cls) { m_declaring_class = cls; }
466 void setDeclaringClass(const AbstractMetaClass *cls) { m_declaring_class = cls; }
467
467
468 // The class that actually implements this function
468 // The class that actually implements this function
469 const AbstractMetaClass *implementingClass() const { return m_implementing_class; }
469 const AbstractMetaClass *implementingClass() const { return m_implementing_class; }
470 void setImplementingClass(const AbstractMetaClass *cls) { m_implementing_class = cls; }
470 void setImplementingClass(const AbstractMetaClass *cls) { m_implementing_class = cls; }
471
471
472 bool needsCallThrough() const;
472 bool needsCallThrough() const;
473
473
474 AbstractMetaArgumentList arguments() const { return m_arguments; }
474 AbstractMetaArgumentList arguments() const { return m_arguments; }
475 void setArguments(const AbstractMetaArgumentList &arguments) { m_arguments = arguments; }
475 void setArguments(const AbstractMetaArgumentList &arguments) { m_arguments = arguments; }
476 void addArgument(AbstractMetaArgument *argument) { m_arguments << argument; }
476 void addArgument(AbstractMetaArgument *argument) { m_arguments << argument; }
477 int actualMinimumArgumentCount() const;
477 int actualMinimumArgumentCount() const;
478
478
479 void setInvalid(bool on) { m_invalid = on; }
479 void setInvalid(bool on) { m_invalid = on; }
480 bool isInvalid() const { return m_invalid; }
480 bool isInvalid() const { return m_invalid; }
481 bool isDeprecated() const;
481 bool isDeprecated() const;
482 bool isDestructor() const { return functionType() == DestructorFunction; }
482 bool isDestructor() const { return functionType() == DestructorFunction; }
483 bool isConstructor() const { return functionType() == ConstructorFunction; }
483 bool isConstructor() const { return functionType() == ConstructorFunction; }
484 bool isNormal() const { return functionType() == NormalFunction || isSlot() || isInGlobalScope(); }
484 bool isNormal() const { return functionType() == NormalFunction || isSlot() || isInGlobalScope(); }
485 bool isInGlobalScope() const { return functionType() == GlobalScopeFunction; }
485 bool isInGlobalScope() const { return functionType() == GlobalScopeFunction; }
486 bool isSignal() const { return functionType() == SignalFunction; }
486 bool isSignal() const { return functionType() == SignalFunction; }
487 bool isSlot() const { return functionType() == SlotFunction; }
487 bool isSlot() const { return functionType() == SlotFunction; }
488 bool isEmptyFunction() const { return functionType() == EmptyFunction; }
488 bool isEmptyFunction() const { return functionType() == EmptyFunction; }
489 FunctionType functionType() const { return m_function_type; }
489 FunctionType functionType() const { return m_function_type; }
490 void setFunctionType(FunctionType type) { m_function_type = type; }
490 void setFunctionType(FunctionType type) { m_function_type = type; }
491
491
492 bool isVirtual() { return !(isFinal() || isSignal() || isStatic()); }
492 bool isVirtual() const { return !(isFinal() || isSignal() || isStatic()); }
493
493
494 QStringList introspectionCompatibleSignatures(const QStringList &resolvedArguments = QStringList()) const;
494 QStringList introspectionCompatibleSignatures(const QStringList &resolvedArguments = QStringList()) const;
495 QString signature() const;
495 QString signature() const;
496 QString targetLangSignature(bool minimal = false) const;
496 QString targetLangSignature(bool minimal = false) const;
497 bool shouldReturnThisObject() const { return QLatin1String("this") == argumentReplaced(0); }
497 bool shouldReturnThisObject() const { return QLatin1String("this") == argumentReplaced(0); }
498 bool shouldIgnoreReturnValue() const { return QLatin1String("void") == argumentReplaced(0); }
498 bool shouldIgnoreReturnValue() const { return QLatin1String("void") == argumentReplaced(0); }
499
499
500 bool isConstant() const { return m_constant; }
500 bool isConstant() const { return m_constant; }
501 void setConstant(bool constant) { m_constant = constant; }
501 void setConstant(bool constant) { m_constant = constant; }
502
502
503 QString toString() const { return m_name; }
503 QString toString() const { return m_name; }
504
504
505 uint compareTo(const AbstractMetaFunction *other) const;
505 uint compareTo(const AbstractMetaFunction *other) const;
506
506
507 bool operator <(const AbstractMetaFunction &a) const;
507 bool operator <(const AbstractMetaFunction &a) const;
508
508
509 AbstractMetaFunction *copy() const;
509 AbstractMetaFunction *copy() const;
510
510
511 QString replacedDefaultExpression(const AbstractMetaClass *cls, int idx) const;
511 QString replacedDefaultExpression(const AbstractMetaClass *cls, int idx) const;
512 bool removedDefaultExpression(const AbstractMetaClass *cls, int idx) const;
512 bool removedDefaultExpression(const AbstractMetaClass *cls, int idx) const;
513 QString conversionRule(TypeSystem::Language language, int idx) const;
513 QString conversionRule(TypeSystem::Language language, int idx) const;
514 QList<ReferenceCount> referenceCounts(const AbstractMetaClass *cls, int idx = -2) const;
514 QList<ReferenceCount> referenceCounts(const AbstractMetaClass *cls, int idx = -2) const;
515
515
516 bool nullPointersDisabled(const AbstractMetaClass *cls = 0, int argument_idx = 0) const;
516 bool nullPointersDisabled(const AbstractMetaClass *cls = 0, int argument_idx = 0) const;
517 QString nullPointerDefaultValue(const AbstractMetaClass *cls = 0, int argument_idx = 0) const;
517 QString nullPointerDefaultValue(const AbstractMetaClass *cls = 0, int argument_idx = 0) const;
518
518
519 bool resetObjectAfterUse(int argument_idx) const;
519 bool resetObjectAfterUse(int argument_idx) const;
520
520
521 // Returns whether garbage collection is disabled for the argument in any context
521 // Returns whether garbage collection is disabled for the argument in any context
522 bool disabledGarbageCollection(const AbstractMetaClass *cls, int key) const;
522 bool disabledGarbageCollection(const AbstractMetaClass *cls, int key) const;
523
523
524 // Returns the ownership rules for the given argument in the given context
524 // Returns the ownership rules for the given argument in the given context
525 TypeSystem::Ownership ownership(const AbstractMetaClass *cls, TypeSystem::Language language, int idx) const;
525 TypeSystem::Ownership ownership(const AbstractMetaClass *cls, TypeSystem::Language language, int idx) const;
526
526
527 bool isVirtualSlot() const;
527 bool isVirtualSlot() const;
528
528
529 QString typeReplaced(int argument_index) const;
529 QString typeReplaced(int argument_index) const;
530 bool isRemovedFromAllLanguages(const AbstractMetaClass *) const;
530 bool isRemovedFromAllLanguages(const AbstractMetaClass *) const;
531 bool isRemovedFrom(const AbstractMetaClass *, TypeSystem::Language language) const;
531 bool isRemovedFrom(const AbstractMetaClass *, TypeSystem::Language language) const;
532 bool argumentRemoved(int) const;
532 bool argumentRemoved(int) const;
533
533
534 QString argumentReplaced(int key) const;
534 QString argumentReplaced(int key) const;
535 bool needsSuppressUncheckedWarning() const;
535 bool needsSuppressUncheckedWarning() const;
536
536
537 bool hasModifications(const AbstractMetaClass *implementor) const;
537 bool hasModifications(const AbstractMetaClass *implementor) const;
538 FunctionModificationList modifications(const AbstractMetaClass *implementor) const;
538 FunctionModificationList modifications(const AbstractMetaClass *implementor) const;
539
539
540 // If this function stems from an interface, this returns the
540 // If this function stems from an interface, this returns the
541 // interface that declares it.
541 // interface that declares it.
542 const AbstractMetaClass *interfaceClass() const { return m_interface_class; }
542 const AbstractMetaClass *interfaceClass() const { return m_interface_class; }
543 void setInterfaceClass(const AbstractMetaClass *cl) { m_interface_class = cl; }
543 void setInterfaceClass(const AbstractMetaClass *cl) { m_interface_class = cl; }
544
544
545 void setPropertySpec(QPropertySpec *spec) { m_property_spec = spec; }
545 void setPropertySpec(QPropertySpec *spec) { m_property_spec = spec; }
546 QPropertySpec *propertySpec() const { return m_property_spec; }
546 QPropertySpec *propertySpec() const { return m_property_spec; }
547
547
548 private:
548 private:
549 QString m_name;
549 QString m_name;
550 QString m_original_name;
550 QString m_original_name;
551 mutable QString m_cached_minimal_signature;
551 mutable QString m_cached_minimal_signature;
552 mutable QString m_cached_modified_name;
552 mutable QString m_cached_modified_name;
553
553
554 FunctionType m_function_type;
554 FunctionType m_function_type;
555 AbstractMetaType *m_type;
555 AbstractMetaType *m_type;
556 const AbstractMetaClass *m_class;
556 const AbstractMetaClass *m_class;
557 const AbstractMetaClass *m_implementing_class;
557 const AbstractMetaClass *m_implementing_class;
558 const AbstractMetaClass *m_declaring_class;
558 const AbstractMetaClass *m_declaring_class;
559 const AbstractMetaClass *m_interface_class;
559 const AbstractMetaClass *m_interface_class;
560 QPropertySpec *m_property_spec;
560 QPropertySpec *m_property_spec;
561 AbstractMetaArgumentList m_arguments;
561 AbstractMetaArgumentList m_arguments;
562 uint m_constant : 1;
562 uint m_constant : 1;
563 uint m_invalid : 1;
563 uint m_invalid : 1;
564 };
564 };
565
565
566
566
567 class AbstractMetaEnumValue
567 class AbstractMetaEnumValue
568 {
568 {
569 public:
569 public:
570 AbstractMetaEnumValue()
570 AbstractMetaEnumValue()
571 : m_value_set(false), m_value(0)
571 : m_value_set(false), m_value(0)
572 {
572 {
573 }
573 }
574
574
575 int value() const { return m_value; }
575 int value() const { return m_value; }
576 void setValue(int value) { m_value_set = true; m_value = value; }
576 void setValue(int value) { m_value_set = true; m_value = value; }
577
577
578 QString stringValue() const { return m_string_value; }
578 QString stringValue() const { return m_string_value; }
579 void setStringValue(const QString &v) { m_string_value = v; }
579 void setStringValue(const QString &v) { m_string_value = v; }
580
580
581 QString name() const { return m_name; }
581 QString name() const { return m_name; }
582 void setName(const QString &name) { m_name = name; }
582 void setName(const QString &name) { m_name = name; }
583
583
584 bool isValueSet() const { return m_value_set; }
584 bool isValueSet() const { return m_value_set; }
585
585
586 private:
586 private:
587 QString m_name;
587 QString m_name;
588 QString m_string_value;
588 QString m_string_value;
589
589
590 bool m_value_set;
590 bool m_value_set;
591 int m_value;
591 int m_value;
592 };
592 };
593
593
594
594
595 class AbstractMetaEnumValueList : public QList<AbstractMetaEnumValue *>
595 class AbstractMetaEnumValueList : public QList<AbstractMetaEnumValue *>
596 {
596 {
597 public:
597 public:
598 AbstractMetaEnumValue *find(const QString &name) const;
598 AbstractMetaEnumValue *find(const QString &name) const;
599 };
599 };
600
600
601 class AbstractMetaEnum : public AbstractMetaAttributes
601 class AbstractMetaEnum : public AbstractMetaAttributes
602 {
602 {
603 public:
603 public:
604 AbstractMetaEnum() : m_type_entry(0), m_class(0), m_has_qenums_declaration(false) {}
604 AbstractMetaEnum() : m_type_entry(0), m_class(0), m_has_qenums_declaration(false) {}
605
605
606 AbstractMetaEnumValueList values() const { return m_enum_values; }
606 AbstractMetaEnumValueList values() const { return m_enum_values; }
607 void addEnumValue(AbstractMetaEnumValue *enumValue) { m_enum_values << enumValue; }
607 void addEnumValue(AbstractMetaEnumValue *enumValue) { m_enum_values << enumValue; }
608
608
609 QString name() const { return m_type_entry->targetLangName(); }
609 QString name() const { return m_type_entry->targetLangName(); }
610 QString qualifier() const { return m_type_entry->javaQualifier(); }
610 QString qualifier() const { return m_type_entry->javaQualifier(); }
611 QString package() const { return m_type_entry->javaPackage(); }
611 QString package() const { return m_type_entry->javaPackage(); }
612 QString fullName() const { return package() + "." + qualifier() + "." + name(); }
612 QString fullName() const { return package() + "." + qualifier() + "." + name(); }
613
613
614 // Has the enum been declared inside a Q_ENUMS() macro in its enclosing class?
614 // Has the enum been declared inside a Q_ENUMS() macro in its enclosing class?
615 void setHasQEnumsDeclaration(bool on) { m_has_qenums_declaration = on; }
615 void setHasQEnumsDeclaration(bool on) { m_has_qenums_declaration = on; }
616 bool hasQEnumsDeclaration() const { return m_has_qenums_declaration; }
616 bool hasQEnumsDeclaration() const { return m_has_qenums_declaration; }
617
617
618 EnumTypeEntry *typeEntry() const { return m_type_entry; }
618 EnumTypeEntry *typeEntry() const { return m_type_entry; }
619 void setTypeEntry(EnumTypeEntry *entry) { m_type_entry = entry; }
619 void setTypeEntry(EnumTypeEntry *entry) { m_type_entry = entry; }
620
620
621 AbstractMetaClass *enclosingClass() const { return m_class; }
621 AbstractMetaClass *enclosingClass() const { return m_class; }
622 void setEnclosingClass(AbstractMetaClass *c) { m_class = c; }
622 void setEnclosingClass(AbstractMetaClass *c) { m_class = c; }
623
623
624 private:
624 private:
625 AbstractMetaEnumValueList m_enum_values;
625 AbstractMetaEnumValueList m_enum_values;
626 EnumTypeEntry *m_type_entry;
626 EnumTypeEntry *m_type_entry;
627 AbstractMetaClass *m_class;
627 AbstractMetaClass *m_class;
628
628
629 uint m_has_qenums_declaration : 1;
629 uint m_has_qenums_declaration : 1;
630 uint m_reserved : 31;
630 uint m_reserved : 31;
631 };
631 };
632
632
633 typedef QList<AbstractMetaEnum *> AbstractMetaEnumList;
633 typedef QList<AbstractMetaEnum *> AbstractMetaEnumList;
634
634
635 class AbstractMetaClass : public AbstractMetaAttributes
635 class AbstractMetaClass : public AbstractMetaAttributes
636 {
636 {
637 public:
637 public:
638 enum FunctionQueryOption {
638 enum FunctionQueryOption {
639 Constructors = 0x000001, // Only constructors
639 Constructors = 0x000001, // Only constructors
640 //Destructors = 0x000002, // Only destructors. Not included in class.
640 //Destructors = 0x000002, // Only destructors. Not included in class.
641 VirtualFunctions = 0x000004, // Only virtual functions (virtual in both TargetLang and C++)
641 VirtualFunctions = 0x000004, // Only virtual functions (virtual in both TargetLang and C++)
642 FinalInTargetLangFunctions = 0x000008, // Only functions that are non-virtual in TargetLang
642 FinalInTargetLangFunctions = 0x000008, // Only functions that are non-virtual in TargetLang
643 FinalInCppFunctions = 0x000010, // Only functions that are non-virtual in C++
643 FinalInCppFunctions = 0x000010, // Only functions that are non-virtual in C++
644 ClassImplements = 0x000020, // Only functions implemented by the current class
644 ClassImplements = 0x000020, // Only functions implemented by the current class
645 Inconsistent = 0x000040, // Only inconsistent functions (inconsistent virtualness in TargetLang/C++)
645 Inconsistent = 0x000040, // Only inconsistent functions (inconsistent virtualness in TargetLang/C++)
646 StaticFunctions = 0x000080, // Only static functions
646 StaticFunctions = 0x000080, // Only static functions
647 Signals = 0x000100, // Only signals
647 Signals = 0x000100, // Only signals
648 NormalFunctions = 0x000200, // Only functions that aren't signals
648 NormalFunctions = 0x000200, // Only functions that aren't signals
649 Visible = 0x000400, // Only public and protected functions
649 Visible = 0x000400, // Only public and protected functions
650 ForcedShellFunctions = 0x000800, // Only functions that are overridden to be implemented in the shell class
650 ForcedShellFunctions = 0x000800, // Only functions that are overridden to be implemented in the shell class
651 WasPublic = 0x001000, // Only functions that were originally public
651 WasPublic = 0x001000, // Only functions that were originally public
652 WasProtected = 0x002000, // Only functions that were originally protected
652 WasProtected = 0x002000, // Only functions that were originally protected
653 NonStaticFunctions = 0x004000, // No static functions
653 NonStaticFunctions = 0x004000, // No static functions
654 Empty = 0x008000, // Empty overrides of abstract functions
654 Empty = 0x008000, // Empty overrides of abstract functions
655 Invisible = 0x010000, // Only private functions
655 Invisible = 0x010000, // Only private functions
656 VirtualInCppFunctions = 0x020000, // Only functions that are virtual in C++
656 VirtualInCppFunctions = 0x020000, // Only functions that are virtual in C++
657 NonEmptyFunctions = 0x040000, // Only functions with JNI implementations
657 NonEmptyFunctions = 0x040000, // Only functions with JNI implementations
658 VirtualInTargetLangFunctions = 0x080000, // Only functions which are virtual in TargetLang
658 VirtualInTargetLangFunctions = 0x080000, // Only functions which are virtual in TargetLang
659 AbstractFunctions = 0x100000, // Only abstract functions
659 AbstractFunctions = 0x100000, // Only abstract functions
660 WasVisible = 0x200000, // Only functions that were public or protected in the original code
660 WasVisible = 0x200000, // Only functions that were public or protected in the original code
661 NotRemovedFromTargetLang = 0x400000, // Only functions that have not been removed from TargetLang
661 NotRemovedFromTargetLang = 0x400000, // Only functions that have not been removed from TargetLang
662 NotRemovedFromShell = 0x800000, // Only functions that have not been removed from the shell class
662 NotRemovedFromShell = 0x800000, // Only functions that have not been removed from the shell class
663 VirtualSlots = 0x1000000 // Only functions that are set as virtual slots in the type system
663 VirtualSlots = 0x1000000 // Only functions that are set as virtual slots in the type system
664 };
664 };
665
665
666 AbstractMetaClass()
666 AbstractMetaClass()
667 : m_namespace(false),
667 : m_namespace(false),
668 m_qobject(false),
668 m_qobject(false),
669 m_has_virtuals(false),
669 m_has_virtuals(false),
670 m_has_nonpublic(false),
670 m_has_nonpublic(false),
671 m_has_virtual_slots(false),
671 m_has_virtual_slots(false),
672 m_has_nonprivateconstructor(false),
672 m_has_nonprivateconstructor(false),
673 m_functions_fixed(false),
673 m_functions_fixed(false),
674 m_has_public_destructor(true),
674 m_has_public_destructor(true),
675 m_force_shell_class(false),
675 m_force_shell_class(false),
676 m_has_hash_function(false),
676 m_has_hash_function(false),
677 m_has_equals_operator(false),
677 m_has_equals_operator(false),
678 m_has_clone_operator(false),
678 m_has_clone_operator(false),
679 m_is_type_alias(false),
679 m_is_type_alias(false),
680 m_enclosing_class(0),
680 m_enclosing_class(0),
681 m_base_class(0),
681 m_base_class(0),
682 m_template_base_class(0),
682 m_template_base_class(0),
683 m_extracted_interface(0),
683 m_extracted_interface(0),
684 m_primary_interface_implementor(0),
684 m_primary_interface_implementor(0),
685 m_type_entry(0),
685 m_type_entry(0),
686 m_qDebug_stream_function(0)
686 m_qDebug_stream_function(0)
687 {
687 {
688 }
688 }
689
689
690 virtual ~AbstractMetaClass();
690 virtual ~AbstractMetaClass();
691
691
692 AbstractMetaClass *extractInterface();
692 AbstractMetaClass *extractInterface();
693 void fixFunctions();
693 void fixFunctions();
694
694
695 AbstractMetaFunctionList functions() const { return m_functions; }
695 AbstractMetaFunctionList functions() const { return m_functions; }
696 void setFunctions(const AbstractMetaFunctionList &functions);
696 void setFunctions(const AbstractMetaFunctionList &functions);
697 void addFunction(AbstractMetaFunction *function);
697 void addFunction(AbstractMetaFunction *function);
698 bool hasFunction(const AbstractMetaFunction *f) const;
698 bool hasFunction(const AbstractMetaFunction *f) const;
699 bool hasFunction(const QString &str) const;
699 bool hasFunction(const QString &str) const;
700 bool hasSignal(const AbstractMetaFunction *f) const;
700 bool hasSignal(const AbstractMetaFunction *f) const;
701
701
702 bool hasConstructors() const;
702 bool hasConstructors() const;
703
703
704 void addDefaultConstructor();
704 void addDefaultConstructor();
705
705
706 bool hasNonPrivateConstructor() const { return m_has_nonprivateconstructor; }
706 bool hasNonPrivateConstructor() const { return m_has_nonprivateconstructor; }
707 void setHasNonPrivateConstructor(bool on) { m_has_nonprivateconstructor = on; }
707 void setHasNonPrivateConstructor(bool on) { m_has_nonprivateconstructor = on; }
708 bool hasPublicDestructor() const { return m_has_public_destructor; }
708 bool hasPublicDestructor() const { return m_has_public_destructor; }
709 void setHasPublicDestructor(bool on) { m_has_public_destructor = on; }
709 void setHasPublicDestructor(bool on) { m_has_public_destructor = on; }
710
710
711 AbstractMetaFunctionList queryFunctionsByName(const QString &name) const;
711 AbstractMetaFunctionList queryFunctionsByName(const QString &name) const;
712 AbstractMetaFunctionList queryFunctions(uint query) const;
712 AbstractMetaFunctionList queryFunctions(uint query) const;
713 inline AbstractMetaFunctionList allVirtualFunctions() const;
713 inline AbstractMetaFunctionList allVirtualFunctions() const;
714 inline AbstractMetaFunctionList allFinalFunctions() const;
714 inline AbstractMetaFunctionList allFinalFunctions() const;
715 AbstractMetaFunctionList functionsInTargetLang() const;
715 AbstractMetaFunctionList functionsInTargetLang() const;
716 AbstractMetaFunctionList functionsInShellClass() const;
716 AbstractMetaFunctionList functionsInShellClass() const;
717 inline AbstractMetaFunctionList cppInconsistentFunctions() const;
717 inline AbstractMetaFunctionList cppInconsistentFunctions() const;
718 inline AbstractMetaFunctionList cppSignalFunctions() const;
718 inline AbstractMetaFunctionList cppSignalFunctions() const;
719 AbstractMetaFunctionList publicOverrideFunctions() const;
719 AbstractMetaFunctionList publicOverrideFunctions() const;
720 AbstractMetaFunctionList virtualOverrideFunctions() const;
720 AbstractMetaFunctionList virtualOverrideFunctions() const;
721 AbstractMetaFunctionList virtualFunctions() const;
721 AbstractMetaFunctionList virtualFunctions() const;
722 AbstractMetaFunctionList nonVirtualShellFunctions() const;
722 AbstractMetaFunctionList nonVirtualShellFunctions() const;
723
723
724 AbstractMetaFieldList fields() const { return m_fields; }
724 AbstractMetaFieldList fields() const { return m_fields; }
725 void setFields(const AbstractMetaFieldList &fields) { m_fields = fields; }
725 void setFields(const AbstractMetaFieldList &fields) { m_fields = fields; }
726 void addField(AbstractMetaField *field) { m_fields << field; }
726 void addField(AbstractMetaField *field) { m_fields << field; }
727
727
728 AbstractMetaEnumList enums() const { return m_enums; }
728 AbstractMetaEnumList enums() const { return m_enums; }
729 void setEnums(const AbstractMetaEnumList &enums) { m_enums = enums; }
729 void setEnums(const AbstractMetaEnumList &enums) { m_enums = enums; }
730 void addEnum(AbstractMetaEnum *e) { m_enums << e; }
730 void addEnum(AbstractMetaEnum *e) { m_enums << e; }
731
731
732 AbstractMetaEnum *findEnum(const QString &enumName);
732 AbstractMetaEnum *findEnum(const QString &enumName);
733 AbstractMetaEnum *findEnumForValue(const QString &enumName);
733 AbstractMetaEnum *findEnumForValue(const QString &enumName);
734 AbstractMetaEnumValue *findEnumValue(const QString &enumName, AbstractMetaEnum *meta_enum);
734 AbstractMetaEnumValue *findEnumValue(const QString &enumName, AbstractMetaEnum *meta_enum);
735
735
736 AbstractMetaClassList interfaces() const { return m_interfaces; }
736 AbstractMetaClassList interfaces() const { return m_interfaces; }
737 void addInterface(AbstractMetaClass *interface);
737 void addInterface(AbstractMetaClass *interface);
738 void setInterfaces(const AbstractMetaClassList &interface);
738 void setInterfaces(const AbstractMetaClassList &interface);
739
739
740 QString fullName() const { return package() + "." + name(); }
740 QString fullName() const { return package() + "." + name(); }
741 QString name() const;
741 QString name() const;
742
742
743 QString baseClassName() const { return m_base_class ? m_base_class->name() : QString(); }
743 QString baseClassName() const { return m_base_class ? m_base_class->name() : QString(); }
744
744
745 AbstractMetaClass *baseClass() const { return m_base_class; }
745 AbstractMetaClass *baseClass() const { return m_base_class; }
746 void setBaseClass(AbstractMetaClass *base_class) { m_base_class = base_class; }
746 void setBaseClass(AbstractMetaClass *base_class) { m_base_class = base_class; }
747
747
748 const AbstractMetaClass *enclosingClass() const { return m_enclosing_class; }
748 const AbstractMetaClass *enclosingClass() const { return m_enclosing_class; }
749 void setEnclosingClass(AbstractMetaClass *cl) { m_enclosing_class = cl; }
749 void setEnclosingClass(AbstractMetaClass *cl) { m_enclosing_class = cl; }
750
750
751 QString package() const { return m_type_entry->javaPackage(); }
751 QString package() const { return m_type_entry->javaPackage(); }
752 bool isInterface() const { return m_type_entry->isInterface(); }
752 bool isInterface() const { return m_type_entry->isInterface(); }
753 bool isNamespace() const { return m_type_entry->isNamespace(); }
753 bool isNamespace() const { return m_type_entry->isNamespace(); }
754 bool isQObject() const { return m_type_entry->isQObject(); }
754 bool isQObject() const { return m_type_entry->isQObject(); }
755 bool isQtNamespace() const { return isNamespace() && name() == "Qt"; }
755 bool isQtNamespace() const { return isNamespace() && name() == "Qt"; }
756 QString qualifiedCppName() const { return m_type_entry->qualifiedCppName(); }
756 QString qualifiedCppName() const { return m_type_entry->qualifiedCppName(); }
757
757
758 bool hasInconsistentFunctions() const;
758 bool hasInconsistentFunctions() const;
759 bool hasSignals() const;
759 bool hasSignals() const;
760 bool inheritsFrom(const AbstractMetaClass *other) const;
760 bool inheritsFrom(const AbstractMetaClass *other) const;
761
761
762 void setForceShellClass(bool on) { m_force_shell_class = on; }
762 void setForceShellClass(bool on) { m_force_shell_class = on; }
763 bool generateShellClass() const;
763 bool generateShellClass() const;
764
764
765 bool hasVirtualSlots() const { return m_has_virtual_slots; }
765 bool hasVirtualSlots() const { return m_has_virtual_slots; }
766 bool hasVirtualFunctions() const { return !isFinal() && m_has_virtuals; }
766 bool hasVirtualFunctions() const { return !isFinal() && m_has_virtuals; }
767 bool hasProtectedFunctions() const;
767 bool hasProtectedFunctions() const;
768
768
769 QList<TypeEntry *> templateArguments() const { return m_template_args; }
769 QList<TypeEntry *> templateArguments() const { return m_template_args; }
770 void setTemplateArguments(const QList<TypeEntry *> &args) { m_template_args = args; }
770 void setTemplateArguments(const QList<TypeEntry *> &args) { m_template_args = args; }
771
771
772 bool hasFieldAccessors() const;
772 bool hasFieldAccessors() const;
773
773
774 // only valid during metajavabuilder's run
774 // only valid during metajavabuilder's run
775 QStringList baseClassNames() const { return m_base_class_names; }
775 QStringList baseClassNames() const { return m_base_class_names; }
776 void setBaseClassNames(const QStringList &names) { m_base_class_names = names; }
776 void setBaseClassNames(const QStringList &names) { m_base_class_names = names; }
777
777
778 AbstractMetaClass *primaryInterfaceImplementor() const { return m_primary_interface_implementor; }
778 AbstractMetaClass *primaryInterfaceImplementor() const { return m_primary_interface_implementor; }
779 void setPrimaryInterfaceImplementor(AbstractMetaClass *cl) { m_primary_interface_implementor = cl; }
779 void setPrimaryInterfaceImplementor(AbstractMetaClass *cl) { m_primary_interface_implementor = cl; }
780
780
781 const ComplexTypeEntry *typeEntry() const { return m_type_entry; }
781 const ComplexTypeEntry *typeEntry() const { return m_type_entry; }
782 ComplexTypeEntry *typeEntry() { return m_type_entry; }
782 ComplexTypeEntry *typeEntry() { return m_type_entry; }
783 void setTypeEntry(ComplexTypeEntry *type) { m_type_entry = type; }
783 void setTypeEntry(ComplexTypeEntry *type) { m_type_entry = type; }
784
784
785 void setHasHashFunction(bool on) { m_has_hash_function = on; }
785 void setHasHashFunction(bool on) { m_has_hash_function = on; }
786 bool hasHashFunction() const { return m_has_hash_function; }
786 bool hasHashFunction() const { return m_has_hash_function; }
787
787
788 void setToStringCapability(FunctionModelItem fun) { m_qDebug_stream_function= fun; }
788 void setToStringCapability(FunctionModelItem fun) { m_qDebug_stream_function= fun; }
789 FunctionModelItem hasToStringCapability() const { return m_qDebug_stream_function; }
789 FunctionModelItem hasToStringCapability() const { return m_qDebug_stream_function; }
790
790
791 virtual bool hasDefaultToStringFunction() const;
791 virtual bool hasDefaultToStringFunction() const;
792
792
793 void setHasEqualsOperator(bool on) { m_has_equals_operator = on; }
793 void setHasEqualsOperator(bool on) { m_has_equals_operator = on; }
794 bool hasEqualsOperator() const { return m_has_equals_operator; }
794 bool hasEqualsOperator() const { return m_has_equals_operator; }
795
795
796 void setHasCloneOperator(bool on) { m_has_clone_operator = on; }
796 void setHasCloneOperator(bool on) { m_has_clone_operator = on; }
797 bool hasCloneOperator() const { return m_has_clone_operator; }
797 bool hasCloneOperator() const { return m_has_clone_operator; }
798
798
799 bool hasDefaultIsNull() const;
799 bool hasDefaultIsNull() const;
800
800
801 void addPropertySpec(QPropertySpec *spec) { m_property_specs << spec; }
801 void addPropertySpec(QPropertySpec *spec) { m_property_specs << spec; }
802 QList<QPropertySpec *> propertySpecs() const { return m_property_specs; }
802 QList<QPropertySpec *> propertySpecs() const { return m_property_specs; }
803
803
804 QPropertySpec *propertySpecForRead(const QString &name) const;
804 QPropertySpec *propertySpecForRead(const QString &name) const;
805 QPropertySpec *propertySpecForWrite(const QString &name) const;
805 QPropertySpec *propertySpecForWrite(const QString &name) const;
806 QPropertySpec *propertySpecForReset(const QString &name) const;
806 QPropertySpec *propertySpecForReset(const QString &name) const;
807
807
808 QList<ReferenceCount> referenceCounts() const;
808 QList<ReferenceCount> referenceCounts() const;
809
809
810 void setEqualsFunctions(const AbstractMetaFunctionList &lst) { m_equals_functions = lst; }
810 void setEqualsFunctions(const AbstractMetaFunctionList &lst) { m_equals_functions = lst; }
811 AbstractMetaFunctionList equalsFunctions() const { return m_equals_functions; }
811 AbstractMetaFunctionList equalsFunctions() const { return m_equals_functions; }
812
812
813 void setNotEqualsFunctions(const AbstractMetaFunctionList &lst) { m_nequals_functions = lst; }
813 void setNotEqualsFunctions(const AbstractMetaFunctionList &lst) { m_nequals_functions = lst; }
814 AbstractMetaFunctionList notEqualsFunctions() const { return m_nequals_functions; }
814 AbstractMetaFunctionList notEqualsFunctions() const { return m_nequals_functions; }
815
815
816 void setLessThanFunctions(const AbstractMetaFunctionList &lst) { m_less_than_functions = lst; }
816 void setLessThanFunctions(const AbstractMetaFunctionList &lst) { m_less_than_functions = lst; }
817 AbstractMetaFunctionList lessThanFunctions() const { return m_less_than_functions; }
817 AbstractMetaFunctionList lessThanFunctions() const { return m_less_than_functions; }
818
818
819 void setGreaterThanFunctions(const AbstractMetaFunctionList &lst) { m_greater_than_functions = lst; }
819 void setGreaterThanFunctions(const AbstractMetaFunctionList &lst) { m_greater_than_functions = lst; }
820 AbstractMetaFunctionList greaterThanFunctions() const { return m_greater_than_functions; }
820 AbstractMetaFunctionList greaterThanFunctions() const { return m_greater_than_functions; }
821
821
822 void setLessThanEqFunctions(const AbstractMetaFunctionList &lst) { m_less_than_eq_functions = lst; }
822 void setLessThanEqFunctions(const AbstractMetaFunctionList &lst) { m_less_than_eq_functions = lst; }
823 AbstractMetaFunctionList lessThanEqFunctions() const { return m_less_than_eq_functions; }
823 AbstractMetaFunctionList lessThanEqFunctions() const { return m_less_than_eq_functions; }
824
824
825 void setGreaterThanEqFunctions(const AbstractMetaFunctionList &lst) { m_greater_than_eq_functions = lst; }
825 void setGreaterThanEqFunctions(const AbstractMetaFunctionList &lst) { m_greater_than_eq_functions = lst; }
826 AbstractMetaFunctionList greaterThanEqFunctions() const { return m_greater_than_eq_functions; }
826 AbstractMetaFunctionList greaterThanEqFunctions() const { return m_greater_than_eq_functions; }
827
827
828 void sortFunctions();
828 void sortFunctions();
829
829
830 const AbstractMetaClass *templateBaseClass() const { return m_template_base_class; }
830 const AbstractMetaClass *templateBaseClass() const { return m_template_base_class; }
831 void setTemplateBaseClass(const AbstractMetaClass *cls) { m_template_base_class = cls; }
831 void setTemplateBaseClass(const AbstractMetaClass *cls) { m_template_base_class = cls; }
832
832
833 void setTypeAlias(bool typeAlias) { m_is_type_alias = typeAlias; }
833 void setTypeAlias(bool typeAlias) { m_is_type_alias = typeAlias; }
834 bool isTypeAlias() const { return m_is_type_alias; }
834 bool isTypeAlias() const { return m_is_type_alias; }
835
835
836 bool operator <(const AbstractMetaClass &a) const {
836 bool operator <(const AbstractMetaClass &a) const {
837 return qualifiedCppName() < a.qualifiedCppName();
837 return qualifiedCppName() < a.qualifiedCppName();
838 }
838 }
839
839
840 private:
840 private:
841 uint m_namespace : 1;
841 uint m_namespace : 1;
842 uint m_qobject : 1;
842 uint m_qobject : 1;
843 uint m_has_virtuals : 1;
843 uint m_has_virtuals : 1;
844 uint m_has_nonpublic : 1;
844 uint m_has_nonpublic : 1;
845 uint m_has_virtual_slots : 1;
845 uint m_has_virtual_slots : 1;
846 uint m_has_nonprivateconstructor : 1;
846 uint m_has_nonprivateconstructor : 1;
847 uint m_functions_fixed : 1;
847 uint m_functions_fixed : 1;
848 uint m_has_public_destructor : 1;
848 uint m_has_public_destructor : 1;
849 uint m_force_shell_class : 1;
849 uint m_force_shell_class : 1;
850 uint m_has_hash_function : 1;
850 uint m_has_hash_function : 1;
851 uint m_has_equals_operator : 1;
851 uint m_has_equals_operator : 1;
852 uint m_has_clone_operator :1;
852 uint m_has_clone_operator :1;
853 uint m_is_type_alias : 1;
853 uint m_is_type_alias : 1;
854 uint m_reserved : 19;
854 uint m_reserved : 19;
855
855
856 const AbstractMetaClass *m_enclosing_class;
856 const AbstractMetaClass *m_enclosing_class;
857 AbstractMetaClass *m_base_class;
857 AbstractMetaClass *m_base_class;
858 const AbstractMetaClass *m_template_base_class;
858 const AbstractMetaClass *m_template_base_class;
859 AbstractMetaFunctionList m_functions;
859 AbstractMetaFunctionList m_functions;
860 AbstractMetaFieldList m_fields;
860 AbstractMetaFieldList m_fields;
861 AbstractMetaEnumList m_enums;
861 AbstractMetaEnumList m_enums;
862 AbstractMetaClassList m_interfaces;
862 AbstractMetaClassList m_interfaces;
863 AbstractMetaClass *m_extracted_interface;
863 AbstractMetaClass *m_extracted_interface;
864 AbstractMetaClass *m_primary_interface_implementor;
864 AbstractMetaClass *m_primary_interface_implementor;
865 QList<QPropertySpec *> m_property_specs;
865 QList<QPropertySpec *> m_property_specs;
866 AbstractMetaFunctionList m_equals_functions;
866 AbstractMetaFunctionList m_equals_functions;
867 AbstractMetaFunctionList m_nequals_functions;
867 AbstractMetaFunctionList m_nequals_functions;
868
868
869 AbstractMetaFunctionList m_less_than_functions;
869 AbstractMetaFunctionList m_less_than_functions;
870 AbstractMetaFunctionList m_greater_than_functions;
870 AbstractMetaFunctionList m_greater_than_functions;
871 AbstractMetaFunctionList m_less_than_eq_functions;
871 AbstractMetaFunctionList m_less_than_eq_functions;
872 AbstractMetaFunctionList m_greater_than_eq_functions;
872 AbstractMetaFunctionList m_greater_than_eq_functions;
873
873
874 QStringList m_base_class_names;
874 QStringList m_base_class_names;
875 QList<TypeEntry *> m_template_args;
875 QList<TypeEntry *> m_template_args;
876 ComplexTypeEntry *m_type_entry;
876 ComplexTypeEntry *m_type_entry;
877 FunctionModelItem m_qDebug_stream_function;
877 FunctionModelItem m_qDebug_stream_function;
878 };
878 };
879
879
880 class QPropertySpec {
880 class QPropertySpec {
881 public:
881 public:
882 QPropertySpec(const TypeEntry *type)
882 QPropertySpec(const TypeEntry *type)
883 : m_type(type),
883 : m_type(type),
884 m_index(-1)
884 m_index(-1)
885 {
885 {
886 }
886 }
887
887
888 const TypeEntry *type() const { return m_type; }
888 const TypeEntry *type() const { return m_type; }
889
889
890 QString name() const { return m_name; }
890 QString name() const { return m_name; }
891 void setName(const QString &name) { m_name = name; }
891 void setName(const QString &name) { m_name = name; }
892
892
893 QString read() const { return m_read; }
893 QString read() const { return m_read; }
894 void setRead(const QString &read) { m_read = read; }
894 void setRead(const QString &read) { m_read = read; }
895
895
896 QString write() const { return m_write; }
896 QString write() const { return m_write; }
897 void setWrite(const QString &write) { m_write = write; }
897 void setWrite(const QString &write) { m_write = write; }
898
898
899 QString designable() const { return m_designable; }
899 QString designable() const { return m_designable; }
900 void setDesignable(const QString &designable) { m_designable = designable; }
900 void setDesignable(const QString &designable) { m_designable = designable; }
901
901
902 QString reset() const { return m_reset; }
902 QString reset() const { return m_reset; }
903 void setReset(const QString &reset) { m_reset = reset; }
903 void setReset(const QString &reset) { m_reset = reset; }
904
904
905 int index() const { return m_index; }
905 int index() const { return m_index; }
906 void setIndex(int index) { m_index = index; }
906 void setIndex(int index) { m_index = index; }
907
907
908 private:
908 private:
909 QString m_name;
909 QString m_name;
910 QString m_read;
910 QString m_read;
911 QString m_write;
911 QString m_write;
912 QString m_designable;
912 QString m_designable;
913 QString m_reset;
913 QString m_reset;
914 const TypeEntry *m_type;
914 const TypeEntry *m_type;
915 int m_index;
915 int m_index;
916 };
916 };
917
917
918 inline AbstractMetaFunctionList AbstractMetaClass::allVirtualFunctions() const
918 inline AbstractMetaFunctionList AbstractMetaClass::allVirtualFunctions() const
919 {
919 {
920 return queryFunctions(VirtualFunctions
920 return queryFunctions(VirtualFunctions
921 | NotRemovedFromTargetLang);
921 | NotRemovedFromTargetLang);
922 }
922 }
923
923
924 inline AbstractMetaFunctionList AbstractMetaClass::allFinalFunctions() const
924 inline AbstractMetaFunctionList AbstractMetaClass::allFinalFunctions() const
925 {
925 {
926 return queryFunctions(FinalInTargetLangFunctions
926 return queryFunctions(FinalInTargetLangFunctions
927 | FinalInCppFunctions
927 | FinalInCppFunctions
928 | NotRemovedFromTargetLang);
928 | NotRemovedFromTargetLang);
929 }
929 }
930
930
931 inline AbstractMetaFunctionList AbstractMetaClass::cppInconsistentFunctions() const
931 inline AbstractMetaFunctionList AbstractMetaClass::cppInconsistentFunctions() const
932 {
932 {
933 return queryFunctions(Inconsistent
933 return queryFunctions(Inconsistent
934 | NormalFunctions
934 | NormalFunctions
935 | Visible
935 | Visible
936 | NotRemovedFromTargetLang);
936 | NotRemovedFromTargetLang);
937 }
937 }
938
938
939 inline AbstractMetaFunctionList AbstractMetaClass::cppSignalFunctions() const
939 inline AbstractMetaFunctionList AbstractMetaClass::cppSignalFunctions() const
940 {
940 {
941 return queryFunctions(Signals
941 return queryFunctions(Signals
942 | Visible
942 | Visible
943 | NotRemovedFromTargetLang);
943 | NotRemovedFromTargetLang);
944 }
944 }
945
945
946 #endif // ABSTRACTMETALANG_H
946 #endif // ABSTRACTMETALANG_H
@@ -1,312 +1,312
1 /****************************************************************************
1 /****************************************************************************
2 **
2 **
3 ** Copyright (C) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
3 ** Copyright (C) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
4 ** All rights reserved.
4 ** All rights reserved.
5 ** Contact: Nokia Corporation (qt-info@nokia.com)
5 ** Contact: Nokia Corporation (qt-info@nokia.com)
6 **
6 **
7 ** This file is part of the Qt Script Generator project on Qt Labs.
7 ** This file is part of the Qt Script Generator project on Qt Labs.
8 **
8 **
9 ** $QT_BEGIN_LICENSE:LGPL$
9 ** $QT_BEGIN_LICENSE:LGPL$
10 ** No Commercial Usage
10 ** No Commercial Usage
11 ** This file contains pre-release code and may not be distributed.
11 ** This file contains pre-release code and may not be distributed.
12 ** You may use this file in accordance with the terms and conditions
12 ** You may use this file in accordance with the terms and conditions
13 ** contained in the Technology Preview License Agreement accompanying
13 ** contained in the Technology Preview License Agreement accompanying
14 ** this package.
14 ** this package.
15 **
15 **
16 ** GNU Lesser General Public License Usage
16 ** GNU Lesser General Public License Usage
17 ** Alternatively, this file may be used under the terms of the GNU Lesser
17 ** Alternatively, this file may be used under the terms of the GNU Lesser
18 ** General Public License version 2.1 as published by the Free Software
18 ** General Public License version 2.1 as published by the Free Software
19 ** Foundation and appearing in the file LICENSE.LGPL included in the
19 ** Foundation and appearing in the file LICENSE.LGPL included in the
20 ** packaging of this file. Please review the following information to
20 ** packaging of this file. Please review the following information to
21 ** ensure the GNU Lesser General Public License version 2.1 requirements
21 ** ensure the GNU Lesser General Public License version 2.1 requirements
22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
23 **
23 **
24 ** In addition, as a special exception, Nokia gives you certain additional
24 ** In addition, as a special exception, Nokia gives you certain additional
25 ** rights. These rights are described in the Nokia Qt LGPL Exception
25 ** rights. These rights are described in the Nokia Qt LGPL Exception
26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
27 **
27 **
28 ** If you have questions regarding the use of this file, please contact
28 ** If you have questions regarding the use of this file, please contact
29 ** Nokia at qt-info@nokia.com.
29 ** Nokia at qt-info@nokia.com.
30 **
30 **
31 **
31 **
32 **
32 **
33 **
33 **
34 **
34 **
35 **
35 **
36 **
36 **
37 **
37 **
38 ** $QT_END_LICENSE$
38 ** $QT_END_LICENSE$
39 **
39 **
40 ****************************************************************************/
40 ****************************************************************************/
41
41
42 #include "shellheadergenerator.h"
42 #include "shellheadergenerator.h"
43 #include "fileout.h"
43 #include "fileout.h"
44
44
45 #include <QtCore/QDir>
45 #include <QtCore/QDir>
46
46
47 #include <qdebug.h>
47 #include <qdebug.h>
48
48
49 QString ShellHeaderGenerator::fileNameForClass(const AbstractMetaClass *meta_class) const
49 QString ShellHeaderGenerator::fileNameForClass(const AbstractMetaClass *meta_class) const
50 {
50 {
51 return QString("PythonQtWrapper_%1.h").arg(meta_class->name());
51 return QString("PythonQtWrapper_%1.h").arg(meta_class->name());
52 }
52 }
53
53
54
54
55 void ShellHeaderGenerator::writeFieldAccessors(QTextStream &s, const AbstractMetaField *field)
55 void ShellHeaderGenerator::writeFieldAccessors(QTextStream &s, const AbstractMetaField *field)
56 {
56 {
57 const AbstractMetaFunction *setter = field->setter();
57 const AbstractMetaFunction *setter = field->setter();
58 const AbstractMetaFunction *getter = field->getter();
58 const AbstractMetaFunction *getter = field->getter();
59
59
60 // static fields are not supported (yet?)
60 // static fields are not supported (yet?)
61 if (setter->isStatic()) return;
61 if (setter->isStatic()) return;
62
62
63 // Uuid data4 did not work (TODO: move to typesystem...(
63 // Uuid data4 did not work (TODO: move to typesystem...(
64 if (field->enclosingClass()->name()=="QUuid" && setter->name()=="data4") return;
64 if (field->enclosingClass()->name()=="QUuid" && setter->name()=="data4") return;
65 if (field->enclosingClass()->name()=="QIPv6Address") return;
65 if (field->enclosingClass()->name()=="QIPv6Address") return;
66
66
67 if (!field->type()->isConstant()) {
67 if (!field->type()->isConstant()) {
68 writeFunctionSignature(s, setter, 0, QString(),
68 writeFunctionSignature(s, setter, 0, QString(),
69 Option(ConvertReferenceToPtr | FirstArgIsWrappedObject| IncludeDefaultExpression | ShowStatic | UnderscoreSpaces));
69 Option(ConvertReferenceToPtr | FirstArgIsWrappedObject| IncludeDefaultExpression | ShowStatic | UnderscoreSpaces));
70 s << "{ theWrappedObject->" << field->name() << " = " << setter->arguments()[0]->argumentName() << "; }\n";
70 s << "{ theWrappedObject->" << field->name() << " = " << setter->arguments()[0]->argumentName() << "; }\n";
71 }
71 }
72
72
73 writeFunctionSignature(s, getter, 0, QString(),
73 writeFunctionSignature(s, getter, 0, QString(),
74 Option(ConvertReferenceToPtr | FirstArgIsWrappedObject| IncludeDefaultExpression | OriginalName | ShowStatic | UnderscoreSpaces));
74 Option(ConvertReferenceToPtr | FirstArgIsWrappedObject| IncludeDefaultExpression | OriginalName | ShowStatic | UnderscoreSpaces));
75 s << "{ return theWrappedObject->" << field->name() << "; }\n";
75 s << "{ return theWrappedObject->" << field->name() << "; }\n";
76 }
76 }
77
77
78 void ShellHeaderGenerator::write(QTextStream &s, const AbstractMetaClass *meta_class)
78 void ShellHeaderGenerator::write(QTextStream &s, const AbstractMetaClass *meta_class)
79 {
79 {
80 QString builtIn = ShellGenerator::isBuiltIn(meta_class->name())?"_builtin":"";
80 QString builtIn = ShellGenerator::isBuiltIn(meta_class->name())?"_builtin":"";
81 QString pro_file_name = meta_class->package().replace(".", "_") + builtIn + "/" + meta_class->package().replace(".", "_") + builtIn + ".pri";
81 QString pro_file_name = meta_class->package().replace(".", "_") + builtIn + "/" + meta_class->package().replace(".", "_") + builtIn + ".pri";
82 priGenerator->addHeader(pro_file_name, fileNameForClass(meta_class));
82 priGenerator->addHeader(pro_file_name, fileNameForClass(meta_class));
83 setupGenerator->addClass(meta_class->package().replace(".", "_") + builtIn, meta_class);
83 setupGenerator->addClass(meta_class->package().replace(".", "_") + builtIn, meta_class);
84
84
85 QString include_block = "PYTHONQTWRAPPER_" + meta_class->name().toUpper() + "_H";
85 QString include_block = "PYTHONQTWRAPPER_" + meta_class->name().toUpper() + "_H";
86
86
87 s << "#ifndef " << include_block << endl
87 s << "#ifndef " << include_block << endl
88 << "#define " << include_block << endl << endl;
88 << "#define " << include_block << endl << endl;
89
89
90 Include inc = meta_class->typeEntry()->include();
90 Include inc = meta_class->typeEntry()->include();
91 ShellGenerator::writeInclude(s, inc);
91 ShellGenerator::writeInclude(s, inc);
92
92
93 s << "#include <QObject>" << endl << endl;
93 s << "#include <QObject>" << endl << endl;
94 s << "#include <PythonQt.h>" << endl << endl;
94 s << "#include <PythonQt.h>" << endl << endl;
95
95
96 IncludeList list = meta_class->typeEntry()->extraIncludes();
96 IncludeList list = meta_class->typeEntry()->extraIncludes();
97 qSort(list.begin(), list.end());
97 qSort(list.begin(), list.end());
98 foreach (const Include &inc, list) {
98 foreach (const Include &inc, list) {
99 ShellGenerator::writeInclude(s, inc);
99 ShellGenerator::writeInclude(s, inc);
100 }
100 }
101 s << endl;
101 s << endl;
102
102
103 AbstractMetaFunctionList ctors = meta_class->queryFunctions(AbstractMetaClass::Constructors
103 AbstractMetaFunctionList ctors = meta_class->queryFunctions(AbstractMetaClass::Constructors
104 | AbstractMetaClass::WasVisible
104 | AbstractMetaClass::WasVisible
105 | AbstractMetaClass::NotRemovedFromTargetLang);
105 | AbstractMetaClass::NotRemovedFromTargetLang);
106
106
107 // Shell-------------------------------------------------------------------
107 // Shell-------------------------------------------------------------------
108 if (meta_class->generateShellClass()) {
108 if (meta_class->generateShellClass()) {
109
109
110 AbstractMetaFunctionList virtualsForShell = getVirtualFunctionsForShell(meta_class);
110 AbstractMetaFunctionList virtualsForShell = getVirtualFunctionsForShell(meta_class);
111
111
112 s << "class " << shellClassName(meta_class)
112 s << "class " << shellClassName(meta_class)
113 << " : public " << meta_class->qualifiedCppName() << endl << "{" << endl;
113 << " : public " << meta_class->qualifiedCppName() << endl << "{" << endl;
114 s << "public:" << endl;
114 s << "public:" << endl;
115 foreach(AbstractMetaFunction* fun, ctors) {
115 foreach(AbstractMetaFunction* fun, ctors) {
116 s << " ";
116 s << " ";
117 writeFunctionSignature(s, fun, 0,"PythonQtShell_",
117 writeFunctionSignature(s, fun, 0,"PythonQtShell_",
118 Option(IncludeDefaultExpression | OriginalName | ShowStatic | UnderscoreSpaces));
118 Option(IncludeDefaultExpression | OriginalName | ShowStatic | UnderscoreSpaces));
119 s << ":" << meta_class->qualifiedCppName() << "(";
119 s << ":" << meta_class->qualifiedCppName() << "(";
120 QString scriptFunctionName = fun->originalName();
120 QString scriptFunctionName = fun->originalName();
121 AbstractMetaArgumentList args = fun->arguments();
121 AbstractMetaArgumentList args = fun->arguments();
122 for (int i = 0; i < args.size(); ++i) {
122 for (int i = 0; i < args.size(); ++i) {
123 if (i > 0)
123 if (i > 0)
124 s << ", ";
124 s << ", ";
125 s << args.at(i)->argumentName();
125 s << args.at(i)->argumentName();
126 }
126 }
127 s << "),_wrapper(NULL) {};" << endl;
127 s << "),_wrapper(NULL) {};" << endl;
128 }
128 }
129 s << endl;
129 s << endl;
130
130
131 foreach(AbstractMetaFunction* fun, virtualsForShell) {
131 foreach(AbstractMetaFunction* fun, virtualsForShell) {
132 s << "virtual ";
132 s << "virtual ";
133 writeFunctionSignature(s, fun, 0, QString(),
133 writeFunctionSignature(s, fun, 0, QString(),
134 Option(IncludeDefaultExpression | OriginalName | ShowStatic | UnderscoreSpaces));
134 Option(IncludeDefaultExpression | OriginalName | ShowStatic | UnderscoreSpaces));
135 s << ";" << endl;
135 s << ";" << endl;
136 }
136 }
137 s << endl;
137 s << endl;
138 s << " PythonQtInstanceWrapper* _wrapper; " << endl;
138 s << " PythonQtInstanceWrapper* _wrapper; " << endl;
139
139
140 s << "};" << endl << endl;
140 s << "};" << endl << endl;
141 }
141 }
142
142
143 // Promoter-------------------------------------------------------------------
143 // Promoter-------------------------------------------------------------------
144 AbstractMetaFunctionList promoteFunctions = getProtectedFunctionsThatNeedPromotion(meta_class);
144 AbstractMetaFunctionList promoteFunctions = getProtectedFunctionsThatNeedPromotion(meta_class);
145 if (!promoteFunctions.isEmpty()) {
145 if (!promoteFunctions.isEmpty()) {
146 s << "class " << promoterClassName(meta_class)
146 s << "class " << promoterClassName(meta_class)
147 << " : public " << meta_class->qualifiedCppName() << endl << "{ public:" << endl;
147 << " : public " << meta_class->qualifiedCppName() << endl << "{ public:" << endl;
148
148
149 foreach(AbstractMetaFunction* fun, promoteFunctions) {
149 foreach(AbstractMetaFunction* fun, promoteFunctions) {
150 s << "inline ";
150 s << "inline ";
151 writeFunctionSignature(s, fun, 0, "promoted_",
151 writeFunctionSignature(s, fun, 0, "promoted_",
152 Option(IncludeDefaultExpression | OriginalName | ShowStatic | UnderscoreSpaces));
152 Option(IncludeDefaultExpression | OriginalName | ShowStatic | UnderscoreSpaces));
153 s << " { ";
153 s << " { ";
154 QString scriptFunctionName = fun->originalName();
154 QString scriptFunctionName = fun->originalName();
155 AbstractMetaArgumentList args = fun->arguments();
155 AbstractMetaArgumentList args = fun->arguments();
156 if (fun->type())
156 if (fun->type())
157 s << "return ";
157 s << "return ";
158 s << meta_class->qualifiedCppName() << "::";
158 s << meta_class->qualifiedCppName() << "::";
159 s << fun->originalName() << "(";
159 s << fun->originalName() << "(";
160 for (int i = 0; i < args.size(); ++i) {
160 for (int i = 0; i < args.size(); ++i) {
161 if (i > 0)
161 if (i > 0)
162 s << ", ";
162 s << ", ";
163 s << args.at(i)->argumentName();
163 s << args.at(i)->argumentName();
164 }
164 }
165 s << "); }" << endl;
165 s << "); }" << endl;
166 }
166 }
167
167
168 s << "};" << endl << endl;
168 s << "};" << endl << endl;
169 }
169 }
170
170
171 // Wrapper-------------------------------------------------------------------
171 // Wrapper-------------------------------------------------------------------
172
172
173 s << "class " << wrapperClassName(meta_class)
173 s << "class " << wrapperClassName(meta_class)
174 << " : public QObject" << endl
174 << " : public QObject" << endl
175 << "{ Q_OBJECT" << endl;
175 << "{ Q_OBJECT" << endl;
176
176
177 s << "public:" << endl;
177 s << "public:" << endl;
178
178
179 AbstractMetaEnumList enums1 = meta_class->enums();
179 AbstractMetaEnumList enums1 = meta_class->enums();
180 AbstractMetaEnumList enums;
180 AbstractMetaEnumList enums;
181 QList<FlagsTypeEntry*> flags;
181 QList<FlagsTypeEntry*> flags;
182 foreach(AbstractMetaEnum* enum1, enums1) {
182 foreach(AbstractMetaEnum* enum1, enums1) {
183 // catch gadgets and enums that are not exported on QObjects...
183 // catch gadgets and enums that are not exported on QObjects...
184 if (enum1->wasPublic() && (!meta_class->isQObject() || !enum1->hasQEnumsDeclaration())) {
184 if (enum1->wasPublic() && (!meta_class->isQObject() || !enum1->hasQEnumsDeclaration())) {
185 enums << enum1;
185 enums << enum1;
186 if (enum1->typeEntry()->flags()) {
186 if (enum1->typeEntry()->flags()) {
187 flags << enum1->typeEntry()->flags();
187 flags << enum1->typeEntry()->flags();
188 }
188 }
189 }
189 }
190 }
190 }
191 if (enums.count()) {
191 if (enums.count()) {
192 s << "Q_ENUMS(";
192 s << "Q_ENUMS(";
193 foreach(AbstractMetaEnum* enum1, enums) {
193 foreach(AbstractMetaEnum* enum1, enums) {
194 s << enum1->name() << " ";
194 s << enum1->name() << " ";
195 }
195 }
196 s << ")" << endl;
196 s << ")" << endl;
197
197
198 if (flags.count()) {
198 if (flags.count()) {
199 s << "Q_FLAGS(";
199 s << "Q_FLAGS(";
200 foreach(FlagsTypeEntry* flag1, flags) {
200 foreach(FlagsTypeEntry* flag1, flags) {
201 QString origName = flag1->originalName();
201 QString origName = flag1->originalName();
202 int idx = origName.lastIndexOf("::");
202 int idx = origName.lastIndexOf("::");
203 if (idx!= -1) {
203 if (idx!= -1) {
204 origName = origName.mid(idx+2);
204 origName = origName.mid(idx+2);
205 }
205 }
206 s << origName << " ";
206 s << origName << " ";
207 }
207 }
208 s << ")" << endl;
208 s << ")" << endl;
209 }
209 }
210
210
211 foreach(AbstractMetaEnum* enum1, enums) {
211 foreach(AbstractMetaEnum* enum1, enums) {
212 s << "enum " << enum1->name() << "{" << endl;
212 s << "enum " << enum1->name() << "{" << endl;
213 bool first = true;
213 bool first = true;
214 foreach(AbstractMetaEnumValue* value, enum1->values()) {
214 foreach(AbstractMetaEnumValue* value, enum1->values()) {
215 if (first) { first = false; }
215 if (first) { first = false; }
216 else { s << ", "; }
216 else { s << ", "; }
217 s << " " << value->name() << " = " << meta_class->qualifiedCppName() << "::" << value->name();
217 s << " " << value->name() << " = " << meta_class->qualifiedCppName() << "::" << value->name();
218 }
218 }
219 s << "};" << endl;
219 s << "};" << endl;
220 }
220 }
221 if (flags.count()) {
221 if (flags.count()) {
222 foreach(AbstractMetaEnum* enum1, enums) {
222 foreach(AbstractMetaEnum* enum1, enums) {
223 if (enum1->typeEntry()->flags()) {
223 if (enum1->typeEntry()->flags()) {
224 QString origName = enum1->typeEntry()->flags()->originalName();
224 QString origName = enum1->typeEntry()->flags()->originalName();
225 int idx = origName.lastIndexOf("::");
225 int idx = origName.lastIndexOf("::");
226 if (idx!= -1) {
226 if (idx!= -1) {
227 origName = origName.mid(idx+2);
227 origName = origName.mid(idx+2);
228 }
228 }
229 s << "Q_DECLARE_FLAGS("<< origName << ", " << enum1->name() <<")"<<endl;
229 s << "Q_DECLARE_FLAGS("<< origName << ", " << enum1->name() <<")"<<endl;
230 }
230 }
231 }
231 }
232 }
232 }
233 }
233 }
234 s << "public slots:" << endl;
234 s << "public slots:" << endl;
235 if (meta_class->generateShellClass() || !meta_class->isAbstract()) {
235 if (meta_class->generateShellClass() || !meta_class->isAbstract()) {
236
236
237 bool copyConstructorSeen = false;
237 bool copyConstructorSeen = false;
238 bool defaultConstructorSeen = false;
238 bool defaultConstructorSeen = false;
239 foreach (const AbstractMetaFunction *fun, ctors) {
239 foreach (const AbstractMetaFunction *fun, ctors) {
240 if (!fun->isPublic() || fun->isAbstract()) { continue; }
240 if (!fun->isPublic() || fun->isAbstract()) { continue; }
241 s << meta_class->qualifiedCppName() << "* ";
241 s << meta_class->qualifiedCppName() << "* ";
242 writeFunctionSignature(s, fun, 0, "new_",
242 writeFunctionSignature(s, fun, 0, "new_",
243 Option(IncludeDefaultExpression | OriginalName | ShowStatic));
243 Option(IncludeDefaultExpression | OriginalName | ShowStatic));
244 s << ";" << endl;
244 s << ";" << endl;
245 if (fun->arguments().size()==1 && meta_class->qualifiedCppName() == fun->arguments().at(0)->type()->typeEntry()->qualifiedCppName()) {
245 if (fun->arguments().size()==1 && meta_class->qualifiedCppName() == fun->arguments().at(0)->type()->typeEntry()->qualifiedCppName()) {
246 copyConstructorSeen = true;
246 copyConstructorSeen = true;
247 }
247 }
248 if (fun->arguments().size()==0) {
248 if (fun->arguments().size()==0) {
249 defaultConstructorSeen = true;
249 defaultConstructorSeen = true;
250 }
250 }
251 }
251 }
252
252
253 if (meta_class->typeEntry()->isValue()
253 if (meta_class->typeEntry()->isValue()
254 && !copyConstructorSeen && defaultConstructorSeen) {
254 && !copyConstructorSeen && defaultConstructorSeen) {
255 QString className = meta_class->generateShellClass()?shellClassName(meta_class):meta_class->qualifiedCppName();
255 QString className = meta_class->generateShellClass()?shellClassName(meta_class):meta_class->qualifiedCppName();
256 s << meta_class->qualifiedCppName() << "* new_" << meta_class->name() << "(const " << meta_class->qualifiedCppName() << "& other) {" << endl;
256 s << meta_class->qualifiedCppName() << "* new_" << meta_class->name() << "(const " << meta_class->qualifiedCppName() << "& other) {" << endl;
257 s << className << "* a = new " << className << "();" << endl;
257 s << className << "* a = new " << className << "();" << endl;
258 s << "*((" << meta_class->qualifiedCppName() << "*)a) = other;" << endl;
258 s << "*((" << meta_class->qualifiedCppName() << "*)a) = other;" << endl;
259 s << "return a; }" << endl;
259 s << "return a; }" << endl;
260 }
260 }
261 }
261 }
262 if (meta_class->hasPublicDestructor() && !meta_class->isNamespace()) {
262 if (meta_class->hasPublicDestructor() && !meta_class->isNamespace()) {
263 s << "void delete_" << meta_class->name() << "(" << meta_class->qualifiedCppName() << "* obj) { delete obj; } ";
263 s << "void delete_" << meta_class->name() << "(" << meta_class->qualifiedCppName() << "* obj) { delete obj; } ";
264 s << endl;
264 s << endl;
265 }
265 }
266 if (meta_class->name()=="QTreeWidgetItem") {
266 if (meta_class->name()=="QTreeWidgetItem") {
267 s << "bool py_hasOwner(QTreeWidgetItem* theWrappedObject) { return theWrappedObject->treeWidget()!=NULL || theWrappedObject->parent()!=NULL; }" << endl;
267 s << "bool py_hasOwner(QTreeWidgetItem* theWrappedObject) { return theWrappedObject->treeWidget()!=NULL || theWrappedObject->parent()!=NULL; }" << endl;
268 } else if (meta_class->name()=="QGraphicsItem") {
268 } else if (meta_class->name()=="QGraphicsItem") {
269 s << "bool py_hasOwner(QGraphicsItem* theWrappedObject) { return theWrappedObject->scene()!=NULL || theWrappedObject->parentItem()!=NULL; }" << endl;
269 s << "bool py_hasOwner(QGraphicsItem* theWrappedObject) { return theWrappedObject->scene()!=NULL || theWrappedObject->parentItem()!=NULL; }" << endl;
270 }
270 }
271
271
272 AbstractMetaFunctionList functions = getFunctionsToWrap(meta_class);
272 AbstractMetaFunctionList functions = getFunctionsToWrap(meta_class);
273
273
274 foreach (const AbstractMetaFunction *function, functions) {
274 foreach (const AbstractMetaFunction *function, functions) {
275 if (!function->isSlot()) {
275 if (!function->isSlot() || function->isVirtual()) {
276 s << " ";
276 s << " ";
277 writeFunctionSignature(s, function, 0, QString(),
277 writeFunctionSignature(s, function, 0, QString(),
278 Option(ConvertReferenceToPtr | FirstArgIsWrappedObject| IncludeDefaultExpression | OriginalName | ShowStatic | UnderscoreSpaces));
278 Option(ConvertReferenceToPtr | FirstArgIsWrappedObject| IncludeDefaultExpression | OriginalName | ShowStatic | UnderscoreSpaces));
279 s << ";" << endl;
279 s << ";" << endl;
280 }
280 }
281 }
281 }
282 if (meta_class->hasDefaultToStringFunction() || meta_class->hasToStringCapability()) {
282 if (meta_class->hasDefaultToStringFunction() || meta_class->hasToStringCapability()) {
283 s << " QString py_toString(" << meta_class->qualifiedCppName() << "*);" << endl;
283 s << " QString py_toString(" << meta_class->qualifiedCppName() << "*);" << endl;
284 }
284 }
285 if (meta_class->hasDefaultIsNull()) {
285 if (meta_class->hasDefaultIsNull()) {
286 s << " bool __nonzero__(" << meta_class->qualifiedCppName() << "* obj) { return !obj->isNull(); }" << endl;
286 s << " bool __nonzero__(" << meta_class->qualifiedCppName() << "* obj) { return !obj->isNull(); }" << endl;
287 }
287 }
288
288
289 // Field accessors
289 // Field accessors
290 foreach (const AbstractMetaField *field, meta_class->fields()) {
290 foreach (const AbstractMetaField *field, meta_class->fields()) {
291 if (field->isPublic()) {
291 if (field->isPublic()) {
292 writeFieldAccessors(s, field);
292 writeFieldAccessors(s, field);
293 }
293 }
294 }
294 }
295
295
296 writeInjectedCode(s, meta_class);
296 writeInjectedCode(s, meta_class);
297
297
298
298
299 s << "};" << endl << endl
299 s << "};" << endl << endl
300 << "#endif // " << include_block << endl;
300 << "#endif // " << include_block << endl;
301
301
302 }
302 }
303
303
304 void ShellHeaderGenerator::writeInjectedCode(QTextStream &s, const AbstractMetaClass *meta_class)
304 void ShellHeaderGenerator::writeInjectedCode(QTextStream &s, const AbstractMetaClass *meta_class)
305 {
305 {
306 CodeSnipList code_snips = meta_class->typeEntry()->codeSnips();
306 CodeSnipList code_snips = meta_class->typeEntry()->codeSnips();
307 foreach (const CodeSnip &cs, code_snips) {
307 foreach (const CodeSnip &cs, code_snips) {
308 if (cs.language == TypeSystem::PyWrapperDeclaration) {
308 if (cs.language == TypeSystem::PyWrapperDeclaration) {
309 s << cs.code() << endl;
309 s << cs.code() << endl;
310 }
310 }
311 }
311 }
312 }
312 }
@@ -1,316 +1,318
1 /****************************************************************************
1 /****************************************************************************
2 **
2 **
3 ** Copyright (C) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
3 ** Copyright (C) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
4 ** All rights reserved.
4 ** All rights reserved.
5 ** Contact: Nokia Corporation (qt-info@nokia.com)
5 ** Contact: Nokia Corporation (qt-info@nokia.com)
6 **
6 **
7 ** This file is part of the Qt Script Generator project on Qt Labs.
7 ** This file is part of the Qt Script Generator project on Qt Labs.
8 **
8 **
9 ** $QT_BEGIN_LICENSE:LGPL$
9 ** $QT_BEGIN_LICENSE:LGPL$
10 ** No Commercial Usage
10 ** No Commercial Usage
11 ** This file contains pre-release code and may not be distributed.
11 ** This file contains pre-release code and may not be distributed.
12 ** You may use this file in accordance with the terms and conditions
12 ** You may use this file in accordance with the terms and conditions
13 ** contained in the Technology Preview License Agreement accompanying
13 ** contained in the Technology Preview License Agreement accompanying
14 ** this package.
14 ** this package.
15 **
15 **
16 ** GNU Lesser General Public License Usage
16 ** GNU Lesser General Public License Usage
17 ** Alternatively, this file may be used under the terms of the GNU Lesser
17 ** Alternatively, this file may be used under the terms of the GNU Lesser
18 ** General Public License version 2.1 as published by the Free Software
18 ** General Public License version 2.1 as published by the Free Software
19 ** Foundation and appearing in the file LICENSE.LGPL included in the
19 ** Foundation and appearing in the file LICENSE.LGPL included in the
20 ** packaging of this file. Please review the following information to
20 ** packaging of this file. Please review the following information to
21 ** ensure the GNU Lesser General Public License version 2.1 requirements
21 ** ensure the GNU Lesser General Public License version 2.1 requirements
22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
23 **
23 **
24 ** In addition, as a special exception, Nokia gives you certain additional
24 ** In addition, as a special exception, Nokia gives you certain additional
25 ** rights. These rights are described in the Nokia Qt LGPL Exception
25 ** rights. These rights are described in the Nokia Qt LGPL Exception
26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
27 **
27 **
28 ** If you have questions regarding the use of this file, please contact
28 ** If you have questions regarding the use of this file, please contact
29 ** Nokia at qt-info@nokia.com.
29 ** Nokia at qt-info@nokia.com.
30 **
30 **
31 **
31 **
32 **
32 **
33 **
33 **
34 **
34 **
35 **
35 **
36 **
36 **
37 **
37 **
38 ** $QT_END_LICENSE$
38 ** $QT_END_LICENSE$
39 **
39 **
40 ****************************************************************************/
40 ****************************************************************************/
41
41
42 #include "shellimplgenerator.h"
42 #include "shellimplgenerator.h"
43 #include "reporthandler.h"
43 #include "reporthandler.h"
44 #include "fileout.h"
44 #include "fileout.h"
45 #include <iostream>
45 #include <iostream>
46
46
47 extern void declareFunctionMetaTypes(QTextStream &stream,
47 extern void declareFunctionMetaTypes(QTextStream &stream,
48 const AbstractMetaFunctionList &functions,
48 const AbstractMetaFunctionList &functions,
49 QSet<QString> &registeredTypeNames);
49 QSet<QString> &registeredTypeNames);
50
50
51 QString ShellImplGenerator::fileNameForClass(const AbstractMetaClass *meta_class) const
51 QString ShellImplGenerator::fileNameForClass(const AbstractMetaClass *meta_class) const
52 {
52 {
53 return QString("PythonQtWrapper_%1.cpp").arg(meta_class->name());
53 return QString("PythonQtWrapper_%1.cpp").arg(meta_class->name());
54 }
54 }
55
55
56 static bool include_less_than(const Include &a, const Include &b)
56 static bool include_less_than(const Include &a, const Include &b)
57 {
57 {
58 return a.name < b.name;
58 return a.name < b.name;
59 }
59 }
60
60
61 static void writeHelperCode(QTextStream &s, const AbstractMetaClass *)
61 static void writeHelperCode(QTextStream &s, const AbstractMetaClass *)
62 {
62 {
63 }
63 }
64
64
65
65
66
66
67 void ShellImplGenerator::write(QTextStream &s, const AbstractMetaClass *meta_class)
67 void ShellImplGenerator::write(QTextStream &s, const AbstractMetaClass *meta_class)
68 {
68 {
69 QString builtIn = ShellGenerator::isBuiltIn(meta_class->name())?"_builtin":"";
69 QString builtIn = ShellGenerator::isBuiltIn(meta_class->name())?"_builtin":"";
70 QString pro_file_name = meta_class->package().replace(".", "_") + builtIn + "/" + meta_class->package().replace(".", "_") + builtIn + ".pri";
70 QString pro_file_name = meta_class->package().replace(".", "_") + builtIn + "/" + meta_class->package().replace(".", "_") + builtIn + ".pri";
71 priGenerator->addSource(pro_file_name, fileNameForClass(meta_class));
71 priGenerator->addSource(pro_file_name, fileNameForClass(meta_class));
72
72
73 s << "#include \"PythonQtWrapper_" << meta_class->name() << ".h\"" << endl << endl;
73 s << "#include \"PythonQtWrapper_" << meta_class->name() << ".h\"" << endl << endl;
74
74
75 s << "#include <PythonQtSignalReceiver.h>" << endl;
75 s << "#include <PythonQtSignalReceiver.h>" << endl;
76 s << "#include <PythonQtMethodInfo.h>" << endl;
76 s << "#include <PythonQtMethodInfo.h>" << endl;
77 s << "#include <PythonQtConversion.h>" << endl;
77 s << "#include <PythonQtConversion.h>" << endl;
78
78
79 //if (!meta_class->generateShellClass())
79 //if (!meta_class->generateShellClass())
80 // return;
80 // return;
81
81
82 IncludeList list = meta_class->typeEntry()->extraIncludes();
82 IncludeList list = meta_class->typeEntry()->extraIncludes();
83 qSort(list.begin(), list.end());
83 qSort(list.begin(), list.end());
84 foreach (const Include &inc, list) {
84 foreach (const Include &inc, list) {
85 ShellGenerator::writeInclude(s, inc);
85 ShellGenerator::writeInclude(s, inc);
86 }
86 }
87 s << endl;
87 s << endl;
88
88
89 writeHelperCode(s, meta_class);
89 writeHelperCode(s, meta_class);
90
90
91 // find constructors
91 // find constructors
92 AbstractMetaFunctionList ctors;
92 AbstractMetaFunctionList ctors;
93 ctors = meta_class->queryFunctions(AbstractMetaClass::Constructors
93 ctors = meta_class->queryFunctions(AbstractMetaClass::Constructors
94 | AbstractMetaClass::WasVisible
94 | AbstractMetaClass::WasVisible
95 | AbstractMetaClass::NotRemovedFromTargetLang);
95 | AbstractMetaClass::NotRemovedFromTargetLang);
96 // find member functions
96 // find member functions
97 AbstractMetaFunctionList functions = getFunctionsToWrap(meta_class);
97 AbstractMetaFunctionList functions = getFunctionsToWrap(meta_class);
98
98
99 // write metatype declarations
99 // write metatype declarations
100 {
100 {
101 // QSet<QString> registeredTypeNames = m_qmetatype_declared_typenames;
101 // QSet<QString> registeredTypeNames = m_qmetatype_declared_typenames;
102 // declareFunctionMetaTypes(s, functions, registeredTypeNames);
102 // declareFunctionMetaTypes(s, functions, registeredTypeNames);
103 // s << endl;
103 // s << endl;
104 }
104 }
105
105
106 if (meta_class->generateShellClass()) {
106 if (meta_class->generateShellClass()) {
107 AbstractMetaFunctionList virtualsForShell = getVirtualFunctionsForShell(meta_class);
107 AbstractMetaFunctionList virtualsForShell = getVirtualFunctionsForShell(meta_class);
108 foreach (const AbstractMetaFunction *fun, virtualsForShell) {
108 foreach (const AbstractMetaFunction *fun, virtualsForShell) {
109 bool hasReturnValue = (fun->type());
109 bool hasReturnValue = (fun->type());
110 writeFunctionSignature(s, fun, meta_class, QString(),
110 writeFunctionSignature(s, fun, meta_class, QString(),
111 Option(OriginalName | ShowStatic | UnderscoreSpaces),
111 Option(OriginalName | ShowStatic | UnderscoreSpaces),
112 "PythonQtShell_");
112 "PythonQtShell_");
113 s << endl << "{" << endl;
113 s << endl << "{" << endl;
114
114
115 Option typeOptions = Option(OriginalName | UnderscoreSpaces | SkipName);
115 Option typeOptions = Option(OriginalName | UnderscoreSpaces | SkipName);
116 AbstractMetaArgumentList args = fun->arguments();
116 AbstractMetaArgumentList args = fun->arguments();
117
117
118 s << "if (_wrapper) {" << endl;
118 s << "if (_wrapper) {" << endl;
119 s << " PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, \"" << fun->name() << "\");" << endl;
119 s << " PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, \"" << fun->name() << "\");" << endl;
120 s << " PyErr_Clear();" << endl;
120 s << " PyErr_Clear();" << endl;
121 s << " if (obj && !PythonQtSlotFunction_Check(obj)) {" << endl;
121 s << " if (obj && !PythonQtSlotFunction_Check(obj)) {" << endl;
122 s << " static const char* argumentList[] ={\"";
122 s << " static const char* argumentList[] ={\"";
123 if (hasReturnValue) {
123 if (hasReturnValue) {
124 // write the arguments, return type first
124 // write the arguments, return type first
125 writeTypeInfo(s, fun->type(), typeOptions);
125 writeTypeInfo(s, fun->type(), typeOptions);
126 }
126 }
127 s << "\"";
127 s << "\"";
128 for (int i = 0; i < args.size(); ++i) {
128 for (int i = 0; i < args.size(); ++i) {
129 s << " , \"";
129 s << " , \"";
130 writeTypeInfo(s, args.at(i)->type(), typeOptions);
130 writeTypeInfo(s, args.at(i)->type(), typeOptions);
131 s << "\"";
131 s << "\"";
132 }
132 }
133 s << "};" << endl;
133 s << "};" << endl;
134 s << " static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(" << QString::number(args.size()+1) << ", argumentList);" << endl;
134 s << " static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(" << QString::number(args.size()+1) << ", argumentList);" << endl;
135
135
136 if (hasReturnValue) {
136 if (hasReturnValue) {
137 s << " ";
137 s << " ";
138 writeTypeInfo(s, fun->type(), typeOptions);
138 writeTypeInfo(s, fun->type(), typeOptions);
139 s << " returnValue;" << endl;
139 s << " returnValue;" << endl;
140 // TODO: POD init to default is missing...
140 // TODO: POD init to default is missing...
141 }
141 }
142 s << " void* args[" << QString::number(args.size()+1) << "] = {NULL";
142 s << " void* args[" << QString::number(args.size()+1) << "] = {NULL";
143 for (int i = 0; i < args.size(); ++i) {
143 for (int i = 0; i < args.size(); ++i) {
144 s << ", (void*)&" << args.at(i)->argumentName();
144 s << ", (void*)&" << args.at(i)->argumentName();
145 }
145 }
146 s << "};" << endl;
146 s << "};" << endl;
147
147
148 s << " PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);" << endl;
148 s << " PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);" << endl;
149 if (hasReturnValue) {
149 if (hasReturnValue) {
150 s << " if (result) {" << endl;
150 s << " if (result) {" << endl;
151 s << " args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);" << endl;
151 s << " args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);" << endl;
152 s << " if (args[0]!=&returnValue) {" << endl;
152 s << " if (args[0]!=&returnValue) {" << endl;
153 s << " if (args[0]==NULL) {" << endl;
153 s << " if (args[0]==NULL) {" << endl;
154 s << " PythonQt::priv()->handleVirtualOverloadReturnError(\"" << fun->name() << "\", methodInfo, result);" << endl;
154 s << " PythonQt::priv()->handleVirtualOverloadReturnError(\"" << fun->name() << "\", methodInfo, result);" << endl;
155 s << " } else {" << endl;
155 s << " } else {" << endl;
156 s << " returnValue = *((";
156 s << " returnValue = *((";
157 writeTypeInfo(s, fun->type(), typeOptions);
157 writeTypeInfo(s, fun->type(), typeOptions);
158 s << "*)args[0]);" << endl;
158 s << "*)args[0]);" << endl;
159 s << " }" << endl;
159 s << " }" << endl;
160 s << " }" << endl;
160 s << " }" << endl;
161 s << " }" << endl;
161 s << " }" << endl;
162 }
162 }
163 s << " if (result) { Py_DECREF(result); } " << endl;
163 s << " if (result) { Py_DECREF(result); } " << endl;
164 s << " Py_DECREF(obj);" << endl;
164 s << " Py_DECREF(obj);" << endl;
165 if (hasReturnValue) {
165 if (hasReturnValue) {
166 s << " return returnValue;" << endl;
166 s << " return returnValue;" << endl;
167 } else {
167 } else {
168 s << " return;" << endl;
168 s << " return;" << endl;
169 }
169 }
170 s << " }" << endl;
170 s << " }" << endl;
171 s << "}" << endl;
171 s << "}" << endl;
172
172
173 s << " ";
173 s << " ";
174 if (fun->isAbstract()) {
174 if (fun->isAbstract()) {
175 if (fun->type()) {
175 if (fun->type()) {
176 // return empty default object
176 // return empty default object
177 s << "return ";
177 s << "return ";
178 if (fun->type()->indirections()>0) {
178 if (fun->type()->indirections()>0) {
179 s << "0;";
179 s << "0;";
180 } else {
180 } else {
181 writeTypeInfo(s, fun->type(), typeOptions);
181 writeTypeInfo(s, fun->type(), typeOptions);
182 s << "();";
182 s << "();";
183 }
183 }
184 }
184 }
185 } else {
185 } else {
186 if (fun->type()) {
186 if (fun->type()) {
187 s << "return ";
187 s << "return ";
188 }
188 }
189 s << meta_class->qualifiedCppName() << "::";
189 s << meta_class->qualifiedCppName() << "::";
190 s << fun->originalName() << "(";
190 s << fun->originalName() << "(";
191 for (int i = 0; i < args.size(); ++i) {
191 for (int i = 0; i < args.size(); ++i) {
192 if (i > 0)
192 if (i > 0)
193 s << ", ";
193 s << ", ";
194 s << args.at(i)->argumentName();
194 s << args.at(i)->argumentName();
195 }
195 }
196 s << ");";
196 s << ");";
197 }
197 }
198 s << endl << "}" << endl;
198 s << endl << "}" << endl;
199 }
199 }
200 }
200 }
201
201
202 if (meta_class->generateShellClass() || !meta_class->isAbstract()) {
202 if (meta_class->generateShellClass() || !meta_class->isAbstract()) {
203
203
204 // write constructors
204 // write constructors
205 foreach (const AbstractMetaFunction *ctor, ctors) {
205 foreach (const AbstractMetaFunction *ctor, ctors) {
206 if (!ctor->isPublic() || ctor->isAbstract()) { continue; }
206 if (!ctor->isPublic() || ctor->isAbstract()) { continue; }
207
207
208 s << meta_class->qualifiedCppName() << "* ";
208 s << meta_class->qualifiedCppName() << "* ";
209 s << "PythonQtWrapper_" << meta_class->name() << "::";
209 s << "PythonQtWrapper_" << meta_class->name() << "::";
210 writeFunctionSignature(s, ctor, 0, "new_", Option(OriginalName | ShowStatic));
210 writeFunctionSignature(s, ctor, 0, "new_", Option(OriginalName | ShowStatic));
211 s << endl;
211 s << endl;
212 s << "{ " << endl;
212 s << "{ " << endl;
213 s << "return new " << (meta_class->generateShellClass()?shellClassName(meta_class):meta_class->qualifiedCppName()) << "(";
213 s << "return new " << (meta_class->generateShellClass()?shellClassName(meta_class):meta_class->qualifiedCppName()) << "(";
214 AbstractMetaArgumentList args = ctor->arguments();
214 AbstractMetaArgumentList args = ctor->arguments();
215 for (int i = 0; i < args.size(); ++i) {
215 for (int i = 0; i < args.size(); ++i) {
216 if (i > 0)
216 if (i > 0)
217 s << ", ";
217 s << ", ";
218 s << args.at(i)->argumentName();
218 s << args.at(i)->argumentName();
219 }
219 }
220 s << ");" << " }" << endl << endl;
220 s << ");" << " }" << endl << endl;
221 }
221 }
222 }
222 }
223
223
224 QString wrappedObject = " (*theWrappedObject)";
224 QString wrappedObject = " (*theWrappedObject)";
225
225
226 // write member functions
226 // write member functions
227 for (int i = 0; i < functions.size(); ++i) {
227 for (int i = 0; i < functions.size(); ++i) {
228 AbstractMetaFunction *fun = functions.at(i);
228 AbstractMetaFunction *fun = functions.at(i);
229 if (fun->isSlot()) continue;
229 bool needsWrapping = (!fun->isSlot() || fun->isVirtual());
230
230 if (!needsWrapping) {
231 continue;
232 }
231 writeFunctionSignature(s, fun, meta_class, QString(),
233 writeFunctionSignature(s, fun, meta_class, QString(),
232 Option(ConvertReferenceToPtr | FirstArgIsWrappedObject | OriginalName | ShowStatic | UnderscoreSpaces),
234 Option(ConvertReferenceToPtr | FirstArgIsWrappedObject | OriginalName | ShowStatic | UnderscoreSpaces),
233 "PythonQtWrapper_");
235 "PythonQtWrapper_");
234 s << endl << "{" << endl;
236 s << endl << "{" << endl;
235 s << " ";
237 s << " ";
236 if (ShellGenerator::isSpecialStreamingOperator(fun)) {
238 if (ShellGenerator::isSpecialStreamingOperator(fun)) {
237 s << fun->arguments().at(0)->argumentName();
239 s << fun->arguments().at(0)->argumentName();
238 if (fun->originalName().startsWith("operator>>")) {
240 if (fun->originalName().startsWith("operator>>")) {
239 s << " >> ";
241 s << " >> ";
240 } else {
242 } else {
241 s << " << ";
243 s << " << ";
242 }
244 }
243 s << wrappedObject;
245 s << wrappedObject;
244 } else {
246 } else {
245 QString scriptFunctionName = fun->originalName();
247 QString scriptFunctionName = fun->originalName();
246 AbstractMetaArgumentList args = fun->arguments();
248 AbstractMetaArgumentList args = fun->arguments();
247 // call the C++ implementation
249 // call the C++ implementation
248 if (fun->type()) {
250 if (fun->type()) {
249 s << "return ";
251 s << "return ";
250 // call the C++ implementation
252 // call the C++ implementation
251 if (fun->type()->isReference()) {
253 if (fun->type()->isReference()) {
252 s << "&";
254 s << "&";
253 }
255 }
254 }
256 }
255 s << "(";
257 s << "(";
256 if (scriptFunctionName.startsWith("operator>>")) {
258 if (scriptFunctionName.startsWith("operator>>")) {
257 s << wrappedObject << " >>" << args.at(0)->argumentName();
259 s << wrappedObject << " >>" << args.at(0)->argumentName();
258 } else if (scriptFunctionName.startsWith("operator<<")) {
260 } else if (scriptFunctionName.startsWith("operator<<")) {
259 s << wrappedObject << " <<" << args.at(0)->argumentName();
261 s << wrappedObject << " <<" << args.at(0)->argumentName();
260 } else if (scriptFunctionName.startsWith("operator[]")) {
262 } else if (scriptFunctionName.startsWith("operator[]")) {
261 s << wrappedObject << "[" << args.at(0)->argumentName() << "]";
263 s << wrappedObject << "[" << args.at(0)->argumentName() << "]";
262 } else if (scriptFunctionName.startsWith("operator") && args.size()==1) {
264 } else if (scriptFunctionName.startsWith("operator") && args.size()==1) {
263 QString op = scriptFunctionName.mid(8);
265 QString op = scriptFunctionName.mid(8);
264 s << wrappedObject << op << " " << args.at(0)->argumentName();
266 s << wrappedObject << op << " " << args.at(0)->argumentName();
265 } else {
267 } else {
266 if (fun->isStatic()) {
268 if (fun->isStatic()) {
267 s << meta_class->qualifiedCppName() << "::";
269 s << meta_class->qualifiedCppName() << "::";
268 } else {
270 } else {
269 if (!fun->isPublic() || fun->isVirtual()) {
271 if (!fun->isPublic() || fun->isVirtual()) {
270 s << " ((" << promoterClassName(meta_class) << "*)theWrappedObject)->promoted_";
272 s << " ((" << promoterClassName(meta_class) << "*)theWrappedObject)->promoted_";
271 } else {
273 } else {
272 s << " theWrappedObject->";
274 s << " theWrappedObject->";
273 }
275 }
274 }
276 }
275 s << fun->originalName() << "(";
277 s << fun->originalName() << "(";
276 for (int i = 0; i < args.size(); ++i) {
278 for (int i = 0; i < args.size(); ++i) {
277 if (i > 0)
279 if (i > 0)
278 s << ", ";
280 s << ", ";
279 s << args.at(i)->argumentName();
281 s << args.at(i)->argumentName();
280 }
282 }
281 s << ")";
283 s << ")";
282 }
284 }
283 s << ")";
285 s << ")";
284 }
286 }
285 s << ";" << endl;
287 s << ";" << endl;
286
288
287 s << "}" << endl << endl;
289 s << "}" << endl << endl;
288 }
290 }
289
291
290 if (meta_class->hasDefaultToStringFunction()) {
292 if (meta_class->hasDefaultToStringFunction()) {
291 s << "QString PythonQtWrapper_" << meta_class->name() << "::py_toString(" << meta_class->qualifiedCppName() << "* obj) { return obj->toString(); }" << endl;
293 s << "QString PythonQtWrapper_" << meta_class->name() << "::py_toString(" << meta_class->qualifiedCppName() << "* obj) { return obj->toString(); }" << endl;
292 } else if (meta_class->hasToStringCapability()) {
294 } else if (meta_class->hasToStringCapability()) {
293 FunctionModelItem fun = meta_class->hasToStringCapability();
295 FunctionModelItem fun = meta_class->hasToStringCapability();
294 int indirections = fun->arguments().at(1)->type().indirections();
296 int indirections = fun->arguments().at(1)->type().indirections();
295 QString deref = QLatin1String(indirections == 0 ? "*" : "");
297 QString deref = QLatin1String(indirections == 0 ? "*" : "");
296 s << "QString PythonQtWrapper_" << meta_class->name() << "::py_toString(" << meta_class->qualifiedCppName() << "* obj) {" << endl;
298 s << "QString PythonQtWrapper_" << meta_class->name() << "::py_toString(" << meta_class->qualifiedCppName() << "* obj) {" << endl;
297 s << " QString result;" << endl;
299 s << " QString result;" << endl;
298 s << " QDebug d(&result);" << endl;
300 s << " QDebug d(&result);" << endl;
299 s << " d << " << deref << "obj;" << endl;
301 s << " d << " << deref << "obj;" << endl;
300 s << " return result;" << endl;
302 s << " return result;" << endl;
301 s << "}" << endl << endl;
303 s << "}" << endl << endl;
302 }
304 }
303
305
304 writeInjectedCode(s, meta_class);
306 writeInjectedCode(s, meta_class);
305
307
306 }
308 }
307
309
308 void ShellImplGenerator::writeInjectedCode(QTextStream &s, const AbstractMetaClass *meta_class)
310 void ShellImplGenerator::writeInjectedCode(QTextStream &s, const AbstractMetaClass *meta_class)
309 {
311 {
310 CodeSnipList code_snips = meta_class->typeEntry()->codeSnips();
312 CodeSnipList code_snips = meta_class->typeEntry()->codeSnips();
311 foreach (const CodeSnip &cs, code_snips) {
313 foreach (const CodeSnip &cs, code_snips) {
312 if (cs.language == TypeSystem::PyWrapperCode) {
314 if (cs.language == TypeSystem::PyWrapperCode) {
313 s << cs.code() << endl;
315 s << cs.code() << endl;
314 }
316 }
315 }
317 }
316 }
318 }
@@ -1,2498 +1,2497
1 <?xml version="1.0"?>
1 <?xml version="1.0"?>
2 <typesystem package="com.trolltech.qt.core"><template name="core.prepare_removed_bool*_argument">
2 <typesystem package="com.trolltech.qt.core"><template name="core.prepare_removed_bool*_argument">
3 bool __ok;
3 bool __ok;
4 bool *%out% = &amp;__ok;
4 bool *%out% = &amp;__ok;
5 </template><template name="core.convert_to_null_or_wrap">
5 </template><template name="core.convert_to_null_or_wrap">
6 QScriptValue %out%;
6 QScriptValue %out%;
7 if (!__ok)
7 if (!__ok)
8 %out% = context-&gt;engine()-&gt;nullValue();
8 %out% = context-&gt;engine()-&gt;nullValue();
9 else
9 else
10 %out% = qScriptValueFromValue(context-&gt;engine(), %in%);
10 %out% = qScriptValueFromValue(context-&gt;engine(), %in%);
11 </template><template name="core.convert_to_null_or_primitive">
11 </template><template name="core.convert_to_null_or_primitive">
12 QScriptValue %out%;
12 QScriptValue %out%;
13 if (!__ok)
13 if (!__ok)
14 %out% = context-&gt;engine()-&gt;nullValue();
14 %out% = context-&gt;engine()-&gt;nullValue();
15 else
15 else
16 %out% = QScriptValue(context-&gt;engine(), %in%);
16 %out% = QScriptValue(context-&gt;engine(), %in%);
17 </template><template name="core.convert_string_arg_to_char*">
17 </template><template name="core.convert_string_arg_to_char*">
18 QByteArray tmp_%out% = %in%.toString().toLatin1();
18 QByteArray tmp_%out% = %in%.toString().toLatin1();
19 const char * %out% = tmp_%out%.constData();
19 const char * %out% = tmp_%out%.constData();
20 </template><template name="core.convert_int_arg_and_check_range">
20 </template><template name="core.convert_int_arg_and_check_range">
21 int %out% = %in%.toInt32();
21 int %out% = %in%.toInt32();
22 if ((%out% &lt; 0) || (%this%-&gt;size() &lt; %out%)) {
22 if ((%out% &lt; 0) || (%this%-&gt;size() &lt; %out%)) {
23 return context-&gt;throwError(QScriptContext::RangeError,
23 return context-&gt;throwError(QScriptContext::RangeError,
24 QString::fromLatin1("%CLASS_NAME%::%FUNCTION_NAME%(): index out of range"));
24 QString::fromLatin1("%CLASS_NAME%::%FUNCTION_NAME%(): index out of range"));
25 }
25 }
26 </template><template name="core.convert_pointer_arg_and_check_null">
26 </template><template name="core.convert_pointer_arg_and_check_null">
27 %TYPE% %out% = qscriptvalue_cast&lt;%TYPE%&gt;(%in%);
27 %TYPE% %out% = qscriptvalue_cast&lt;%TYPE%&gt;(%in%);
28 if (!%out%) {
28 if (!%out%) {
29 return context-&gt;throwError(QScriptContext::TypeError,
29 return context-&gt;throwError(QScriptContext::TypeError,
30 QString::fromLatin1("%CLASS_NAME%::%FUNCTION_NAME%(): failed to convert argument to %TYPE%"));
30 QString::fromLatin1("%CLASS_NAME%::%FUNCTION_NAME%(): failed to convert argument to %TYPE%"));
31 }
31 }
32 </template><template name="core.convert_stringref_to_string">
32 </template><template name="core.convert_stringref_to_string">
33 QString %out% = %in%.toString();
33 QString %out% = %in%.toString();
34 </template><rejection class="QTextCodec::ConverterState"/><rejection class="QTextCodecFactoryInterface"/><rejection class="QAbstractEventDispatcher"/><rejection class="QAbstractFileEngine"/><rejection class="QAbstractFileEngineHandler"/><rejection class="QAbstractFileEngineIterator"/><rejection class="QFSFileEngine"/><rejection class="QSystemLocale"/><rejection class="QFutureWatcherBase"/><rejection class="QFutureSynchronizer"/><enum-type name="QXmlStreamReader::Error"/><enum-type name="QXmlStreamReader::TokenType"/>
34 </template><rejection class="QTextCodec::ConverterState"/><rejection class="QTextCodecFactoryInterface"/><rejection class="QAbstractEventDispatcher"/><rejection class="QAbstractFileEngine"/><rejection class="QAbstractFileEngineHandler"/><rejection class="QAbstractFileEngineIterator"/><rejection class="QFSFileEngine"/><rejection class="QSystemLocale"/><rejection class="QFutureWatcherBase"/><rejection class="QFutureSynchronizer"/><enum-type name="QXmlStreamReader::Error"/><enum-type name="QXmlStreamReader::TokenType"/>
35
35
36 <primitive-type name="qgl_GLsizeiptr"/>
36 <primitive-type name="qgl_GLsizeiptr"/>
37 <primitive-type name="qgl_GLintptr"/>
37 <primitive-type name="qgl_GLintptr"/>
38 <primitive-type name="GLint"/>
38 <primitive-type name="GLint"/>
39 <primitive-type name="GLuint"/>
39 <primitive-type name="GLuint"/>
40 <primitive-type name="GLenum"/>
40 <primitive-type name="GLenum"/>
41 <primitive-type name="GLclampf"/>
41 <primitive-type name="GLclampf"/>
42 <primitive-type name="GLsizei"/>
42 <primitive-type name="GLsizei"/>
43 <primitive-type name="GLfloat"/>
43 <primitive-type name="GLfloat"/>
44 <primitive-type name="GLbitfield"/>
44 <primitive-type name="GLbitfield"/>
45 <primitive-type name="GLbyte"/>
45 <primitive-type name="GLbyte"/>
46 <primitive-type name="GLshort"/>
46 <primitive-type name="GLshort"/>
47 <primitive-type name="GLubyte"/>
47 <primitive-type name="GLubyte"/>
48 <primitive-type name="GLushort"/>
48 <primitive-type name="GLushort"/>
49 <primitive-type name="GLdouble"/>
49 <primitive-type name="GLdouble"/>
50 <primitive-type name="GLclampd"/>
50 <primitive-type name="GLclampd"/>
51 <primitive-type name="GLvoid"/>
51 <primitive-type name="GLvoid"/>
52 <primitive-type name="GLboolean"/>
52 <primitive-type name="GLboolean"/>
53
53
54 <primitive-type name="bool"/><primitive-type name="double"/><primitive-type name="qreal"/><primitive-type name="float"/><primitive-type name="qint64"/><primitive-type name="__int64"/><primitive-type name="unsigned __int64"/><primitive-type name="unsigned long long"/><primitive-type name="long long"/><primitive-type name="qlonglong"/><primitive-type name="qulonglong"/><primitive-type name="short"/><primitive-type name="short"/><primitive-type name="signed short"/><primitive-type name="ushort"/><primitive-type name="unsigned short"/><primitive-type name="char"/><primitive-type name="signed char"/><primitive-type name="uchar"/><primitive-type name="unsigned char"/><primitive-type name="int"/><primitive-type name="signed int"/><primitive-type name="uint"/><primitive-type name="ulong"/><primitive-type name="unsigned int"/><primitive-type name="signed long"/><primitive-type name="long"/><primitive-type name="unsigned long"/><primitive-type name="WId"/><primitive-type name="Qt::HANDLE"/><primitive-type name="QVariant::Type"/><primitive-type name="QByteRef"/><primitive-type name="QBitRef"/><primitive-type name="QBool"/><primitive-type name="jobject"/><primitive-type name="quintptr"/><suppress-warning text="WARNING(MetaJavaBuilder) :: signal 'finished' in class 'QProcess' is overloaded."/><suppress-warning text="WARNING(MetaJavaBuilder) :: missing required class for enums: QRegExp"/><suppress-warning text="WARNING(MetaJavaBuilder) :: enum 'QtValidLicenseForScriptToolsModule' does not have a type entry or is not an enum"/><suppress-warning text="WARNING(MetaJavaBuilder) :: Rejected enum has no alternative...: QDataStream::Qt_4_5"/><suppress-warning text="WARNING(MetaJavaBuilder) :: unhandled enum value: Qt::MatchFlags(Qt::MatchStartsWith in Qt::MatchFlag"/><suppress-warning text="WARNING(MetaJavaBuilder) :: unhandled enum value: Qt::MatchWrap) in Qt::MatchFlag"/><suppress-warning text="WARNING(MetaJavaBuilder) :: unmatched enum Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap) when parsing default value of 'match' in class 'QAbstractItemModel'"/><suppress-warning text="WARNING(MetaJavaBuilder) :: unsupported default value 'QLatin1String(defaultConnection)' of argument in function '*', class '*'"/><suppress-warning text="WARNING(MetaJavaBuilder) :: Class '*' has equals operators but no qHash() function"/><suppress-warning text="WARNING(MetaJavaBuilder) :: type '*' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/><suppress-warning text="WARNING(MetaJavaBuilder) :: namespace '*' for enum '*' is not declared"/><suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function '*', unmatched parameter type '*'"/><suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function '*', unmatched return type '*'"/><suppress-warning text="WARNING(MetaJavaBuilder) :: signature '*' for function modification in '*' not found. Possible candidates: "/><suppress-warning text="WARNING(MetaJavaBuilder) :: namespace '*' does not have a type entry"/><suppress-warning text="WARNING(MetaJavaBuilder) :: unsupported default value '*' of argument in function '*', class '*'"/><suppress-warning text="WARNING(MetaJavaBuilder) :: Shadowing: * and *; Java code will not compile"/><suppress-warning text="WARNING(MetaJavaBuilder) :: enum '*' is specified in typesystem, but not declared"/>
54 <primitive-type name="bool"/><primitive-type name="double"/><primitive-type name="qreal"/><primitive-type name="float"/><primitive-type name="qint64"/><primitive-type name="__int64"/><primitive-type name="unsigned __int64"/><primitive-type name="unsigned long long"/><primitive-type name="long long"/><primitive-type name="qlonglong"/><primitive-type name="qulonglong"/><primitive-type name="short"/><primitive-type name="short"/><primitive-type name="signed short"/><primitive-type name="ushort"/><primitive-type name="unsigned short"/><primitive-type name="char"/><primitive-type name="signed char"/><primitive-type name="uchar"/><primitive-type name="unsigned char"/><primitive-type name="int"/><primitive-type name="signed int"/><primitive-type name="uint"/><primitive-type name="ulong"/><primitive-type name="unsigned int"/><primitive-type name="signed long"/><primitive-type name="long"/><primitive-type name="unsigned long"/><primitive-type name="WId"/><primitive-type name="Qt::HANDLE"/><primitive-type name="QVariant::Type"/><primitive-type name="QByteRef"/><primitive-type name="QBitRef"/><primitive-type name="QBool"/><primitive-type name="jobject"/><primitive-type name="quintptr"/><suppress-warning text="WARNING(MetaJavaBuilder) :: signal 'finished' in class 'QProcess' is overloaded."/><suppress-warning text="WARNING(MetaJavaBuilder) :: missing required class for enums: QRegExp"/><suppress-warning text="WARNING(MetaJavaBuilder) :: enum 'QtValidLicenseForScriptToolsModule' does not have a type entry or is not an enum"/><suppress-warning text="WARNING(MetaJavaBuilder) :: Rejected enum has no alternative...: QDataStream::Qt_4_5"/><suppress-warning text="WARNING(MetaJavaBuilder) :: unhandled enum value: Qt::MatchFlags(Qt::MatchStartsWith in Qt::MatchFlag"/><suppress-warning text="WARNING(MetaJavaBuilder) :: unhandled enum value: Qt::MatchWrap) in Qt::MatchFlag"/><suppress-warning text="WARNING(MetaJavaBuilder) :: unmatched enum Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap) when parsing default value of 'match' in class 'QAbstractItemModel'"/><suppress-warning text="WARNING(MetaJavaBuilder) :: unsupported default value 'QLatin1String(defaultConnection)' of argument in function '*', class '*'"/><suppress-warning text="WARNING(MetaJavaBuilder) :: Class '*' has equals operators but no qHash() function"/><suppress-warning text="WARNING(MetaJavaBuilder) :: type '*' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/><suppress-warning text="WARNING(MetaJavaBuilder) :: namespace '*' for enum '*' is not declared"/><suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function '*', unmatched parameter type '*'"/><suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function '*', unmatched return type '*'"/><suppress-warning text="WARNING(MetaJavaBuilder) :: signature '*' for function modification in '*' not found. Possible candidates: "/><suppress-warning text="WARNING(MetaJavaBuilder) :: namespace '*' does not have a type entry"/><suppress-warning text="WARNING(MetaJavaBuilder) :: unsupported default value '*' of argument in function '*', class '*'"/><suppress-warning text="WARNING(MetaJavaBuilder) :: Shadowing: * and *; Java code will not compile"/><suppress-warning text="WARNING(MetaJavaBuilder) :: enum '*' is specified in typesystem, but not declared"/>
55
55
56 <value-type name="QModelIndex"/>
56 <value-type name="QModelIndex"/>
57 <rejection class="*" function-name="d_func"/>
57 <rejection class="*" function-name="d_func"/>
58 <rejection class="*" function-name="data_ptr"/>
58 <rejection class="*" function-name="data_ptr"/>
59 <rejection class="*" function-name="detach"/>
59 <rejection class="*" function-name="detach"/>
60 <rejection class="*" function-name="isDetached"/>
60 <rejection class="*" function-name="isDetached"/>
61
61
62 <rejection class="*" field-name="d_ptr"/>
62 <rejection class="*" field-name="d_ptr"/>
63 <rejection class="*" field-name="d"/>
63 <rejection class="*" field-name="d"/>
64
64
65 <rejection class="" enum-name="QtValidLicenseForTestModule"/>
65 <rejection class="" enum-name="QtValidLicenseForTestModule"/>
66
66
67
67
68 <rejection class="" enum-name="QtValidLicenseForDBusModule"/>
68 <rejection class="" enum-name="QtValidLicenseForDBusModule"/>
69 <rejection class="" enum-name="QtValidLicenseForSqlModule"/>
69 <rejection class="" enum-name="QtValidLicenseForSqlModule"/>
70 <rejection class="" enum-name="QtValidLicenseForOpenGLModule"/>
70 <rejection class="" enum-name="QtValidLicenseForOpenGLModule"/>
71 <rejection class="" enum-name="enum_1"/>
71 <rejection class="" enum-name="enum_1"/>
72 <rejection class="" enum-name="QtValidLicenseForXmlModule"/>
72 <rejection class="" enum-name="QtValidLicenseForXmlModule"/>
73 <rejection class="" enum-name="QtValidLicenseForXmlPatternsModule"/>
73 <rejection class="" enum-name="QtValidLicenseForXmlPatternsModule"/>
74 <rejection class="" enum-name="QtValidLicenseForActiveQtModule"/>
74 <rejection class="" enum-name="QtValidLicenseForActiveQtModule"/>
75 <rejection class="" enum-name="QtValidLicenseForCoreModule"/>
75 <rejection class="" enum-name="QtValidLicenseForCoreModule"/>
76 <rejection class="" enum-name="QtValidLicenseForQt3SupportLightModule"/>
76 <rejection class="" enum-name="QtValidLicenseForQt3SupportLightModule"/>
77 <rejection class="" enum-name="QtValidLicenseForQt3SupportModule"/>
77 <rejection class="" enum-name="QtValidLicenseForQt3SupportModule"/>
78 <rejection class="" enum-name="QtValidLicenseForNetworkModule"/>
78 <rejection class="" enum-name="QtValidLicenseForNetworkModule"/>
79 <rejection class="" enum-name="QtValidLicenseForSvgModule"/>
79 <rejection class="" enum-name="QtValidLicenseForSvgModule"/>
80 <rejection class="" enum-name="QtValidLicenseForGuiModule"/>
80 <rejection class="" enum-name="QtValidLicenseForGuiModule"/>
81 <rejection class="" enum-name="QtValidLicenseForScriptModule"/>
81 <rejection class="" enum-name="QtValidLicenseForScriptModule"/>
82 <rejection class="" enum-name="QtValidLicenseForHelpModule"/>
82 <rejection class="" enum-name="QtValidLicenseForHelpModule"/>
83 <rejection class="" enum-name="QtValidLicenseForScriptToolsModule"/>
83 <rejection class="" enum-name="QtValidLicenseForScriptToolsModule"/>
84 <rejection class="" enum-name="QtValidLicenseForMultimediaModule"/>
84 <rejection class="" enum-name="QtValidLicenseForMultimediaModule"/>
85 <rejection class="" enum-name="QtValidLicenseForOpenVGModule"/>
85 <rejection class="" enum-name="QtValidLicenseForOpenVGModule"/>
86 <rejection class="" enum-name="QtValidLicenseForDeclarativeModule"/>
86 <rejection class="" enum-name="QtValidLicenseForDeclarativeModule"/>
87
87
88
88
89 <rejection class="QtConcurrent" enum-name="enum_1"/>
89 <rejection class="QtConcurrent" enum-name="enum_1"/>
90 <rejection class="QtConcurrent" function-name="operator|"/>
90 <rejection class="QtConcurrent" function-name="operator|"/>
91
91
92 <rejection class="Qt" enum-name="Modifier"/>
92 <rejection class="Qt" enum-name="Modifier"/>
93
93
94 <rejection class="QSharedPointer"/>
94 <rejection class="QSharedPointer"/>
95 <rejection class="QWeakPointer"/>
95 <rejection class="QWeakPointer"/>
96 <rejection class="QFuture::const_iterator"/>
96 <rejection class="QFuture::const_iterator"/>
97 <rejection class="QFutureInterface"/>
97 <rejection class="QFutureInterface"/>
98 <rejection class="QFutureInterfaceBase"/>
98 <rejection class="QFutureInterfaceBase"/>
99 <rejection class="QtConcurrent::BlockSizeManager"/>
99 <rejection class="QtConcurrent::BlockSizeManager"/>
100 <rejection class="QtConcurrent::ConstMemberFunctionWrapper"/>
100 <rejection class="QtConcurrent::ConstMemberFunctionWrapper"/>
101 <rejection class="QtConcurrent::Exception"/>
101 <rejection class="QtConcurrent::Exception"/>
102 <rejection class="QtConcurrent::FilterKernel"/>
102 <rejection class="QtConcurrent::FilterKernel"/>
103 <rejection class="QtConcurrent::FilteredEachKernel"/>
103 <rejection class="QtConcurrent::FilteredEachKernel"/>
104 <rejection class="QtConcurrent::FilteredReducedKernel"/>
104 <rejection class="QtConcurrent::FilteredReducedKernel"/>
105 <rejection class="QtConcurrent::FunctionWrapper0"/>
105 <rejection class="QtConcurrent::FunctionWrapper0"/>
106 <rejection class="QtConcurrent::FunctionWrapper1"/>
106 <rejection class="QtConcurrent::FunctionWrapper1"/>
107 <rejection class="QtConcurrent::FunctionWrapper2"/>
107 <rejection class="QtConcurrent::FunctionWrapper2"/>
108 <rejection class="QtConcurrent::IntermediateResults"/>
108 <rejection class="QtConcurrent::IntermediateResults"/>
109 <rejection class="QtConcurrent::IterateKernel"/>
109 <rejection class="QtConcurrent::IterateKernel"/>
110 <rejection class="QtConcurrent::MapKernel"/>
110 <rejection class="QtConcurrent::MapKernel"/>
111 <rejection class="QtConcurrent::MappedEachKernel"/>
111 <rejection class="QtConcurrent::MappedEachKernel"/>
112 <rejection class="QtConcurrent::MappedReducedKernel"/>
112 <rejection class="QtConcurrent::MappedReducedKernel"/>
113 <rejection class="QtConcurrent::Median"/>
113 <rejection class="QtConcurrent::Median"/>
114 <rejection class="QtConcurrent::MemberFunctionWrapper"/>
114 <rejection class="QtConcurrent::MemberFunctionWrapper"/>
115 <rejection class="QtConcurrent::MemberFunctionWrapper1"/>
115 <rejection class="QtConcurrent::MemberFunctionWrapper1"/>
116 <rejection class="QtConcurrent::qValueType"/>
116 <rejection class="QtConcurrent::qValueType"/>
117 <rejection class="QtConcurrent::ReduceKernel"/>
117 <rejection class="QtConcurrent::ReduceKernel"/>
118 <rejection class="QtConcurrent::ResultItem"/>
118 <rejection class="QtConcurrent::ResultItem"/>
119 <rejection class="QtConcurrent::ResultIterator"/>
119 <rejection class="QtConcurrent::ResultIterator"/>
120 <rejection class="QtConcurrent::ResultIteratorBase"/>
120 <rejection class="QtConcurrent::ResultIteratorBase"/>
121 <rejection class="QtConcurrent::ResultReporter"/>
121 <rejection class="QtConcurrent::ResultReporter"/>
122 <rejection class="QtConcurrent::ResultStore"/>
122 <rejection class="QtConcurrent::ResultStore"/>
123 <rejection class="QtConcurrent::ResultStoreBase"/>
123 <rejection class="QtConcurrent::ResultStoreBase"/>
124 <rejection class="QtConcurrent::RunFunctionTask"/>
124 <rejection class="QtConcurrent::RunFunctionTask"/>
125 <rejection class="QtConcurrent::RunFunctionTaskBase"/>
125 <rejection class="QtConcurrent::RunFunctionTaskBase"/>
126 <rejection class="QtConcurrent::SelectSpecialization"/>
126 <rejection class="QtConcurrent::SelectSpecialization"/>
127 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionCall0"/>
127 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionCall0"/>
128 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionCall1"/>
128 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionCall1"/>
129 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionCall2"/>
129 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionCall2"/>
130 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionCall3"/>
130 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionCall3"/>
131 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionCall4"/>
131 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionCall4"/>
132 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionCall5"/>
132 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionCall5"/>
133 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionPointerCall0"/>
133 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionPointerCall0"/>
134 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionPointerCall1"/>
134 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionPointerCall1"/>
135 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionPointerCall2"/>
135 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionPointerCall2"/>
136 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionPointerCall3"/>
136 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionPointerCall3"/>
137 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionPointerCall4"/>
137 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionPointerCall4"/>
138 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionPointerCall5"/>
138 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionPointerCall5"/>
139 <rejection class="QtConcurrent::SelectStoredFunctorCall0"/>
139 <rejection class="QtConcurrent::SelectStoredFunctorCall0"/>
140 <rejection class="QtConcurrent::SelectStoredFunctorCall1"/>
140 <rejection class="QtConcurrent::SelectStoredFunctorCall1"/>
141 <rejection class="QtConcurrent::SelectStoredFunctorCall2"/>
141 <rejection class="QtConcurrent::SelectStoredFunctorCall2"/>
142 <rejection class="QtConcurrent::SelectStoredFunctorCall3"/>
142 <rejection class="QtConcurrent::SelectStoredFunctorCall3"/>
143 <rejection class="QtConcurrent::SelectStoredFunctorCall4"/>
143 <rejection class="QtConcurrent::SelectStoredFunctorCall4"/>
144 <rejection class="QtConcurrent::SelectStoredFunctorCall5"/>
144 <rejection class="QtConcurrent::SelectStoredFunctorCall5"/>
145 <rejection class="QtConcurrent::SelectStoredFunctorPointerCall0"/>
145 <rejection class="QtConcurrent::SelectStoredFunctorPointerCall0"/>
146 <rejection class="QtConcurrent::SelectStoredFunctorPointerCall1"/>
146 <rejection class="QtConcurrent::SelectStoredFunctorPointerCall1"/>
147 <rejection class="QtConcurrent::SelectStoredFunctorPointerCall2"/>
147 <rejection class="QtConcurrent::SelectStoredFunctorPointerCall2"/>
148 <rejection class="QtConcurrent::SelectStoredFunctorPointerCall3"/>
148 <rejection class="QtConcurrent::SelectStoredFunctorPointerCall3"/>
149 <rejection class="QtConcurrent::SelectStoredFunctorPointerCall4"/>
149 <rejection class="QtConcurrent::SelectStoredFunctorPointerCall4"/>
150 <rejection class="QtConcurrent::SelectStoredFunctorPointerCall5"/>
150 <rejection class="QtConcurrent::SelectStoredFunctorPointerCall5"/>
151 <rejection class="QtConcurrent::SelectStoredMemberFunctionCall0"/>
151 <rejection class="QtConcurrent::SelectStoredMemberFunctionCall0"/>
152 <rejection class="QtConcurrent::SelectStoredMemberFunctionCall1"/>
152 <rejection class="QtConcurrent::SelectStoredMemberFunctionCall1"/>
153 <rejection class="QtConcurrent::SelectStoredMemberFunctionCall2"/>
153 <rejection class="QtConcurrent::SelectStoredMemberFunctionCall2"/>
154 <rejection class="QtConcurrent::SelectStoredMemberFunctionCall3"/>
154 <rejection class="QtConcurrent::SelectStoredMemberFunctionCall3"/>
155 <rejection class="QtConcurrent::SelectStoredMemberFunctionCall4"/>
155 <rejection class="QtConcurrent::SelectStoredMemberFunctionCall4"/>
156 <rejection class="QtConcurrent::SelectStoredMemberFunctionCall5"/>
156 <rejection class="QtConcurrent::SelectStoredMemberFunctionCall5"/>
157 <rejection class="QtConcurrent::SelectStoredMemberFunctionPointerCall0"/>
157 <rejection class="QtConcurrent::SelectStoredMemberFunctionPointerCall0"/>
158 <rejection class="QtConcurrent::SelectStoredMemberFunctionPointerCall1"/>
158 <rejection class="QtConcurrent::SelectStoredMemberFunctionPointerCall1"/>
159 <rejection class="QtConcurrent::SelectStoredMemberFunctionPointerCall2"/>
159 <rejection class="QtConcurrent::SelectStoredMemberFunctionPointerCall2"/>
160 <rejection class="QtConcurrent::SelectStoredMemberFunctionPointerCall3"/>
160 <rejection class="QtConcurrent::SelectStoredMemberFunctionPointerCall3"/>
161 <rejection class="QtConcurrent::SelectStoredMemberFunctionPointerCall4"/>
161 <rejection class="QtConcurrent::SelectStoredMemberFunctionPointerCall4"/>
162 <rejection class="QtConcurrent::SelectStoredMemberFunctionPointerCall5"/>
162 <rejection class="QtConcurrent::SelectStoredMemberFunctionPointerCall5"/>
163 <rejection class="QtConcurrent::SequenceHolder1"/>
163 <rejection class="QtConcurrent::SequenceHolder1"/>
164 <rejection class="QtConcurrent::SequenceHolder2"/>
164 <rejection class="QtConcurrent::SequenceHolder2"/>
165 <rejection class="QtConcurrent::StoredConstMemberFunctionCall0"/>
165 <rejection class="QtConcurrent::StoredConstMemberFunctionCall0"/>
166 <rejection class="QtConcurrent::StoredConstMemberFunctionCall1"/>
166 <rejection class="QtConcurrent::StoredConstMemberFunctionCall1"/>
167 <rejection class="QtConcurrent::StoredConstMemberFunctionCall2"/>
167 <rejection class="QtConcurrent::StoredConstMemberFunctionCall2"/>
168 <rejection class="QtConcurrent::StoredConstMemberFunctionCall3"/>
168 <rejection class="QtConcurrent::StoredConstMemberFunctionCall3"/>
169 <rejection class="QtConcurrent::StoredConstMemberFunctionCall4"/>
169 <rejection class="QtConcurrent::StoredConstMemberFunctionCall4"/>
170 <rejection class="QtConcurrent::StoredConstMemberFunctionCall5"/>
170 <rejection class="QtConcurrent::StoredConstMemberFunctionCall5"/>
171 <rejection class="QtConcurrent::StoredConstMemberFunctionPointerCall0"/>
171 <rejection class="QtConcurrent::StoredConstMemberFunctionPointerCall0"/>
172 <rejection class="QtConcurrent::StoredConstMemberFunctionPointerCall1"/>
172 <rejection class="QtConcurrent::StoredConstMemberFunctionPointerCall1"/>
173 <rejection class="QtConcurrent::StoredConstMemberFunctionPointerCall2"/>
173 <rejection class="QtConcurrent::StoredConstMemberFunctionPointerCall2"/>
174 <rejection class="QtConcurrent::StoredConstMemberFunctionPointerCall3"/>
174 <rejection class="QtConcurrent::StoredConstMemberFunctionPointerCall3"/>
175 <rejection class="QtConcurrent::StoredConstMemberFunctionPointerCall4"/>
175 <rejection class="QtConcurrent::StoredConstMemberFunctionPointerCall4"/>
176 <rejection class="QtConcurrent::StoredConstMemberFunctionPointerCall5"/>
176 <rejection class="QtConcurrent::StoredConstMemberFunctionPointerCall5"/>
177 <rejection class="QtConcurrent::StoredFunctorCall0"/>
177 <rejection class="QtConcurrent::StoredFunctorCall0"/>
178 <rejection class="QtConcurrent::StoredFunctorCall1"/>
178 <rejection class="QtConcurrent::StoredFunctorCall1"/>
179 <rejection class="QtConcurrent::StoredFunctorCall2"/>
179 <rejection class="QtConcurrent::StoredFunctorCall2"/>
180 <rejection class="QtConcurrent::StoredFunctorCall3"/>
180 <rejection class="QtConcurrent::StoredFunctorCall3"/>
181 <rejection class="QtConcurrent::StoredFunctorCall4"/>
181 <rejection class="QtConcurrent::StoredFunctorCall4"/>
182 <rejection class="QtConcurrent::StoredFunctorCall5"/>
182 <rejection class="QtConcurrent::StoredFunctorCall5"/>
183 <rejection class="QtConcurrent::StoredFunctorPointerCall0"/>
183 <rejection class="QtConcurrent::StoredFunctorPointerCall0"/>
184 <rejection class="QtConcurrent::StoredFunctorPointerCall1"/>
184 <rejection class="QtConcurrent::StoredFunctorPointerCall1"/>
185 <rejection class="QtConcurrent::StoredFunctorPointerCall2"/>
185 <rejection class="QtConcurrent::StoredFunctorPointerCall2"/>
186 <rejection class="QtConcurrent::StoredFunctorPointerCall3"/>
186 <rejection class="QtConcurrent::StoredFunctorPointerCall3"/>
187 <rejection class="QtConcurrent::StoredFunctorPointerCall4"/>
187 <rejection class="QtConcurrent::StoredFunctorPointerCall4"/>
188 <rejection class="QtConcurrent::StoredFunctorPointerCall5"/>
188 <rejection class="QtConcurrent::StoredFunctorPointerCall5"/>
189 <rejection class="QtConcurrent::StoredMemberFunctionCall0"/>
189 <rejection class="QtConcurrent::StoredMemberFunctionCall0"/>
190 <rejection class="QtConcurrent::StoredMemberFunctionCall1"/>
190 <rejection class="QtConcurrent::StoredMemberFunctionCall1"/>
191 <rejection class="QtConcurrent::StoredMemberFunctionCall2"/>
191 <rejection class="QtConcurrent::StoredMemberFunctionCall2"/>
192 <rejection class="QtConcurrent::StoredMemberFunctionCall3"/>
192 <rejection class="QtConcurrent::StoredMemberFunctionCall3"/>
193 <rejection class="QtConcurrent::StoredMemberFunctionCall4"/>
193 <rejection class="QtConcurrent::StoredMemberFunctionCall4"/>
194 <rejection class="QtConcurrent::StoredMemberFunctionCall5"/>
194 <rejection class="QtConcurrent::StoredMemberFunctionCall5"/>
195 <rejection class="QtConcurrent::StoredMemberFunctionPointerCall0"/>
195 <rejection class="QtConcurrent::StoredMemberFunctionPointerCall0"/>
196 <rejection class="QtConcurrent::StoredMemberFunctionPointerCall1"/>
196 <rejection class="QtConcurrent::StoredMemberFunctionPointerCall1"/>
197 <rejection class="QtConcurrent::StoredMemberFunctionPointerCall2"/>
197 <rejection class="QtConcurrent::StoredMemberFunctionPointerCall2"/>
198 <rejection class="QtConcurrent::StoredMemberFunctionPointerCall3"/>
198 <rejection class="QtConcurrent::StoredMemberFunctionPointerCall3"/>
199 <rejection class="QtConcurrent::StoredMemberFunctionPointerCall4"/>
199 <rejection class="QtConcurrent::StoredMemberFunctionPointerCall4"/>
200 <rejection class="QtConcurrent::StoredMemberFunctionPointerCall5"/>
200 <rejection class="QtConcurrent::StoredMemberFunctionPointerCall5"/>
201 <rejection class="QtConcurrent::ThreadEngine"/>
201 <rejection class="QtConcurrent::ThreadEngine"/>
202 <rejection class="QtConcurrent::ThreadEngineBase"/>
202 <rejection class="QtConcurrent::ThreadEngineBase"/>
203 <rejection class="QtConcurrent::ThreadEngineSemaphore"/>
203 <rejection class="QtConcurrent::ThreadEngineSemaphore"/>
204 <rejection class="QtConcurrent::ThreadEngineStarter"/>
204 <rejection class="QtConcurrent::ThreadEngineStarter"/>
205 <rejection class="QtConcurrent::ThreadEngineStarterBase"/>
205 <rejection class="QtConcurrent::ThreadEngineStarterBase"/>
206 <rejection class="QtConcurrent::UnhandledException"/>
206 <rejection class="QtConcurrent::UnhandledException"/>
207 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionCall0"/>
207 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionCall0"/>
208 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionCall1"/>
208 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionCall1"/>
209 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionCall2"/>
209 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionCall2"/>
210 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionCall3"/>
210 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionCall3"/>
211 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionCall4"/>
211 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionCall4"/>
212 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionCall5"/>
212 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionCall5"/>
213 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionPointerCall0"/>
213 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionPointerCall0"/>
214 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionPointerCall1"/>
214 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionPointerCall1"/>
215 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionPointerCall2"/>
215 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionPointerCall2"/>
216 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionPointerCall3"/>
216 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionPointerCall3"/>
217 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionPointerCall4"/>
217 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionPointerCall4"/>
218 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionPointerCall5"/>
218 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionPointerCall5"/>
219 <rejection class="QtConcurrent::VoidStoredFunctorCall0"/>
219 <rejection class="QtConcurrent::VoidStoredFunctorCall0"/>
220 <rejection class="QtConcurrent::VoidStoredFunctorCall1"/>
220 <rejection class="QtConcurrent::VoidStoredFunctorCall1"/>
221 <rejection class="QtConcurrent::VoidStoredFunctorCall2"/>
221 <rejection class="QtConcurrent::VoidStoredFunctorCall2"/>
222 <rejection class="QtConcurrent::VoidStoredFunctorCall3"/>
222 <rejection class="QtConcurrent::VoidStoredFunctorCall3"/>
223 <rejection class="QtConcurrent::VoidStoredFunctorCall4"/>
223 <rejection class="QtConcurrent::VoidStoredFunctorCall4"/>
224 <rejection class="QtConcurrent::VoidStoredFunctorCall5"/>
224 <rejection class="QtConcurrent::VoidStoredFunctorCall5"/>
225 <rejection class="QtConcurrent::VoidStoredFunctorPointerCall0"/>
225 <rejection class="QtConcurrent::VoidStoredFunctorPointerCall0"/>
226 <rejection class="QtConcurrent::VoidStoredFunctorPointerCall1"/>
226 <rejection class="QtConcurrent::VoidStoredFunctorPointerCall1"/>
227 <rejection class="QtConcurrent::VoidStoredFunctorPointerCall2"/>
227 <rejection class="QtConcurrent::VoidStoredFunctorPointerCall2"/>
228 <rejection class="QtConcurrent::VoidStoredFunctorPointerCall3"/>
228 <rejection class="QtConcurrent::VoidStoredFunctorPointerCall3"/>
229 <rejection class="QtConcurrent::VoidStoredFunctorPointerCall4"/>
229 <rejection class="QtConcurrent::VoidStoredFunctorPointerCall4"/>
230 <rejection class="QtConcurrent::VoidStoredFunctorPointerCall5"/>
230 <rejection class="QtConcurrent::VoidStoredFunctorPointerCall5"/>
231 <rejection class="QtConcurrent::VoidStoredMemberFunctionCall0"/>
231 <rejection class="QtConcurrent::VoidStoredMemberFunctionCall0"/>
232 <rejection class="QtConcurrent::VoidStoredMemberFunctionCall1"/>
232 <rejection class="QtConcurrent::VoidStoredMemberFunctionCall1"/>
233 <rejection class="QtConcurrent::VoidStoredMemberFunctionCall2"/>
233 <rejection class="QtConcurrent::VoidStoredMemberFunctionCall2"/>
234 <rejection class="QtConcurrent::VoidStoredMemberFunctionCall3"/>
234 <rejection class="QtConcurrent::VoidStoredMemberFunctionCall3"/>
235 <rejection class="QtConcurrent::VoidStoredMemberFunctionCall4"/>
235 <rejection class="QtConcurrent::VoidStoredMemberFunctionCall4"/>
236 <rejection class="QtConcurrent::VoidStoredMemberFunctionCall5"/>
236 <rejection class="QtConcurrent::VoidStoredMemberFunctionCall5"/>
237 <rejection class="QtConcurrent::VoidStoredMemberFunctionPointerCall0"/>
237 <rejection class="QtConcurrent::VoidStoredMemberFunctionPointerCall0"/>
238 <rejection class="QtConcurrent::VoidStoredMemberFunctionPointerCall1"/>
238 <rejection class="QtConcurrent::VoidStoredMemberFunctionPointerCall1"/>
239 <rejection class="QtConcurrent::VoidStoredMemberFunctionPointerCall2"/>
239 <rejection class="QtConcurrent::VoidStoredMemberFunctionPointerCall2"/>
240 <rejection class="QtConcurrent::VoidStoredMemberFunctionPointerCall3"/>
240 <rejection class="QtConcurrent::VoidStoredMemberFunctionPointerCall3"/>
241 <rejection class="QtConcurrent::VoidStoredMemberFunctionPointerCall4"/>
241 <rejection class="QtConcurrent::VoidStoredMemberFunctionPointerCall4"/>
242 <rejection class="QtConcurrent::VoidStoredMemberFunctionPointerCall5"/>
242 <rejection class="QtConcurrent::VoidStoredMemberFunctionPointerCall5"/>
243
243
244 <rejection class="QMdi"/>
244 <rejection class="QMdi"/>
245 <rejection class="stdext"/>
245 <rejection class="stdext"/>
246 <rejection class="QAlgorithmsPrivate"/>
246 <rejection class="QAlgorithmsPrivate"/>
247 <rejection class="QAtomic"/>
247 <rejection class="QAtomic"/>
248 <rejection class="QAtomicPointer"/>
248 <rejection class="QAtomicPointer"/>
249 <rejection class="QAtomicInt"/>
249 <rejection class="QAtomicInt"/>
250 <rejection class="QBasicAtomicInt"/>
250 <rejection class="QBasicAtomicInt"/>
251 <rejection class="QBasicAtomic"/>
251 <rejection class="QBasicAtomic"/>
252 <rejection class="QBasicAtomicPointer"/>
252 <rejection class="QBasicAtomicPointer"/>
253 <rejection class="QScopedPointer"/>
253 <rejection class="QScopedPointer"/>
254 <rejection class="QScopedArrayPointer"/>
254 <rejection class="QScopedArrayPointer"/>
255 <rejection class="QScopedPointer"/>
255 <rejection class="QScopedPointer"/>
256 <rejection class="QScopedPointerArrayDeleter"/>
256 <rejection class="QScopedPointerArrayDeleter"/>
257 <rejection class="QScopedPointerDeleter"/>
257 <rejection class="QScopedPointerDeleter"/>
258 <rejection class="QScopedPointerPodDeleter"/>
258 <rejection class="QScopedPointerPodDeleter"/>
259 <rejection class="QScopedPointerSharedDeleter"/>
259 <rejection class="QScopedPointerSharedDeleter"/>
260 <rejection class="QScopedSharedPointer"/>
260 <rejection class="QScopedSharedPointer"/>
261 <rejection class="QCustomScopedPointer"/>
261 <rejection class="QCustomScopedPointer"/>
262 <rejection class="QStringBuilder"/>
262 <rejection class="QStringBuilder"/>
263
263
264 <rejection class="QBitRef"/>
264 <rejection class="QBitRef"/>
265 <rejection class="QCache"/>
265 <rejection class="QCache"/>
266 <rejection class="QContiguousCache"/>
266 <rejection class="QContiguousCache"/>
267 <rejection class="QContiguousCacheData"/>
267 <rejection class="QContiguousCacheData"/>
268 <rejection class="QContiguousCacheTypedData"/>
268 <rejection class="QContiguousCacheTypedData"/>
269 <rejection class="QCharRef"/>
269 <rejection class="QCharRef"/>
270 <rejection class="QDebug"/>
270 <rejection class="QDebug"/>
271 <rejection class="QNoDebug"/>
271 <rejection class="QNoDebug"/>
272 <rejection class="QExplicitlySharedDataPointer"/>
272 <rejection class="QExplicitlySharedDataPointer"/>
273 <rejection class="QFlag"/>
273 <rejection class="QFlag"/>
274 <rejection class="QFlags"/>
274 <rejection class="QFlags"/>
275 <rejection class="QForeachContainer"/>
275 <rejection class="QForeachContainer"/>
276 <rejection class="QForeachContainerBase"/>
276 <rejection class="QForeachContainerBase"/>
277 <rejection class="QGlobalStatic"/>
277 <rejection class="QGlobalStatic"/>
278 <rejection class="QHash"/>
278 <rejection class="QHash"/>
279 <rejection class="QHashData"/>
279 <rejection class="QHashData"/>
280 <rejection class="QHashDummyNode"/>
280 <rejection class="QHashDummyNode"/>
281 <rejection class="QHashDummyNode"/>
281 <rejection class="QHashDummyNode"/>
282 <rejection class="QHashDummyNode"/>
282 <rejection class="QHashDummyNode"/>
283 <rejection class="QHashDummyNode"/>
283 <rejection class="QHashDummyNode"/>
284 <rejection class="QHashDummyNode"/>
284 <rejection class="QHashDummyNode"/>
285 <rejection class="QHashDummyValue"/>
285 <rejection class="QHashDummyValue"/>
286 <rejection class="QHashIterator"/>
286 <rejection class="QHashIterator"/>
287 <rejection class="QHashNode"/>
287 <rejection class="QHashNode"/>
288 <rejection class="QHashNode"/>
288 <rejection class="QHashNode"/>
289 <rejection class="QHashNode"/>
289 <rejection class="QHashNode"/>
290 <rejection class="QHashNode"/>
290 <rejection class="QHashNode"/>
291 <rejection class="QHashNode"/>
291 <rejection class="QHashNode"/>
292 <rejection class="QInternal"/>
292 <rejection class="QInternal"/>
293 <rejection class="QIncompatibleFlag"/>
293 <rejection class="QIncompatibleFlag"/>
294 <rejection class="QLinkedList"/>
294 <rejection class="QLinkedList"/>
295 <rejection class="QLinkedListData"/>
295 <rejection class="QLinkedListData"/>
296 <rejection class="QLinkedListIterator"/>
296 <rejection class="QLinkedListIterator"/>
297 <rejection class="QLinkedListNode"/>
297 <rejection class="QLinkedListNode"/>
298 <rejection class="QListData"/>
298 <rejection class="QListData"/>
299 <rejection class="QListIterator"/>
299 <rejection class="QListIterator"/>
300 <rejection class="QMap"/>
300 <rejection class="QMap"/>
301 <rejection class="QMapNode"/>
301 <rejection class="QMapNode"/>
302 <rejection class="QMapPayloadNode"/>
302 <rejection class="QMapPayloadNode"/>
303 <rejection class="QMapData"/>
303 <rejection class="QMapData"/>
304 <rejection class="QMapIterator"/>
304 <rejection class="QMapIterator"/>
305 <rejection class="QMetaTypeId"/>
305 <rejection class="QMetaTypeId"/>
306 <rejection class="QMultiHash"/>
306 <rejection class="QMultiHash"/>
307 <rejection class="QMultiMap"/>
307 <rejection class="QMultiMap"/>
308 <rejection class="QMutableHashIterator"/>
308 <rejection class="QMutableHashIterator"/>
309 <rejection class="QMutableLinkedListIterator"/>
309 <rejection class="QMutableLinkedListIterator"/>
310 <rejection class="QMutableListIterator"/>
310 <rejection class="QMutableListIterator"/>
311 <rejection class="QMutableMapIterator"/>
311 <rejection class="QMutableMapIterator"/>
312 <rejection class="QMutableVectorIterator"/>
312 <rejection class="QMutableVectorIterator"/>
313 <rejection class="QMutexLocker"/>
313 <rejection class="QMutexLocker"/>
314 <rejection class="QNoImplicitBoolCast"/>
314 <rejection class="QNoImplicitBoolCast"/>
315 <rejection class="QObjectCleanupHandler"/>
315 <rejection class="QObjectCleanupHandler"/>
316 <rejection class="QObjectData"/>
316 <rejection class="QObjectData"/>
317 <rejection class="QObjectUserData"/>
317 <rejection class="QObjectUserData"/>
318 <rejection class="QPluginLoader"/>
318 <rejection class="QPluginLoader"/>
319 <rejection class="QPointer"/>
319 <rejection class="QPointer"/>
320 <rejection class="QReadLocker"/>
320 <rejection class="QReadLocker"/>
321 <rejection class="QSet"/>
321 <rejection class="QSet"/>
322 <rejection class="QSetIterator"/>
322 <rejection class="QSetIterator"/>
323 <rejection class="QSharedData"/>
323 <rejection class="QSharedData"/>
324 <rejection class="QSharedDataPointer"/>
324 <rejection class="QSharedDataPointer"/>
325 <rejection class="QStack"/>
325 <rejection class="QStack"/>
326 <rejection class="QTextStreamManipulator"/>
326 <rejection class="QTextStreamManipulator"/>
327 <rejection class="QThreadStorage"/>
327 <rejection class="QThreadStorage"/>
328 <rejection class="QThreadStorageData"/>
328 <rejection class="QThreadStorageData"/>
329 <rejection class="QTypeInfo"/>
329 <rejection class="QTypeInfo"/>
330 <rejection class="QTypeInfo"/>
330 <rejection class="QTypeInfo"/>
331 <rejection class="QVFbKeyData"/>
331 <rejection class="QVFbKeyData"/>
332 <rejection class="QVariantComparisonHelper"/>
332 <rejection class="QVariantComparisonHelper"/>
333 <rejection class="QVectorData"/>
333 <rejection class="QVectorData"/>
334 <rejection class="QVectorIterator"/>
334 <rejection class="QVectorIterator"/>
335 <rejection class="QVectorTypedData"/>
335 <rejection class="QVectorTypedData"/>
336 <rejection class="QWriteLocker"/>
336 <rejection class="QWriteLocker"/>
337 <rejection class="QtPrivate"/>
337 <rejection class="QtPrivate"/>
338 <rejection class="qGreater"/>
338 <rejection class="qGreater"/>
339 <rejection class="qLess"/>
339 <rejection class="qLess"/>
340 <rejection class="std"/>
340 <rejection class="std"/>
341 <rejection class="QAbstractFileEngine::ExtensionOption"/>
341 <rejection class="QAbstractFileEngine::ExtensionOption"/>
342 <rejection class="QAbstractFileEngine::ExtensionReturn"/>
342 <rejection class="QAbstractFileEngine::ExtensionReturn"/>
343 <rejection class="QByteArray::Data"/>
343 <rejection class="QByteArray::Data"/>
344 <rejection class="QIntForType"/>
344 <rejection class="QIntForType"/>
345 <rejection class="QList::Node"/>
345 <rejection class="QList::Node"/>
346 <rejection class="QList::const_iterator"/>
346 <rejection class="QList::const_iterator"/>
347 <rejection class="QList::iterator"/>
347 <rejection class="QList::iterator"/>
348 <rejection class="QMetaTypeId2"/>
348 <rejection class="QMetaTypeId2"/>
349 <rejection class="QMutableSetIterator"/>
349 <rejection class="QMutableSetIterator"/>
350 <rejection class="QSubString"/>
350 <rejection class="QSubString"/>
351 <rejection class="QUintForType"/>
351 <rejection class="QUintForType"/>
352 <rejection class="QtConcurrent::internal"/>
352 <rejection class="QtConcurrent::internal"/>
353 <rejection class="QByteArrayMatcher::Data"/>
353 <rejection class="QByteArrayMatcher::Data"/>
354 <rejection class="QStringMatcher::Data"/>
354 <rejection class="QStringMatcher::Data"/>
355
355
356 <rejection class="StringBuilder"/>
356 <rejection class="StringBuilder"/>
357 <rejection class="QConcatenable"/>
357 <rejection class="QConcatenable"/>
358 <rejection class="QLatin1Literal"/>
358 <rejection class="QLatin1Literal"/>
359 <rejection class="QIntegerForSizeof"/>
359 <rejection class="QIntegerForSizeof"/>
360
360
361
361
362 <rejection class="QLocale::Data"/>
362 <rejection class="QLocale::Data"/>
363 <rejection class="QGlobalStaticDeleter"/>
363 <rejection class="QGlobalStaticDeleter"/>
364 <rejection class="QVarLengthArray"/>
364 <rejection class="QVarLengthArray"/>
365
365
366 <!-- DBus -->
366 <!-- DBus -->
367 <rejection class="QDBusAbstractAdaptor"/>
367 <rejection class="QDBusAbstractAdaptor"/>
368 <rejection class="QDBusAbstractInterface"/>
368 <rejection class="QDBusAbstractInterface"/>
369 <rejection class="QDBusArgument"/>
369 <rejection class="QDBusArgument"/>
370 <rejection class="QDBusConnection"/>
370 <rejection class="QDBusConnection"/>
371 <rejection class="QDBusConnectionInterface"/>
371 <rejection class="QDBusConnectionInterface"/>
372 <rejection class="QDBusContext"/>
372 <rejection class="QDBusContext"/>
373 <rejection class="QDBusError"/>
373 <rejection class="QDBusError"/>
374 <rejection class="QDBusInterface"/>
374 <rejection class="QDBusInterface"/>
375 <rejection class="QDBusMessage"/>
375 <rejection class="QDBusMessage"/>
376 <rejection class="QDBusMetaType"/>
376 <rejection class="QDBusMetaType"/>
377 <rejection class="QDBusObjectPath"/>
377 <rejection class="QDBusObjectPath"/>
378 <rejection class="QDBusReply"/>
378 <rejection class="QDBusReply"/>
379 <rejection class="QDBusServer"/>
379 <rejection class="QDBusServer"/>
380 <rejection class="QDBusSignature"/>
380 <rejection class="QDBusSignature"/>
381 <rejection class="QDBusVariant"/>
381 <rejection class="QDBusVariant"/>
382
382
383 <rejection class="_Revbidit"/>
383 <rejection class="_Revbidit"/>
384 <rejection class="_complex"/>
384 <rejection class="_complex"/>
385 <rejection class="_exception"/>
385 <rejection class="_exception"/>
386 <rejection class="_iobuf"/>
386 <rejection class="_iobuf"/>
387 <rejection class="_stat"/>
387 <rejection class="_stat"/>
388 <rejection class="_wfinddata_t"/>
388 <rejection class="_wfinddata_t"/>
389 <rejection class="exception"/>
389 <rejection class="exception"/>
390 <rejection class="istreambuf_iterator"/>
390 <rejection class="istreambuf_iterator"/>
391 <rejection class="ostreambuf_iterator"/>
391 <rejection class="ostreambuf_iterator"/>
392 <rejection class="reverse_bidirectional_iterator"/>
392 <rejection class="reverse_bidirectional_iterator"/>
393 <rejection class="reverse_iterator"/>
393 <rejection class="reverse_iterator"/>
394 <rejection class="stat"/>
394 <rejection class="stat"/>
395 <rejection class="tm"/>
395 <rejection class="tm"/>
396
396
397 <rejection class="Qt" enum-name="Initialization"/>
397 <rejection class="Qt" enum-name="Initialization"/>
398
398
399 <rejection class="QAbstractEventDispatcher" function-name="filterEvent"/>
399 <rejection class="QAbstractEventDispatcher" function-name="filterEvent"/>
400 <rejection class="QAbstractEventDispatcher" function-name="setEventFilter"/>
400 <rejection class="QAbstractEventDispatcher" function-name="setEventFilter"/>
401
401
402 <rejection class="QAbstractFileEngine" function-name="extension"/>
402 <rejection class="QAbstractFileEngine" function-name="extension"/>
403 <rejection class="QCoreApplication" function-name="compressEvent"/>
403 <rejection class="QCoreApplication" function-name="compressEvent"/>
404 <rejection class="QCoreApplication" function-name="eventFilter"/>
404 <rejection class="QCoreApplication" function-name="eventFilter"/>
405 <rejection class="QCoreApplication" function-name="filterEvent"/>
405 <rejection class="QCoreApplication" function-name="filterEvent"/>
406 <rejection class="QCoreApplication" function-name="setEventFilter"/>
406 <rejection class="QCoreApplication" function-name="setEventFilter"/>
407 <rejection class="QFile" function-name="setDecodingFunction"/>
407 <rejection class="QFile" function-name="setDecodingFunction"/>
408 <rejection class="QFile" function-name="setEncodingFunction"/>
408 <rejection class="QFile" function-name="setEncodingFunction"/>
409 <rejection class="QList" function-name="begin"/>
409 <rejection class="QList" function-name="begin"/>
410 <rejection class="QList" function-name="constBegin"/>
410 <rejection class="QList" function-name="constBegin"/>
411 <rejection class="QList" function-name="constEnd"/>
411 <rejection class="QList" function-name="constEnd"/>
412 <rejection class="QList" function-name="end"/>
412 <rejection class="QList" function-name="end"/>
413 <rejection class="QList" function-name="erase"/>
413 <rejection class="QList" function-name="erase"/>
414 <rejection class="QList" function-name="erase"/>
414 <rejection class="QList" function-name="erase"/>
415 <rejection class="QList" function-name="free"/>
415 <rejection class="QList" function-name="free"/>
416 <rejection class="QList" function-name="fromList"/>
416 <rejection class="QList" function-name="fromList"/>
417 <rejection class="QList" function-name="fromSet"/>
417 <rejection class="QList" function-name="fromSet"/>
418 <rejection class="QList" function-name="fromSet"/>
418 <rejection class="QList" function-name="fromSet"/>
419 <rejection class="QList" function-name="insert"/>
419 <rejection class="QList" function-name="insert"/>
420 <rejection class="QList" function-name="malloc"/>
420 <rejection class="QList" function-name="malloc"/>
421 <rejection class="QList" function-name="node_construct"/>
421 <rejection class="QList" function-name="node_construct"/>
422 <rejection class="QList" function-name="node_copy"/>
422 <rejection class="QList" function-name="node_copy"/>
423 <rejection class="QList" function-name="node_destruct"/>
423 <rejection class="QList" function-name="node_destruct"/>
424 <rejection class="QList" function-name="toSet"/>
424 <rejection class="QList" function-name="toSet"/>
425 <rejection class="QObject" function-name="receivers"/>
425 <rejection class="QObject" function-name="receivers"/>
426 <rejection class="QObject" function-name="findChild"/>
426 <rejection class="QObject" function-name="findChild"/>
427 <rejection class="QObject" function-name="findChildren"/>
427 <rejection class="QObject" function-name="findChildren"/>
428 <rejection class="QObject" function-name="setUserData"/>
428 <rejection class="QObject" function-name="setUserData"/>
429 <rejection class="QObject" function-name="userData"/>
429 <rejection class="QObject" function-name="userData"/>
430 <rejection class="QObject" function-name="destroyed"/>
430 <rejection class="QObject" function-name="destroyed"/>
431 <rejection class="QObject" function-name="connect"/>
431 <rejection class="QObject" function-name="connect"/>
432 <rejection class="QObject" function-name="connectNotify"/>
432 <rejection class="QObject" function-name="connectNotify"/>
433 <rejection class="QObject" function-name="disconnect"/>
433 <rejection class="QObject" function-name="disconnect"/>
434 <rejection class="QObject" function-name="disconnectNotify"/>
434 <rejection class="QObject" function-name="disconnectNotify"/>
435 <rejection class="QObject" function-name="registerUserData"/>
435 <rejection class="QObject" function-name="registerUserData"/>
436 <rejection class="QProcess" function-name="pid"/>
436 <rejection class="QProcess" function-name="pid"/>
437 <rejection class="QRegion" function-name="cleanUp"/>
437 <rejection class="QRegion" function-name="cleanUp"/>
438 <rejection class="QSettings" function-name="registerFormat"/>
438 <rejection class="QSettings" function-name="registerFormat"/>
439 <rejection class="QVector" function-name="back"/>
439 <rejection class="QVector" function-name="back"/>
440 <rejection class="QVector" function-name="begin"/>
440 <rejection class="QVector" function-name="begin"/>
441 <rejection class="QVector" function-name="constBegin"/>
441 <rejection class="QVector" function-name="constBegin"/>
442 <rejection class="QVector" function-name="constEnd"/>
442 <rejection class="QVector" function-name="constEnd"/>
443 <rejection class="QVector" function-name="end"/>
443 <rejection class="QVector" function-name="end"/>
444 <rejection class="QVector" function-name="erase"/>
444 <rejection class="QVector" function-name="erase"/>
445 <rejection class="QVector" function-name="free"/>
445 <rejection class="QVector" function-name="free"/>
446 <rejection class="QVector" function-name="front"/>
446 <rejection class="QVector" function-name="front"/>
447 <rejection class="QVector" function-name="insert"/>
447 <rejection class="QVector" function-name="insert"/>
448 <rejection class="QVector" function-name="malloc"/>
448 <rejection class="QVector" function-name="malloc"/>
449 <rejection class="QVector" function-name="alloc"/>
449 <rejection class="QVector" function-name="alloc"/>
450 <rejection class="QVector" function-name="operator+="/>
450 <rejection class="QVector" function-name="operator+="/>
451 <rejection class="QAbstractFileEngineIterator" function-name="entryInfo"/>
451 <rejection class="QAbstractFileEngineIterator" function-name="entryInfo"/>
452 <rejection class="QtConcurrent::ThreadEngineBarrier"/>
452 <rejection class="QtConcurrent::ThreadEngineBarrier"/>
453
453
454 <rejection class="QAbstractFileEngineIterator" enum-name="EntryInfoType"/>
454 <rejection class="QAbstractFileEngineIterator" enum-name="EntryInfoType"/>
455 <rejection class="QDataStream" enum-name="ByteOrder"/>
455 <rejection class="QDataStream" enum-name="ByteOrder"/>
456
456
457
457
458 <namespace-type name="Qt">
458 <namespace-type name="Qt">
459
459
460 <extra-includes>
460 <extra-includes>
461 <include file-name="QTextDocument" location="global"/>
461 <include file-name="QTextDocument" location="global"/>
462 </extra-includes>
462 </extra-includes>
463 </namespace-type>
463 </namespace-type>
464
464
465 <enum-type name="QDate::MonthNameType"/>
465 <enum-type name="QDate::MonthNameType"/>
466 <enum-type name="QAbstractAnimation::DeletionPolicy"/>
466 <enum-type name="QAbstractAnimation::DeletionPolicy"/>
467 <enum-type name="QAbstractAnimation::Direction"/>
467 <enum-type name="QAbstractAnimation::Direction"/>
468 <enum-type name="QAbstractAnimation::State"/>
468 <enum-type name="QAbstractAnimation::State"/>
469 <enum-type name="QDataStream::FloatingPointPrecision"/>
469 <enum-type name="QDataStream::FloatingPointPrecision"/>
470 <enum-type name="QEasingCurve::Type"/>
470 <enum-type name="QEasingCurve::Type"/>
471 <enum-type name="QHistoryState::HistoryType"/>
471 <enum-type name="QHistoryState::HistoryType"/>
472 <enum-type name="QState::ChildMode"/>
472 <enum-type name="QState::ChildMode"/>
473 <enum-type name="QStateMachine::Error"/>
473 <enum-type name="QStateMachine::Error"/>
474 <enum-type name="QStateMachine::EventPriority"/>
474 <enum-type name="QStateMachine::EventPriority"/>
475 <enum-type name="QStateMachine::RestorePolicy"/>
475 <enum-type name="QStateMachine::RestorePolicy"/>
476 <enum-type name="Qt::AnchorPoint"/>
476 <enum-type name="Qt::AnchorPoint"/>
477 <enum-type name="Qt::CoordinateSystem"/>
477 <enum-type name="Qt::CoordinateSystem"/>
478 <enum-type name="Qt::GestureState"/>
478 <enum-type name="Qt::GestureState"/>
479 <enum-type name="Qt::InputMethodHint" flags="Qt::InputMethodHints"/>
479 <enum-type name="Qt::InputMethodHint" flags="Qt::InputMethodHints"/>
480 <enum-type name="Qt::NavigationMode"/>
480 <enum-type name="Qt::NavigationMode"/>
481 <enum-type name="Qt::RenderHint"/>
481 <enum-type name="Qt::RenderHint"/>
482 <enum-type name="Qt::TileRule"/>
482 <enum-type name="Qt::TileRule"/>
483 <enum-type name="Qt::TouchPointState" flags="Qt::TouchPointStates"/>
483 <enum-type name="Qt::TouchPointState" flags="Qt::TouchPointStates"/>
484 <enum-type name="QSysInfo::Endian"/>
484 <enum-type name="QSysInfo::Endian"/>
485 <enum-type name="QSysInfo::Sizes"/>
485 <enum-type name="QSysInfo::Sizes"/>
486 <enum-type name="QMetaMethod::Access"/>
486 <enum-type name="QMetaMethod::Access"/>
487 <enum-type name="QMetaMethod::Attributes"/>
487 <enum-type name="QMetaMethod::Attributes"/>
488 <enum-type name="QMetaMethod::MethodType"/>
488 <enum-type name="QMetaMethod::MethodType"/>
489 <enum-type name="QSharedMemory::AccessMode"/>
489 <enum-type name="QSharedMemory::AccessMode"/>
490 <enum-type name="QSharedMemory::SharedMemoryError"/>
490 <enum-type name="QSharedMemory::SharedMemoryError"/>
491 <enum-type name="QElapsedTimer::ClockType"/>
491 <enum-type name="QElapsedTimer::ClockType"/>
492 <enum-type name="QMetaType::Type"/>
492
493
494 <enum-type name="QtMsgType">
493 <enum-type name="QtMsgType">
495 <reject-enum-value name="QtSystemMsg"/>
494 <reject-enum-value name="QtSystemMsg"/>
496 </enum-type>
495 </enum-type>
497
496
498
497
499 <enum-type name="QReadWriteLock::RecursionMode"/>
498 <enum-type name="QReadWriteLock::RecursionMode"/>
500 <enum-type name="QSystemSemaphore::AccessMode"/>
499 <enum-type name="QSystemSemaphore::AccessMode"/>
501 <enum-type name="QSystemSemaphore::SystemSemaphoreError"/>
500 <enum-type name="QSystemSemaphore::SystemSemaphoreError"/>
502 <enum-type name="QTextBoundaryFinder::BoundaryReason" flags="QTextBoundaryFinder::BoundaryReasons"/>
501 <enum-type name="QTextBoundaryFinder::BoundaryReason" flags="QTextBoundaryFinder::BoundaryReasons"/>
503 <enum-type name="QTextBoundaryFinder::BoundaryType"/>
502 <enum-type name="QTextBoundaryFinder::BoundaryType"/>
504 <enum-type name="QAbstractFileEngine::Extension" extensible="yes"/>
503 <enum-type name="QAbstractFileEngine::Extension" extensible="yes"/>
505 <enum-type name="QAbstractFileEngine::FileFlag" flags="QAbstractFileEngine::FileFlags"/>
504 <enum-type name="QAbstractFileEngine::FileFlag" flags="QAbstractFileEngine::FileFlags"/>
506 <enum-type name="QAbstractFileEngine::FileName"/>
505 <enum-type name="QAbstractFileEngine::FileName"/>
507 <enum-type name="QAbstractFileEngine::FileOwner"/>
506 <enum-type name="QAbstractFileEngine::FileOwner"/>
508 <enum-type name="QAbstractFileEngine::FileTime"/>
507 <enum-type name="QAbstractFileEngine::FileTime"/>
509 <enum-type name="QDataStream::Status"/>
508 <enum-type name="QDataStream::Status"/>
510 <enum-type name="QDir::Filter" flags="QDir::Filters"/>
509 <enum-type name="QDir::Filter" flags="QDir::Filters"/>
511 <enum-type name="QEvent::Type" extensible="yes">
510 <enum-type name="QEvent::Type" extensible="yes">
512 <reject-enum-value name="ApplicationActivated"/>
511 <reject-enum-value name="ApplicationActivated"/>
513 <reject-enum-value name="ApplicationDeactivated"/>
512 <reject-enum-value name="ApplicationDeactivated"/>
514 </enum-type>
513 </enum-type>
515 <enum-type name="QEventLoop::ProcessEventsFlag" flags="QEventLoop::ProcessEventsFlags"/>
514 <enum-type name="QEventLoop::ProcessEventsFlag" flags="QEventLoop::ProcessEventsFlags"/>
516 <enum-type name="QFile::FileError"/>
515 <enum-type name="QFile::FileError"/>
517 <enum-type name="QFile::MemoryMapFlags"/>
516 <enum-type name="QFile::MemoryMapFlags"/>
518 <enum-type name="QFile::Permission" flags="QFile::Permissions"/>
517 <enum-type name="QFile::Permission" flags="QFile::Permissions"/>
519 <enum-type name="QFile::FileHandleFlag" flags="QFile::FileHandleFlags"/>
518 <enum-type name="QFile::FileHandleFlag" flags="QFile::FileHandleFlags"/>
520 <enum-type name="QIODevice::OpenModeFlag" flags="QIODevice::OpenMode"/>
519 <enum-type name="QIODevice::OpenModeFlag" flags="QIODevice::OpenMode"/>
521 <enum-type name="QLibraryInfo::LibraryLocation"/>
520 <enum-type name="QLibraryInfo::LibraryLocation"/>
522 <enum-type name="QLibrary::LoadHint" flags="QLibrary::LoadHints"/>
521 <enum-type name="QLibrary::LoadHint" flags="QLibrary::LoadHints"/>
523 <enum-type name="QLocale::FormatType"/>
522 <enum-type name="QLocale::FormatType"/>
524 <enum-type name="QLocale::NumberOption" flags="QLocale::NumberOptions"/>
523 <enum-type name="QLocale::NumberOption" flags="QLocale::NumberOptions"/>
525 <enum-type name="QLocale::MeasurementSystem"/>
524 <enum-type name="QLocale::MeasurementSystem"/>
526 <enum-type name="QLocale::QuotationStyle"/>
525 <enum-type name="QLocale::QuotationStyle"/>
527 <enum-type name="QLocale::Script"/>
526 <enum-type name="QLocale::Script"/>
528 <enum-type name="QLocale::CurrencySymbolFormat"/>
527 <enum-type name="QLocale::CurrencySymbolFormat"/>
529 <enum-type name="QMutex::RecursionMode"/>
528 <enum-type name="QMutex::RecursionMode"/>
530 <enum-type name="QProcess::ExitStatus"/>
529 <enum-type name="QProcess::ExitStatus"/>
531 <enum-type name="QProcess::ProcessChannel"/>
530 <enum-type name="QProcess::ProcessChannel"/>
532 <enum-type name="QProcess::ProcessChannelMode"/>
531 <enum-type name="QProcess::ProcessChannelMode"/>
533 <enum-type name="QProcess::ProcessError"/>
532 <enum-type name="QProcess::ProcessError"/>
534 <enum-type name="QProcess::ProcessState"/>
533 <enum-type name="QProcess::ProcessState"/>
535 <enum-type name="QRegExp::CaretMode"/>
534 <enum-type name="QRegExp::CaretMode"/>
536 <enum-type name="QRegExp::PatternSyntax"/>
535 <enum-type name="QRegExp::PatternSyntax"/>
537 <enum-type name="QSettings::Format"/>
536 <enum-type name="QSettings::Format"/>
538 <enum-type name="QSettings::Scope"/>
537 <enum-type name="QSettings::Scope"/>
539 <enum-type name="QSettings::Status"/>
538 <enum-type name="QSettings::Status"/>
540 <enum-type name="QSocketNotifier::Type"/>
539 <enum-type name="QSocketNotifier::Type"/>
541 <enum-type name="QSystemLocale::QueryType"/>
540 <enum-type name="QSystemLocale::QueryType"/>
542 <enum-type name="QTextCodec::ConversionFlag" flags="QTextCodec::ConversionFlags"/>
541 <enum-type name="QTextCodec::ConversionFlag" flags="QTextCodec::ConversionFlags"/>
543 <enum-type name="QTextStream::FieldAlignment"/>
542 <enum-type name="QTextStream::FieldAlignment"/>
544 <enum-type name="QTextStream::NumberFlag" flags="QTextStream::NumberFlags"/>
543 <enum-type name="QTextStream::NumberFlag" flags="QTextStream::NumberFlags"/>
545 <enum-type name="QTextStream::RealNumberNotation"/>
544 <enum-type name="QTextStream::RealNumberNotation"/>
546 <enum-type name="QTextStream::Status"/>
545 <enum-type name="QTextStream::Status"/>
547 <enum-type name="QTimeLine::CurveShape"/>
546 <enum-type name="QTimeLine::CurveShape"/>
548 <enum-type name="QTimeLine::Direction"/>
547 <enum-type name="QTimeLine::Direction"/>
549 <enum-type name="QTimeLine::State"/>
548 <enum-type name="QTimeLine::State"/>
550 <enum-type name="QUrl::FormattingOption" flags="QUrl::FormattingOptions"/>
549 <enum-type name="QUrl::FormattingOption" flags="QUrl::FormattingOptions"/>
551 <enum-type name="QUrl::ParsingMode"/>
550 <enum-type name="QUrl::ParsingMode"/>
552 <enum-type name="QUuid::Variant"/>
551 <enum-type name="QUuid::Variant"/>
553 <enum-type name="QUuid::Version"/>
552 <enum-type name="QUuid::Version"/>
554 <enum-type name="Qt::SizeHint"/>
553 <enum-type name="Qt::SizeHint"/>
555 <enum-type name="Qt::SizeMode"/>
554 <enum-type name="Qt::SizeMode"/>
556 <enum-type name="Qt::WindowFrameSection"/>
555 <enum-type name="Qt::WindowFrameSection"/>
557 <enum-type name="Qt::Axis"/>
556 <enum-type name="Qt::Axis"/>
558 <enum-type name="Qt::AnchorAttribute"/>
557 <enum-type name="Qt::AnchorAttribute"/>
559 <enum-type name="Qt::ApplicationAttribute"/>
558 <enum-type name="Qt::ApplicationAttribute"/>
560 <enum-type name="Qt::ArrowType"/>
559 <enum-type name="Qt::ArrowType"/>
561 <enum-type name="Qt::AspectRatioMode"/>
560 <enum-type name="Qt::AspectRatioMode"/>
562 <enum-type name="Qt::BGMode"/>
561 <enum-type name="Qt::BGMode"/>
563 <enum-type name="Qt::BrushStyle"/>
562 <enum-type name="Qt::BrushStyle"/>
564 <enum-type name="Qt::CaseSensitivity"/>
563 <enum-type name="Qt::CaseSensitivity"/>
565 <enum-type name="Qt::CheckState"/>
564 <enum-type name="Qt::CheckState"/>
566 <enum-type name="Qt::ClipOperation"/>
565 <enum-type name="Qt::ClipOperation"/>
567 <enum-type name="Qt::ConnectionType"/>
566 <enum-type name="Qt::ConnectionType"/>
568 <enum-type name="Qt::ContextMenuPolicy"/>
567 <enum-type name="Qt::ContextMenuPolicy"/>
569 <enum-type name="Qt::Corner"/>
568 <enum-type name="Qt::Corner"/>
570 <enum-type name="Qt::DayOfWeek"/>
569 <enum-type name="Qt::DayOfWeek"/>
571 <enum-type name="Qt::DockWidgetAreaSizes"/>
570 <enum-type name="Qt::DockWidgetAreaSizes"/>
572 <enum-type name="Qt::DropAction" flags="Qt::DropActions"/>
571 <enum-type name="Qt::DropAction" flags="Qt::DropActions"/>
573 <enum-type name="Qt::FillRule"/>
572 <enum-type name="Qt::FillRule"/>
574 <enum-type name="Qt::FocusPolicy"/>
573 <enum-type name="Qt::FocusPolicy"/>
575 <enum-type name="Qt::FocusReason"/>
574 <enum-type name="Qt::FocusReason"/>
576 <enum-type name="Qt::GlobalColor"/>
575 <enum-type name="Qt::GlobalColor"/>
577 <enum-type name="Qt::GestureType"/>
576 <enum-type name="Qt::GestureType"/>
578 <enum-type name="Qt::GestureFlag" flags="Qt::GestureFlags"/>
577 <enum-type name="Qt::GestureFlag" flags="Qt::GestureFlags"/>
579 <enum-type name="Qt::CursorMoveStyle"/>
578 <enum-type name="Qt::CursorMoveStyle"/>
580 <enum-type name="Qt::HitTestAccuracy"/>
579 <enum-type name="Qt::HitTestAccuracy"/>
581 <enum-type name="Qt::InputMethodQuery"/>
580 <enum-type name="Qt::InputMethodQuery"/>
582 <enum-type name="Qt::ItemFlag" flags="Qt::ItemFlags"/>
581 <enum-type name="Qt::ItemFlag" flags="Qt::ItemFlags"/>
583 <enum-type name="Qt::ItemSelectionMode"/>
582 <enum-type name="Qt::ItemSelectionMode"/>
584 <enum-type name="Qt::KeyboardModifier" flags="Qt::KeyboardModifiers"/>
583 <enum-type name="Qt::KeyboardModifier" flags="Qt::KeyboardModifiers"/>
585 <enum-type name="Qt::LayoutDirection"/>
584 <enum-type name="Qt::LayoutDirection"/>
586 <enum-type name="Qt::MatchFlag" flags="Qt::MatchFlags"/>
585 <enum-type name="Qt::MatchFlag" flags="Qt::MatchFlags"/>
587 <enum-type name="Qt::MouseButton" flags="Qt::MouseButtons"/>
586 <enum-type name="Qt::MouseButton" flags="Qt::MouseButtons"/>
588 <enum-type name="Qt::Orientation" flags="Qt::Orientations"/>
587 <enum-type name="Qt::Orientation" flags="Qt::Orientations"/>
589 <enum-type name="Qt::PenCapStyle"/>
588 <enum-type name="Qt::PenCapStyle"/>
590 <enum-type name="Qt::PenJoinStyle"/>
589 <enum-type name="Qt::PenJoinStyle"/>
591 <enum-type name="Qt::PenStyle"/>
590 <enum-type name="Qt::PenStyle"/>
592 <enum-type name="Qt::ScrollBarPolicy"/>
591 <enum-type name="Qt::ScrollBarPolicy"/>
593 <enum-type name="Qt::ShortcutContext"/>
592 <enum-type name="Qt::ShortcutContext"/>
594 <enum-type name="Qt::SortOrder"/>
593 <enum-type name="Qt::SortOrder"/>
595 <enum-type name="Qt::TextElideMode"/>
594 <enum-type name="Qt::TextElideMode"/>
596 <enum-type name="Qt::TextFlag"/>
595 <enum-type name="Qt::TextFlag"/>
597 <enum-type name="Qt::TextFormat"/>
596 <enum-type name="Qt::TextFormat"/>
598 <enum-type name="Qt::TextInteractionFlag" flags="Qt::TextInteractionFlags"/>
597 <enum-type name="Qt::TextInteractionFlag" flags="Qt::TextInteractionFlags"/>
599 <enum-type name="Qt::TimeSpec"/>
598 <enum-type name="Qt::TimeSpec"/>
600 <enum-type name="Qt::ToolBarAreaSizes"/>
599 <enum-type name="Qt::ToolBarAreaSizes"/>
601 <enum-type name="Qt::ToolButtonStyle"/>
600 <enum-type name="Qt::ToolButtonStyle"/>
602 <enum-type name="Qt::TransformationMode"/>
601 <enum-type name="Qt::TransformationMode"/>
603 <enum-type name="Qt::UIEffect"/>
602 <enum-type name="Qt::UIEffect"/>
604 <enum-type name="Qt::WhiteSpaceMode"/>
603 <enum-type name="Qt::WhiteSpaceMode"/>
605 <enum-type name="Qt::WindowModality"/>
604 <enum-type name="Qt::WindowModality"/>
606 <enum-type name="Qt::WindowState" flags="Qt::WindowStates"/>
605 <enum-type name="Qt::WindowState" flags="Qt::WindowStates"/>
607 <enum-type name="Qt::WindowType" flags="Qt::WindowFlags"/>
606 <enum-type name="Qt::WindowType" flags="Qt::WindowFlags"/>
608 <enum-type name="QDirIterator::IteratorFlag" flags="QDirIterator::IteratorFlags"/>
607 <enum-type name="QDirIterator::IteratorFlag" flags="QDirIterator::IteratorFlags"/>
609 <enum-type name="Qt::EventPriority"/>
608 <enum-type name="Qt::EventPriority"/>
610 <enum-type name="Qt::MaskMode"/>
609 <enum-type name="Qt::MaskMode"/>
611 <enum-type name="QCryptographicHash::Algorithm"/>
610 <enum-type name="QCryptographicHash::Algorithm"/>
612
611
613 <enum-type name="QtConcurrent::ReduceOption" flags="QtConcurrent::ReduceOptions"/>
612 <enum-type name="QtConcurrent::ReduceOption" flags="QtConcurrent::ReduceOptions"/>
614 <enum-type name="QtConcurrent::ThreadFunctionResult"/>
613 <enum-type name="QtConcurrent::ThreadFunctionResult"/>
615
614
616
615
617 <enum-type name="QCoreApplication::Encoding">
616 <enum-type name="QCoreApplication::Encoding">
618 <reject-enum-value name="DefaultCodec"/>
617 <reject-enum-value name="DefaultCodec"/>
619 </enum-type>
618 </enum-type>
620
619
621 <enum-type name="Qt::AlignmentFlag" flags="Qt::Alignment">
620 <enum-type name="Qt::AlignmentFlag" flags="Qt::Alignment">
622 <reject-enum-value name="AlignLeading"/>
621 <reject-enum-value name="AlignLeading"/>
623 <reject-enum-value name="AlignTrailing"/>
622 <reject-enum-value name="AlignTrailing"/>
624 </enum-type>
623 </enum-type>
625
624
626 <enum-type name="Qt::CursorShape">
625 <enum-type name="Qt::CursorShape">
627 <reject-enum-value name="LastCursor"/>
626 <reject-enum-value name="LastCursor"/>
628 </enum-type>
627 </enum-type>
629
628
630 <enum-type name="Qt::DateFormat">
629 <enum-type name="Qt::DateFormat">
631 <reject-enum-value name="LocalDate"/>
630 <reject-enum-value name="LocalDate"/>
632 </enum-type>
631 </enum-type>
633
632
634
633
635 <enum-type name="Qt::ItemDataRole" force-integer="yes">
634 <enum-type name="Qt::ItemDataRole" force-integer="yes">
636 <reject-enum-value name="BackgroundColorRole"/>
635 <reject-enum-value name="BackgroundColorRole"/>
637 <reject-enum-value name="TextColorRole"/>
636 <reject-enum-value name="TextColorRole"/>
638 </enum-type>
637 </enum-type>
639
638
640
639
641 <enum-type name="QDataStream::Version">
640 <enum-type name="QDataStream::Version">
642 <reject-enum-value name="Qt_4_1"/>
641 <reject-enum-value name="Qt_4_1"/>
643 </enum-type>
642 </enum-type>
644
643
645 <enum-type name="QDir::SortFlag" flags="QDir::SortFlags">
644 <enum-type name="QDir::SortFlag" flags="QDir::SortFlags">
646 <reject-enum-value name="Unsorted"/>
645 <reject-enum-value name="Unsorted"/>
647 </enum-type>
646 </enum-type>
648
647
649 <enum-type name="Qt::DockWidgetArea" flags="Qt::DockWidgetAreas">
648 <enum-type name="Qt::DockWidgetArea" flags="Qt::DockWidgetAreas">
650 <reject-enum-value name="AllDockWidgetAreas"/>
649 <reject-enum-value name="AllDockWidgetAreas"/>
651 </enum-type>
650 </enum-type>
652
651
653 <enum-type name="Qt::ImageConversionFlag" flags="Qt::ImageConversionFlags">
652 <enum-type name="Qt::ImageConversionFlag" flags="Qt::ImageConversionFlags">
654 <reject-enum-value name="AutoDither"/>
653 <reject-enum-value name="AutoDither"/>
655 <reject-enum-value name="ColorOnly"/>
654 <reject-enum-value name="ColorOnly"/>
656 <reject-enum-value name="DiffuseDither"/>
655 <reject-enum-value name="DiffuseDither"/>
657 <reject-enum-value name="NoAlpha"/>
656 <reject-enum-value name="NoAlpha"/>
658 <reject-enum-value name="ThresholdAlphaDither"/>
657 <reject-enum-value name="ThresholdAlphaDither"/>
659 </enum-type>
658 </enum-type>
660
659
661 <enum-type name="Qt::Key">
660 <enum-type name="Qt::Key">
662 <reject-enum-value name="Key_Any"/>
661 <reject-enum-value name="Key_Any"/>
663 </enum-type>
662 </enum-type>
664
663
665 <enum-type name="QLocale::Language">
664 <enum-type name="QLocale::Language">
666 <reject-enum-value name="LastLanguage"/>
665 <reject-enum-value name="LastLanguage"/>
667 <reject-enum-value name="NorwegianBokmal"/>
666 <reject-enum-value name="NorwegianBokmal"/>
668 <reject-enum-value name="Nynorsk"/>
667 <reject-enum-value name="Nynorsk"/>
669 </enum-type>
668 </enum-type>
670
669
671 <enum-type name="QLocale::Country">
670 <enum-type name="QLocale::Country">
672 <reject-enum-value name="LastCountry"/>
671 <reject-enum-value name="LastCountry"/>
673 </enum-type>
672 </enum-type>
674
673
675 <enum-type name="Qt::ToolBarArea" flags="Qt::ToolBarAreas">
674 <enum-type name="Qt::ToolBarArea" flags="Qt::ToolBarAreas">
676 <reject-enum-value name="AllToolBarAreas"/>
675 <reject-enum-value name="AllToolBarAreas"/>
677 </enum-type>
676 </enum-type>
678
677
679 <enum-type name="Qt::WidgetAttribute">
678 <enum-type name="Qt::WidgetAttribute">
680 <reject-enum-value name="WA_ForceAcceptDrops"/>
679 <reject-enum-value name="WA_ForceAcceptDrops"/>
681 <reject-enum-value name="WA_NoBackground"/>
680 <reject-enum-value name="WA_NoBackground"/>
682 <reject-enum-value name="WA_MacMetalStyle"/>
681 <reject-enum-value name="WA_MacMetalStyle"/>
683 </enum-type>
682 </enum-type>
684
683
685 <value-type name="QProcessEnvironment"/>
684 <value-type name="QProcessEnvironment"/>
686 <value-type name="QBasicTimer"/>
685 <value-type name="QBasicTimer"/>
687 <value-type name="QByteArrayMatcher">
686 <value-type name="QByteArrayMatcher">
688 <modify-function signature="operator=(QByteArrayMatcher)" remove="all"/>
687 <modify-function signature="operator=(QByteArrayMatcher)" remove="all"/>
689 </value-type>
688 </value-type>
690
689
691 <value-type name="QDate">
690 <value-type name="QDate">
692 <modify-function signature="julianToGregorian(uint,int&amp;,int&amp;,int&amp;)">
691 <modify-function signature="julianToGregorian(uint,int&amp;,int&amp;,int&amp;)">
693 <remove/>
692 <remove/>
694 </modify-function>
693 </modify-function>
695
694
696 <modify-function signature="setYMD(int, int, int)" remove="all"/>
695 <modify-function signature="setYMD(int, int, int)" remove="all"/>
697 <!--### Obsolete in 4.3-->
696 <!--### Obsolete in 4.3-->
698 </value-type>
697 </value-type>
699
698
700 <value-type name="QDateTime">
699 <value-type name="QDateTime">
701 <modify-function signature="operator=(QDateTime)" remove="all"/>
700 <modify-function signature="operator=(QDateTime)" remove="all"/>
702 </value-type>
701 </value-type>
703
702
704 <value-type name="QDir">
703 <value-type name="QDir">
705 <modify-function signature="QDir(QString,QString,QFlags&lt;QDir::SortFlag&gt;,QFlags&lt;QDir::Filter&gt;)">
704 <modify-function signature="QDir(QString,QString,QFlags&lt;QDir::SortFlag&gt;,QFlags&lt;QDir::Filter&gt;)">
706 <modify-argument index="3">
705 <modify-argument index="3">
707 <replace-default-expression with="SortFlag.Name, SortFlag.IgnoreCase"/>
706 <replace-default-expression with="SortFlag.Name, SortFlag.IgnoreCase"/>
708 </modify-argument>
707 </modify-argument>
709 </modify-function>
708 </modify-function>
710 <modify-function signature="operator=(QDir)" remove="all"/>
709 <modify-function signature="operator=(QDir)" remove="all"/>
711 <modify-function signature="operator=(QString)" remove="all"/>
710 <modify-function signature="operator=(QString)" remove="all"/>
712 <modify-function signature="addResourceSearchPath(QString)" remove="all"/>
711 <modify-function signature="addResourceSearchPath(QString)" remove="all"/>
713 <!--### Obsolete in 4.3-->
712 <!--### Obsolete in 4.3-->
714 </value-type>
713 </value-type>
715
714
716 <value-type name="QPoint">
715 <value-type name="QPoint">
717 <modify-function signature="rx()" remove="all"/>
716 <modify-function signature="rx()" remove="all"/>
718 <modify-function signature="ry()" remove="all"/>
717 <modify-function signature="ry()" remove="all"/>
719 </value-type>
718 </value-type>
720 <value-type name="QPointF">
719 <value-type name="QPointF">
721 <modify-function signature="rx()" remove="all"/>
720 <modify-function signature="rx()" remove="all"/>
722 <modify-function signature="ry()" remove="all"/>
721 <modify-function signature="ry()" remove="all"/>
723 </value-type>
722 </value-type>
724 <enum-type name="QLineF::IntersectType"/>
723 <enum-type name="QLineF::IntersectType"/>
725 <value-type name="QLineF"/>
724 <value-type name="QLineF"/>
726 <value-type name="QLine"/>
725 <value-type name="QLine"/>
727
726
728 <value-type name="QRect">
727 <value-type name="QRect">
729 <modify-function signature="getCoords(int*,int*,int*,int*)const">
728 <modify-function signature="getCoords(int*,int*,int*,int*)const">
730 <remove/>
729 <remove/>
731 </modify-function>
730 </modify-function>
732 <modify-function signature="getRect(int*,int*,int*,int*)const">
731 <modify-function signature="getRect(int*,int*,int*,int*)const">
733 <remove/>
732 <remove/>
734 </modify-function>
733 </modify-function>
735
734
736 <modify-function signature="intersect(const QRect&amp;)const" remove="all"/>
735 <modify-function signature="intersect(const QRect&amp;)const" remove="all"/>
737 <!--### Obsolete in 4.3-->
736 <!--### Obsolete in 4.3-->
738 <modify-function signature="unite(const QRect&amp;)const" remove="all"/>
737 <modify-function signature="unite(const QRect&amp;)const" remove="all"/>
739 <!--### Obsolete in 4.3-->
738 <!--### Obsolete in 4.3-->
740 </value-type>
739 </value-type>
741
740
742 <value-type name="QRectF">
741 <value-type name="QRectF">
743 <modify-function signature="getCoords(double*,double*,double*,double*)const">
742 <modify-function signature="getCoords(double*,double*,double*,double*)const">
744 <remove/>
743 <remove/>
745 </modify-function>
744 </modify-function>
746 <modify-function signature="getRect(double*,double*,double*,double*)const">
745 <modify-function signature="getRect(double*,double*,double*,double*)const">
747 <remove/>
746 <remove/>
748 </modify-function>
747 </modify-function>
749
748
750 <modify-function signature="intersect(const QRectF&amp;)const" remove="all"/>
749 <modify-function signature="intersect(const QRectF&amp;)const" remove="all"/>
751 <!--### Obsolete in 4.3-->
750 <!--### Obsolete in 4.3-->
752 <modify-function signature="unite(const QRectF&amp;)const" remove="all"/>
751 <modify-function signature="unite(const QRectF&amp;)const" remove="all"/>
753 <!--### Obsolete in 4.3-->
752 <!--### Obsolete in 4.3-->
754 </value-type>
753 </value-type>
755
754
756
755
757 <value-type name="QSize">
756 <value-type name="QSize">
758 <modify-function signature="operator*=(double)">
757 <modify-function signature="operator*=(double)">
759 <access modifier="private"/>
758 <access modifier="private"/>
760 </modify-function>
759 </modify-function>
761 <modify-function signature="operator/=(double)">
760 <modify-function signature="operator/=(double)">
762 <access modifier="private"/>
761 <access modifier="private"/>
763 </modify-function>
762 </modify-function>
764 <modify-function signature="operator+=(QSize)">
763 <modify-function signature="operator+=(QSize)">
765 <access modifier="private"/>
764 <access modifier="private"/>
766 </modify-function>
765 </modify-function>
767 <modify-function signature="operator-=(QSize)">
766 <modify-function signature="operator-=(QSize)">
768 <access modifier="private"/>
767 <access modifier="private"/>
769 </modify-function>
768 </modify-function>
770 <modify-function signature="rheight()">
769 <modify-function signature="rheight()">
771 <remove/>
770 <remove/>
772 </modify-function>
771 </modify-function>
773 <modify-function signature="rwidth()">
772 <modify-function signature="rwidth()">
774 <remove/>
773 <remove/>
775 </modify-function>
774 </modify-function>
776 </value-type>
775 </value-type>
777
776
778 <value-type name="QSizeF">
777 <value-type name="QSizeF">
779 <modify-function signature="operator*=(double)">
778 <modify-function signature="operator*=(double)">
780 <access modifier="private"/>
779 <access modifier="private"/>
781 </modify-function>
780 </modify-function>
782 <modify-function signature="operator/=(double)">
781 <modify-function signature="operator/=(double)">
783 <access modifier="private"/>
782 <access modifier="private"/>
784 </modify-function>
783 </modify-function>
785 <modify-function signature="operator+=(QSizeF)">
784 <modify-function signature="operator+=(QSizeF)">
786 <access modifier="private"/>
785 <access modifier="private"/>
787 </modify-function>
786 </modify-function>
788 <modify-function signature="operator-=(QSizeF)">
787 <modify-function signature="operator-=(QSizeF)">
789 <access modifier="private"/>
788 <access modifier="private"/>
790 </modify-function>
789 </modify-function>
791 <modify-function signature="rheight()">
790 <modify-function signature="rheight()">
792 <remove/>
791 <remove/>
793 </modify-function>
792 </modify-function>
794 <modify-function signature="rwidth()">
793 <modify-function signature="rwidth()">
795 <remove/>
794 <remove/>
796 </modify-function>
795 </modify-function>
797 </value-type>
796 </value-type>
798
797
799 <value-type name="QStringMatcher">
798 <value-type name="QStringMatcher">
800 <modify-function signature="operator=(QStringMatcher)" remove="all"/>
799 <modify-function signature="operator=(QStringMatcher)" remove="all"/>
801 <modify-function signature="QStringMatcher(const QChar*,int,Qt::CaseSensitivity)" remove="all"/>
800 <modify-function signature="QStringMatcher(const QChar*,int,Qt::CaseSensitivity)" remove="all"/>
802 <modify-function signature="indexIn(const QChar*,int,int)const" remove="all"/>
801 <modify-function signature="indexIn(const QChar*,int,int)const" remove="all"/>
803 </value-type>
802 </value-type>
804
803
805 <value-type name="QTime"/>
804 <value-type name="QTime"/>
806
805
807 <value-type name="QPersistentModelIndex">
806 <value-type name="QPersistentModelIndex">
808 <modify-function signature="operator=(QPersistentModelIndex)" remove="all"/>
807 <modify-function signature="operator=(QPersistentModelIndex)" remove="all"/>
809 <modify-function signature="operator=(QModelIndex)" remove="all"/>
808 <modify-function signature="operator=(QModelIndex)" remove="all"/>
810 <modify-function signature="internalPointer()const" remove="all"/>
809 <modify-function signature="internalPointer()const" remove="all"/>
811 </value-type>
810 </value-type>
812
811
813 <value-type name="QUuid">
812 <value-type name="QUuid">
814 <modify-function signature="QUuid(const char*)">
813 <modify-function signature="QUuid(const char*)">
815 <remove/>
814 <remove/>
816 </modify-function>
815 </modify-function>
817 </value-type>
816 </value-type>
818
817
819 <value-type name="QLocale">
818 <value-type name="QLocale">
820 <modify-function signature="toString(unsigned long long) const" remove="all"/>
819 <modify-function signature="toString(unsigned long long) const" remove="all"/>
821 <modify-function signature="toString(unsigned short) const" remove="all"/>
820 <modify-function signature="toString(unsigned short) const" remove="all"/>
822 <modify-function signature="toString(unsigned int) const" remove="all"/>
821 <modify-function signature="toString(unsigned int) const" remove="all"/>
823 <modify-function signature="toUInt(QString,bool*,int)const" remove="all"/>
822 <modify-function signature="toUInt(QString,bool*,int)const" remove="all"/>
824 <modify-function signature="toULongLong(QString,bool*,int)const" remove="all"/>
823 <modify-function signature="toULongLong(QString,bool*,int)const" remove="all"/>
825 <modify-function signature="operator=(QLocale)" remove="all"/>
824 <modify-function signature="operator=(QLocale)" remove="all"/>
826
825
827 <extra-includes>
826 <extra-includes>
828 <include file-name="QDate" location="global"/>
827 <include file-name="QDate" location="global"/>
829 </extra-includes>
828 </extra-includes>
830
829
831 <inject-code class="native" position="beginning">
830 <inject-code class="native" position="beginning">
832 Q_DECLARE_METATYPE(QScriptValue)
831 Q_DECLARE_METATYPE(QScriptValue)
833 </inject-code>
832 </inject-code>
834
833
835 <modify-function signature="toDouble(QString,bool*)const">
834 <modify-function signature="toDouble(QString,bool*)const">
836 <modify-argument index="2">
835 <modify-argument index="2">
837 <remove-default-expression/>
836 <remove-default-expression/>
838 <remove-argument/>
837 <remove-argument/>
839 <conversion-rule class="native">
838 <conversion-rule class="native">
840 <insert-template name="core.prepare_removed_bool*_argument"/>
839 <insert-template name="core.prepare_removed_bool*_argument"/>
841 </conversion-rule>
840 </conversion-rule>
842 </modify-argument>
841 </modify-argument>
843 <modify-argument index="return">
842 <modify-argument index="return">
844 <conversion-rule class="native">
843 <conversion-rule class="native">
845 <insert-template name="core.convert_to_null_or_primitive"/>
844 <insert-template name="core.convert_to_null_or_primitive"/>
846 </conversion-rule>
845 </conversion-rule>
847 </modify-argument>
846 </modify-argument>
848 </modify-function>
847 </modify-function>
849
848
850 <modify-function signature="toFloat(QString,bool*)const">
849 <modify-function signature="toFloat(QString,bool*)const">
851 <modify-argument index="2">
850 <modify-argument index="2">
852 <remove-default-expression/>
851 <remove-default-expression/>
853 <remove-argument/>
852 <remove-argument/>
854 <conversion-rule class="native">
853 <conversion-rule class="native">
855 <insert-template name="core.prepare_removed_bool*_argument"/>
854 <insert-template name="core.prepare_removed_bool*_argument"/>
856 </conversion-rule>
855 </conversion-rule>
857 </modify-argument>
856 </modify-argument>
858 <modify-argument index="return">
857 <modify-argument index="return">
859 <conversion-rule class="native">
858 <conversion-rule class="native">
860 <insert-template name="core.convert_to_null_or_primitive"/>
859 <insert-template name="core.convert_to_null_or_primitive"/>
861 </conversion-rule>
860 </conversion-rule>
862 </modify-argument>
861 </modify-argument>
863 </modify-function>
862 </modify-function>
864
863
865 <modify-function signature="toInt(QString,bool*,int)const">
864 <modify-function signature="toInt(QString,bool*,int)const">
866 <modify-argument index="2">
865 <modify-argument index="2">
867 <remove-default-expression/>
866 <remove-default-expression/>
868 <remove-argument/>
867 <remove-argument/>
869 <conversion-rule class="native">
868 <conversion-rule class="native">
870 <insert-template name="core.prepare_removed_bool*_argument"/>
869 <insert-template name="core.prepare_removed_bool*_argument"/>
871 </conversion-rule>
870 </conversion-rule>
872 </modify-argument>
871 </modify-argument>
873 <modify-argument index="return">
872 <modify-argument index="return">
874 <conversion-rule class="native">
873 <conversion-rule class="native">
875 <insert-template name="core.convert_to_null_or_primitive"/>
874 <insert-template name="core.convert_to_null_or_primitive"/>
876 </conversion-rule>
875 </conversion-rule>
877 </modify-argument>
876 </modify-argument>
878 </modify-function>
877 </modify-function>
879
878
880 <modify-function signature="toLongLong(QString,bool*,int)const">
879 <modify-function signature="toLongLong(QString,bool*,int)const">
881 <modify-argument index="2">
880 <modify-argument index="2">
882 <remove-default-expression/>
881 <remove-default-expression/>
883 <remove-argument/>
882 <remove-argument/>
884 <conversion-rule class="native">
883 <conversion-rule class="native">
885 <insert-template name="core.prepare_removed_bool*_argument"/>
884 <insert-template name="core.prepare_removed_bool*_argument"/>
886 </conversion-rule>
885 </conversion-rule>
887 </modify-argument>
886 </modify-argument>
888 <modify-argument index="return">
887 <modify-argument index="return">
889 <conversion-rule class="native">
888 <conversion-rule class="native">
890 QScriptValue %out%;
889 QScriptValue %out%;
891 if (!__ok)
890 if (!__ok)
892 %out% = context-&gt;engine()-&gt;nullValue();
891 %out% = context-&gt;engine()-&gt;nullValue();
893 else
892 else
894 %out% = QScriptValue(context-&gt;engine(), double(%in%)).toObject();
893 %out% = QScriptValue(context-&gt;engine(), double(%in%)).toObject();
895 </conversion-rule>
894 </conversion-rule>
896 </modify-argument>
895 </modify-argument>
897 </modify-function>
896 </modify-function>
898
897
899 <modify-function signature="toShort(QString,bool*,int)const">
898 <modify-function signature="toShort(QString,bool*,int)const">
900 <modify-argument index="2">
899 <modify-argument index="2">
901 <remove-default-expression/>
900 <remove-default-expression/>
902 <remove-argument/>
901 <remove-argument/>
903 <conversion-rule class="native">
902 <conversion-rule class="native">
904 <insert-template name="core.prepare_removed_bool*_argument"/>
903 <insert-template name="core.prepare_removed_bool*_argument"/>
905 </conversion-rule>
904 </conversion-rule>
906 </modify-argument>
905 </modify-argument>
907 <modify-argument index="return">
906 <modify-argument index="return">
908 <conversion-rule class="native">
907 <conversion-rule class="native">
909 <insert-template name="core.convert_to_null_or_primitive"/>
908 <insert-template name="core.convert_to_null_or_primitive"/>
910 </conversion-rule>
909 </conversion-rule>
911 </modify-argument>
910 </modify-argument>
912 </modify-function>
911 </modify-function>
913
912
914 <modify-function signature="toUShort(QString,bool*,int)const">
913 <modify-function signature="toUShort(QString,bool*,int)const">
915 <modify-argument index="2">
914 <modify-argument index="2">
916 <remove-default-expression/>
915 <remove-default-expression/>
917 <remove-argument/>
916 <remove-argument/>
918 <conversion-rule class="native">
917 <conversion-rule class="native">
919 <insert-template name="core.prepare_removed_bool*_argument"/>
918 <insert-template name="core.prepare_removed_bool*_argument"/>
920 </conversion-rule>
919 </conversion-rule>
921 </modify-argument>
920 </modify-argument>
922 <modify-argument index="return">
921 <modify-argument index="return">
923 <conversion-rule class="native">
922 <conversion-rule class="native">
924 <insert-template name="core.convert_to_null_or_primitive"/>
923 <insert-template name="core.convert_to_null_or_primitive"/>
925 </conversion-rule>
924 </conversion-rule>
926 </modify-argument>
925 </modify-argument>
927 </modify-function>
926 </modify-function>
928 </value-type>
927 </value-type>
929
928
930
929
931 <value-type name="QBitArray">
930 <value-type name="QBitArray">
932 <modify-function signature="operator[](int)" remove="all"/>
931 <modify-function signature="operator[](int)" remove="all"/>
933 <modify-function signature="operator[](int)const" remove="all"/>
932 <modify-function signature="operator[](int)const" remove="all"/>
934 <modify-function signature="operator[](uint)const" remove="all"/>
933 <modify-function signature="operator[](uint)const" remove="all"/>
935 <modify-function signature="operator[](uint)" remove="all"/>
934 <modify-function signature="operator[](uint)" remove="all"/>
936
935
937 <modify-function signature="operator&amp;=(QBitArray)" access="private"/>
936 <modify-function signature="operator&amp;=(QBitArray)" access="private"/>
938 <modify-function signature="operator=(QBitArray)" access="private"/>
937 <modify-function signature="operator=(QBitArray)" access="private"/>
939 <modify-function signature="operator^=(QBitArray)" access="private"/>
938 <modify-function signature="operator^=(QBitArray)" access="private"/>
940 <modify-function signature="operator|=(QBitArray)" access="private"/>
939 <modify-function signature="operator|=(QBitArray)" access="private"/>
941 <modify-function signature="operator~()const" access="private"/>
940 <modify-function signature="operator~()const" access="private"/>
942
941
943 <modify-function signature="at(int)const">
942 <modify-function signature="at(int)const">
944 <modify-argument index="1">
943 <modify-argument index="1">
945 <conversion-rule class="native">
944 <conversion-rule class="native">
946 <insert-template name="core.convert_int_arg_and_check_range">
945 <insert-template name="core.convert_int_arg_and_check_range">
947 <replace from="%CLASS_NAME%" to="QBitArray"/>
946 <replace from="%CLASS_NAME%" to="QBitArray"/>
948 <replace from="%FUNCTION_NAME%" to="at"/>
947 <replace from="%FUNCTION_NAME%" to="at"/>
949 </insert-template>
948 </insert-template>
950 </conversion-rule>
949 </conversion-rule>
951 </modify-argument>
950 </modify-argument>
952 </modify-function>
951 </modify-function>
953
952
954 <modify-function signature="clearBit(int)">
953 <modify-function signature="clearBit(int)">
955 <modify-argument index="1">
954 <modify-argument index="1">
956 <conversion-rule class="native">
955 <conversion-rule class="native">
957 <insert-template name="core.convert_int_arg_and_check_range">
956 <insert-template name="core.convert_int_arg_and_check_range">
958 <replace from="%CLASS_NAME%" to="QBitArray"/>
957 <replace from="%CLASS_NAME%" to="QBitArray"/>
959 <replace from="%FUNCTION_NAME%" to="clearBit"/>
958 <replace from="%FUNCTION_NAME%" to="clearBit"/>
960 </insert-template>
959 </insert-template>
961 </conversion-rule>
960 </conversion-rule>
962 </modify-argument>
961 </modify-argument>
963 </modify-function>
962 </modify-function>
964
963
965 <modify-function signature="setBit(int)">
964 <modify-function signature="setBit(int)">
966 <modify-argument index="1">
965 <modify-argument index="1">
967 <conversion-rule class="native">
966 <conversion-rule class="native">
968 <insert-template name="core.convert_int_arg_and_check_range">
967 <insert-template name="core.convert_int_arg_and_check_range">
969 <replace from="%CLASS_NAME%" to="QBitArray"/>
968 <replace from="%CLASS_NAME%" to="QBitArray"/>
970 <replace from="%FUNCTION_NAME%" to="setBit"/>
969 <replace from="%FUNCTION_NAME%" to="setBit"/>
971 </insert-template>
970 </insert-template>
972 </conversion-rule>
971 </conversion-rule>
973 </modify-argument>
972 </modify-argument>
974 </modify-function>
973 </modify-function>
975
974
976 <modify-function signature="setBit(int,bool)">
975 <modify-function signature="setBit(int,bool)">
977 <modify-argument index="1">
976 <modify-argument index="1">
978 <conversion-rule class="native">
977 <conversion-rule class="native">
979 <insert-template name="core.convert_int_arg_and_check_range">
978 <insert-template name="core.convert_int_arg_and_check_range">
980 <replace from="%CLASS_NAME%" to="QBitArray"/>
979 <replace from="%CLASS_NAME%" to="QBitArray"/>
981 <replace from="%FUNCTION_NAME%" to="setBit"/>
980 <replace from="%FUNCTION_NAME%" to="setBit"/>
982 </insert-template>
981 </insert-template>
983 </conversion-rule>
982 </conversion-rule>
984 </modify-argument>
983 </modify-argument>
985 </modify-function>
984 </modify-function>
986
985
987 <modify-function signature="testBit(int)const">
986 <modify-function signature="testBit(int)const">
988 <modify-argument index="1">
987 <modify-argument index="1">
989 <conversion-rule class="native">
988 <conversion-rule class="native">
990 <insert-template name="core.convert_int_arg_and_check_range">
989 <insert-template name="core.convert_int_arg_and_check_range">
991 <replace from="%CLASS_NAME%" to="QBitArray"/>
990 <replace from="%CLASS_NAME%" to="QBitArray"/>
992 <replace from="%FUNCTION_NAME%" to="testBit"/>
991 <replace from="%FUNCTION_NAME%" to="testBit"/>
993 </insert-template>
992 </insert-template>
994 </conversion-rule>
993 </conversion-rule>
995 </modify-argument>
994 </modify-argument>
996 </modify-function>
995 </modify-function>
997
996
998 <modify-function signature="toggleBit(int)">
997 <modify-function signature="toggleBit(int)">
999 <modify-argument index="1">
998 <modify-argument index="1">
1000 <conversion-rule class="native">
999 <conversion-rule class="native">
1001 <insert-template name="core.convert_int_arg_and_check_range">
1000 <insert-template name="core.convert_int_arg_and_check_range">
1002 <replace from="%CLASS_NAME%" to="QBitArray"/>
1001 <replace from="%CLASS_NAME%" to="QBitArray"/>
1003 <replace from="%FUNCTION_NAME%" to="toggleBit"/>
1002 <replace from="%FUNCTION_NAME%" to="toggleBit"/>
1004 </insert-template>
1003 </insert-template>
1005 </conversion-rule>
1004 </conversion-rule>
1006 </modify-argument>
1005 </modify-argument>
1007 </modify-function>
1006 </modify-function>
1008
1007
1009 <modify-function signature="operator&amp;=(QBitArray)">
1008 <modify-function signature="operator&amp;=(QBitArray)">
1010 <modify-argument index="0" replace-value="this"/>
1009 <modify-argument index="0" replace-value="this"/>
1011 </modify-function>
1010 </modify-function>
1012 <modify-function signature="operator=(QBitArray)">
1011 <modify-function signature="operator=(QBitArray)">
1013 <modify-argument index="0" replace-value="this"/>
1012 <modify-argument index="0" replace-value="this"/>
1014 </modify-function>
1013 </modify-function>
1015 <modify-function signature="operator^=(QBitArray)">
1014 <modify-function signature="operator^=(QBitArray)">
1016 <modify-argument index="0" replace-value="this"/>
1015 <modify-argument index="0" replace-value="this"/>
1017 </modify-function>
1016 </modify-function>
1018 <modify-function signature="operator|=(QBitArray)">
1017 <modify-function signature="operator|=(QBitArray)">
1019 <modify-argument index="0" replace-value="this"/>
1018 <modify-argument index="0" replace-value="this"/>
1020 </modify-function>
1019 </modify-function>
1021 </value-type>
1020 </value-type>
1022
1021
1023 <object-type name="QReadWriteLock"/>
1022 <object-type name="QReadWriteLock"/>
1024 <object-type name="QDirIterator"/>
1023 <object-type name="QDirIterator"/>
1025 <object-type name="QAbstractFileEngineIterator"/>
1024 <object-type name="QAbstractFileEngineIterator"/>
1026 <object-type name="QAbstractItemModel">
1025 <object-type name="QAbstractItemModel">
1027 <modify-function signature="rowsAboutToBeInserted(QModelIndex,int,int)" private-signal="yes"/>
1026 <modify-function signature="rowsAboutToBeInserted(QModelIndex,int,int)" private-signal="yes"/>
1028 <modify-function signature="rowsInserted(QModelIndex,int,int)" private-signal="yes"/>
1027 <modify-function signature="rowsInserted(QModelIndex,int,int)" private-signal="yes"/>
1029
1028
1030 <modify-function signature="rowsAboutToBeRemoved(QModelIndex,int,int)" private-signal="yes"/>
1029 <modify-function signature="rowsAboutToBeRemoved(QModelIndex,int,int)" private-signal="yes"/>
1031 <modify-function signature="rowsRemoved(QModelIndex,int,int)" private-signal="yes"/>
1030 <modify-function signature="rowsRemoved(QModelIndex,int,int)" private-signal="yes"/>
1032
1031
1033 <modify-function signature="columnsAboutToBeInserted(QModelIndex,int,int)" private-signal="yes"/>
1032 <modify-function signature="columnsAboutToBeInserted(QModelIndex,int,int)" private-signal="yes"/>
1034 <modify-function signature="columnsInserted(QModelIndex,int,int)" private-signal="yes"/>
1033 <modify-function signature="columnsInserted(QModelIndex,int,int)" private-signal="yes"/>
1035
1034
1036 <modify-function signature="columnsAboutToBeRemoved(QModelIndex,int,int)" private-signal="yes"/>
1035 <modify-function signature="columnsAboutToBeRemoved(QModelIndex,int,int)" private-signal="yes"/>
1037 <modify-function signature="columnsRemoved(QModelIndex,int,int)" private-signal="yes"/>
1036 <modify-function signature="columnsRemoved(QModelIndex,int,int)" private-signal="yes"/>
1038
1037
1039 <modify-function signature="modelAboutToBeReset()" private-signal="yes"/>
1038 <modify-function signature="modelAboutToBeReset()" private-signal="yes"/>
1040 <modify-function signature="modelReset()" private-signal="yes"/>
1039 <modify-function signature="modelReset()" private-signal="yes"/>
1041 </object-type>
1040 </object-type>
1042
1041
1043 <object-type name="QAbstractListModel">
1042 <object-type name="QAbstractListModel">
1044 <extra-includes>
1043 <extra-includes>
1045 <include file-name="QStringList" location="global"/>
1044 <include file-name="QStringList" location="global"/>
1046 <include file-name="QSize" location="global"/>
1045 <include file-name="QSize" location="global"/>
1047 </extra-includes>
1046 </extra-includes>
1048 </object-type>
1047 </object-type>
1049
1048
1050 <value-type name="QUrl">
1049 <value-type name="QUrl">
1051 <extra-includes>
1050 <extra-includes>
1052 <include file-name="QStringList" location="global"/>
1051 <include file-name="QStringList" location="global"/>
1053 </extra-includes>
1052 </extra-includes>
1054 <modify-function signature="operator=(QUrl)" remove="all"/>
1053 <modify-function signature="operator=(QUrl)" remove="all"/>
1055 <modify-function signature="operator=(QString)" remove="all"/>
1054 <modify-function signature="operator=(QString)" remove="all"/>
1056
1055
1057 <modify-function signature="fromPunycode(const QByteArray&amp;)" remove="all"/>
1056 <modify-function signature="fromPunycode(const QByteArray&amp;)" remove="all"/>
1058 <!--### Obsolete in 4.3-->
1057 <!--### Obsolete in 4.3-->
1059 <modify-function signature="toPunycode(const QString&amp;)" remove="all"/>
1058 <modify-function signature="toPunycode(const QString&amp;)" remove="all"/>
1060 <!--### Obsolete in 4.3-->
1059 <!--### Obsolete in 4.3-->
1061 </value-type>
1060 </value-type>
1062
1061
1063 <value-type name="QRegExp">
1062 <value-type name="QRegExp">
1064 <extra-includes>
1063 <extra-includes>
1065 <include file-name="QStringList" location="global"/>
1064 <include file-name="QStringList" location="global"/>
1066 </extra-includes>
1065 </extra-includes>
1067 <modify-function signature="operator=(QRegExp)" remove="all"/>
1066 <modify-function signature="operator=(QRegExp)" remove="all"/>
1068 <modify-function signature="pos(int)const">
1067 <modify-function signature="pos(int)const">
1069 <remove/>
1068 <remove/>
1070 </modify-function>
1069 </modify-function>
1071 <modify-function signature="cap(int)const">
1070 <modify-function signature="cap(int)const">
1072 <remove/>
1071 <remove/>
1073 </modify-function>
1072 </modify-function>
1074 <modify-function signature="capturedTexts()const">
1073 <modify-function signature="capturedTexts()const">
1075 <remove/>
1074 <remove/>
1076 </modify-function>
1075 </modify-function>
1077 <modify-function signature="errorString()const">
1076 <modify-function signature="errorString()const">
1078 <remove/>
1077 <remove/>
1079 </modify-function>
1078 </modify-function>
1080 </value-type>
1079 </value-type>
1081
1080
1082 <value-type name="QFileInfo">
1081 <value-type name="QFileInfo">
1083 <extra-includes>
1082 <extra-includes>
1084 <include file-name="QDateTime" location="global"/>
1083 <include file-name="QDateTime" location="global"/>
1085 <include file-name="QDir" location="global"/>
1084 <include file-name="QDir" location="global"/>
1086 </extra-includes>
1085 </extra-includes>
1087 <modify-function signature="operator!=(const QFileInfo &amp;)const" remove="all"/>
1086 <modify-function signature="operator!=(const QFileInfo &amp;)const" remove="all"/>
1088 <modify-function signature="operator==(const QFileInfo &amp;)const" remove="all"/>
1087 <modify-function signature="operator==(const QFileInfo &amp;)const" remove="all"/>
1089 <modify-function signature="operator=(QFileInfo)" remove="all"/>
1088 <modify-function signature="operator=(QFileInfo)" remove="all"/>
1090 <modify-function signature="setFile(QFile)">
1089 <modify-function signature="setFile(QFile)">
1091 <modify-argument index="1">
1090 <modify-argument index="1">
1092 <reference-count action="ignore"/>
1091 <reference-count action="ignore"/>
1093 </modify-argument>
1092 </modify-argument>
1094 </modify-function>
1093 </modify-function>
1095
1094
1096 <modify-function signature="readLink()const" remove="all"/>
1095 <modify-function signature="readLink()const" remove="all"/>
1097 <!--### Obsolete in 4.3-->
1096 <!--### Obsolete in 4.3-->
1098
1097
1099 <modify-function signature="QFileInfo(QFile)">
1098 <modify-function signature="QFileInfo(QFile)">
1100 <modify-argument index="1">
1099 <modify-argument index="1">
1101 <replace-type modified-type="QFile*"/>
1100 <replace-type modified-type="QFile*"/>
1102 <conversion-rule class="native">
1101 <conversion-rule class="native">
1103 QFile &amp; %out% = *qscriptvalue_cast&lt;QFile*&gt;(%in%);
1102 QFile &amp; %out% = *qscriptvalue_cast&lt;QFile*&gt;(%in%);
1104 </conversion-rule>
1103 </conversion-rule>
1105 </modify-argument>
1104 </modify-argument>
1106 </modify-function>
1105 </modify-function>
1107 <modify-function signature="setFile(QFile)">
1106 <modify-function signature="setFile(QFile)">
1108 <modify-argument index="1">
1107 <modify-argument index="1">
1109 <replace-type modified-type="QFile*"/>
1108 <replace-type modified-type="QFile*"/>
1110 <conversion-rule class="native">
1109 <conversion-rule class="native">
1111 QFile &amp; %out% = *qscriptvalue_cast&lt;QFile*&gt;(%in%);
1110 QFile &amp; %out% = *qscriptvalue_cast&lt;QFile*&gt;(%in%);
1112 </conversion-rule>
1111 </conversion-rule>
1113 </modify-argument>
1112 </modify-argument>
1114 </modify-function>
1113 </modify-function>
1115 </value-type>
1114 </value-type>
1116
1115
1117 <interface-type name="QFactoryInterface"/>
1116 <interface-type name="QFactoryInterface"/>
1118
1117
1119 <value-type name="QByteArray">
1118 <value-type name="QByteArray">
1120
1119
1121 <extra-includes>
1120 <extra-includes>
1122 <include file-name="QNoImplicitBoolCast" location="global"/>
1121 <include file-name="QNoImplicitBoolCast" location="global"/>
1123 </extra-includes>
1122 </extra-includes>
1124
1123
1125 <!-- removed functions -->
1124 <!-- removed functions -->
1126 <modify-function signature="begin()" remove="all"/>
1125 <modify-function signature="begin()" remove="all"/>
1127 <modify-function signature="begin()const" remove="all"/>
1126 <modify-function signature="begin()const" remove="all"/>
1128 <modify-function signature="constBegin()const" remove="all"/>
1127 <modify-function signature="constBegin()const" remove="all"/>
1129 <modify-function signature="constData()const" remove="all"/>
1128 <modify-function signature="constData()const" remove="all"/>
1130 <modify-function signature="constEnd()const" remove="all"/>
1129 <modify-function signature="constEnd()const" remove="all"/>
1131 <modify-function signature="count()const" remove="all"/>
1130 <modify-function signature="count()const" remove="all"/>
1132 <modify-function signature="data()const" remove="all"/>
1131 <modify-function signature="data()const" remove="all"/>
1133 <modify-function signature="end()" remove="all"/>
1132 <modify-function signature="end()" remove="all"/>
1134 <modify-function signature="end()const" remove="all"/>
1133 <modify-function signature="end()const" remove="all"/>
1135 <modify-function signature="number(uint,int)" remove="all"/>
1134 <modify-function signature="number(uint,int)" remove="all"/>
1136 <modify-function signature="number(unsigned long long,int)" remove="all"/>
1135 <modify-function signature="number(unsigned long long,int)" remove="all"/>
1137 <modify-function signature="operator const char *()const" remove="all"/>
1136 <modify-function signature="operator const char *()const" remove="all"/>
1138 <modify-function signature="operator const void *()const" remove="all"/>
1137 <modify-function signature="operator const void *()const" remove="all"/>
1139 <modify-function signature="operator+=(const char*)" remove="all"/>
1138 <modify-function signature="operator+=(const char*)" remove="all"/>
1140 <modify-function signature="operator!=(QString)const" remove="all"/>
1139 <modify-function signature="operator!=(QString)const" remove="all"/>
1141 <modify-function signature="operator=(const char*)" remove="all"/>
1140 <modify-function signature="operator=(const char*)" remove="all"/>
1142 <modify-function signature="operator[](int)" remove="all"/>
1141 <modify-function signature="operator[](int)" remove="all"/>
1143 <modify-function signature="operator[](int)const" remove="all"/>
1142 <modify-function signature="operator[](int)const" remove="all"/>
1144 <modify-function signature="operator[](uint)" remove="all"/>
1143 <modify-function signature="operator[](uint)" remove="all"/>
1145 <modify-function signature="operator[](uint)const" remove="all"/>
1144 <modify-function signature="operator[](uint)const" remove="all"/>
1146 <modify-function signature="push_back(char)" remove="all"/>
1145 <modify-function signature="push_back(char)" remove="all"/>
1147 <modify-function signature="push_back(const char*)" remove="all"/>
1146 <modify-function signature="push_back(const char*)" remove="all"/>
1148 <modify-function signature="push_front(char)" remove="all"/>
1147 <modify-function signature="push_front(char)" remove="all"/>
1149 <modify-function signature="push_front(const char*)" remove="all"/>
1148 <modify-function signature="push_front(const char*)" remove="all"/>
1150 <modify-function signature="setNum(uint,int)" remove="all"/>
1149 <modify-function signature="setNum(uint,int)" remove="all"/>
1151 <modify-function signature="setNum(unsigned long long,int)" remove="all"/>
1150 <modify-function signature="setNum(unsigned long long,int)" remove="all"/>
1152 <modify-function signature="setNum(unsigned short,int)" remove="all"/>
1151 <modify-function signature="setNum(unsigned short,int)" remove="all"/>
1153 <modify-function signature="toLong(bool*, int) const" remove="all"/>
1152 <modify-function signature="toLong(bool*, int) const" remove="all"/>
1154 <modify-function signature="toLongLong(bool*, int) const" remove="all"/>
1153 <modify-function signature="toLongLong(bool*, int) const" remove="all"/>
1155 <modify-function signature="toShort(bool*, int) const" remove="all"/>
1154 <modify-function signature="toShort(bool*, int) const" remove="all"/>
1156 <modify-function signature="toUInt(bool*, int) const" remove="all"/>
1155 <modify-function signature="toUInt(bool*, int) const" remove="all"/>
1157 <modify-function signature="toULong(bool*, int) const" remove="all"/>
1156 <modify-function signature="toULong(bool*, int) const" remove="all"/>
1158 <modify-function signature="toULongLong(bool*, int) const" remove="all"/>
1157 <modify-function signature="toULongLong(bool*, int) const" remove="all"/>
1159
1158
1160 <!-- functions made private... -->
1159 <!-- functions made private... -->
1161 <modify-function signature="operator=(QByteArray)" access="private"/>
1160 <modify-function signature="operator=(QByteArray)" access="private"/>
1162 <modify-function signature="operator+=(QString)" remove="all"/>
1161 <modify-function signature="operator+=(QString)" remove="all"/>
1163 <modify-function signature="operator+=(char)" remove="all"/>
1162 <modify-function signature="operator+=(char)" remove="all"/>
1164
1163
1165 <inject-code class="pywrap-h">
1164 <inject-code class="pywrap-h">
1166 PyObject* data(QByteArray* b) {
1165 PyObject* data(QByteArray* b) {
1167 if (b-&gt;data()) {
1166 if (b-&gt;data()) {
1168 return PyString_FromStringAndSize(b-&gt;data(), b-&gt;size());
1167 return PyString_FromStringAndSize(b-&gt;data(), b-&gt;size());
1169 } else {
1168 } else {
1170 Py_INCREF(Py_None);
1169 Py_INCREF(Py_None);
1171 return Py_None;
1170 return Py_None;
1172 }
1171 }
1173 }
1172 }
1174 </inject-code>
1173 </inject-code>
1175
1174
1176 <inject-code class="native" position="beginning">
1175 <inject-code class="native" position="beginning">
1177 Q_DECLARE_METATYPE(QScriptValue)
1176 Q_DECLARE_METATYPE(QScriptValue)
1178 </inject-code>
1177 </inject-code>
1179
1178
1180 <modify-function signature="QByteArray(const char*,int)" remove="all"/>
1179 <modify-function signature="QByteArray(const char*,int)" remove="all"/>
1181 <modify-function signature="QByteArray(const char*)" remove="all"/>
1180 <modify-function signature="QByteArray(const char*)" remove="all"/>
1182
1181
1183 <modify-function signature="at(int)const">
1182 <modify-function signature="at(int)const">
1184 <modify-argument index="1">
1183 <modify-argument index="1">
1185 <conversion-rule class="native">
1184 <conversion-rule class="native">
1186 <insert-template name="core.convert_int_arg_and_check_range">
1185 <insert-template name="core.convert_int_arg_and_check_range">
1187 <replace from="%CLASS_NAME%" to="QByteArray"/>
1186 <replace from="%CLASS_NAME%" to="QByteArray"/>
1188 <replace from="%FUNCTION_NAME%" to="at"/>
1187 <replace from="%FUNCTION_NAME%" to="at"/>
1189 </insert-template>
1188 </insert-template>
1190 </conversion-rule>
1189 </conversion-rule>
1191 </modify-argument>
1190 </modify-argument>
1192 </modify-function>
1191 </modify-function>
1193
1192
1194 <modify-function signature="append(const char *)" remove="all"/>
1193 <modify-function signature="append(const char *)" remove="all"/>
1195 <modify-function signature="append(QByteArray)">
1194 <modify-function signature="append(QByteArray)">
1196 <modify-argument index="0" replace-value="this"/>
1195 <modify-argument index="0" replace-value="this"/>
1197 </modify-function>
1196 </modify-function>
1198 <modify-function signature="append(QString)">
1197 <modify-function signature="append(QString)">
1199 <modify-argument index="0" replace-value="this"/>
1198 <modify-argument index="0" replace-value="this"/>
1200 </modify-function>
1199 </modify-function>
1201 <modify-function signature="append(const char *)" remove="all">
1200 <modify-function signature="append(const char *)" remove="all">
1202 <modify-argument index="0" replace-value="this"/>
1201 <modify-argument index="0" replace-value="this"/>
1203 </modify-function>
1202 </modify-function>
1204 <modify-function signature="append(char)">
1203 <modify-function signature="append(char)">
1205 <modify-argument index="0" replace-value="this"/>
1204 <modify-argument index="0" replace-value="this"/>
1206 <rename to="appendByte"/>
1205 <rename to="appendByte"/>
1207 </modify-function>
1206 </modify-function>
1208
1207
1209 <modify-function signature="count(const char *)const" remove="all"/>
1208 <modify-function signature="count(const char *)const" remove="all"/>
1210
1209
1211 <modify-function signature="data()" remove="all"/>
1210 <modify-function signature="data()" remove="all"/>
1212
1211
1213 <modify-function signature="endsWith(const char *)const" remove="all"/>
1212 <modify-function signature="endsWith(const char *)const" remove="all"/>
1214
1213
1215 <modify-function signature="fill(char,int)">
1214 <modify-function signature="fill(char,int)">
1216 <modify-argument index="0" replace-value="this"/>
1215 <modify-argument index="0" replace-value="this"/>
1217 </modify-function>
1216 </modify-function>
1218
1217
1219 <modify-function signature="indexOf(const char*,int)const" remove="all"/>
1218 <modify-function signature="indexOf(const char*,int)const" remove="all"/>
1220 <modify-function signature="indexOf(char,int)const">
1219 <modify-function signature="indexOf(char,int)const">
1221 <rename to="indexOfByte"/>
1220 <rename to="indexOfByte"/>
1222 </modify-function>
1221 </modify-function>
1223
1222
1224 <modify-function signature="insert(int,QByteArray)">
1223 <modify-function signature="insert(int,QByteArray)">
1225 <modify-argument index="0" replace-value="this"/>
1224 <modify-argument index="0" replace-value="this"/>
1226 </modify-function>
1225 </modify-function>
1227 <modify-function signature="insert(int,QString)">
1226 <modify-function signature="insert(int,QString)">
1228 <modify-argument index="0" replace-value="this"/>
1227 <modify-argument index="0" replace-value="this"/>
1229 </modify-function>
1228 </modify-function>
1230 <modify-function signature="insert(int,const char *)" remove="all"/>
1229 <modify-function signature="insert(int,const char *)" remove="all"/>
1231 <modify-function signature="insert(int,char)">
1230 <modify-function signature="insert(int,char)">
1232 <modify-argument index="0" replace-value="this"/>
1231 <modify-argument index="0" replace-value="this"/>
1233 <rename to="insertByte"/>
1232 <rename to="insertByte"/>
1234 </modify-function>
1233 </modify-function>
1235
1234
1236 <modify-function signature="lastIndexOf(const char*,int)const" remove="all"/>
1235 <modify-function signature="lastIndexOf(const char*,int)const" remove="all"/>
1237 <modify-function signature="lastIndexOf(char,int)const">
1236 <modify-function signature="lastIndexOf(char,int)const">
1238 <rename to="lastIndexOfByte"/>
1237 <rename to="lastIndexOfByte"/>
1239 </modify-function>
1238 </modify-function>
1240
1239
1241 <modify-function signature="prepend(QByteArray)">
1240 <modify-function signature="prepend(QByteArray)">
1242 <modify-argument index="0" replace-value="this"/>
1241 <modify-argument index="0" replace-value="this"/>
1243 </modify-function>
1242 </modify-function>
1244 <modify-function signature="prepend(const char *)" remove="all"/>
1243 <modify-function signature="prepend(const char *)" remove="all"/>
1245 <modify-function signature="prepend(char)">
1244 <modify-function signature="prepend(char)">
1246 <modify-argument index="0" replace-value="this"/>
1245 <modify-argument index="0" replace-value="this"/>
1247 <rename to="prependByte"/>
1246 <rename to="prependByte"/>
1248 </modify-function>
1247 </modify-function>
1249
1248
1250 <modify-function signature="remove(int,int)">
1249 <modify-function signature="remove(int,int)">
1251 <modify-argument index="0" replace-value="this"/>
1250 <modify-argument index="0" replace-value="this"/>
1252 </modify-function>
1251 </modify-function>
1253
1252
1254 <modify-function signature="replace(int,int,QByteArray)">
1253 <modify-function signature="replace(int,int,QByteArray)">
1255 <modify-argument index="0" replace-value="this"/>
1254 <modify-argument index="0" replace-value="this"/>
1256 </modify-function>
1255 </modify-function>
1257 <modify-function signature="replace(int,int,const char *)" remove="all"/>
1256 <modify-function signature="replace(int,int,const char *)" remove="all"/>
1258 <modify-function signature="replace(QByteArray,QByteArray)">
1257 <modify-function signature="replace(QByteArray,QByteArray)">
1259 <modify-argument index="0" replace-value="this"/>
1258 <modify-argument index="0" replace-value="this"/>
1260 </modify-function>
1259 </modify-function>
1261 <modify-function signature="replace(const char*,QByteArray)" remove="all"/>
1260 <modify-function signature="replace(const char*,QByteArray)" remove="all"/>
1262 <modify-function signature="replace(QByteArray,const char *)" remove="all"/>
1261 <modify-function signature="replace(QByteArray,const char *)" remove="all"/>
1263 <modify-function signature="replace(QString,QByteArray)">
1262 <modify-function signature="replace(QString,QByteArray)">
1264 <modify-argument index="0" replace-value="this"/>
1263 <modify-argument index="0" replace-value="this"/>
1265 </modify-function>
1264 </modify-function>
1266 <modify-function signature="replace(QString,const char *)" remove="all"/>
1265 <modify-function signature="replace(QString,const char *)" remove="all"/>
1267 <modify-function signature="replace(const char *,const char *)" remove="all"/>
1266 <modify-function signature="replace(const char *,const char *)" remove="all"/>
1268 <modify-function signature="replace(char,QByteArray)">
1267 <modify-function signature="replace(char,QByteArray)">
1269 <modify-argument index="0" replace-value="this"/>
1268 <modify-argument index="0" replace-value="this"/>
1270 </modify-function>
1269 </modify-function>
1271 <modify-function signature="replace(char,QString)">
1270 <modify-function signature="replace(char,QString)">
1272 <modify-argument index="0" replace-value="this"/>
1271 <modify-argument index="0" replace-value="this"/>
1273 </modify-function>
1272 </modify-function>
1274 <modify-function signature="replace(char,const char *)" remove="all"/>
1273 <modify-function signature="replace(char,const char *)" remove="all"/>
1275 <modify-function signature="replace(char,char)">
1274 <modify-function signature="replace(char,char)">
1276 <modify-argument index="0" replace-value="this"/>
1275 <modify-argument index="0" replace-value="this"/>
1277 </modify-function>
1276 </modify-function>
1278
1277
1279 <modify-function signature="startsWith(const char *)const" remove="all"/>
1278 <modify-function signature="startsWith(const char *)const" remove="all"/>
1280
1279
1281 <modify-function signature="fromRawData(const char*,int)" remove="all"/>
1280 <modify-function signature="fromRawData(const char*,int)" remove="all"/>
1282
1281
1283 <modify-function signature="number(int,int)">
1282 <modify-function signature="number(int,int)">
1284 <rename to="fromInt"/>
1283 <rename to="fromInt"/>
1285 </modify-function>
1284 </modify-function>
1286 <modify-function signature="number(uint,int)">
1285 <modify-function signature="number(uint,int)">
1287 <rename to="fromUInt"/>
1286 <rename to="fromUInt"/>
1288 </modify-function>
1287 </modify-function>
1289 <modify-function signature="number(qlonglong,int)">
1288 <modify-function signature="number(qlonglong,int)">
1290 <rename to="fromLongLong"/>
1289 <rename to="fromLongLong"/>
1291 </modify-function>
1290 </modify-function>
1292 <modify-function signature="number(qulonglong,int)">
1291 <modify-function signature="number(qulonglong,int)">
1293 <rename to="fromULongLong"/>
1292 <rename to="fromULongLong"/>
1294 </modify-function>
1293 </modify-function>
1295
1294
1296 <modify-function signature="setNum(int,int)">
1295 <modify-function signature="setNum(int,int)">
1297 <modify-argument index="0" replace-value="this"/>
1296 <modify-argument index="0" replace-value="this"/>
1298 <rename to="setInt"/>
1297 <rename to="setInt"/>
1299 </modify-function>
1298 </modify-function>
1300 <modify-function signature="setNum(uint,int)">
1299 <modify-function signature="setNum(uint,int)">
1301 <modify-argument index="0" replace-value="this"/>
1300 <modify-argument index="0" replace-value="this"/>
1302 <rename to="setUInt"/>
1301 <rename to="setUInt"/>
1303 </modify-function>
1302 </modify-function>
1304 <modify-function signature="setNum(short,int)">
1303 <modify-function signature="setNum(short,int)">
1305 <modify-argument index="0" replace-value="this"/>
1304 <modify-argument index="0" replace-value="this"/>
1306 <rename to="setShort"/>
1305 <rename to="setShort"/>
1307 </modify-function>
1306 </modify-function>
1308 <modify-function signature="setNum(ushort,int)">
1307 <modify-function signature="setNum(ushort,int)">
1309 <modify-argument index="0" replace-value="this"/>
1308 <modify-argument index="0" replace-value="this"/>
1310 <rename to="setUShort"/>
1309 <rename to="setUShort"/>
1311 </modify-function>
1310 </modify-function>
1312 <modify-function signature="setNum(qlonglong,int)">
1311 <modify-function signature="setNum(qlonglong,int)">
1313 <modify-argument index="0" replace-value="this"/>
1312 <modify-argument index="0" replace-value="this"/>
1314 <rename to="setLongLong"/>
1313 <rename to="setLongLong"/>
1315 </modify-function>
1314 </modify-function>
1316 <modify-function signature="setNum(qulonglong,int)">
1315 <modify-function signature="setNum(qulonglong,int)">
1317 <modify-argument index="0" replace-value="this"/>
1316 <modify-argument index="0" replace-value="this"/>
1318 <rename to="setULongLong"/>
1317 <rename to="setULongLong"/>
1319 </modify-function>
1318 </modify-function>
1320 <modify-function signature="setNum(double,char,int)">
1319 <modify-function signature="setNum(double,char,int)">
1321 <modify-argument index="0" replace-value="this"/>
1320 <modify-argument index="0" replace-value="this"/>
1322 <rename to="setDouble"/>
1321 <rename to="setDouble"/>
1323 </modify-function>
1322 </modify-function>
1324 <modify-function signature="setNum(float,char,int)">
1323 <modify-function signature="setNum(float,char,int)">
1325 <modify-argument index="0" replace-value="this"/>
1324 <modify-argument index="0" replace-value="this"/>
1326 <rename to="setFloat"/>
1325 <rename to="setFloat"/>
1327 </modify-function>
1326 </modify-function>
1328
1327
1329 <modify-function signature="toDouble(bool*)const">
1328 <modify-function signature="toDouble(bool*)const">
1330 <modify-argument index="1">
1329 <modify-argument index="1">
1331 <remove-default-expression/>
1330 <remove-default-expression/>
1332 <remove-argument/>
1331 <remove-argument/>
1333 <conversion-rule class="native">
1332 <conversion-rule class="native">
1334 <insert-template name="core.prepare_removed_bool*_argument"/>
1333 <insert-template name="core.prepare_removed_bool*_argument"/>
1335 </conversion-rule>
1334 </conversion-rule>
1336 </modify-argument>
1335 </modify-argument>
1337 <modify-argument index="return">
1336 <modify-argument index="return">
1338 <conversion-rule class="native">
1337 <conversion-rule class="native">
1339 <insert-template name="core.convert_to_null_or_primitive"/>
1338 <insert-template name="core.convert_to_null_or_primitive"/>
1340 </conversion-rule>
1339 </conversion-rule>
1341 </modify-argument>
1340 </modify-argument>
1342 </modify-function>
1341 </modify-function>
1343
1342
1344 <modify-function signature="toFloat(bool*)const">
1343 <modify-function signature="toFloat(bool*)const">
1345 <modify-argument index="1">
1344 <modify-argument index="1">
1346 <remove-default-expression/>
1345 <remove-default-expression/>
1347 <remove-argument/>
1346 <remove-argument/>
1348 <conversion-rule class="native">
1347 <conversion-rule class="native">
1349 <insert-template name="core.prepare_removed_bool*_argument"/>
1348 <insert-template name="core.prepare_removed_bool*_argument"/>
1350 </conversion-rule>
1349 </conversion-rule>
1351 </modify-argument>
1350 </modify-argument>
1352 <modify-argument index="return">
1351 <modify-argument index="return">
1353 <conversion-rule class="native">
1352 <conversion-rule class="native">
1354 <insert-template name="core.convert_to_null_or_primitive"/>
1353 <insert-template name="core.convert_to_null_or_primitive"/>
1355 </conversion-rule>
1354 </conversion-rule>
1356 </modify-argument>
1355 </modify-argument>
1357 </modify-function>
1356 </modify-function>
1358
1357
1359 <modify-function signature="toInt(bool*,int)const">
1358 <modify-function signature="toInt(bool*,int)const">
1360 <modify-argument index="1">
1359 <modify-argument index="1">
1361 <remove-default-expression/>
1360 <remove-default-expression/>
1362 <remove-argument/>
1361 <remove-argument/>
1363 <conversion-rule class="native">
1362 <conversion-rule class="native">
1364 <insert-template name="core.prepare_removed_bool*_argument"/>
1363 <insert-template name="core.prepare_removed_bool*_argument"/>
1365 </conversion-rule>
1364 </conversion-rule>
1366 </modify-argument>
1365 </modify-argument>
1367 <modify-argument index="return">
1366 <modify-argument index="return">
1368 <conversion-rule class="native">
1367 <conversion-rule class="native">
1369 <insert-template name="core.convert_to_null_or_primitive"/>
1368 <insert-template name="core.convert_to_null_or_primitive"/>
1370 </conversion-rule>
1369 </conversion-rule>
1371 </modify-argument>
1370 </modify-argument>
1372 </modify-function>
1371 </modify-function>
1373
1372
1374 <modify-function signature="toUShort(bool*,int)const">
1373 <modify-function signature="toUShort(bool*,int)const">
1375 <modify-argument index="1">
1374 <modify-argument index="1">
1376 <remove-default-expression/>
1375 <remove-default-expression/>
1377 <remove-argument/>
1376 <remove-argument/>
1378 <conversion-rule class="native">
1377 <conversion-rule class="native">
1379 <insert-template name="core.prepare_removed_bool*_argument"/>
1378 <insert-template name="core.prepare_removed_bool*_argument"/>
1380 </conversion-rule>
1379 </conversion-rule>
1381 </modify-argument>
1380 </modify-argument>
1382 <modify-argument index="return">
1381 <modify-argument index="return">
1383 <conversion-rule class="native">
1382 <conversion-rule class="native">
1384 <insert-template name="core.convert_to_null_or_primitive"/>
1383 <insert-template name="core.convert_to_null_or_primitive"/>
1385 </conversion-rule>
1384 </conversion-rule>
1386 </modify-argument>
1385 </modify-argument>
1387 </modify-function>
1386 </modify-function>
1388 </value-type>
1387 </value-type>
1389
1388
1390 <value-type name="QTextBoundaryFinder">
1389 <value-type name="QTextBoundaryFinder">
1391 <modify-function signature="QTextBoundaryFinder(QTextBoundaryFinder::BoundaryType,const QChar*,int,unsigned char*,int)" remove="all"/>
1390 <modify-function signature="QTextBoundaryFinder(QTextBoundaryFinder::BoundaryType,const QChar*,int,unsigned char*,int)" remove="all"/>
1392 <modify-function signature="operator=(QTextBoundaryFinder)" remove="all"/>
1391 <modify-function signature="operator=(QTextBoundaryFinder)" remove="all"/>
1393 </value-type>
1392 </value-type>
1394
1393
1395 <value-type name="QEasingCurve">
1394 <value-type name="QEasingCurve">
1396 <modify-function signature="customType()const" remove="all"/>
1395 <modify-function signature="customType()const" remove="all"/>
1397 <modify-function signature="setCustomType(double)" remove="all"/>
1396 <modify-function signature="setCustomType(double)" remove="all"/>
1398 </value-type>
1397 </value-type>
1399
1398
1400 <object-type name="QAbstractAnimation"/>
1399 <object-type name="QAbstractAnimation"/>
1401 <object-type name="QVariantAnimation"/>
1400 <object-type name="QVariantAnimation"/>
1402 <object-type name="QAnimationGroup"/>
1401 <object-type name="QAnimationGroup"/>
1403 <object-type name="QPauseAnimation"/>
1402 <object-type name="QPauseAnimation"/>
1404 <object-type name="QParallelAnimationGroup"/>
1403 <object-type name="QParallelAnimationGroup"/>
1405 <object-type name="QSequentialAnimationGroup"/>
1404 <object-type name="QSequentialAnimationGroup"/>
1406 <object-type name="QPropertyAnimation"/>
1405 <object-type name="QPropertyAnimation"/>
1407
1406
1408 <object-type name="QAbstractState"/>
1407 <object-type name="QAbstractState"/>
1409 <object-type name="QAbstractTransition"/>
1408 <object-type name="QAbstractTransition"/>
1410 <object-type name="QState"/>
1409 <object-type name="QState"/>
1411 <object-type name="QStateMachine"/>
1410 <object-type name="QStateMachine"/>
1412 <object-type name="QHistoryState"/>
1411 <object-type name="QHistoryState"/>
1413 <object-type name="QSignalTransition"/>
1412 <object-type name="QSignalTransition"/>
1414 <object-type name="QEventTransition"/>
1413 <object-type name="QEventTransition"/>
1415 <object-type name="QFinalState"/>
1414 <object-type name="QFinalState"/>
1416
1415
1417 <object-type name="QXmlStreamEntityResolver"/>
1416 <object-type name="QXmlStreamEntityResolver"/>
1418 <object-type name="QAbstractEventDispatcher">
1417 <object-type name="QAbstractEventDispatcher">
1419 <extra-includes>
1418 <extra-includes>
1420 <include file-name="QPair" location="global"/>
1419 <include file-name="QPair" location="global"/>
1421 </extra-includes>
1420 </extra-includes>
1422 </object-type>
1421 </object-type>
1423 <object-type name="QEventLoop"/>
1422 <object-type name="QEventLoop"/>
1424 <object-type name="QFile">
1423 <object-type name="QFile">
1425 <modify-function signature="readLink()const" remove="all"/>
1424 <modify-function signature="readLink()const" remove="all"/>
1426 <!--### Obsolete in 4.3-->
1425 <!--### Obsolete in 4.3-->
1427 <modify-function signature="readLink(QString)" remove="all"/>
1426 <modify-function signature="readLink(QString)" remove="all"/>
1428 <!--### Obsolete in 4.3-->
1427 <!--### Obsolete in 4.3-->
1429 <modify-function signature="map(long long,long long,QFile::MemoryMapFlags)" remove="all"/>
1428 <modify-function signature="map(long long,long long,QFile::MemoryMapFlags)" remove="all"/>
1430 <!-- Can't provide same API and performance -->
1429 <!-- Can't provide same API and performance -->
1431 <modify-function signature="unmap(unsigned char*)" remove="all"/>
1430 <modify-function signature="unmap(unsigned char*)" remove="all"/>
1432 <!-- Can't provide same API and performance -->
1431 <!-- Can't provide same API and performance -->
1433
1432
1434 <modify-function signature="open(int,QFlags&lt;QIODevice::OpenModeFlag&gt;)" remove="all"/>
1433 <modify-function signature="open(int,QFlags&lt;QIODevice::OpenModeFlag&gt;)" remove="all"/>
1435 <modify-function signature="decodeName(const char*)" remove="all"/>
1434 <modify-function signature="decodeName(const char*)" remove="all"/>
1436 <modify-function signature="map(qint64,qint64,QFile::MemoryMapFlags)" remove="all"/>
1435 <modify-function signature="map(qint64,qint64,QFile::MemoryMapFlags)" remove="all"/>
1437 <modify-function signature="unmap(uchar*)" remove="all"/>
1436 <modify-function signature="unmap(uchar*)" remove="all"/>
1438 </object-type>
1437 </object-type>
1439
1438
1440 <object-type name="QIODevice">
1439 <object-type name="QIODevice">
1441 <modify-function signature="peek(char *,qint64)" remove="all"/>
1440 <modify-function signature="peek(char *,qint64)" remove="all"/>
1442 <modify-function signature="read(char *,qint64)" remove="all"/>
1441 <modify-function signature="read(char *,qint64)" remove="all"/>
1443 <modify-function signature="readLine(char *,qint64)" remove="all"/>
1442 <modify-function signature="readLine(char *,qint64)" remove="all"/>
1444 <modify-function signature="write(const char *,qint64)" remove="all"/>
1443 <modify-function signature="write(const char *,qint64)" remove="all"/>
1445 </object-type>
1444 </object-type>
1446 <object-type name="QStateMachine::SignalEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::StateMachineSignal"/>
1445 <object-type name="QStateMachine::SignalEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::StateMachineSignal"/>
1447 <object-type name="QStateMachine::WrappedEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::StateMachineWrapped"/>
1446 <object-type name="QStateMachine::WrappedEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::StateMachineWrapped"/>
1448
1447
1449 <object-type name="QCryptographicHash">
1448 <object-type name="QCryptographicHash">
1450 <modify-function signature="addData(const char*,int)" remove="all"/>
1449 <modify-function signature="addData(const char*,int)" remove="all"/>
1451 </object-type>
1450 </object-type>
1452 <object-type name="QLibraryInfo"/>
1451 <object-type name="QLibraryInfo"/>
1453 <object-type name="QMutex"/>
1452 <object-type name="QMutex"/>
1454 <object-type name="QSemaphore"/>
1453 <object-type name="QSemaphore"/>
1455 <object-type name="QSocketNotifier"/>
1454 <object-type name="QSocketNotifier"/>
1456 <object-type name="QSystemLocale"/>
1455 <object-type name="QSystemLocale"/>
1457 <object-type name="QTemporaryFile">
1456 <object-type name="QTemporaryFile">
1458 <modify-function signature="fileName()const" rename="uniqueFilename"/>
1457 <modify-function signature="fileName()const" rename="uniqueFilename"/>
1459
1458
1460 <modify-function signature="createLocalFile(QFile&amp;)">
1459 <modify-function signature="createLocalFile(QFile&amp;)">
1461 <modify-argument index="1">
1460 <modify-argument index="1">
1462 <replace-type modified-type="QFile*"/>
1461 <replace-type modified-type="QFile*"/>
1463 <conversion-rule class="native">
1462 <conversion-rule class="native">
1464 QFile &amp; %out% = *qscriptvalue_cast&lt;QFile*&gt;(%in%);
1463 QFile &amp; %out% = *qscriptvalue_cast&lt;QFile*&gt;(%in%);
1465 </conversion-rule>
1464 </conversion-rule>
1466 </modify-argument>
1465 </modify-argument>
1467 </modify-function>
1466 </modify-function>
1468 </object-type>
1467 </object-type>
1469 <object-type name="QMimeData">
1468 <object-type name="QMimeData">
1470 <extra-includes>
1469 <extra-includes>
1471 <include file-name="QStringList" location="global"/>
1470 <include file-name="QStringList" location="global"/>
1472 <include file-name="QUrl" location="global"/>
1471 <include file-name="QUrl" location="global"/>
1473 </extra-includes>
1472 </extra-includes>
1474 </object-type>
1473 </object-type>
1475 <object-type name="QTextCodec">
1474 <object-type name="QTextCodec">
1476
1475
1477 <modify-function signature="setCodecForTr(QTextCodec*)">
1476 <modify-function signature="setCodecForTr(QTextCodec*)">
1478 <access modifier="private"/>
1477 <access modifier="private"/>
1479 <modify-argument index="1">
1478 <modify-argument index="1">
1480 <reference-count action="set" variable-name="__rcCodecForTr"/>
1479 <reference-count action="set" variable-name="__rcCodecForTr"/>
1481 </modify-argument>
1480 </modify-argument>
1482 </modify-function>
1481 </modify-function>
1483 <modify-function signature="setCodecForCStrings(QTextCodec*)">
1482 <modify-function signature="setCodecForCStrings(QTextCodec*)">
1484 <modify-argument index="1">
1483 <modify-argument index="1">
1485 <reference-count action="set" variable-name="__rcCodecForCStrings"/>
1484 <reference-count action="set" variable-name="__rcCodecForCStrings"/>
1486 </modify-argument>
1485 </modify-argument>
1487 </modify-function>
1486 </modify-function>
1488 <modify-function signature="setCodecForLocale(QTextCodec*)">
1487 <modify-function signature="setCodecForLocale(QTextCodec*)">
1489 <modify-argument index="1">
1488 <modify-argument index="1">
1490 <reference-count action="set" variable-name="__rcCodecForLocale"/>
1489 <reference-count action="set" variable-name="__rcCodecForLocale"/>
1491 </modify-argument>
1490 </modify-argument>
1492 </modify-function>
1491 </modify-function>
1493
1492
1494
1493
1495 <modify-function signature="codecForTr()">
1494 <modify-function signature="codecForTr()">
1496 <remove/>
1495 <remove/>
1497 </modify-function>
1496 </modify-function>
1498
1497
1499 <modify-function signature="QTextCodec()">
1498 <modify-function signature="QTextCodec()">
1500 <modify-argument index="-1">
1499 <modify-argument index="-1">
1501 <define-ownership class="java" owner="c++"/>
1500 <define-ownership class="java" owner="c++"/>
1502 </modify-argument>
1501 </modify-argument>
1503 </modify-function>
1502 </modify-function>
1504
1503
1505 <modify-function signature="fromUnicode(const QChar*,int,QTextCodec::ConverterState*)const">
1504 <modify-function signature="fromUnicode(const QChar*,int,QTextCodec::ConverterState*)const">
1506 <remove/>
1505 <remove/>
1507 </modify-function>
1506 </modify-function>
1508
1507
1509 <modify-function signature="toUnicode(const char*,int,QTextCodec::ConverterState*)const">
1508 <modify-function signature="toUnicode(const char*,int,QTextCodec::ConverterState*)const">
1510 <remove/>
1509 <remove/>
1511 </modify-function>
1510 </modify-function>
1512
1511
1513 <modify-function signature="toUnicode(const char*)const">
1512 <modify-function signature="toUnicode(const char*)const">
1514 <remove/>
1513 <remove/>
1515 </modify-function>
1514 </modify-function>
1516 </object-type>
1515 </object-type>
1517
1516
1518 <object-type name="QTextDecoder">
1517 <object-type name="QTextDecoder">
1519 <modify-function signature="toUnicode(const char*,int)">
1518 <modify-function signature="toUnicode(const char*,int)">
1520 <remove/>
1519 <remove/>
1521 </modify-function>
1520 </modify-function>
1522 <modify-function signature="toUnicode(QString*,const char*,int)" remove="all"/>
1521 <modify-function signature="toUnicode(QString*,const char*,int)" remove="all"/>
1523 </object-type>
1522 </object-type>
1524 <object-type name="QTextEncoder">
1523 <object-type name="QTextEncoder">
1525 <modify-function signature="fromUnicode(const QChar*,int)">
1524 <modify-function signature="fromUnicode(const QChar*,int)">
1526 <remove/>
1525 <remove/>
1527 </modify-function>
1526 </modify-function>
1528 </object-type>
1527 </object-type>
1529 <object-type name="QTimeLine"/>
1528 <object-type name="QTimeLine"/>
1530 <object-type name="QTranslator">
1529 <object-type name="QTranslator">
1531 <modify-function signature="translate(const char*,const char*,const char*,int)const">
1530 <modify-function signature="translate(const char*,const char*,const char*,int)const">
1532 <remove/>
1531 <remove/>
1533 </modify-function>
1532 </modify-function>
1534 </object-type>
1533 </object-type>
1535
1534
1536 <object-type name="QWaitCondition"/>
1535 <object-type name="QWaitCondition"/>
1537
1536
1538 <object-type name="QFileSystemWatcher">
1537 <object-type name="QFileSystemWatcher">
1539 <extra-includes>
1538 <extra-includes>
1540 <include file-name="QStringList" location="global"/>
1539 <include file-name="QStringList" location="global"/>
1541 </extra-includes>
1540 </extra-includes>
1542 </object-type>
1541 </object-type>
1543
1542
1544 <object-type name="QTextCodec::ConverterState">
1543 <object-type name="QTextCodec::ConverterState">
1545 <include file-name="QTextCodec" location="global"/>
1544 <include file-name="QTextCodec" location="global"/>
1546 </object-type>
1545 </object-type>
1547
1546
1548 <object-type name="QBuffer">
1547 <object-type name="QBuffer">
1549 <modify-function signature="buffer()">
1548 <modify-function signature="buffer()">
1550 <remove/>
1549 <remove/>
1551 </modify-function>
1550 </modify-function>
1552 <modify-function signature="connectNotify(const char *)" remove="all"/>
1551 <modify-function signature="connectNotify(const char *)" remove="all"/>
1553 <modify-function signature="disconnectNotify(const char *)" remove="all"/>
1552 <modify-function signature="disconnectNotify(const char *)" remove="all"/>
1554
1553
1555 <!-- ### modify to return value by pointer? -->
1554 <!-- ### modify to return value by pointer? -->
1556 <modify-function signature="buffer()const" remove="all"/>
1555 <modify-function signature="buffer()const" remove="all"/>
1557 <modify-function signature="data()const" remove="all"/>
1556 <modify-function signature="data()const" remove="all"/>
1558
1557
1559 <modify-function signature="setData(const char*,int)" remove="all"/>
1558 <modify-function signature="setData(const char*,int)" remove="all"/>
1560 </object-type>
1559 </object-type>
1561
1560
1562 <object-type name="QTimer"/>
1561 <object-type name="QTimer"/>
1563
1562
1564 <object-type name="QAbstractFileEngineHandler">
1563 <object-type name="QAbstractFileEngineHandler">
1565 <modify-function signature="create(const QString &amp;) const">
1564 <modify-function signature="create(const QString &amp;) const">
1566 <modify-argument index="return">
1565 <modify-argument index="return">
1567 <define-ownership owner="c++" class="shell"/>
1566 <define-ownership owner="c++" class="shell"/>
1568 </modify-argument>
1567 </modify-argument>
1569 </modify-function>
1568 </modify-function>
1570 </object-type>
1569 </object-type>
1571
1570
1572 <object-type name="QAbstractFileEngine::MapExtensionOption"/>
1571 <object-type name="QAbstractFileEngine::MapExtensionOption"/>
1573 <object-type name="QAbstractFileEngine::MapExtensionReturn"/>
1572 <object-type name="QAbstractFileEngine::MapExtensionReturn"/>
1574 <object-type name="QAbstractFileEngine::UnMapExtensionOption"/>
1573 <object-type name="QAbstractFileEngine::UnMapExtensionOption"/>
1575 <object-type name="QAbstractFileEngine">
1574 <object-type name="QAbstractFileEngine">
1576 <extra-includes>
1575 <extra-includes>
1577 <include file-name="QDateTime" location="global"/>
1576 <include file-name="QDateTime" location="global"/>
1578 </extra-includes>
1577 </extra-includes>
1579 <modify-function signature="map(long long,long long,QFile::MemoryMapFlags)" remove="all"/>
1578 <modify-function signature="map(long long,long long,QFile::MemoryMapFlags)" remove="all"/>
1580 <modify-function signature="unmap(unsigned char*)" remove="all"/>
1579 <modify-function signature="unmap(unsigned char*)" remove="all"/>
1581 </object-type>
1580 </object-type>
1582
1581
1583 <object-type name="QProcess">
1582 <object-type name="QProcess">
1584 <modify-function signature="readChannelMode()const" remove="all"/>
1583 <modify-function signature="readChannelMode()const" remove="all"/>
1585 <!--### Obsolete in 4.3-->
1584 <!--### Obsolete in 4.3-->
1586 <modify-function signature="setReadChannelMode(QProcess::ProcessChannelMode)" remove="all"/>
1585 <modify-function signature="setReadChannelMode(QProcess::ProcessChannelMode)" remove="all"/>
1587 <!--### Obsolete in 4.3-->
1586 <!--### Obsolete in 4.3-->
1588 </object-type>
1587 </object-type>
1589
1588
1590 <object-type name="QSignalMapper">
1589 <object-type name="QSignalMapper">
1591 <modify-function signature="mapped(const QString &amp;)">
1590 <modify-function signature="mapped(const QString &amp;)">
1592 <rename to="mappedString"/>
1591 <rename to="mappedString"/>
1593 </modify-function>
1592 </modify-function>
1594 <modify-function signature="mapped(int)">
1593 <modify-function signature="mapped(int)">
1595 <rename to="mappedInteger"/>
1594 <rename to="mappedInteger"/>
1596 </modify-function>
1595 </modify-function>
1597 <modify-function signature="mapped(QObject *)">
1596 <modify-function signature="mapped(QObject *)">
1598 <rename to="mappedQObject"/>
1597 <rename to="mappedQObject"/>
1599 </modify-function>
1598 </modify-function>
1600 <modify-function signature="mapped(QWidget *)" remove="all"/>
1599 <modify-function signature="mapped(QWidget *)" remove="all"/>
1601
1600
1602 <modify-function signature="mapping(QWidget*)const" remove="all"/>
1601 <modify-function signature="mapping(QWidget*)const" remove="all"/>
1603
1602
1604 <modify-function signature="setMapping(QObject*,QWidget*)" remove="all"/>
1603 <modify-function signature="setMapping(QObject*,QWidget*)" remove="all"/>
1605
1604
1606 <!-- ### overloads -->
1605 <!-- ### overloads -->
1607 <modify-function signature="mapping(int)const">
1606 <modify-function signature="mapping(int)const">
1608 <rename to="mappingById"/>
1607 <rename to="mappingById"/>
1609 </modify-function>
1608 </modify-function>
1610 <modify-function signature="mapping(QString)const">
1609 <modify-function signature="mapping(QString)const">
1611 <rename to="mappingByString"/>
1610 <rename to="mappingByString"/>
1612 </modify-function>
1611 </modify-function>
1613 <modify-function signature="mapping(QObject*)const">
1612 <modify-function signature="mapping(QObject*)const">
1614 <rename to="mappingByObject"/>
1613 <rename to="mappingByObject"/>
1615 </modify-function>
1614 </modify-function>
1616 <modify-function signature="setMapping(QObject*,int)">
1615 <modify-function signature="setMapping(QObject*,int)">
1617 <rename to="setMappingById"/>
1616 <rename to="setMappingById"/>
1618 </modify-function>
1617 </modify-function>
1619 <modify-function signature="setMapping(QObject*,QString)">
1618 <modify-function signature="setMapping(QObject*,QString)">
1620 <rename to="setMappingByString"/>
1619 <rename to="setMappingByString"/>
1621 </modify-function>
1620 </modify-function>
1622 <modify-function signature="setMapping(QObject*,QObject*)">
1621 <modify-function signature="setMapping(QObject*,QObject*)">
1623 <rename to="setMappingByObject"/>
1622 <rename to="setMappingByObject"/>
1624 </modify-function>
1623 </modify-function>
1625 </object-type>
1624 </object-type>
1626
1625
1627 <object-type name="QObject">
1626 <object-type name="QObject">
1628 <modify-function signature="childEvent(QChildEvent*)">
1627 <modify-function signature="childEvent(QChildEvent*)">
1629 <modify-argument index="1" invalidate-after-use="yes"/>
1628 <modify-argument index="1" invalidate-after-use="yes"/>
1630 </modify-function>
1629 </modify-function>
1631 <modify-function signature="customEvent(QEvent*)">
1630 <modify-function signature="customEvent(QEvent*)">
1632 <modify-argument index="1" invalidate-after-use="yes"/>
1631 <modify-argument index="1" invalidate-after-use="yes"/>
1633 </modify-function>
1632 </modify-function>
1634 <modify-function signature="event(QEvent*)">
1633 <modify-function signature="event(QEvent*)">
1635 <modify-argument index="1" invalidate-after-use="yes"/>
1634 <modify-argument index="1" invalidate-after-use="yes"/>
1636 </modify-function>
1635 </modify-function>
1637 <modify-function signature="eventFilter(QObject*,QEvent*)">
1636 <modify-function signature="eventFilter(QObject*,QEvent*)">
1638 <modify-argument index="2" invalidate-after-use="yes"/>
1637 <modify-argument index="2" invalidate-after-use="yes"/>
1639 </modify-function>
1638 </modify-function>
1640 <modify-function signature="timerEvent(QTimerEvent*)">
1639 <modify-function signature="timerEvent(QTimerEvent*)">
1641 <modify-argument index="1" invalidate-after-use="yes"/>
1640 <modify-argument index="1" invalidate-after-use="yes"/>
1642 </modify-function>
1641 </modify-function>
1643
1642
1644 <modify-function signature="installEventFilter(QObject*)">
1643 <modify-function signature="installEventFilter(QObject*)">
1645 <modify-argument index="1">
1644 <modify-argument index="1">
1646 <reference-count action="add" variable-name="__rcEventFilters"/>
1645 <reference-count action="add" variable-name="__rcEventFilters"/>
1647 </modify-argument>
1646 </modify-argument>
1648 </modify-function>
1647 </modify-function>
1649 <modify-function signature="removeEventFilter(QObject*)">
1648 <modify-function signature="removeEventFilter(QObject*)">
1650 <modify-argument index="1">
1649 <modify-argument index="1">
1651 <reference-count action="remove" variable-name="__rcEventFilters"/>
1650 <reference-count action="remove" variable-name="__rcEventFilters"/>
1652 </modify-argument>
1651 </modify-argument>
1653 </modify-function>
1652 </modify-function>
1654 <modify-function signature="setParent(QObject*)">
1653 <modify-function signature="setParent(QObject*)">
1655 <modify-argument index="1">
1654 <modify-argument index="1">
1656 <reference-count action="ignore"/>
1655 <reference-count action="ignore"/>
1657 </modify-argument>
1656 </modify-argument>
1658 </modify-function>
1657 </modify-function>
1659
1658
1660 <modify-function signature="deleteLater()">
1659 <modify-function signature="deleteLater()">
1661 <rename to="disposeLater"/>
1660 <rename to="disposeLater"/>
1662 </modify-function>
1661 </modify-function>
1663
1662
1664 <modify-function signature="inherits(const char*)const">
1663 <modify-function signature="inherits(const char*)const">
1665 <remove/>
1664 <remove/>
1666 </modify-function>
1665 </modify-function>
1667
1666
1668 <modify-function signature="property(const char*)const">
1667 <modify-function signature="property(const char*)const">
1669 <access modifier="private"/>
1668 <access modifier="private"/>
1670 </modify-function>
1669 </modify-function>
1671
1670
1672 <modify-function signature="setProperty(const char*,QVariant)">
1671 <modify-function signature="setProperty(const char*,QVariant)">
1673 <access modifier="private"/>
1672 <access modifier="private"/>
1674 </modify-function>
1673 </modify-function>
1675
1674
1676
1675
1677 <extra-includes>
1676 <extra-includes>
1678 <include file-name="QVarLengthArray" location="global"/>
1677 <include file-name="QVarLengthArray" location="global"/>
1679 </extra-includes>
1678 </extra-includes>
1680
1679
1681
1680
1682 <modify-function signature="property(const char*)const">
1681 <modify-function signature="property(const char*)const">
1683 <modify-argument index="1">
1682 <modify-argument index="1">
1684 <replace-type modified-type="QString"/>
1683 <replace-type modified-type="QString"/>
1685 <conversion-rule class="native">
1684 <conversion-rule class="native">
1686 <insert-template name="core.convert_string_arg_to_char*"/>
1685 <insert-template name="core.convert_string_arg_to_char*"/>
1687 </conversion-rule>
1686 </conversion-rule>
1688 </modify-argument>
1687 </modify-argument>
1689 </modify-function>
1688 </modify-function>
1690
1689
1691 <modify-function signature="setProperty(const char*,QVariant)">
1690 <modify-function signature="setProperty(const char*,QVariant)">
1692 <modify-argument index="1">
1691 <modify-argument index="1">
1693 <replace-type modified-type="QString"/>
1692 <replace-type modified-type="QString"/>
1694 <conversion-rule class="native">
1693 <conversion-rule class="native">
1695 <insert-template name="core.convert_string_arg_to_char*"/>
1694 <insert-template name="core.convert_string_arg_to_char*"/>
1696 </conversion-rule>
1695 </conversion-rule>
1697 </modify-argument>
1696 </modify-argument>
1698 </modify-function>
1697 </modify-function>
1699
1698
1700 <modify-function signature="inherits(const char*)const">
1699 <modify-function signature="inherits(const char*)const">
1701 <modify-argument index="1">
1700 <modify-argument index="1">
1702 <replace-type modified-type="QString"/>
1701 <replace-type modified-type="QString"/>
1703 <conversion-rule class="native">
1702 <conversion-rule class="native">
1704 <insert-template name="core.convert_string_arg_to_char*"/>
1703 <insert-template name="core.convert_string_arg_to_char*"/>
1705 </conversion-rule>
1704 </conversion-rule>
1706 </modify-argument>
1705 </modify-argument>
1707 </modify-function>
1706 </modify-function>
1708 </object-type>
1707 </object-type>
1709
1708
1710 <object-type name="QCoreApplication">
1709 <object-type name="QCoreApplication">
1711 <extra-includes>
1710 <extra-includes>
1712 <include file-name="QStringList" location="global"/>
1711 <include file-name="QStringList" location="global"/>
1713 </extra-includes>
1712 </extra-includes>
1714
1713
1715 <modify-function signature="argv()" remove="all"/>
1714 <modify-function signature="argv()" remove="all"/>
1716 <!-- Obsolete -->
1715 <!-- Obsolete -->
1717 <modify-function signature="argc()" remove="all"/>
1716 <modify-function signature="argc()" remove="all"/>
1718 <!-- Obsolete -->
1717 <!-- Obsolete -->
1719
1718
1720 <modify-function signature="notify(QObject*,QEvent*)">
1719 <modify-function signature="notify(QObject*,QEvent*)">
1721 <modify-argument index="2" invalidate-after-use="yes"/>
1720 <modify-argument index="2" invalidate-after-use="yes"/>
1722 </modify-function>
1721 </modify-function>
1723
1722
1724
1723
1725 <modify-function signature="QCoreApplication(int &amp;, char **)">
1724 <modify-function signature="QCoreApplication(int &amp;, char **)">
1726 <access modifier="private"/>
1725 <access modifier="private"/>
1727 </modify-function>
1726 </modify-function>
1728 <modify-function signature="QCoreApplication(int &amp;, char **, int)" remove="all"/>
1727 <modify-function signature="QCoreApplication(int &amp;, char **, int)" remove="all"/>
1729 <modify-function signature="removePostedEvents(QObject*)">
1728 <modify-function signature="removePostedEvents(QObject*)">
1730 <modify-argument index="1">
1729 <modify-argument index="1">
1731 <reference-count action="ignore"/>
1730 <reference-count action="ignore"/>
1732 </modify-argument>
1731 </modify-argument>
1733 </modify-function>
1732 </modify-function>
1734 <modify-function signature="removePostedEvents(QObject*,int)">
1733 <modify-function signature="removePostedEvents(QObject*,int)">
1735 <modify-argument index="1">
1734 <modify-argument index="1">
1736 <reference-count action="ignore"/>
1735 <reference-count action="ignore"/>
1737 </modify-argument>
1736 </modify-argument>
1738 </modify-function>
1737 </modify-function>
1739
1738
1740 <modify-function signature="installTranslator(QTranslator *)">
1739 <modify-function signature="installTranslator(QTranslator *)">
1741 <modify-argument index="1">
1740 <modify-argument index="1">
1742 <reference-count action="add" variable-name="__rcTranslators"/>
1741 <reference-count action="add" variable-name="__rcTranslators"/>
1743 </modify-argument>
1742 </modify-argument>
1744 </modify-function>
1743 </modify-function>
1745
1744
1746 <modify-function signature="removeTranslator(QTranslator *)">
1745 <modify-function signature="removeTranslator(QTranslator *)">
1747 <modify-argument index="1">
1746 <modify-argument index="1">
1748 <reference-count action="remove" variable-name="__rcTranslators"/>
1747 <reference-count action="remove" variable-name="__rcTranslators"/>
1749 </modify-argument>
1748 </modify-argument>
1750 </modify-function>
1749 </modify-function>
1751
1750
1752
1751
1753 <modify-function signature="postEvent(QObject*,QEvent*)">
1752 <modify-function signature="postEvent(QObject*,QEvent*)">
1754 <modify-argument index="2">
1753 <modify-argument index="2">
1755 <define-ownership class="java" owner="c++"/>
1754 <define-ownership class="java" owner="c++"/>
1756 </modify-argument>
1755 </modify-argument>
1757 </modify-function>
1756 </modify-function>
1758
1757
1759 <modify-function signature="QCoreApplication(int &amp;, char **)" remove="all"/>
1758 <modify-function signature="QCoreApplication(int &amp;, char **)" remove="all"/>
1760 <!-- ### arguments() causes a warning: "QScriptValue::setProperty(arguments): cannot change flags of a native property" -->
1759 <!-- ### arguments() causes a warning: "QScriptValue::setProperty(arguments): cannot change flags of a native property" -->
1761 <modify-function signature="arguments()" remove="all"/>
1760 <modify-function signature="arguments()" remove="all"/>
1762 <modify-function signature="translate(const char*,const char*,const char*,QCoreApplication::Encoding,int)">
1761 <modify-function signature="translate(const char*,const char*,const char*,QCoreApplication::Encoding,int)">
1763 <modify-argument index="1">
1762 <modify-argument index="1">
1764 <replace-type modified-type="QString"/>
1763 <replace-type modified-type="QString"/>
1765 <conversion-rule class="native">
1764 <conversion-rule class="native">
1766 <insert-template name="core.convert_string_arg_to_char*"/>
1765 <insert-template name="core.convert_string_arg_to_char*"/>
1767 </conversion-rule>
1766 </conversion-rule>
1768 </modify-argument>
1767 </modify-argument>
1769 <modify-argument index="2">
1768 <modify-argument index="2">
1770 <replace-type modified-type="QString"/>
1769 <replace-type modified-type="QString"/>
1771 <conversion-rule class="native">
1770 <conversion-rule class="native">
1772 <insert-template name="core.convert_string_arg_to_char*"/>
1771 <insert-template name="core.convert_string_arg_to_char*"/>
1773 </conversion-rule>
1772 </conversion-rule>
1774 </modify-argument>
1773 </modify-argument>
1775 <modify-argument index="3">
1774 <modify-argument index="3">
1776 <replace-type modified-type="QString"/>
1775 <replace-type modified-type="QString"/>
1777 <conversion-rule class="native">
1776 <conversion-rule class="native">
1778 <insert-template name="core.convert_string_arg_to_char*"/>
1777 <insert-template name="core.convert_string_arg_to_char*"/>
1779 </conversion-rule>
1778 </conversion-rule>
1780 </modify-argument>
1779 </modify-argument>
1781 </modify-function>
1780 </modify-function>
1782 <modify-function signature="translate(const char *,const char *,const char *,QCoreApplication::Encoding)">
1781 <modify-function signature="translate(const char *,const char *,const char *,QCoreApplication::Encoding)">
1783 <modify-argument index="1">
1782 <modify-argument index="1">
1784 <replace-type modified-type="QString"/>
1783 <replace-type modified-type="QString"/>
1785 <conversion-rule class="native">
1784 <conversion-rule class="native">
1786 <insert-template name="core.convert_string_arg_to_char*"/>
1785 <insert-template name="core.convert_string_arg_to_char*"/>
1787 </conversion-rule>
1786 </conversion-rule>
1788 </modify-argument>
1787 </modify-argument>
1789 <modify-argument index="2">
1788 <modify-argument index="2">
1790 <replace-type modified-type="QString"/>
1789 <replace-type modified-type="QString"/>
1791 <conversion-rule class="native">
1790 <conversion-rule class="native">
1792 <insert-template name="core.convert_string_arg_to_char*"/>
1791 <insert-template name="core.convert_string_arg_to_char*"/>
1793 </conversion-rule>
1792 </conversion-rule>
1794 </modify-argument>
1793 </modify-argument>
1795 <modify-argument index="3">
1794 <modify-argument index="3">
1796 <replace-type modified-type="QString"/>
1795 <replace-type modified-type="QString"/>
1797 <conversion-rule class="native">
1796 <conversion-rule class="native">
1798 <insert-template name="core.convert_string_arg_to_char*"/>
1797 <insert-template name="core.convert_string_arg_to_char*"/>
1799 </conversion-rule>
1798 </conversion-rule>
1800 </modify-argument>
1799 </modify-argument>
1801 </modify-function>
1800 </modify-function>
1802
1801
1803 </object-type>
1802 </object-type>
1804
1803
1805 <object-type name="QSettings">
1804 <object-type name="QSettings">
1806 <extra-includes>
1805 <extra-includes>
1807 <include file-name="QStringList" location="global"/>
1806 <include file-name="QStringList" location="global"/>
1808 </extra-includes>
1807 </extra-includes>
1809
1808
1810 <modify-function signature="setIniCodec(QTextCodec*)">
1809 <modify-function signature="setIniCodec(QTextCodec*)">
1811 <modify-argument index="1">
1810 <modify-argument index="1">
1812 <reference-count action="set" variable-name="__rcIniCodec"/>
1811 <reference-count action="set" variable-name="__rcIniCodec"/>
1813 </modify-argument>
1812 </modify-argument>
1814 </modify-function>
1813 </modify-function>
1815
1814
1816 <modify-function signature="setSystemIniPath(const QString&amp;)" remove="all"/>
1815 <modify-function signature="setSystemIniPath(const QString&amp;)" remove="all"/>
1817 <!--### Obsolete in 4.3-->
1816 <!--### Obsolete in 4.3-->
1818 <modify-function signature="setUserIniPath(const QString&amp;)" remove="all"/>
1817 <modify-function signature="setUserIniPath(const QString&amp;)" remove="all"/>
1819 <!--### Obsolete in 4.3-->
1818 <!--### Obsolete in 4.3-->
1820 </object-type>
1819 </object-type>
1821
1820
1822 <object-type name="QEvent" polymorphic-base="yes" polymorphic-id-expression="%1-&gt;type() == QEvent::None"/>
1821 <object-type name="QEvent" polymorphic-base="yes" polymorphic-id-expression="%1-&gt;type() == QEvent::None"/>
1823 <object-type name="QChildEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::ChildAdded || %1-&gt;type() == QEvent::ChildPolished || %1-&gt;type() == QEvent::ChildRemoved">
1822 <object-type name="QChildEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::ChildAdded || %1-&gt;type() == QEvent::ChildPolished || %1-&gt;type() == QEvent::ChildRemoved">
1824 <modify-field name="c" read="false" write="false"/>
1823 <modify-field name="c" read="false" write="false"/>
1825 </object-type>
1824 </object-type>
1826 <object-type name="QTimerEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::Timer"/>
1825 <object-type name="QTimerEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::Timer"/>
1827 <object-type name="QDynamicPropertyChangeEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::DynamicPropertyChange"/>
1826 <object-type name="QDynamicPropertyChangeEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::DynamicPropertyChange"/>
1828
1827
1829 <object-type name="QDataStream">
1828 <object-type name="QDataStream">
1830 <modify-function signature="setDevice(QIODevice*)">
1829 <modify-function signature="setDevice(QIODevice*)">
1831 <modify-argument index="1">
1830 <modify-argument index="1">
1832 <reference-count action="set" variable-name="__rcDevice"/>
1831 <reference-count action="set" variable-name="__rcDevice"/>
1833 </modify-argument>
1832 </modify-argument>
1834 </modify-function>
1833 </modify-function>
1835 <modify-function signature="unsetDevice()">
1834 <modify-function signature="unsetDevice()">
1836 <inject-code position="end">
1835 <inject-code position="end">
1837 __rcDevice = null;
1836 __rcDevice = null;
1838 </inject-code>
1837 </inject-code>
1839 </modify-function>
1838 </modify-function>
1840
1839
1841
1840
1842 <modify-function signature="operator&lt;&lt;(const char*)">
1841 <modify-function signature="operator&lt;&lt;(const char*)">
1843 <remove/>
1842 <remove/>
1844 </modify-function>
1843 </modify-function>
1845 <modify-function signature="operator&lt;&lt;(unsigned char)">
1844 <modify-function signature="operator&lt;&lt;(unsigned char)">
1846 <remove/>
1845 <remove/>
1847 </modify-function>
1846 </modify-function>
1848 <modify-function signature="operator&lt;&lt;(unsigned int)">
1847 <modify-function signature="operator&lt;&lt;(unsigned int)">
1849 <remove/>
1848 <remove/>
1850 </modify-function>
1849 </modify-function>
1851 <modify-function signature="operator&lt;&lt;(unsigned long long)">
1850 <modify-function signature="operator&lt;&lt;(unsigned long long)">
1852 <remove/>
1851 <remove/>
1853 </modify-function>
1852 </modify-function>
1854 <modify-function signature="operator&lt;&lt;(unsigned short)">
1853 <modify-function signature="operator&lt;&lt;(unsigned short)">
1855 <remove/>
1854 <remove/>
1856 </modify-function>
1855 </modify-function>
1857
1856
1858 <modify-function signature="operator&gt;&gt;(char &amp;*)">
1857 <modify-function signature="operator&gt;&gt;(char &amp;*)">
1859 <remove/>
1858 <remove/>
1860 </modify-function>
1859 </modify-function>
1861 <modify-function signature="operator&gt;&gt;(uint&amp;)">
1860 <modify-function signature="operator&gt;&gt;(uint&amp;)">
1862 <remove/>
1861 <remove/>
1863 </modify-function>
1862 </modify-function>
1864 <modify-function signature="operator&gt;&gt;(unsigned char&amp;)">
1863 <modify-function signature="operator&gt;&gt;(unsigned char&amp;)">
1865 <remove/>
1864 <remove/>
1866 </modify-function>
1865 </modify-function>
1867 <modify-function signature="operator&gt;&gt;(unsigned long long&amp;)">
1866 <modify-function signature="operator&gt;&gt;(unsigned long long&amp;)">
1868 <remove/>
1867 <remove/>
1869 </modify-function>
1868 </modify-function>
1870
1869
1871 <modify-function signature="readRawData(char*,int)">
1870 <modify-function signature="readRawData(char*,int)">
1872 <remove/>
1871 <remove/>
1873 </modify-function>
1872 </modify-function>
1874 <modify-function signature="readBytes(char&amp;*,uint&amp;)">
1873 <modify-function signature="readBytes(char&amp;*,uint&amp;)">
1875 <remove/>
1874 <remove/>
1876 </modify-function>
1875 </modify-function>
1877 <modify-function signature="writeRawData(const char*,int)">
1876 <modify-function signature="writeRawData(const char*,int)">
1878 <remove/>
1877 <remove/>
1879 </modify-function>
1878 </modify-function>
1880 <modify-function signature="writeBytes(const char*,uint)">
1879 <modify-function signature="writeBytes(const char*,uint)">
1881 <remove/>
1880 <remove/>
1882 </modify-function>
1881 </modify-function>
1883
1882
1884 <modify-function signature="operator&gt;&gt;(signed char&amp;)" remove="all"/>
1883 <modify-function signature="operator&gt;&gt;(signed char&amp;)" remove="all"/>
1885 <modify-function signature="operator&lt;&lt;(signed char)" remove="all"/>
1884 <modify-function signature="operator&lt;&lt;(signed char)" remove="all"/>
1886
1885
1887 <modify-function signature="operator&lt;&lt;(bool)">
1886 <modify-function signature="operator&lt;&lt;(bool)">
1888 <rename to="writeBoolean"/>
1887 <rename to="writeBoolean"/>
1889 <modify-argument index="0" replace-value="this"/>
1888 <modify-argument index="0" replace-value="this"/>
1890 </modify-function>
1889 </modify-function>
1891 <modify-function signature="operator&lt;&lt;(unsigned char)">
1890 <modify-function signature="operator&lt;&lt;(unsigned char)">
1892 <modify-argument index="0" replace-value="this"/>
1891 <modify-argument index="0" replace-value="this"/>
1893 <rename to="writeByte"/>
1892 <rename to="writeByte"/>
1894 </modify-function>
1893 </modify-function>
1895 <modify-function signature="operator&lt;&lt;(int)">
1894 <modify-function signature="operator&lt;&lt;(int)">
1896 <rename to="writeInt"/>
1895 <rename to="writeInt"/>
1897 <modify-argument index="0" replace-value="this"/>
1896 <modify-argument index="0" replace-value="this"/>
1898 </modify-function>
1897 </modify-function>
1899 <modify-function signature="operator&lt;&lt;(qint64)">
1898 <modify-function signature="operator&lt;&lt;(qint64)">
1900 <rename to="writeLongLong"/>
1899 <rename to="writeLongLong"/>
1901 <modify-argument index="0" replace-value="this"/>
1900 <modify-argument index="0" replace-value="this"/>
1902 </modify-function>
1901 </modify-function>
1903 <modify-function signature="operator&lt;&lt;(float)">
1902 <modify-function signature="operator&lt;&lt;(float)">
1904 <rename to="writeFloat"/>
1903 <rename to="writeFloat"/>
1905 <modify-argument index="0" replace-value="this"/>
1904 <modify-argument index="0" replace-value="this"/>
1906 </modify-function>
1905 </modify-function>
1907 <modify-function signature="operator&lt;&lt;(double)">
1906 <modify-function signature="operator&lt;&lt;(double)">
1908 <rename to="writeDouble"/>
1907 <rename to="writeDouble"/>
1909 <modify-argument index="0" replace-value="this"/>
1908 <modify-argument index="0" replace-value="this"/>
1910 </modify-function>
1909 </modify-function>
1911 <modify-function signature="operator&lt;&lt;(short)">
1910 <modify-function signature="operator&lt;&lt;(short)">
1912 <rename to="writeShort"/>
1911 <rename to="writeShort"/>
1913 <modify-argument index="0" replace-value="this"/>
1912 <modify-argument index="0" replace-value="this"/>
1914 </modify-function>
1913 </modify-function>
1915
1914
1916 <modify-function signature="operator&gt;&gt;(bool &amp;)">
1915 <modify-function signature="operator&gt;&gt;(bool &amp;)">
1917 <rename to="readBoolean"/>
1916 <rename to="readBoolean"/>
1918 <modify-argument index="1">
1917 <modify-argument index="1">
1919 <remove-argument/>
1918 <remove-argument/>
1920 <conversion-rule class="native">
1919 <conversion-rule class="native">
1921 bool __result;
1920 bool __result;
1922 bool &amp; %out% = __result;
1921 bool &amp; %out% = __result;
1923 </conversion-rule>
1922 </conversion-rule>
1924 </modify-argument>
1923 </modify-argument>
1925 <modify-argument index="0" replace-value="void">
1924 <modify-argument index="0" replace-value="void">
1926 <conversion-rule class="native">
1925 <conversion-rule class="native">
1927 bool %out% = __result;
1926 bool %out% = __result;
1928 </conversion-rule>
1927 </conversion-rule>
1929 </modify-argument>
1928 </modify-argument>
1930 </modify-function>
1929 </modify-function>
1931 <modify-function signature="operator&gt;&gt;(unsigned char &amp;)">
1930 <modify-function signature="operator&gt;&gt;(unsigned char &amp;)">
1932 <rename to="readByte"/>
1931 <rename to="readByte"/>
1933 <modify-argument index="1">
1932 <modify-argument index="1">
1934 <remove-argument/>
1933 <remove-argument/>
1935 <conversion-rule class="native">
1934 <conversion-rule class="native">
1936 unsigned char __result;
1935 unsigned char __result;
1937 unsigned char &amp; %out% = __result;
1936 unsigned char &amp; %out% = __result;
1938 </conversion-rule>
1937 </conversion-rule>
1939 </modify-argument>
1938 </modify-argument>
1940 <modify-argument index="0" replace-value="void">
1939 <modify-argument index="0" replace-value="void">
1941 <conversion-rule class="native">
1940 <conversion-rule class="native">
1942 int %out% = __result;
1941 int %out% = __result;
1943 </conversion-rule>
1942 </conversion-rule>
1944 </modify-argument>
1943 </modify-argument>
1945 </modify-function>
1944 </modify-function>
1946 <modify-function signature="operator&gt;&gt;(int &amp;)">
1945 <modify-function signature="operator&gt;&gt;(int &amp;)">
1947 <rename to="readInt"/>
1946 <rename to="readInt"/>
1948 <modify-argument index="1">
1947 <modify-argument index="1">
1949 <remove-argument/>
1948 <remove-argument/>
1950 <conversion-rule class="native">
1949 <conversion-rule class="native">
1951 int __result;
1950 int __result;
1952 int &amp; %out% = __result;
1951 int &amp; %out% = __result;
1953 </conversion-rule>
1952 </conversion-rule>
1954 </modify-argument>
1953 </modify-argument>
1955 <modify-argument index="0" replace-value="void">
1954 <modify-argument index="0" replace-value="void">
1956 <conversion-rule class="native">
1955 <conversion-rule class="native">
1957 int %out% = __result;
1956 int %out% = __result;
1958 </conversion-rule>
1957 </conversion-rule>
1959 </modify-argument>
1958 </modify-argument>
1960 </modify-function>
1959 </modify-function>
1961 <modify-function signature="operator&gt;&gt;(uint &amp;)">
1960 <modify-function signature="operator&gt;&gt;(uint &amp;)">
1962 <rename to="readUInt"/>
1961 <rename to="readUInt"/>
1963 <modify-argument index="1">
1962 <modify-argument index="1">
1964 <remove-argument/>
1963 <remove-argument/>
1965 <conversion-rule class="native">
1964 <conversion-rule class="native">
1966 uint __result;
1965 uint __result;
1967 uint &amp; %out% = __result;
1966 uint &amp; %out% = __result;
1968 </conversion-rule>
1967 </conversion-rule>
1969 </modify-argument>
1968 </modify-argument>
1970 <modify-argument index="0" replace-value="void">
1969 <modify-argument index="0" replace-value="void">
1971 <conversion-rule class="native">
1970 <conversion-rule class="native">
1972 uint %out% = __result;
1971 uint %out% = __result;
1973 </conversion-rule>
1972 </conversion-rule>
1974 </modify-argument>
1973 </modify-argument>
1975 </modify-function>
1974 </modify-function>
1976 <modify-function signature="operator&gt;&gt;(qint64 &amp;)">
1975 <modify-function signature="operator&gt;&gt;(qint64 &amp;)">
1977 <rename to="readLongLong"/>
1976 <rename to="readLongLong"/>
1978 <modify-argument index="1">
1977 <modify-argument index="1">
1979 <remove-argument/>
1978 <remove-argument/>
1980 <conversion-rule class="native">
1979 <conversion-rule class="native">
1981 qint64 __result;
1980 qint64 __result;
1982 qint64 &amp; %out% = __result;
1981 qint64 &amp; %out% = __result;
1983 </conversion-rule>
1982 </conversion-rule>
1984 </modify-argument>
1983 </modify-argument>
1985 <modify-argument index="0" replace-value="void">
1984 <modify-argument index="0" replace-value="void">
1986 <conversion-rule class="native">
1985 <conversion-rule class="native">
1987 qint64 %out% = __result;
1986 qint64 %out% = __result;
1988 </conversion-rule>
1987 </conversion-rule>
1989 </modify-argument>
1988 </modify-argument>
1990 </modify-function>
1989 </modify-function>
1991 <modify-function signature="operator&gt;&gt;(unsigned long long &amp;)">
1990 <modify-function signature="operator&gt;&gt;(unsigned long long &amp;)">
1992 <rename to="readULongLong"/>
1991 <rename to="readULongLong"/>
1993 <modify-argument index="1">
1992 <modify-argument index="1">
1994 <remove-argument/>
1993 <remove-argument/>
1995 <conversion-rule class="native">
1994 <conversion-rule class="native">
1996 unsigned long long __result;
1995 unsigned long long __result;
1997 unsigned long long &amp; %out% = __result;
1996 unsigned long long &amp; %out% = __result;
1998 </conversion-rule>
1997 </conversion-rule>
1999 </modify-argument>
1998 </modify-argument>
2000 <modify-argument index="0" replace-value="void">
1999 <modify-argument index="0" replace-value="void">
2001 <conversion-rule class="native">
2000 <conversion-rule class="native">
2002 unsigned long long %out% = __result;
2001 unsigned long long %out% = __result;
2003 </conversion-rule>
2002 </conversion-rule>
2004 </modify-argument>
2003 </modify-argument>
2005 </modify-function>
2004 </modify-function>
2006 <modify-function signature="operator&gt;&gt;(float &amp;)">
2005 <modify-function signature="operator&gt;&gt;(float &amp;)">
2007 <rename to="readFloat"/>
2006 <rename to="readFloat"/>
2008 <modify-argument index="1">
2007 <modify-argument index="1">
2009 <remove-argument/>
2008 <remove-argument/>
2010 <conversion-rule class="native">
2009 <conversion-rule class="native">
2011 float __result;
2010 float __result;
2012 float &amp; %out% = __result;
2011 float &amp; %out% = __result;
2013 </conversion-rule>
2012 </conversion-rule>
2014 </modify-argument>
2013 </modify-argument>
2015 <modify-argument index="0" replace-value="void">
2014 <modify-argument index="0" replace-value="void">
2016 <conversion-rule class="native">
2015 <conversion-rule class="native">
2017 float %out% = __result;
2016 float %out% = __result;
2018 </conversion-rule>
2017 </conversion-rule>
2019 </modify-argument>
2018 </modify-argument>
2020 </modify-function>
2019 </modify-function>
2021 <modify-function signature="operator&gt;&gt;(double &amp;)">
2020 <modify-function signature="operator&gt;&gt;(double &amp;)">
2022 <rename to="readDouble"/>
2021 <rename to="readDouble"/>
2023 <modify-argument index="1">
2022 <modify-argument index="1">
2024 <remove-argument/>
2023 <remove-argument/>
2025 <conversion-rule class="native">
2024 <conversion-rule class="native">
2026 double __result;
2025 double __result;
2027 double &amp; %out% = __result;
2026 double &amp; %out% = __result;
2028 </conversion-rule>
2027 </conversion-rule>
2029 </modify-argument>
2028 </modify-argument>
2030 <modify-argument index="0" replace-value="void">
2029 <modify-argument index="0" replace-value="void">
2031 <conversion-rule class="native">
2030 <conversion-rule class="native">
2032 double %out% = __result;
2031 double %out% = __result;
2033 </conversion-rule>
2032 </conversion-rule>
2034 </modify-argument>
2033 </modify-argument>
2035 </modify-function>
2034 </modify-function>
2036 <modify-function signature="operator&gt;&gt;(short &amp;)">
2035 <modify-function signature="operator&gt;&gt;(short &amp;)">
2037 <rename to="readShort"/>
2036 <rename to="readShort"/>
2038 <modify-argument index="1">
2037 <modify-argument index="1">
2039 <remove-argument/>
2038 <remove-argument/>
2040 <conversion-rule class="native">
2039 <conversion-rule class="native">
2041 short __result;
2040 short __result;
2042 short &amp; %out% = __result;
2041 short &amp; %out% = __result;
2043 </conversion-rule>
2042 </conversion-rule>
2044 </modify-argument>
2043 </modify-argument>
2045 <modify-argument index="0" replace-value="void">
2044 <modify-argument index="0" replace-value="void">
2046 <conversion-rule class="native">
2045 <conversion-rule class="native">
2047 short %out% = __result;
2046 short %out% = __result;
2048 </conversion-rule>
2047 </conversion-rule>
2049 </modify-argument>
2048 </modify-argument>
2050 </modify-function>
2049 </modify-function>
2051 <modify-function signature="operator&gt;&gt;(unsigned short &amp;)">
2050 <modify-function signature="operator&gt;&gt;(unsigned short &amp;)">
2052 <rename to="readUShort"/>
2051 <rename to="readUShort"/>
2053 <modify-argument index="1">
2052 <modify-argument index="1">
2054 <remove-argument/>
2053 <remove-argument/>
2055 <conversion-rule class="native">
2054 <conversion-rule class="native">
2056 unsigned short __result;
2055 unsigned short __result;
2057 unsigned short &amp; %out% = __result;
2056 unsigned short &amp; %out% = __result;
2058 </conversion-rule>
2057 </conversion-rule>
2059 </modify-argument>
2058 </modify-argument>
2060 <modify-argument index="0" replace-value="void">
2059 <modify-argument index="0" replace-value="void">
2061 <conversion-rule class="native">
2060 <conversion-rule class="native">
2062 unsigned short %out% = __result;
2061 unsigned short %out% = __result;
2063 </conversion-rule>
2062 </conversion-rule>
2064 </modify-argument>
2063 </modify-argument>
2065 </modify-function>
2064 </modify-function>
2066 </object-type>
2065 </object-type>
2067
2066
2068 <object-type name="QFSFileEngine">
2067 <object-type name="QFSFileEngine">
2069 <extra-includes>
2068 <extra-includes>
2070 <include file-name="QDateTime" location="global"/>
2069 <include file-name="QDateTime" location="global"/>
2071 </extra-includes>
2070 </extra-includes>
2072 </object-type>
2071 </object-type>
2073
2072
2074 <object-type name="QTextStream">
2073 <object-type name="QTextStream">
2075 <modify-function signature="QTextStream(QByteArray *, QFlags&lt;QIODevice::OpenModeFlag&gt;)">
2074 <modify-function signature="QTextStream(QByteArray *, QFlags&lt;QIODevice::OpenModeFlag&gt;)">
2076 <remove/>
2075 <remove/>
2077 </modify-function>
2076 </modify-function>
2078 <modify-function signature="QTextStream(QString*,QFlags&lt;QIODevice::OpenModeFlag&gt;)">
2077 <modify-function signature="QTextStream(QString*,QFlags&lt;QIODevice::OpenModeFlag&gt;)">
2079 <remove/>
2078 <remove/>
2080 </modify-function>
2079 </modify-function>
2081 <modify-function signature="operator&gt;&gt;(QChar&amp;)">
2080 <modify-function signature="operator&gt;&gt;(QChar&amp;)">
2082 <remove/>
2081 <remove/>
2083 </modify-function>
2082 </modify-function>
2084 <modify-function signature="operator&lt;&lt;(const void*)">
2083 <modify-function signature="operator&lt;&lt;(const void*)">
2085 <remove/>
2084 <remove/>
2086 </modify-function>
2085 </modify-function>
2087 <modify-function signature="operator&lt;&lt;(unsigned int)">
2086 <modify-function signature="operator&lt;&lt;(unsigned int)">
2088 <remove/>
2087 <remove/>
2089 </modify-function>
2088 </modify-function>
2090 <modify-function signature="operator&lt;&lt;(unsigned long long)">
2089 <modify-function signature="operator&lt;&lt;(unsigned long long)">
2091 <remove/>
2090 <remove/>
2092 </modify-function>
2091 </modify-function>
2093 <modify-function signature="operator&lt;&lt;(const QChar &amp;)">
2092 <modify-function signature="operator&lt;&lt;(const QChar &amp;)">
2094 <remove/>
2093 <remove/>
2095 </modify-function>
2094 </modify-function>
2096 <modify-function signature="operator&lt;&lt;(unsigned long)">
2095 <modify-function signature="operator&lt;&lt;(unsigned long)">
2097 <remove/>
2096 <remove/>
2098 </modify-function>
2097 </modify-function>
2099 <modify-function signature="operator&lt;&lt;(signed long)">
2098 <modify-function signature="operator&lt;&lt;(signed long)">
2100 <remove/>
2099 <remove/>
2101 </modify-function>
2100 </modify-function>
2102 <modify-function signature="operator&lt;&lt;(const char*)">
2101 <modify-function signature="operator&lt;&lt;(const char*)">
2103 <remove/>
2102 <remove/>
2104 </modify-function>
2103 </modify-function>
2105 <modify-function signature="operator&lt;&lt;(unsigned short)">
2104 <modify-function signature="operator&lt;&lt;(unsigned short)">
2106 <remove/>
2105 <remove/>
2107 </modify-function>
2106 </modify-function>
2108 <modify-function signature="operator&lt;&lt;(const QByteArray&amp;)">
2107 <modify-function signature="operator&lt;&lt;(const QByteArray&amp;)">
2109 <remove/>
2108 <remove/>
2110 </modify-function>
2109 </modify-function>
2111 <modify-function signature="operator&gt;&gt;(unsigned long long&amp;)">
2110 <modify-function signature="operator&gt;&gt;(unsigned long long&amp;)">
2112 <remove/>
2111 <remove/>
2113 </modify-function>
2112 </modify-function>
2114 <modify-function signature="operator&gt;&gt;(uint&amp;)">
2113 <modify-function signature="operator&gt;&gt;(uint&amp;)">
2115 <remove/>
2114 <remove/>
2116 </modify-function>
2115 </modify-function>
2117 <modify-function signature="operator&gt;&gt;(ulong&amp;)">
2116 <modify-function signature="operator&gt;&gt;(ulong&amp;)">
2118 <remove/>
2117 <remove/>
2119 </modify-function>
2118 </modify-function>
2120 <modify-function signature="setString(QString*,QFlags&lt;QIODevice::OpenModeFlag&gt;)">
2119 <modify-function signature="setString(QString*,QFlags&lt;QIODevice::OpenModeFlag&gt;)">
2121 <remove/>
2120 <remove/>
2122 </modify-function>
2121 </modify-function>
2123 <modify-function signature="string()const">
2122 <modify-function signature="string()const">
2124 <remove/>
2123 <remove/>
2125 </modify-function>
2124 </modify-function>
2126 <modify-function signature="operator&gt;&gt;(signed long&amp;)">
2125 <modify-function signature="operator&gt;&gt;(signed long&amp;)">
2127 <remove/>
2126 <remove/>
2128 </modify-function>
2127 </modify-function>
2129 <modify-function signature="operator&gt;&gt;(char*)">
2128 <modify-function signature="operator&gt;&gt;(char*)">
2130 <remove/>
2129 <remove/>
2131 </modify-function>
2130 </modify-function>
2132 <modify-function signature="operator&gt;&gt;(QByteArray&amp;)">
2131 <modify-function signature="operator&gt;&gt;(QByteArray&amp;)">
2133 <remove/>
2132 <remove/>
2134 </modify-function>
2133 </modify-function>
2135 <modify-function signature="operator&gt;&gt;(QString&amp;)">
2134 <modify-function signature="operator&gt;&gt;(QString&amp;)">
2136 <remove/>
2135 <remove/>
2137 </modify-function>
2136 </modify-function>
2138 <modify-function signature="operator&gt;&gt;(unsigned short&amp;)">
2137 <modify-function signature="operator&gt;&gt;(unsigned short&amp;)">
2139 <remove/>
2138 <remove/>
2140 </modify-function>
2139 </modify-function>
2141 <modify-function signature="operator&lt;&lt;(const QString&amp;)">
2140 <modify-function signature="operator&lt;&lt;(const QString&amp;)">
2142 <remove/>
2141 <remove/>
2143 </modify-function>
2142 </modify-function>
2144
2143
2145
2144
2146 <modify-function signature="setCodec(QTextCodec *)">
2145 <modify-function signature="setCodec(QTextCodec *)">
2147 <modify-argument index="1">
2146 <modify-argument index="1">
2148 <reference-count action="set" variable-name="__rcCodec"/>
2147 <reference-count action="set" variable-name="__rcCodec"/>
2149 </modify-argument>
2148 </modify-argument>
2150 </modify-function>
2149 </modify-function>
2151
2150
2152 <modify-function signature="QTextStream(QIODevice *)">
2151 <modify-function signature="QTextStream(QIODevice *)">
2153 <modify-argument index="1">
2152 <modify-argument index="1">
2154 <reference-count action="set" variable-name="__rcDevice"/>
2153 <reference-count action="set" variable-name="__rcDevice"/>
2155 </modify-argument>
2154 </modify-argument>
2156 </modify-function>
2155 </modify-function>
2157 <modify-function signature="setDevice(QIODevice *)">
2156 <modify-function signature="setDevice(QIODevice *)">
2158 <modify-argument index="1">
2157 <modify-argument index="1">
2159 <reference-count action="set" variable-name="__rcDevice"/>
2158 <reference-count action="set" variable-name="__rcDevice"/>
2160 </modify-argument>
2159 </modify-argument>
2161 </modify-function>
2160 </modify-function>
2162
2161
2163 <modify-function signature="setCodec(const char *)">
2162 <modify-function signature="setCodec(const char *)">
2164 <modify-argument index="1">
2163 <modify-argument index="1">
2165 <replace-type modified-type="QString"/>
2164 <replace-type modified-type="QString"/>
2166 <conversion-rule class="native">
2165 <conversion-rule class="native">
2167 <insert-template name="core.convert_string_arg_to_char*"/>
2166 <insert-template name="core.convert_string_arg_to_char*"/>
2168 </conversion-rule>
2167 </conversion-rule>
2169 </modify-argument>
2168 </modify-argument>
2170 </modify-function>
2169 </modify-function>
2171
2170
2172 <modify-function signature="operator&lt;&lt;(QBool)">
2171 <modify-function signature="operator&lt;&lt;(QBool)">
2173 <rename to="writeBoolean"/>
2172 <rename to="writeBoolean"/>
2174 <modify-argument index="0" replace-value="this"/>
2173 <modify-argument index="0" replace-value="this"/>
2175 </modify-function>
2174 </modify-function>
2176 <modify-function signature="operator&lt;&lt;(char)">
2175 <modify-function signature="operator&lt;&lt;(char)">
2177 <modify-argument index="0" replace-value="this"/>
2176 <modify-argument index="0" replace-value="this"/>
2178 <rename to="writeByte"/>
2177 <rename to="writeByte"/>
2179 </modify-function>
2178 </modify-function>
2180 <modify-function signature="operator&lt;&lt;(signed int)">
2179 <modify-function signature="operator&lt;&lt;(signed int)">
2181 <rename to="writeInt"/>
2180 <rename to="writeInt"/>
2182 <modify-argument index="0" replace-value="this"/>
2181 <modify-argument index="0" replace-value="this"/>
2183 </modify-function>
2182 </modify-function>
2184 <modify-function signature="operator&lt;&lt;(qlonglong)">
2183 <modify-function signature="operator&lt;&lt;(qlonglong)">
2185 <rename to="writeLongLong"/>
2184 <rename to="writeLongLong"/>
2186 <modify-argument index="0" replace-value="this"/>
2185 <modify-argument index="0" replace-value="this"/>
2187 </modify-function>
2186 </modify-function>
2188 <modify-function signature="operator&lt;&lt;(float)">
2187 <modify-function signature="operator&lt;&lt;(float)">
2189 <rename to="writeFloat"/>
2188 <rename to="writeFloat"/>
2190 <modify-argument index="0" replace-value="this"/>
2189 <modify-argument index="0" replace-value="this"/>
2191 </modify-function>
2190 </modify-function>
2192 <modify-function signature="operator&lt;&lt;(double)">
2191 <modify-function signature="operator&lt;&lt;(double)">
2193 <rename to="writeDouble"/>
2192 <rename to="writeDouble"/>
2194 <modify-argument index="0" replace-value="this"/>
2193 <modify-argument index="0" replace-value="this"/>
2195 </modify-function>
2194 </modify-function>
2196 <modify-function signature="operator&lt;&lt;(signed short)">
2195 <modify-function signature="operator&lt;&lt;(signed short)">
2197 <rename to="writeShort"/>
2196 <rename to="writeShort"/>
2198 <modify-argument index="0" replace-value="this"/>
2197 <modify-argument index="0" replace-value="this"/>
2199 </modify-function>
2198 </modify-function>
2200 <modify-function signature="operator&lt;&lt;(const QByteArray&amp;)">
2199 <modify-function signature="operator&lt;&lt;(const QByteArray&amp;)">
2201 <rename to="writeByteArray"/>
2200 <rename to="writeByteArray"/>
2202 <modify-argument index="0" replace-value="this"/>
2201 <modify-argument index="0" replace-value="this"/>
2203 </modify-function>
2202 </modify-function>
2204 <modify-function signature="operator&lt;&lt;(const QString&amp;)">
2203 <modify-function signature="operator&lt;&lt;(const QString&amp;)">
2205 <rename to="writeString"/>
2204 <rename to="writeString"/>
2206 <modify-argument index="0" replace-value="this"/>
2205 <modify-argument index="0" replace-value="this"/>
2207 </modify-function>
2206 </modify-function>
2208
2207
2209 <modify-function signature="operator&gt;&gt;(char&amp;)">
2208 <modify-function signature="operator&gt;&gt;(char&amp;)">
2210 <rename to="readByte"/>
2209 <rename to="readByte"/>
2211 <modify-argument index="1">
2210 <modify-argument index="1">
2212 <remove-argument/>
2211 <remove-argument/>
2213 <conversion-rule class="native">
2212 <conversion-rule class="native">
2214 char __result;
2213 char __result;
2215 char &amp; %out% = __result;
2214 char &amp; %out% = __result;
2216 </conversion-rule>
2215 </conversion-rule>
2217 </modify-argument>
2216 </modify-argument>
2218 <modify-argument index="0" replace-value="void">
2217 <modify-argument index="0" replace-value="void">
2219 <conversion-rule class="native">
2218 <conversion-rule class="native">
2220 int %out% = __result;
2219 int %out% = __result;
2221 </conversion-rule>
2220 </conversion-rule>
2222 </modify-argument>
2221 </modify-argument>
2223 </modify-function>
2222 </modify-function>
2224 <modify-function signature="operator&gt;&gt;(signed short&amp;)">
2223 <modify-function signature="operator&gt;&gt;(signed short&amp;)">
2225 <rename to="readShort"/>
2224 <rename to="readShort"/>
2226 <modify-argument index="1">
2225 <modify-argument index="1">
2227 <remove-argument/>
2226 <remove-argument/>
2228 <conversion-rule class="native">
2227 <conversion-rule class="native">
2229 short __result;
2228 short __result;
2230 short &amp; %out% = __result;
2229 short &amp; %out% = __result;
2231 </conversion-rule>
2230 </conversion-rule>
2232 </modify-argument>
2231 </modify-argument>
2233 <modify-argument index="0" replace-value="void">
2232 <modify-argument index="0" replace-value="void">
2234 <conversion-rule class="native">
2233 <conversion-rule class="native">
2235 short %out% = __result;
2234 short %out% = __result;
2236 </conversion-rule>
2235 </conversion-rule>
2237 </modify-argument>
2236 </modify-argument>
2238 </modify-function>
2237 </modify-function>
2239 <modify-function signature="operator&gt;&gt;(signed int&amp;)">
2238 <modify-function signature="operator&gt;&gt;(signed int&amp;)">
2240 <rename to="readInt"/>
2239 <rename to="readInt"/>
2241 <modify-argument index="1">
2240 <modify-argument index="1">
2242 <remove-argument/>
2241 <remove-argument/>
2243 <conversion-rule class="native">
2242 <conversion-rule class="native">
2244 int __result;
2243 int __result;
2245 int &amp; %out% = __result;
2244 int &amp; %out% = __result;
2246 </conversion-rule>
2245 </conversion-rule>
2247 </modify-argument>
2246 </modify-argument>
2248 <modify-argument index="0" replace-value="void">
2247 <modify-argument index="0" replace-value="void">
2249 <conversion-rule class="native">
2248 <conversion-rule class="native">
2250 int %out% = __result;
2249 int %out% = __result;
2251 </conversion-rule>
2250 </conversion-rule>
2252 </modify-argument>
2251 </modify-argument>
2253 </modify-function>
2252 </modify-function>
2254 <modify-function signature="operator&gt;&gt;(unsigned short&amp;)">
2253 <modify-function signature="operator&gt;&gt;(unsigned short&amp;)">
2255 <rename to="readUShort"/>
2254 <rename to="readUShort"/>
2256 <modify-argument index="1">
2255 <modify-argument index="1">
2257 <remove-argument/>
2256 <remove-argument/>
2258 <conversion-rule class="native">
2257 <conversion-rule class="native">
2259 unsigned short __result;
2258 unsigned short __result;
2260 unsigned short &amp; %out% = __result;
2259 unsigned short &amp; %out% = __result;
2261 </conversion-rule>
2260 </conversion-rule>
2262 </modify-argument>
2261 </modify-argument>
2263 <modify-argument index="0" replace-value="void">
2262 <modify-argument index="0" replace-value="void">
2264 <conversion-rule class="native">
2263 <conversion-rule class="native">
2265 unsigned short %out% = __result;
2264 unsigned short %out% = __result;
2266 </conversion-rule>
2265 </conversion-rule>
2267 </modify-argument>
2266 </modify-argument>
2268 </modify-function>
2267 </modify-function>
2269 <modify-function signature="operator&gt;&gt;(unsigned int&amp;)">
2268 <modify-function signature="operator&gt;&gt;(unsigned int&amp;)">
2270 <rename to="readUInt"/>
2269 <rename to="readUInt"/>
2271 <modify-argument index="1">
2270 <modify-argument index="1">
2272 <remove-argument/>
2271 <remove-argument/>
2273 <conversion-rule class="native">
2272 <conversion-rule class="native">
2274 unsigned int __result;
2273 unsigned int __result;
2275 unsigned int &amp; %out% = __result;
2274 unsigned int &amp; %out% = __result;
2276 </conversion-rule>
2275 </conversion-rule>
2277 </modify-argument>
2276 </modify-argument>
2278 <modify-argument index="0" replace-value="void">
2277 <modify-argument index="0" replace-value="void">
2279 <conversion-rule class="native">
2278 <conversion-rule class="native">
2280 unsigned int %out% = __result;
2279 unsigned int %out% = __result;
2281 </conversion-rule>
2280 </conversion-rule>
2282 </modify-argument>
2281 </modify-argument>
2283 </modify-function>
2282 </modify-function>
2284 <modify-function signature="operator&gt;&gt;(qlonglong&amp;)">
2283 <modify-function signature="operator&gt;&gt;(qlonglong&amp;)">
2285 <rename to="readLongLong"/>
2284 <rename to="readLongLong"/>
2286 <modify-argument index="1">
2285 <modify-argument index="1">
2287 <remove-argument/>
2286 <remove-argument/>
2288 <conversion-rule class="native">
2287 <conversion-rule class="native">
2289 qlonglong __result;
2288 qlonglong __result;
2290 qlonglong &amp; %out% = __result;
2289 qlonglong &amp; %out% = __result;
2291 </conversion-rule>
2290 </conversion-rule>
2292 </modify-argument>
2291 </modify-argument>
2293 <modify-argument index="0" replace-value="void">
2292 <modify-argument index="0" replace-value="void">
2294 <conversion-rule class="native">
2293 <conversion-rule class="native">
2295 qlonglong %out% = __result;
2294 qlonglong %out% = __result;
2296 </conversion-rule>
2295 </conversion-rule>
2297 </modify-argument>
2296 </modify-argument>
2298 </modify-function>
2297 </modify-function>
2299 <modify-function signature="operator&gt;&gt;(qulonglong&amp;)">
2298 <modify-function signature="operator&gt;&gt;(qulonglong&amp;)">
2300 <rename to="readULongLong"/>
2299 <rename to="readULongLong"/>
2301 <modify-argument index="1">
2300 <modify-argument index="1">
2302 <remove-argument/>
2301 <remove-argument/>
2303 <conversion-rule class="native">
2302 <conversion-rule class="native">
2304 qulonglong __result;
2303 qulonglong __result;
2305 qulonglong &amp; %out% = __result;
2304 qulonglong &amp; %out% = __result;
2306 </conversion-rule>
2305 </conversion-rule>
2307 </modify-argument>
2306 </modify-argument>
2308 <modify-argument index="0" replace-value="void">
2307 <modify-argument index="0" replace-value="void">
2309 <conversion-rule class="native">
2308 <conversion-rule class="native">
2310 qulonglong %out% = __result;
2309 qulonglong %out% = __result;
2311 </conversion-rule>
2310 </conversion-rule>
2312 </modify-argument>
2311 </modify-argument>
2313 </modify-function>
2312 </modify-function>
2314 <modify-function signature="operator&gt;&gt;(float&amp;)">
2313 <modify-function signature="operator&gt;&gt;(float&amp;)">
2315 <rename to="readFloat"/>
2314 <rename to="readFloat"/>
2316 <modify-argument index="1">
2315 <modify-argument index="1">
2317 <remove-argument/>
2316 <remove-argument/>
2318 <conversion-rule class="native">
2317 <conversion-rule class="native">
2319 float __result;
2318 float __result;
2320 float &amp; %out% = __result;
2319 float &amp; %out% = __result;
2321 </conversion-rule>
2320 </conversion-rule>
2322 </modify-argument>
2321 </modify-argument>
2323 <modify-argument index="0" replace-value="void">
2322 <modify-argument index="0" replace-value="void">
2324 <conversion-rule class="native">
2323 <conversion-rule class="native">
2325 float %out% = __result;
2324 float %out% = __result;
2326 </conversion-rule>
2325 </conversion-rule>
2327 </modify-argument>
2326 </modify-argument>
2328 </modify-function>
2327 </modify-function>
2329 <modify-function signature="operator&gt;&gt;(double&amp;)">
2328 <modify-function signature="operator&gt;&gt;(double&amp;)">
2330 <rename to="readDouble"/>
2329 <rename to="readDouble"/>
2331 <modify-argument index="1">
2330 <modify-argument index="1">
2332 <remove-argument/>
2331 <remove-argument/>
2333 <conversion-rule class="native">
2332 <conversion-rule class="native">
2334 double __result;
2333 double __result;
2335 double &amp; %out% = __result;
2334 double &amp; %out% = __result;
2336 </conversion-rule>
2335 </conversion-rule>
2337 </modify-argument>
2336 </modify-argument>
2338 <modify-argument index="0" replace-value="void">
2337 <modify-argument index="0" replace-value="void">
2339 <conversion-rule class="native">
2338 <conversion-rule class="native">
2340 double %out% = __result;
2339 double %out% = __result;
2341 </conversion-rule>
2340 </conversion-rule>
2342 </modify-argument>
2341 </modify-argument>
2343 </modify-function>
2342 </modify-function>
2344
2343
2345 <modify-function signature="operator&lt;&lt;(qulonglong)" remove="all"/>
2344 <modify-function signature="operator&lt;&lt;(qulonglong)" remove="all"/>
2346 <modify-function signature="operator&gt;&gt;(qulonglong&amp;)" remove="all"/>
2345 <modify-function signature="operator&gt;&gt;(qulonglong&amp;)" remove="all"/>
2347 </object-type>
2346 </object-type>
2348
2347
2349 <object-type name="QSystemSemaphore"/>
2348 <object-type name="QSystemSemaphore"/>
2350
2349
2351 <namespace-type name="QtConcurrent" target-type="class">
2350 <namespace-type name="QtConcurrent" target-type="class">
2352 <extra-includes>
2351 <extra-includes>
2353 <include file-name="qtconcurrentreducekernel.h" location="global"/>
2352 <include file-name="qtconcurrentreducekernel.h" location="global"/>
2354 <include file-name="qtconcurrentthreadengine.h" location="global"/>
2353 <include file-name="qtconcurrentthreadengine.h" location="global"/>
2355 </extra-includes>
2354 </extra-includes>
2356 </namespace-type>
2355 </namespace-type>
2357
2356
2358 <value-type name="QFuture" generate="no">
2357 <value-type name="QFuture" generate="no">
2359 <modify-function signature="operator T() const" remove="all"/>
2358 <modify-function signature="operator T() const" remove="all"/>
2360 <modify-function signature="operator=(const QFuture &amp;)" remove="all"/>
2359 <modify-function signature="operator=(const QFuture &amp;)" remove="all"/>
2361 </value-type>
2360 </value-type>
2362 <value-type name="QtJambiVoidFuture" java-name="QFutureVoid">
2361 <value-type name="QtJambiVoidFuture" java-name="QFutureVoid">
2363 <modify-function signature="resultCount()const" remove="all"/>
2362 <modify-function signature="resultCount()const" remove="all"/>
2364 <modify-function signature="isResultReadyAt(int)const" remove="all"/>
2363 <modify-function signature="isResultReadyAt(int)const" remove="all"/>
2365 </value-type>
2364 </value-type>
2366 <value-type name="QtJambiFuture" java-name="QFuture" generic-class="yes"/>
2365 <value-type name="QtJambiFuture" java-name="QFuture" generic-class="yes"/>
2367
2366
2368 <object-type name="QFutureWatcherBase">
2367 <object-type name="QFutureWatcherBase">
2369 <modify-function signature="connectNotify(const char *)" remove="all"/>
2368 <modify-function signature="connectNotify(const char *)" remove="all"/>
2370 <modify-function signature="disconnectNotify(const char *)" remove="all"/>
2369 <modify-function signature="disconnectNotify(const char *)" remove="all"/>
2371 </object-type>
2370 </object-type>
2372 <object-type name="QtJambiVoidFutureWatcher" java-name="QFutureWatcherVoid"/>
2371 <object-type name="QtJambiVoidFutureWatcher" java-name="QFutureWatcherVoid"/>
2373
2372
2374 <object-type name="QFutureWatcher" generate="no">
2373 <object-type name="QFutureWatcher" generate="no">
2375 <modify-function signature="future()const" remove="all"/>
2374 <modify-function signature="future()const" remove="all"/>
2376 </object-type>
2375 </object-type>
2377 <object-type name="QtJambiFutureWatcher" java-name="QFutureWatcher" generic-class="yes"/>
2376 <object-type name="QtJambiFutureWatcher" java-name="QFutureWatcher" generic-class="yes"/>
2378
2377
2379 <object-type name="QFutureSynchronizer" generate="no"/>
2378 <object-type name="QFutureSynchronizer" generate="no"/>
2380 <object-type name="QtJambiFutureSynchronizer" generic-class="yes" java-name="QFutureSynchronizer"/>
2379 <object-type name="QtJambiFutureSynchronizer" generic-class="yes" java-name="QFutureSynchronizer"/>
2381 <object-type name="QtJambiVoidFutureSynchronizer" java-name="QFutureSynchronizerVoid"/>
2380 <object-type name="QtJambiVoidFutureSynchronizer" java-name="QFutureSynchronizerVoid"/>
2382 <object-type name="QThreadPool"/>
2381 <object-type name="QThreadPool"/>
2383
2382
2384 <object-type name="QFutureIterator" generate="no">
2383 <object-type name="QFutureIterator" generate="no">
2385 <modify-function signature="operator=(const QFuture&amp;)" remove="all"/>
2384 <modify-function signature="operator=(const QFuture&amp;)" remove="all"/>
2386 </object-type>
2385 </object-type>
2387 <object-type name="QtJambiFutureIterator" generic-class="yes" java-name="QFutureIterator"/>
2386 <object-type name="QtJambiFutureIterator" generic-class="yes" java-name="QFutureIterator"/>
2388 <object-type name="QRunnable"/>
2387 <object-type name="QRunnable"/>
2389
2388
2390 <object-type name="QSysInfo"/>
2389 <object-type name="QSysInfo"/>
2391 <object-type name="QLibrary"/>
2390 <object-type name="QLibrary"/>
2392 <object-type name="QResource"/>
2391 <object-type name="QResource"/>
2393 <object-type name="QSharedMemory"/>
2392 <object-type name="QSharedMemory"/>
2394 <object-type name="QMetaObject"/>
2393 <object-type name="QMetaObject"/>
2395 <object-type name="QMetaMethod"/>
2394 <object-type name="QMetaMethod"/>
2396 <object-type name="QMetaEnum"/>
2395 <object-type name="QMetaEnum"/>
2397 <object-type name="QMetaProperty"/>
2396 <object-type name="QMetaProperty"/>
2398 <object-type name="QMetaClassInfo"/>
2397 <object-type name="QMetaClassInfo"/>
2399 <object-type name="QElapsedTimer"/>
2398 <object-type name="QElapsedTimer"/>
2400 <object-type name="QMetaType"/>
2399 <object-type name="QMetaType"/>
2401
2400
2402 <!-- Inefficient hash codes -->
2401 <!-- Inefficient hash codes -->
2403 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QUuid' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
2402 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QUuid' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
2404 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QLocale' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
2403 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QLocale' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
2405 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QFuture' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
2404 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QFuture' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
2406 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QRegExp' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
2405 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QRegExp' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
2407 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QFutureVoid' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
2406 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QFutureVoid' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
2408 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QUrl' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
2407 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QUrl' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
2409 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QProcessEnvironment' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
2408 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QProcessEnvironment' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
2410
2409
2411 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::selectIteration', unmatched parameter type 'T'"/>
2410 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::selectIteration', unmatched parameter type 'T'"/>
2412 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QVariantAnimation::registerInterpolator', unmatched parameter type 'QVariantAnimation::Interpolator'"/>
2411 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QVariantAnimation::registerInterpolator', unmatched parameter type 'QVariantAnimation::Interpolator'"/>
2413
2412
2414 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'Qt::Initialization'"/>
2413 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'Qt::Initialization'"/>
2415 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'std::*'"/>
2414 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'std::*'"/>
2416 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type '*Private\*'"/>
2415 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type '*Private\*'"/>
2417 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type '*Private&amp;'"/>
2416 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type '*Private&amp;'"/>
2418 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'FILE\*'"/>
2417 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'FILE\*'"/>
2419 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QByteArray::Data\*'"/>
2418 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QByteArray::Data\*'"/>
2420 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QTSMFC'"/>
2419 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QTSMFC'"/>
2421 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QTSMFI'"/>
2420 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QTSMFI'"/>
2422 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QAbstractFileEngine::ExtensionOption const\*'"/>
2421 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QAbstractFileEngine::ExtensionOption const\*'"/>
2423 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QAbstractFileEngine::Iterator\*'"/>
2422 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QAbstractFileEngine::Iterator\*'"/>
2424 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QDataStream::ByteOrder'"/>
2423 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QDataStream::ByteOrder'"/>
2425 <suppress-warning text="WARNING(MetaJavaBuilder) :: visibility of function '*' modified in class '*'"/>
2424 <suppress-warning text="WARNING(MetaJavaBuilder) :: visibility of function '*' modified in class '*'"/>
2426 <suppress-warning text="WARNING(MetaJavaBuilder) :: hiding of function '*' in class '*'"/>
2425 <suppress-warning text="WARNING(MetaJavaBuilder) :: hiding of function '*' in class '*'"/>
2427 <suppress-warning text="WARNING(CppImplGenerator) :: protected function '*' in final class '*'"/>
2426 <suppress-warning text="WARNING(CppImplGenerator) :: protected function '*' in final class '*'"/>
2428 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QPointer&lt;*&gt;'"/>
2427 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QPointer&lt;*&gt;'"/>
2429 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QVector&lt;*&gt;'"/>
2428 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QVector&lt;*&gt;'"/>
2430 <suppress-warning text="* private virtual function '*' in 'QAbstractListModel'"/>
2429 <suppress-warning text="* private virtual function '*' in 'QAbstractListModel'"/>
2431 <suppress-warning text="* private virtual function '*' in 'QAbstractTableModel'"/>
2430 <suppress-warning text="* private virtual function '*' in 'QAbstractTableModel'"/>
2432 <suppress-warning text="* private virtual function '*' in 'QListWidget'"/>
2431 <suppress-warning text="* private virtual function '*' in 'QListWidget'"/>
2433 <suppress-warning text="* private virtual function '*' in 'QTreeWidget'"/>
2432 <suppress-warning text="* private virtual function '*' in 'QTreeWidget'"/>
2434 <suppress-warning text="* private virtual function '*' in 'QFontDialog'"/>
2433 <suppress-warning text="* private virtual function '*' in 'QFontDialog'"/>
2435 <suppress-warning text="* private virtual function '*' in 'QTableWidget'"/>
2434 <suppress-warning text="* private virtual function '*' in 'QTableWidget'"/>
2436 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QFutureWatcherBase::futureInterface', unmatched return type 'QFutureInterfaceBase&amp;'"/>
2435 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QFutureWatcherBase::futureInterface', unmatched return type 'QFutureInterfaceBase&amp;'"/>
2437 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QFutureWatcherBase::futureInterface', unmatched return type 'QFutureInterfaceBase const&amp;'"/>
2436 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QFutureWatcherBase::futureInterface', unmatched return type 'QFutureInterfaceBase const&amp;'"/>
2438 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QFutureWatcher::futureInterface', unmatched return type 'QFutureInterfaceBase&amp;'"/>
2437 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QFutureWatcher::futureInterface', unmatched return type 'QFutureInterfaceBase&amp;'"/>
2439 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QFutureWatcher::futureInterface', unmatched return type 'QFutureInterfaceBase const&amp;'"/>
2438 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QFutureWatcher::futureInterface', unmatched return type 'QFutureInterfaceBase const&amp;'"/>
2440 <suppress-warning text="WARNING(MetaJavaBuilder) :: unknown operator 'T'"/>
2439 <suppress-warning text="WARNING(MetaJavaBuilder) :: unknown operator 'T'"/>
2441 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QFuture::constBegin', unmatched return type 'const_iterator'"/>
2440 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QFuture::constBegin', unmatched return type 'const_iterator'"/>
2442 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QFuture::end', unmatched return type 'const_iterator'"/>
2441 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QFuture::end', unmatched return type 'const_iterator'"/>
2443 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QFuture::constEnd', unmatched return type 'const_iterator'"/>
2442 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QFuture::constEnd', unmatched return type 'const_iterator'"/>
2444 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QFuture::QFuture', unmatched parameter type 'QFutureInterface&lt;T&gt;*'"/>
2443 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QFuture::QFuture', unmatched parameter type 'QFutureInterface&lt;T&gt;*'"/>
2445 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QFuture::begin', unmatched return type 'const_iterator'"/>
2444 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QFuture::begin', unmatched return type 'const_iterator'"/>
2446 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::advance', unmatched parameter type 'It&amp;'"/>
2445 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::advance', unmatched parameter type 'It&amp;'"/>
2447 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingMapped', unmatched return type 'Sequence'"/>
2446 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingMapped', unmatched return type 'Sequence'"/>
2448 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingMapped', unmatched return type 'QList&lt;U&gt;'"/>
2447 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingMapped', unmatched return type 'QList&lt;U&gt;'"/>
2449 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingMapped', unmatched return type 'QList&lt;MapFunctor::result_type&gt;'"/>
2448 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingMapped', unmatched return type 'QList&lt;MapFunctor::result_type&gt;'"/>
2450 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingMapped', unmatched return type 'OutputSequence'"/>
2449 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingMapped', unmatched return type 'OutputSequence'"/>
2451 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::filtered', unmatched parameter type 'Iterator'"/>
2450 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::filtered', unmatched parameter type 'Iterator'"/>
2452 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::filtered', unmatched parameter type 'Sequence const&amp;'"/>
2451 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::filtered', unmatched parameter type 'Sequence const&amp;'"/>
2453 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::filter', unmatched parameter type 'Sequence&amp;'"/>
2452 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::filter', unmatched parameter type 'Sequence&amp;'"/>
2454 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::startFiltered', unmatched return type 'ThreadEngineStarter&lt;qValueType&lt;Iterator&gt;::value_type&gt;"/>
2453 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::startFiltered', unmatched return type 'ThreadEngineStarter&lt;qValueType&lt;Iterator&gt;::value_type&gt;"/>
2455 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::startFiltered', unmatched return type 'ThreadEngineStarter&lt;Sequence::value_type&gt;'"/>
2454 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::startFiltered', unmatched return type 'ThreadEngineStarter&lt;Sequence::value_type&gt;'"/>
2456 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::startFiltered', unmatched return type 'ThreadEngineStarter&lt;Iterator::value_type&gt;'"/>
2455 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::startFiltered', unmatched return type 'ThreadEngineStarter&lt;Iterator::value_type&gt;'"/>
2457 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingMappedReduced', unmatched return type 'V'"/>
2456 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingMappedReduced', unmatched return type 'V'"/>
2458 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingMappedReduced', unmatched return type 'W'"/>
2457 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingMappedReduced', unmatched return type 'W'"/>
2459 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingMappedReduced', unmatched return type 'ResultType'"/>
2458 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingMappedReduced', unmatched return type 'ResultType'"/>
2460 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingMappedReduced', unmatched return type 'U'"/>
2459 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingMappedReduced', unmatched return type 'U'"/>
2461 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingFiltered', unmatched return type 'OutputSequence'"/>
2460 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingFiltered', unmatched return type 'OutputSequence'"/>
2462 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingFiltered', unmatched return type 'Sequence'"/>
2461 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingFiltered', unmatched return type 'Sequence'"/>
2463 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::startMappedReduced', unmatched return type 'ThreadEngineStarter&lt;ResultType&gt;'"/>
2462 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::startMappedReduced', unmatched return type 'ThreadEngineStarter&lt;ResultType&gt;'"/>
2464 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingFilteredReduced', unmatched return type 'U'"/>
2463 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingFilteredReduced', unmatched return type 'U'"/>
2465 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingFilteredReduced', unmatched return type 'V'"/>
2464 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingFilteredReduced', unmatched return type 'V'"/>
2466 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingFilteredReduced', unmatched return type 'ResultType'"/>
2465 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingFilteredReduced', unmatched return type 'ResultType'"/>
2467 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::startMap', unmatched return type 'ThreadEngineStarter&lt;void&gt;'"/>
2466 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::startMap', unmatched return type 'ThreadEngineStarter&lt;void&gt;'"/>
2468 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::startThreadEngine', unmatched return type 'ThreadEngineStarter&lt;ThreadEngine::ResultType&gt;'"/>
2467 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::startThreadEngine', unmatched return type 'ThreadEngineStarter&lt;ThreadEngine::ResultType&gt;'"/>
2469 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::mappedReduced', unmatched parameter type 'Iterator'"/>
2468 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::mappedReduced', unmatched parameter type 'Iterator'"/>
2470 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::mappedReduced', unmatched parameter type 'Sequence const&amp;'"/>
2469 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::mappedReduced', unmatched parameter type 'Sequence const&amp;'"/>
2471 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::filteredReduced', unmatched parameter type 'Iterator'"/>
2470 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::filteredReduced', unmatched parameter type 'Iterator'"/>
2472 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::filteredReduced', unmatched parameter type 'Sequence const&amp;'"/>
2471 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::filteredReduced', unmatched parameter type 'Sequence const&amp;'"/>
2473 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::map', unmatched parameter type 'Iterator'"/>
2472 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::map', unmatched parameter type 'Iterator'"/>
2474 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::map', unmatched parameter type 'Sequence&amp;'"/>
2473 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::map', unmatched parameter type 'Sequence&amp;'"/>
2475 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::filterInternal', unmatched return type 'ThreadEngineStarter&lt;void&gt;'"/>
2474 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::filterInternal', unmatched return type 'ThreadEngineStarter&lt;void&gt;'"/>
2476 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::createFunctor', unmatched return type 'QtConcurrent::SelectMemberFunctor0lt;T,Class&gt;::type'"/>
2475 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::createFunctor', unmatched return type 'QtConcurrent::SelectMemberFunctor0lt;T,Class&gt;::type'"/>
2477 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::createFunctor', unmatched return type 'SelectFunctor0&lt;T,T&gt;::type'"/>
2476 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::createFunctor', unmatched return type 'SelectFunctor0&lt;T,T&gt;::type'"/>
2478 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::mapped', unmatched parameter type 'Iterator'"/>
2477 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::mapped', unmatched parameter type 'Iterator'"/>
2479 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::mapped', unmatched parameter type 'Sequence const&amp;'"/>
2478 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::mapped', unmatched parameter type 'Sequence const&amp;'"/>
2480 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingMap', unmatched parameter type 'Iterator'"/>
2479 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingMap', unmatched parameter type 'Iterator'"/>
2481 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingMap', unmatched parameter type 'Sequence&amp;'"/>
2480 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingMap', unmatched parameter type 'Sequence&amp;'"/>
2482 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::startMapped', unmatched return type 'QtConcurrent::ThreadEngineStarter&lt;T&gt;'"/>
2481 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::startMapped', unmatched return type 'QtConcurrent::ThreadEngineStarter&lt;T&gt;'"/>
2483 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::startFilteredReduced', unmatched return type 'ThreadEngineStarter&lt;ResultType&gt;'"/>
2482 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::startFilteredReduced', unmatched return type 'ThreadEngineStarter&lt;ResultType&gt;'"/>
2484 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::run', unmatched parameter type 'Class const*'"/>
2483 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::run', unmatched parameter type 'Class const*'"/>
2485 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::run', unmatched parameter type 'Class*'"/>
2484 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::run', unmatched parameter type 'Class*'"/>
2486 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::run', unmatched parameter type 'Class const&amp;'"/>
2485 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::run', unmatched parameter type 'Class const&amp;'"/>
2487 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::run', unmatched parameter type 'FunctionObject*'"/>
2486 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::run', unmatched parameter type 'FunctionObject*'"/>
2488 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::run', unmatched parameter type 'FunctionObject'"/>
2487 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::run', unmatched parameter type 'FunctionObject'"/>
2489 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::run', unmatched parameter type 'T'"/>
2488 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::run', unmatched parameter type 'T'"/>
2490 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingFilter', unmatched parameter type 'Sequence&amp;'"/>
2489 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingFilter', unmatched parameter type 'Sequence&amp;'"/>
2491 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::createFunctor', unmatched return type 'QtConcurrent::SelectMemberFunctor0&lt;T,Class&gt;::type'"/>
2490 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::createFunctor', unmatched return type 'QtConcurrent::SelectMemberFunctor0&lt;T,Class&gt;::type'"/>
2492
2491
2493 <suppress-warning text="WARNING(Parser) :: ** WARNING scope not found for function definition:QFuture&lt;void&gt;::operator= - definition *ignored*"/>
2492 <suppress-warning text="WARNING(Parser) :: ** WARNING scope not found for function definition:QFuture&lt;void&gt;::operator= - definition *ignored*"/>
2494 <suppress-warning text="WARNING(Parser) :: ** WARNING scope not found for function definition:QFutureInterface&lt;void&gt;::future - definition *ignored*"/>
2493 <suppress-warning text="WARNING(Parser) :: ** WARNING scope not found for function definition:QFutureInterface&lt;void&gt;::future - definition *ignored*"/>
2495 <suppress-warning text="WARNING(Parser) :: ** WARNING scope not found for function definition:QFutureWatcher&lt;void&gt;::setFuture - definition *ignored*"/>
2494 <suppress-warning text="WARNING(Parser) :: ** WARNING scope not found for function definition:QFutureWatcher&lt;void&gt;::setFuture - definition *ignored*"/>
2496
2495
2497
2496
2498 </typesystem>
2497 </typesystem>
General Comments 0
You need to be logged in to leave comments. Login now