##// END OF EJS Templates
- upgraded generator to generate polymorphic handlers for downcasting...
florianlink -
r29:fa33440a60c5
parent child
Show More
@@ -1,920 +1,922
1 /****************************************************************************
1 /****************************************************************************
2 **
2 **
3 ** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved.
3 ** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved.
4 **
4 **
5 ** This file is part of the Qt Script Generator project on Trolltech Labs.
5 ** This file is part of the Qt Script Generator project on Trolltech Labs.
6 **
6 **
7 ** This file may be used under the terms of the GNU General Public
7 ** This file may be used under the terms of the GNU General Public
8 ** License version 2.0 as published by the Free Software Foundation
8 ** License version 2.0 as published by the Free Software Foundation
9 ** and appearing in the file LICENSE.GPL included in the packaging of
9 ** and appearing in the file LICENSE.GPL included in the packaging of
10 ** this file. Please review the following information to ensure GNU
10 ** this file. Please review the following information to ensure GNU
11 ** General Public Licensing requirements will be met:
11 ** General Public Licensing requirements will be met:
12 ** http://www.trolltech.com/products/qt/opensource.html
12 ** http://www.trolltech.com/products/qt/opensource.html
13 **
13 **
14 ** If you are unsure which license is appropriate for your use, please
14 ** If you are unsure which license is appropriate for your use, please
15 ** review the following information:
15 ** review the following information:
16 ** http://www.trolltech.com/products/qt/licensing.html or contact the
16 ** http://www.trolltech.com/products/qt/licensing.html or contact the
17 ** sales department at sales@trolltech.com.
17 ** sales department at sales@trolltech.com.
18 **
18 **
19 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
19 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
20 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
20 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
21 **
21 **
22 ****************************************************************************/
22 ****************************************************************************/
23
23
24 #ifndef ABSTRACTMETALANG_H
24 #ifndef ABSTRACTMETALANG_H
25 #define ABSTRACTMETALANG_H
25 #define ABSTRACTMETALANG_H
26
26
27 #include "codemodel.h"
27 #include "codemodel.h"
28
28
29 #include "typesystem.h"
29 #include "typesystem.h"
30
30
31 #include <QSet>
31 #include <QSet>
32 #include <QStringList>
32 #include <QStringList>
33 #include <QTextStream>
33 #include <QTextStream>
34
34
35
35
36 class AbstractMeta;
36 class AbstractMeta;
37 class AbstractMetaClass;
37 class AbstractMetaClass;
38 class AbstractMetaField;
38 class AbstractMetaField;
39 class AbstractMetaFunction;
39 class AbstractMetaFunction;
40 class AbstractMetaType;
40 class AbstractMetaType;
41 class AbstractMetaVariable;
41 class AbstractMetaVariable;
42 class AbstractMetaArgument;
42 class AbstractMetaArgument;
43 class AbstractMetaEnumValue;
43 class AbstractMetaEnumValue;
44 class AbstractMetaEnum;
44 class AbstractMetaEnum;
45 class QPropertySpec;
45 class QPropertySpec;
46
46
47 typedef QList<AbstractMetaField *> AbstractMetaFieldList;
47 typedef QList<AbstractMetaField *> AbstractMetaFieldList;
48 typedef QList<AbstractMetaArgument *> AbstractMetaArgumentList;
48 typedef QList<AbstractMetaArgument *> AbstractMetaArgumentList;
49 typedef QList<AbstractMetaFunction *> AbstractMetaFunctionList;
49 typedef QList<AbstractMetaFunction *> AbstractMetaFunctionList;
50 class AbstractMetaClassList : public QList<AbstractMetaClass *>
50 class AbstractMetaClassList : public QList<AbstractMetaClass *>
51 {
51 {
52 public:
52 public:
53 AbstractMetaClass *findClass(const QString &name) const;
53 AbstractMetaClass *findClass(const QString &name) const;
54 AbstractMetaEnumValue *findEnumValue(const QString &string) const;
54 AbstractMetaEnumValue *findEnumValue(const QString &string) const;
55 AbstractMetaEnum *findEnum(const EnumTypeEntry *entry) const;
55 AbstractMetaEnum *findEnum(const EnumTypeEntry *entry) const;
56
56
57 };
57 };
58
58
59
59
60
60
61 class AbstractMetaAttributes
61 class AbstractMetaAttributes
62 {
62 {
63 public:
63 public:
64 AbstractMetaAttributes() : m_attributes(0) { };
64 AbstractMetaAttributes() : m_attributes(0) { };
65
65
66 enum Attribute {
66 enum Attribute {
67 None = 0x00000000,
67 None = 0x00000000,
68
68
69 Private = 0x00000001,
69 Private = 0x00000001,
70 Protected = 0x00000002,
70 Protected = 0x00000002,
71 Public = 0x00000004,
71 Public = 0x00000004,
72 Friendly = 0x00000008,
72 Friendly = 0x00000008,
73 Visibility = 0x0000000f,
73 Visibility = 0x0000000f,
74
74
75 Native = 0x00000010,
75 Native = 0x00000010,
76 Abstract = 0x00000020,
76 Abstract = 0x00000020,
77 Static = 0x00000040,
77 Static = 0x00000040,
78
78
79 FinalInTargetLang = 0x00000080,
79 FinalInTargetLang = 0x00000080,
80 FinalInCpp = 0x00000100,
80 FinalInCpp = 0x00000100,
81 ForceShellImplementation = 0x00000200,
81 ForceShellImplementation = 0x00000200,
82
82
83 GetterFunction = 0x00000400,
83 GetterFunction = 0x00000400,
84 SetterFunction = 0x00000800,
84 SetterFunction = 0x00000800,
85
85
86 FinalOverload = 0x00001000,
86 FinalOverload = 0x00001000,
87 InterfaceFunction = 0x00002000,
87 InterfaceFunction = 0x00002000,
88
88
89 PropertyReader = 0x00004000,
89 PropertyReader = 0x00004000,
90 PropertyWriter = 0x00008000,
90 PropertyWriter = 0x00008000,
91 PropertyResetter = 0x00010000,
91 PropertyResetter = 0x00010000,
92
92
93 Fake = 0x00020000,
93 Fake = 0x00020000,
94
94
95 Invokable = 0x00040000,
95 Invokable = 0x00040000,
96
96
97 Final = FinalInTargetLang | FinalInCpp
97 Final = FinalInTargetLang | FinalInCpp
98 };
98 };
99
99
100 uint attributes() const { return m_attributes; }
100 uint attributes() const { return m_attributes; }
101 void setAttributes(uint attributes) { m_attributes = attributes; }
101 void setAttributes(uint attributes) { m_attributes = attributes; }
102
102
103 uint originalAttributes() const { return m_originalAttributes; }
103 uint originalAttributes() const { return m_originalAttributes; }
104 void setOriginalAttributes(uint attributes) { m_originalAttributes = attributes; }
104 void setOriginalAttributes(uint attributes) { m_originalAttributes = attributes; }
105
105
106 uint visibility() const { return m_attributes & Visibility; }
106 uint visibility() const { return m_attributes & Visibility; }
107 void setVisibility(uint visi) { m_attributes = (m_attributes & ~Visibility) | visi; }
107 void setVisibility(uint visi) { m_attributes = (m_attributes & ~Visibility) | visi; }
108
108
109 void operator+=(Attribute attribute) { m_attributes |= attribute; }
109 void operator+=(Attribute attribute) { m_attributes |= attribute; }
110 void operator-=(Attribute attribute) { m_attributes &= ~attribute; }
110 void operator-=(Attribute attribute) { m_attributes &= ~attribute; }
111
111
112 bool isNative() const { return m_attributes & Native; }
112 bool isNative() const { return m_attributes & Native; }
113 bool isFinal() const { return (m_attributes & Final) == Final; }
113 bool isFinal() const { return (m_attributes & Final) == Final; }
114 bool isFinalInTargetLang() const { return m_attributes & FinalInTargetLang; }
114 bool isFinalInTargetLang() const { return m_attributes & FinalInTargetLang; }
115 bool isFinalInCpp() const { return m_attributes & FinalInCpp; }
115 bool isFinalInCpp() const { return m_attributes & FinalInCpp; }
116 bool isAbstract() const { return m_attributes & Abstract; }
116 bool isAbstract() const { return m_attributes & Abstract; }
117 bool isStatic() const { return m_attributes & Static; }
117 bool isStatic() const { return m_attributes & Static; }
118 bool isForcedShellImplementation() const { return m_attributes & ForceShellImplementation; }
118 bool isForcedShellImplementation() const { return m_attributes & ForceShellImplementation; }
119 bool isInterfaceFunction() const { return m_attributes & InterfaceFunction; }
119 bool isInterfaceFunction() const { return m_attributes & InterfaceFunction; }
120 bool isFinalOverload() const { return m_attributes & FinalOverload; }
120 bool isFinalOverload() const { return m_attributes & FinalOverload; }
121 bool isInvokable() const { return m_attributes & Invokable; }
121 bool isInvokable() const { return m_attributes & Invokable; }
122
122
123 bool isPropertyReader() const { return m_attributes & PropertyReader; }
123 bool isPropertyReader() const { return m_attributes & PropertyReader; }
124 bool isPropertyWriter() const { return m_attributes & PropertyWriter; }
124 bool isPropertyWriter() const { return m_attributes & PropertyWriter; }
125 bool isPropertyResetter() const { return m_attributes & PropertyResetter; }
125 bool isPropertyResetter() const { return m_attributes & PropertyResetter; }
126
126
127 bool isPrivate() const { return m_attributes & Private; }
127 bool isPrivate() const { return m_attributes & Private; }
128 bool isProtected() const { return m_attributes & Protected; }
128 bool isProtected() const { return m_attributes & Protected; }
129 bool isPublic() const { return m_attributes & Public; }
129 bool isPublic() const { return m_attributes & Public; }
130 bool isFriendly() const { return m_attributes & Friendly; }
130 bool isFriendly() const { return m_attributes & Friendly; }
131
131
132 bool wasPrivate() const { return m_originalAttributes & Private; }
132 bool wasPrivate() const { return m_originalAttributes & Private; }
133 bool wasProtected() const { return m_originalAttributes & Protected; }
133 bool wasProtected() const { return m_originalAttributes & Protected; }
134 bool wasPublic() const { return m_originalAttributes & Public; }
134 bool wasPublic() const { return m_originalAttributes & Public; }
135 bool wasFriendly() const { return m_originalAttributes & Friendly; }
135 bool wasFriendly() const { return m_originalAttributes & Friendly; }
136
136
137 private:
137 private:
138 uint m_attributes;
138 uint m_attributes;
139 uint m_originalAttributes;
139 uint m_originalAttributes;
140 };
140 };
141
141
142
142
143 class AbstractMetaType
143 class AbstractMetaType
144 {
144 {
145 public:
145 public:
146 enum TypeUsagePattern {
146 enum TypeUsagePattern {
147 InvalidPattern,
147 InvalidPattern,
148 PrimitivePattern,
148 PrimitivePattern,
149 FlagsPattern,
149 FlagsPattern,
150 EnumPattern,
150 EnumPattern,
151 ValuePattern,
151 ValuePattern,
152 StringPattern,
152 StringPattern,
153 CharPattern,
153 CharPattern,
154 ObjectPattern,
154 ObjectPattern,
155 QObjectPattern,
155 QObjectPattern,
156 NativePointerPattern,
156 NativePointerPattern,
157 ContainerPattern,
157 ContainerPattern,
158 VariantPattern,
158 VariantPattern,
159 JObjectWrapperPattern,
159 JObjectWrapperPattern,
160 ArrayPattern,
160 ArrayPattern,
161 ThreadPattern
161 ThreadPattern
162 };
162 };
163
163
164 AbstractMetaType() :
164 AbstractMetaType() :
165 m_type_entry(0),
165 m_type_entry(0),
166 m_array_element_count(0),
166 m_array_element_count(0),
167 m_array_element_type(0),
167 m_array_element_type(0),
168 m_original_template_type(0),
168 m_original_template_type(0),
169 m_pattern(InvalidPattern),
169 m_pattern(InvalidPattern),
170 m_constant(false),
170 m_constant(false),
171 m_reference(false),
171 m_reference(false),
172 m_cpp_instantiation(true),
172 m_cpp_instantiation(true),
173 m_indirections(0),
173 m_indirections(0),
174 m_reserved(0)
174 m_reserved(0)
175 {
175 {
176 }
176 }
177
177
178 QString package() const { return m_type_entry->javaPackage(); }
178 QString package() const { return m_type_entry->javaPackage(); }
179 QString name() const { return m_type_entry->targetLangName(); }
179 QString name() const { return m_type_entry->targetLangName(); }
180 QString fullName() const { return m_type_entry->qualifiedTargetLangName(); }
180 QString fullName() const { return m_type_entry->qualifiedTargetLangName(); }
181
181
182 void setTypeUsagePattern(TypeUsagePattern pattern) { m_pattern = pattern; }
182 void setTypeUsagePattern(TypeUsagePattern pattern) { m_pattern = pattern; }
183 TypeUsagePattern typeUsagePattern() const { return m_pattern; }
183 TypeUsagePattern typeUsagePattern() const { return m_pattern; }
184
184
185 // true when use pattern is container
185 // true when use pattern is container
186 bool hasInstantiations() const { return !m_instantiations.isEmpty(); }
186 bool hasInstantiations() const { return !m_instantiations.isEmpty(); }
187 void addInstantiation(AbstractMetaType *inst) { m_instantiations << inst; }
187 void addInstantiation(AbstractMetaType *inst) { m_instantiations << inst; }
188 void setInstantiations(const QList<AbstractMetaType *> &insts) { m_instantiations = insts; }
188 void setInstantiations(const QList<AbstractMetaType *> &insts) { m_instantiations = insts; }
189 QList<AbstractMetaType *> instantiations() const { return m_instantiations; }
189 QList<AbstractMetaType *> instantiations() const { return m_instantiations; }
190 void setInstantiationInCpp(bool incpp) { m_cpp_instantiation = incpp; }
190 void setInstantiationInCpp(bool incpp) { m_cpp_instantiation = incpp; }
191 bool hasInstantiationInCpp() const { return hasInstantiations() && m_cpp_instantiation; }
191 bool hasInstantiationInCpp() const { return hasInstantiations() && m_cpp_instantiation; }
192
192
193 QString minimalSignature() const;
193 QString minimalSignature() const;
194
194
195 // true when the type is a QtJambiObject subclass
195 // true when the type is a QtJambiObject subclass
196 bool hasNativeId() const;
196 bool hasNativeId() const;
197
197
198 // returns true if the typs is used as a non complex primitive, no & or *'s
198 // returns true if the typs is used as a non complex primitive, no & or *'s
199 bool isPrimitive() const { return m_pattern == PrimitivePattern; }
199 bool isPrimitive() const { return m_pattern == PrimitivePattern; }
200
200
201 // returns true if the type is used as an enum
201 // returns true if the type is used as an enum
202 bool isEnum() const { return m_pattern == EnumPattern; }
202 bool isEnum() const { return m_pattern == EnumPattern; }
203
203
204 // returns true if the type is used as a QObject *
204 // returns true if the type is used as a QObject *
205 bool isQObject() const { return m_pattern == QObjectPattern; }
205 bool isQObject() const { return m_pattern == QObjectPattern; }
206
206
207 // returns true if the type is used as an object, e.g. Xxx *
207 // returns true if the type is used as an object, e.g. Xxx *
208 bool isObject() const { return m_pattern == ObjectPattern; }
208 bool isObject() const { return m_pattern == ObjectPattern; }
209
209
210 // returns true if the type is used as an array, e.g. Xxx[42]
210 // returns true if the type is used as an array, e.g. Xxx[42]
211 bool isArray() const { return m_pattern == ArrayPattern; }
211 bool isArray() const { return m_pattern == ArrayPattern; }
212
212
213 // returns true if the type is used as a value type (X or const X &)
213 // returns true if the type is used as a value type (X or const X &)
214 bool isValue() const { return m_pattern == ValuePattern; }
214 bool isValue() const { return m_pattern == ValuePattern; }
215
215
216 // returns true for more complex types...
216 // returns true for more complex types...
217 bool isNativePointer() const { return m_pattern == NativePointerPattern; }
217 bool isNativePointer() const { return m_pattern == NativePointerPattern; }
218
218
219 // returns true if the type was originally a QString or const QString & or equivalent for QLatin1String
219 // returns true if the type was originally a QString or const QString & or equivalent for QLatin1String
220 bool isTargetLangString() const { return m_pattern == StringPattern; }
220 bool isTargetLangString() const { return m_pattern == StringPattern; }
221
221
222 // returns true if the type was originally a QChar or const QChar &
222 // returns true if the type was originally a QChar or const QChar &
223 bool isTargetLangChar() const { return m_pattern == CharPattern; }
223 bool isTargetLangChar() const { return m_pattern == CharPattern; }
224
224
225 // return true if the type was originally a QVariant or const QVariant &
225 // return true if the type was originally a QVariant or const QVariant &
226 bool isVariant() const { return m_pattern == VariantPattern; }
226 bool isVariant() const { return m_pattern == VariantPattern; }
227
227
228 // return true if the type was originally a JObjectWrapper or const JObjectWrapper &
228 // return true if the type was originally a JObjectWrapper or const JObjectWrapper &
229 bool isJObjectWrapper() const { return m_pattern == JObjectWrapperPattern; }
229 bool isJObjectWrapper() const { return m_pattern == JObjectWrapperPattern; }
230
230
231 // returns true if the type was used as a container
231 // returns true if the type was used as a container
232 bool isContainer() const { return m_pattern == ContainerPattern; }
232 bool isContainer() const { return m_pattern == ContainerPattern; }
233
233
234 // returns true if the type was used as a flag
234 // returns true if the type was used as a flag
235 bool isFlags() const { return m_pattern == FlagsPattern; }
235 bool isFlags() const { return m_pattern == FlagsPattern; }
236
236
237 // returns true if the type was used as a thread
237 // returns true if the type was used as a thread
238 bool isThread() const { return m_pattern == ThreadPattern; }
238 bool isThread() const { return m_pattern == ThreadPattern; }
239
239
240 bool isConstant() const { return m_constant; }
240 bool isConstant() const { return m_constant; }
241 void setConstant(bool constant) { m_constant = constant; }
241 void setConstant(bool constant) { m_constant = constant; }
242
242
243 bool isReference() const { return m_reference; }
243 bool isReference() const { return m_reference; }
244 void setReference(bool ref) { m_reference = ref; }
244 void setReference(bool ref) { m_reference = ref; }
245
245
246 // Returns true if the type is to be implemented using Java enums, e.g. not plain ints.
246 // Returns true if the type is to be implemented using Java enums, e.g. not plain ints.
247 bool isTargetLangEnum() const { return isEnum() && !((EnumTypeEntry *) typeEntry())->forceInteger(); }
247 bool isTargetLangEnum() const { return isEnum() && !((EnumTypeEntry *) typeEntry())->forceInteger(); }
248 bool isIntegerEnum() const { return isEnum() && !isTargetLangEnum(); }
248 bool isIntegerEnum() const { return isEnum() && !isTargetLangEnum(); }
249
249
250 // Returns true if the type is to be implemented using Java QFlags, e.g. not plain ints.
250 // Returns true if the type is to be implemented using Java QFlags, e.g. not plain ints.
251 bool isTargetLangFlags() const {
251 bool isTargetLangFlags() const {
252 return isFlags() && !((FlagsTypeEntry *) typeEntry())->forceInteger(); }
252 return isFlags() && !((FlagsTypeEntry *) typeEntry())->forceInteger(); }
253 bool isIntegerFlags() const { return isFlags() && !isTargetLangFlags(); }
253 bool isIntegerFlags() const { return isFlags() && !isTargetLangFlags(); }
254
254
255 int actualIndirections() const { return m_indirections + (isReference() ? 1 : 0); }
255 int actualIndirections() const { return m_indirections + (isReference() ? 1 : 0); }
256 int indirections() const { return m_indirections; }
256 int indirections() const { return m_indirections; }
257 void setIndirections(int indirections) { m_indirections = indirections; }
257 void setIndirections(int indirections) { m_indirections = indirections; }
258
258
259 void setArrayElementCount(int n) { m_array_element_count = n; }
259 void setArrayElementCount(int n) { m_array_element_count = n; }
260 int arrayElementCount() const { return m_array_element_count; }
260 int arrayElementCount() const { return m_array_element_count; }
261
261
262 AbstractMetaType *arrayElementType() const { return m_array_element_type; }
262 AbstractMetaType *arrayElementType() const { return m_array_element_type; }
263 void setArrayElementType(AbstractMetaType *t) { m_array_element_type = t; }
263 void setArrayElementType(AbstractMetaType *t) { m_array_element_type = t; }
264
264
265 QString cppSignature() const;
265 QString cppSignature() const;
266
266
267 AbstractMetaType *copy() const;
267 AbstractMetaType *copy() const;
268
268
269 const TypeEntry *typeEntry() const { return m_type_entry; }
269 const TypeEntry *typeEntry() const { return m_type_entry; }
270 void setTypeEntry(const TypeEntry *type) { m_type_entry = type; }
270 void setTypeEntry(const TypeEntry *type) { m_type_entry = type; }
271
271
272 void setOriginalTypeDescription(const QString &otd) { m_original_type_description = otd; }
272 void setOriginalTypeDescription(const QString &otd) { m_original_type_description = otd; }
273 QString originalTypeDescription() const { return m_original_type_description; }
273 QString originalTypeDescription() const { return m_original_type_description; }
274
274
275 void setOriginalTemplateType(const AbstractMetaType *type) { m_original_template_type = type; }
275 void setOriginalTemplateType(const AbstractMetaType *type) { m_original_template_type = type; }
276 const AbstractMetaType *originalTemplateType() const { return m_original_template_type; }
276 const AbstractMetaType *originalTemplateType() const { return m_original_template_type; }
277
277
278 private:
278 private:
279 const TypeEntry *m_type_entry;
279 const TypeEntry *m_type_entry;
280 QList <AbstractMetaType *> m_instantiations;
280 QList <AbstractMetaType *> m_instantiations;
281 QString m_package;
281 QString m_package;
282 QString m_original_type_description;
282 QString m_original_type_description;
283
283
284 int m_array_element_count;
284 int m_array_element_count;
285 AbstractMetaType *m_array_element_type;
285 AbstractMetaType *m_array_element_type;
286 const AbstractMetaType *m_original_template_type;
286 const AbstractMetaType *m_original_template_type;
287
287
288 TypeUsagePattern m_pattern;
288 TypeUsagePattern m_pattern;
289 uint m_constant : 1;
289 uint m_constant : 1;
290 uint m_reference : 1;
290 uint m_reference : 1;
291 uint m_cpp_instantiation : 1;
291 uint m_cpp_instantiation : 1;
292 int m_indirections : 4;
292 int m_indirections : 4;
293 uint m_reserved : 25; // unused
293 uint m_reserved : 25; // unused
294 };
294 };
295
295
296 class AbstractMetaVariable
296 class AbstractMetaVariable
297 {
297 {
298 public:
298 public:
299 AbstractMetaVariable() : m_type(0) { }
299 AbstractMetaVariable() : m_type(0) { }
300
300
301 AbstractMetaType *type() const { return m_type; }
301 AbstractMetaType *type() const { return m_type; }
302 void setType(AbstractMetaType *type) { m_type = type; }
302 void setType(AbstractMetaType *type) { m_type = type; }
303
303
304 QString name() const { return m_name; }
304 QString name() const { return m_name; }
305 void setName(const QString &name) { m_name = name; }
305 void setName(const QString &name) { m_name = name; }
306
306
307 private:
307 private:
308 QString m_name;
308 QString m_name;
309 AbstractMetaType *m_type;
309 AbstractMetaType *m_type;
310 };
310 };
311
311
312
312
313
313
314 class AbstractMetaArgument : public AbstractMetaVariable
314 class AbstractMetaArgument : public AbstractMetaVariable
315 {
315 {
316 public:
316 public:
317 AbstractMetaArgument() : m_argument_index(0) { };
317 AbstractMetaArgument() : m_argument_index(0) { };
318
318
319 QString defaultValueExpression() const { return m_expression; }
319 QString defaultValueExpression() const { return m_expression; }
320 void setDefaultValueExpression(const QString &expr) { m_expression = expr; }
320 void setDefaultValueExpression(const QString &expr) { m_expression = expr; }
321
321
322 QString originalDefaultValueExpression() const { return m_original_expression; }
322 QString originalDefaultValueExpression() const { return m_original_expression; }
323 void setOriginalDefaultValueExpression(const QString &expr) { m_original_expression = expr; }
323 void setOriginalDefaultValueExpression(const QString &expr) { m_original_expression = expr; }
324
324
325 QString toString() const { return type()->name() + " " + AbstractMetaVariable::name() +
325 QString toString() const { return type()->name() + " " + AbstractMetaVariable::name() +
326 (m_expression.isEmpty() ? "" : " = " + m_expression); }
326 (m_expression.isEmpty() ? "" : " = " + m_expression); }
327
327
328 int argumentIndex() const { return m_argument_index; }
328 int argumentIndex() const { return m_argument_index; }
329 void setArgumentIndex(int argIndex) { m_argument_index = argIndex; }
329 void setArgumentIndex(int argIndex) { m_argument_index = argIndex; }
330
330
331 QString argumentName() const;
331 QString argumentName() const;
332 QString indexedName() const;
332 QString indexedName() const;
333
333
334 AbstractMetaArgument *copy() const;
334 AbstractMetaArgument *copy() const;
335
335
336 private:
336 private:
337 // Just to force people to call argumentName() And indexedName();
337 // Just to force people to call argumentName() And indexedName();
338 QString name() const;
338 QString name() const;
339
339
340 QString m_expression;
340 QString m_expression;
341 QString m_original_expression;
341 QString m_original_expression;
342 int m_argument_index;
342 int m_argument_index;
343 };
343 };
344
344
345
345
346 class AbstractMetaField : public AbstractMetaVariable, public AbstractMetaAttributes
346 class AbstractMetaField : public AbstractMetaVariable, public AbstractMetaAttributes
347 {
347 {
348 public:
348 public:
349 AbstractMetaField();
349 AbstractMetaField();
350 ~AbstractMetaField();
350 ~AbstractMetaField();
351
351
352 const AbstractMetaClass *enclosingClass() const { return m_class; }
352 const AbstractMetaClass *enclosingClass() const { return m_class; }
353 void setEnclosingClass(const AbstractMetaClass *cls) { m_class = cls; }
353 void setEnclosingClass(const AbstractMetaClass *cls) { m_class = cls; }
354
354
355 const AbstractMetaFunction *getter() const;
355 const AbstractMetaFunction *getter() const;
356 const AbstractMetaFunction *setter() const;
356 const AbstractMetaFunction *setter() const;
357
357
358 FieldModificationList modifications() const;
358 FieldModificationList modifications() const;
359
359
360 AbstractMetaField *copy() const;
360 AbstractMetaField *copy() const;
361
361
362 private:
362 private:
363 mutable AbstractMetaFunction *m_getter;
363 mutable AbstractMetaFunction *m_getter;
364 mutable AbstractMetaFunction *m_setter;
364 mutable AbstractMetaFunction *m_setter;
365 const AbstractMetaClass *m_class;
365 const AbstractMetaClass *m_class;
366 };
366 };
367
367
368
368
369 class AbstractMetaFunction : public AbstractMetaAttributes
369 class AbstractMetaFunction : public AbstractMetaAttributes
370 {
370 {
371 public:
371 public:
372 enum FunctionType {
372 enum FunctionType {
373 ConstructorFunction,
373 ConstructorFunction,
374 DestructorFunction,
374 DestructorFunction,
375 NormalFunction,
375 NormalFunction,
376 SignalFunction,
376 SignalFunction,
377 EmptyFunction,
377 EmptyFunction,
378 SlotFunction,
378 SlotFunction,
379 GlobalScopeFunction
379 GlobalScopeFunction
380 };
380 };
381
381
382 enum CompareResult {
382 enum CompareResult {
383 EqualName = 0x00000001,
383 EqualName = 0x00000001,
384 EqualArguments = 0x00000002,
384 EqualArguments = 0x00000002,
385 EqualAttributes = 0x00000004,
385 EqualAttributes = 0x00000004,
386 EqualImplementor = 0x00000008,
386 EqualImplementor = 0x00000008,
387 EqualReturnType = 0x00000010,
387 EqualReturnType = 0x00000010,
388 EqualDefaultValueOverload = 0x00000020,
388 EqualDefaultValueOverload = 0x00000020,
389 EqualModifiedName = 0x00000040,
389 EqualModifiedName = 0x00000040,
390
390
391 NameLessThan = 0x00001000,
391 NameLessThan = 0x00001000,
392
392
393 PrettySimilar = EqualName | EqualArguments,
393 PrettySimilar = EqualName | EqualArguments,
394 Equal = 0x0000001f,
394 Equal = 0x0000001f,
395 NotEqual = 0x00001000
395 NotEqual = 0x00001000
396 };
396 };
397
397
398 AbstractMetaFunction()
398 AbstractMetaFunction()
399 : m_function_type(NormalFunction),
399 : m_function_type(NormalFunction),
400 m_type(0),
400 m_type(0),
401 m_class(0),
401 m_class(0),
402 m_implementing_class(0),
402 m_implementing_class(0),
403 m_declaring_class(0),
403 m_declaring_class(0),
404 m_interface_class(0),
404 m_interface_class(0),
405 m_property_spec(0),
405 m_property_spec(0),
406 m_constant(false),
406 m_constant(false),
407 m_invalid(false)
407 m_invalid(false)
408 {
408 {
409 }
409 }
410
410
411 ~AbstractMetaFunction();
411 ~AbstractMetaFunction();
412
412
413 QString name() const { return m_name; }
413 QString name() const { return m_name; }
414 void setName(const QString &name) { m_name = name; }
414 void setName(const QString &name) { m_name = name; }
415
415
416 QString originalName() const { return m_original_name.isEmpty() ? name() : m_original_name; }
416 QString originalName() const { return m_original_name.isEmpty() ? name() : m_original_name; }
417 void setOriginalName(const QString &name) { m_original_name = name; }
417 void setOriginalName(const QString &name) { m_original_name = name; }
418
418
419 QString modifiedName() const;
419 QString modifiedName() const;
420
420
421 QString minimalSignature() const;
421 QString minimalSignature() const;
422 QStringList possibleIntrospectionCompatibleSignatures() const;
422 QStringList possibleIntrospectionCompatibleSignatures() const;
423
423
424 QString marshalledName() const;
424 QString marshalledName() const;
425
425
426 // true if one or more of the arguments are of QtJambiObject subclasses
426 // true if one or more of the arguments are of QtJambiObject subclasses
427 bool argumentsHaveNativeId() const
427 bool argumentsHaveNativeId() const
428 {
428 {
429 foreach (const AbstractMetaArgument *arg, m_arguments) {
429 foreach (const AbstractMetaArgument *arg, m_arguments) {
430 if (arg->type()->hasNativeId())
430 if (arg->type()->hasNativeId())
431 return true;
431 return true;
432 }
432 }
433
433
434 return false;
434 return false;
435 }
435 }
436
436
437 bool isModifiedRemoved(int types = TypeSystem::All) const;
437 bool isModifiedRemoved(int types = TypeSystem::All) const;
438
438
439 AbstractMetaType *type() const { return m_type; }
439 AbstractMetaType *type() const { return m_type; }
440 void setType(AbstractMetaType *type) { m_type = type; }
440 void setType(AbstractMetaType *type) { m_type = type; }
441
441
442 // The class that has this function as a member.
442 // The class that has this function as a member.
443 const AbstractMetaClass *ownerClass() const { return m_class; }
443 const AbstractMetaClass *ownerClass() const { return m_class; }
444 void setOwnerClass(const AbstractMetaClass *cls) { m_class = cls; }
444 void setOwnerClass(const AbstractMetaClass *cls) { m_class = cls; }
445
445
446 // The first class in a hierarchy that declares the function
446 // The first class in a hierarchy that declares the function
447 const AbstractMetaClass *declaringClass() const { return m_declaring_class; }
447 const AbstractMetaClass *declaringClass() const { return m_declaring_class; }
448 void setDeclaringClass(const AbstractMetaClass *cls) { m_declaring_class = cls; }
448 void setDeclaringClass(const AbstractMetaClass *cls) { m_declaring_class = cls; }
449
449
450 // The class that actually implements this function
450 // The class that actually implements this function
451 const AbstractMetaClass *implementingClass() const { return m_implementing_class; }
451 const AbstractMetaClass *implementingClass() const { return m_implementing_class; }
452 void setImplementingClass(const AbstractMetaClass *cls) { m_implementing_class = cls; }
452 void setImplementingClass(const AbstractMetaClass *cls) { m_implementing_class = cls; }
453
453
454 bool needsCallThrough() const;
454 bool needsCallThrough() const;
455
455
456 AbstractMetaArgumentList arguments() const { return m_arguments; }
456 AbstractMetaArgumentList arguments() const { return m_arguments; }
457 void setArguments(const AbstractMetaArgumentList &arguments) { m_arguments = arguments; }
457 void setArguments(const AbstractMetaArgumentList &arguments) { m_arguments = arguments; }
458 void addArgument(AbstractMetaArgument *argument) { m_arguments << argument; }
458 void addArgument(AbstractMetaArgument *argument) { m_arguments << argument; }
459 int actualMinimumArgumentCount() const;
459 int actualMinimumArgumentCount() const;
460
460
461 void setInvalid(bool on) { m_invalid = on; }
461 void setInvalid(bool on) { m_invalid = on; }
462 bool isInvalid() const { return m_invalid; }
462 bool isInvalid() const { return m_invalid; }
463 bool isDeprecated() const;
463 bool isDeprecated() const;
464 bool isDestructor() const { return functionType() == DestructorFunction; }
464 bool isDestructor() const { return functionType() == DestructorFunction; }
465 bool isConstructor() const { return functionType() == ConstructorFunction; }
465 bool isConstructor() const { return functionType() == ConstructorFunction; }
466 bool isNormal() const { return functionType() == NormalFunction || isSlot() || isInGlobalScope(); }
466 bool isNormal() const { return functionType() == NormalFunction || isSlot() || isInGlobalScope(); }
467 bool isInGlobalScope() const { return functionType() == GlobalScopeFunction; }
467 bool isInGlobalScope() const { return functionType() == GlobalScopeFunction; }
468 bool isSignal() const { return functionType() == SignalFunction; }
468 bool isSignal() const { return functionType() == SignalFunction; }
469 bool isSlot() const { return functionType() == SlotFunction; }
469 bool isSlot() const { return functionType() == SlotFunction; }
470 bool isEmptyFunction() const { return functionType() == EmptyFunction; }
470 bool isEmptyFunction() const { return functionType() == EmptyFunction; }
471 FunctionType functionType() const { return m_function_type; }
471 FunctionType functionType() const { return m_function_type; }
472 void setFunctionType(FunctionType type) { m_function_type = type; }
472 void setFunctionType(FunctionType type) { m_function_type = type; }
473
473
474 bool isVirtual() { return !(isFinal() || isSignal() || isStatic()); }
475
474 QStringList introspectionCompatibleSignatures(const QStringList &resolvedArguments = QStringList()) const;
476 QStringList introspectionCompatibleSignatures(const QStringList &resolvedArguments = QStringList()) const;
475 QString signature() const;
477 QString signature() const;
476 QString targetLangSignature(bool minimal = false) const;
478 QString targetLangSignature(bool minimal = false) const;
477 bool shouldReturnThisObject() const { return QLatin1String("this") == argumentReplaced(0); }
479 bool shouldReturnThisObject() const { return QLatin1String("this") == argumentReplaced(0); }
478 bool shouldIgnoreReturnValue() const { return QLatin1String("void") == argumentReplaced(0); }
480 bool shouldIgnoreReturnValue() const { return QLatin1String("void") == argumentReplaced(0); }
479
481
480 bool isConstant() const { return m_constant; }
482 bool isConstant() const { return m_constant; }
481 void setConstant(bool constant) { m_constant = constant; }
483 void setConstant(bool constant) { m_constant = constant; }
482
484
483 QString toString() const { return m_name; }
485 QString toString() const { return m_name; }
484
486
485 uint compareTo(const AbstractMetaFunction *other) const;
487 uint compareTo(const AbstractMetaFunction *other) const;
486
488
487 bool operator <(const AbstractMetaFunction &a) const;
489 bool operator <(const AbstractMetaFunction &a) const;
488
490
489 AbstractMetaFunction *copy() const;
491 AbstractMetaFunction *copy() const;
490
492
491 QString replacedDefaultExpression(const AbstractMetaClass *cls, int idx) const;
493 QString replacedDefaultExpression(const AbstractMetaClass *cls, int idx) const;
492 bool removedDefaultExpression(const AbstractMetaClass *cls, int idx) const;
494 bool removedDefaultExpression(const AbstractMetaClass *cls, int idx) const;
493 QString conversionRule(TypeSystem::Language language, int idx) const;
495 QString conversionRule(TypeSystem::Language language, int idx) const;
494 QList<ReferenceCount> referenceCounts(const AbstractMetaClass *cls, int idx = -2) const;
496 QList<ReferenceCount> referenceCounts(const AbstractMetaClass *cls, int idx = -2) const;
495
497
496 bool nullPointersDisabled(const AbstractMetaClass *cls = 0, int argument_idx = 0) const;
498 bool nullPointersDisabled(const AbstractMetaClass *cls = 0, int argument_idx = 0) const;
497 QString nullPointerDefaultValue(const AbstractMetaClass *cls = 0, int argument_idx = 0) const;
499 QString nullPointerDefaultValue(const AbstractMetaClass *cls = 0, int argument_idx = 0) const;
498
500
499 bool resetObjectAfterUse(int argument_idx) const;
501 bool resetObjectAfterUse(int argument_idx) const;
500
502
501 // Returns whether garbage collection is disabled for the argument in any context
503 // Returns whether garbage collection is disabled for the argument in any context
502 bool disabledGarbageCollection(const AbstractMetaClass *cls, int key) const;
504 bool disabledGarbageCollection(const AbstractMetaClass *cls, int key) const;
503
505
504 // Returns the ownership rules for the given argument in the given context
506 // Returns the ownership rules for the given argument in the given context
505 TypeSystem::Ownership ownership(const AbstractMetaClass *cls, TypeSystem::Language language, int idx) const;
507 TypeSystem::Ownership ownership(const AbstractMetaClass *cls, TypeSystem::Language language, int idx) const;
506
508
507 bool isVirtualSlot() const;
509 bool isVirtualSlot() const;
508
510
509 QString typeReplaced(int argument_index) const;
511 QString typeReplaced(int argument_index) const;
510 bool isRemovedFromAllLanguages(const AbstractMetaClass *) const;
512 bool isRemovedFromAllLanguages(const AbstractMetaClass *) const;
511 bool isRemovedFrom(const AbstractMetaClass *, TypeSystem::Language language) const;
513 bool isRemovedFrom(const AbstractMetaClass *, TypeSystem::Language language) const;
512 bool argumentRemoved(int) const;
514 bool argumentRemoved(int) const;
513
515
514 QString argumentReplaced(int key) const;
516 QString argumentReplaced(int key) const;
515 bool needsSuppressUncheckedWarning() const;
517 bool needsSuppressUncheckedWarning() const;
516
518
517 bool hasModifications(const AbstractMetaClass *implementor) const;
519 bool hasModifications(const AbstractMetaClass *implementor) const;
518 FunctionModificationList modifications(const AbstractMetaClass *implementor) const;
520 FunctionModificationList modifications(const AbstractMetaClass *implementor) const;
519
521
520 // If this function stems from an interface, this returns the
522 // If this function stems from an interface, this returns the
521 // interface that declares it.
523 // interface that declares it.
522 const AbstractMetaClass *interfaceClass() const { return m_interface_class; }
524 const AbstractMetaClass *interfaceClass() const { return m_interface_class; }
523 void setInterfaceClass(const AbstractMetaClass *cl) { m_interface_class = cl; }
525 void setInterfaceClass(const AbstractMetaClass *cl) { m_interface_class = cl; }
524
526
525 void setPropertySpec(QPropertySpec *spec) { m_property_spec = spec; }
527 void setPropertySpec(QPropertySpec *spec) { m_property_spec = spec; }
526 QPropertySpec *propertySpec() const { return m_property_spec; }
528 QPropertySpec *propertySpec() const { return m_property_spec; }
527
529
528 private:
530 private:
529 QString m_name;
531 QString m_name;
530 QString m_original_name;
532 QString m_original_name;
531 mutable QString m_cached_minimal_signature;
533 mutable QString m_cached_minimal_signature;
532 mutable QString m_cached_modified_name;
534 mutable QString m_cached_modified_name;
533
535
534 FunctionType m_function_type;
536 FunctionType m_function_type;
535 AbstractMetaType *m_type;
537 AbstractMetaType *m_type;
536 const AbstractMetaClass *m_class;
538 const AbstractMetaClass *m_class;
537 const AbstractMetaClass *m_implementing_class;
539 const AbstractMetaClass *m_implementing_class;
538 const AbstractMetaClass *m_declaring_class;
540 const AbstractMetaClass *m_declaring_class;
539 const AbstractMetaClass *m_interface_class;
541 const AbstractMetaClass *m_interface_class;
540 QPropertySpec *m_property_spec;
542 QPropertySpec *m_property_spec;
541 AbstractMetaArgumentList m_arguments;
543 AbstractMetaArgumentList m_arguments;
542 uint m_constant : 1;
544 uint m_constant : 1;
543 uint m_invalid : 1;
545 uint m_invalid : 1;
544 };
546 };
545
547
546
548
547 class AbstractMetaEnumValue
549 class AbstractMetaEnumValue
548 {
550 {
549 public:
551 public:
550 AbstractMetaEnumValue()
552 AbstractMetaEnumValue()
551 : m_value_set(false), m_value(0)
553 : m_value_set(false), m_value(0)
552 {
554 {
553 }
555 }
554
556
555 int value() const { return m_value; }
557 int value() const { return m_value; }
556 void setValue(int value) { m_value_set = true; m_value = value; }
558 void setValue(int value) { m_value_set = true; m_value = value; }
557
559
558 QString stringValue() const { return m_string_value; }
560 QString stringValue() const { return m_string_value; }
559 void setStringValue(const QString &v) { m_string_value = v; }
561 void setStringValue(const QString &v) { m_string_value = v; }
560
562
561 QString name() const { return m_name; }
563 QString name() const { return m_name; }
562 void setName(const QString &name) { m_name = name; }
564 void setName(const QString &name) { m_name = name; }
563
565
564 bool isValueSet() const { return m_value_set; }
566 bool isValueSet() const { return m_value_set; }
565
567
566 private:
568 private:
567 QString m_name;
569 QString m_name;
568 QString m_string_value;
570 QString m_string_value;
569
571
570 bool m_value_set;
572 bool m_value_set;
571 int m_value;
573 int m_value;
572 };
574 };
573
575
574
576
575 class AbstractMetaEnumValueList : public QList<AbstractMetaEnumValue *>
577 class AbstractMetaEnumValueList : public QList<AbstractMetaEnumValue *>
576 {
578 {
577 public:
579 public:
578 AbstractMetaEnumValue *find(const QString &name) const;
580 AbstractMetaEnumValue *find(const QString &name) const;
579 };
581 };
580
582
581 class AbstractMetaEnum : public AbstractMetaAttributes
583 class AbstractMetaEnum : public AbstractMetaAttributes
582 {
584 {
583 public:
585 public:
584 AbstractMetaEnum() : m_type_entry(0), m_class(0), m_has_qenums_declaration(false) {}
586 AbstractMetaEnum() : m_type_entry(0), m_class(0), m_has_qenums_declaration(false) {}
585
587
586 AbstractMetaEnumValueList values() const { return m_enum_values; }
588 AbstractMetaEnumValueList values() const { return m_enum_values; }
587 void addEnumValue(AbstractMetaEnumValue *enumValue) { m_enum_values << enumValue; }
589 void addEnumValue(AbstractMetaEnumValue *enumValue) { m_enum_values << enumValue; }
588
590
589 QString name() const { return m_type_entry->targetLangName(); }
591 QString name() const { return m_type_entry->targetLangName(); }
590 QString qualifier() const { return m_type_entry->javaQualifier(); }
592 QString qualifier() const { return m_type_entry->javaQualifier(); }
591 QString package() const { return m_type_entry->javaPackage(); }
593 QString package() const { return m_type_entry->javaPackage(); }
592 QString fullName() const { return package() + "." + qualifier() + "." + name(); }
594 QString fullName() const { return package() + "." + qualifier() + "." + name(); }
593
595
594 // Has the enum been declared inside a Q_ENUMS() macro in its enclosing class?
596 // Has the enum been declared inside a Q_ENUMS() macro in its enclosing class?
595 void setHasQEnumsDeclaration(bool on) { m_has_qenums_declaration = on; }
597 void setHasQEnumsDeclaration(bool on) { m_has_qenums_declaration = on; }
596 bool hasQEnumsDeclaration() const { return m_has_qenums_declaration; }
598 bool hasQEnumsDeclaration() const { return m_has_qenums_declaration; }
597
599
598 EnumTypeEntry *typeEntry() const { return m_type_entry; }
600 EnumTypeEntry *typeEntry() const { return m_type_entry; }
599 void setTypeEntry(EnumTypeEntry *entry) { m_type_entry = entry; }
601 void setTypeEntry(EnumTypeEntry *entry) { m_type_entry = entry; }
600
602
601 AbstractMetaClass *enclosingClass() const { return m_class; }
603 AbstractMetaClass *enclosingClass() const { return m_class; }
602 void setEnclosingClass(AbstractMetaClass *c) { m_class = c; }
604 void setEnclosingClass(AbstractMetaClass *c) { m_class = c; }
603
605
604 private:
606 private:
605 AbstractMetaEnumValueList m_enum_values;
607 AbstractMetaEnumValueList m_enum_values;
606 EnumTypeEntry *m_type_entry;
608 EnumTypeEntry *m_type_entry;
607 AbstractMetaClass *m_class;
609 AbstractMetaClass *m_class;
608
610
609 uint m_has_qenums_declaration : 1;
611 uint m_has_qenums_declaration : 1;
610 uint m_reserved : 31;
612 uint m_reserved : 31;
611 };
613 };
612
614
613 typedef QList<AbstractMetaEnum *> AbstractMetaEnumList;
615 typedef QList<AbstractMetaEnum *> AbstractMetaEnumList;
614
616
615 class AbstractMetaClass : public AbstractMetaAttributes
617 class AbstractMetaClass : public AbstractMetaAttributes
616 {
618 {
617 public:
619 public:
618 enum FunctionQueryOption {
620 enum FunctionQueryOption {
619 Constructors = 0x000001, // Only constructors
621 Constructors = 0x000001, // Only constructors
620 //Destructors = 0x000002, // Only destructors. Not included in class.
622 //Destructors = 0x000002, // Only destructors. Not included in class.
621 VirtualFunctions = 0x000004, // Only virtual functions (virtual in both TargetLang and C++)
623 VirtualFunctions = 0x000004, // Only virtual functions (virtual in both TargetLang and C++)
622 FinalInTargetLangFunctions = 0x000008, // Only functions that are non-virtual in TargetLang
624 FinalInTargetLangFunctions = 0x000008, // Only functions that are non-virtual in TargetLang
623 FinalInCppFunctions = 0x000010, // Only functions that are non-virtual in C++
625 FinalInCppFunctions = 0x000010, // Only functions that are non-virtual in C++
624 ClassImplements = 0x000020, // Only functions implemented by the current class
626 ClassImplements = 0x000020, // Only functions implemented by the current class
625 Inconsistent = 0x000040, // Only inconsistent functions (inconsistent virtualness in TargetLang/C++)
627 Inconsistent = 0x000040, // Only inconsistent functions (inconsistent virtualness in TargetLang/C++)
626 StaticFunctions = 0x000080, // Only static functions
628 StaticFunctions = 0x000080, // Only static functions
627 Signals = 0x000100, // Only signals
629 Signals = 0x000100, // Only signals
628 NormalFunctions = 0x000200, // Only functions that aren't signals
630 NormalFunctions = 0x000200, // Only functions that aren't signals
629 Visible = 0x000400, // Only public and protected functions
631 Visible = 0x000400, // Only public and protected functions
630 ForcedShellFunctions = 0x000800, // Only functions that are overridden to be implemented in the shell class
632 ForcedShellFunctions = 0x000800, // Only functions that are overridden to be implemented in the shell class
631 WasPublic = 0x001000, // Only functions that were originally public
633 WasPublic = 0x001000, // Only functions that were originally public
632 WasProtected = 0x002000, // Only functions that were originally protected
634 WasProtected = 0x002000, // Only functions that were originally protected
633 NonStaticFunctions = 0x004000, // No static functions
635 NonStaticFunctions = 0x004000, // No static functions
634 Empty = 0x008000, // Empty overrides of abstract functions
636 Empty = 0x008000, // Empty overrides of abstract functions
635 Invisible = 0x010000, // Only private functions
637 Invisible = 0x010000, // Only private functions
636 VirtualInCppFunctions = 0x020000, // Only functions that are virtual in C++
638 VirtualInCppFunctions = 0x020000, // Only functions that are virtual in C++
637 NonEmptyFunctions = 0x040000, // Only functions with JNI implementations
639 NonEmptyFunctions = 0x040000, // Only functions with JNI implementations
638 VirtualInTargetLangFunctions = 0x080000, // Only functions which are virtual in TargetLang
640 VirtualInTargetLangFunctions = 0x080000, // Only functions which are virtual in TargetLang
639 AbstractFunctions = 0x100000, // Only abstract functions
641 AbstractFunctions = 0x100000, // Only abstract functions
640 WasVisible = 0x200000, // Only functions that were public or protected in the original code
642 WasVisible = 0x200000, // Only functions that were public or protected in the original code
641 NotRemovedFromTargetLang = 0x400000, // Only functions that have not been removed from TargetLang
643 NotRemovedFromTargetLang = 0x400000, // Only functions that have not been removed from TargetLang
642 NotRemovedFromShell = 0x800000, // Only functions that have not been removed from the shell class
644 NotRemovedFromShell = 0x800000, // Only functions that have not been removed from the shell class
643 VirtualSlots = 0x1000000 // Only functions that are set as virtual slots in the type system
645 VirtualSlots = 0x1000000 // Only functions that are set as virtual slots in the type system
644 };
646 };
645
647
646 AbstractMetaClass()
648 AbstractMetaClass()
647 : m_namespace(false),
649 : m_namespace(false),
648 m_qobject(false),
650 m_qobject(false),
649 m_has_virtuals(false),
651 m_has_virtuals(false),
650 m_has_nonpublic(false),
652 m_has_nonpublic(false),
651 m_has_virtual_slots(false),
653 m_has_virtual_slots(false),
652 m_has_nonprivateconstructor(false),
654 m_has_nonprivateconstructor(false),
653 m_functions_fixed(false),
655 m_functions_fixed(false),
654 m_has_public_destructor(true),
656 m_has_public_destructor(true),
655 m_force_shell_class(false),
657 m_force_shell_class(false),
656 m_has_hash_function(false),
658 m_has_hash_function(false),
657 m_has_equals_operator(false),
659 m_has_equals_operator(false),
658 m_has_clone_operator(false),
660 m_has_clone_operator(false),
659 m_is_type_alias(false),
661 m_is_type_alias(false),
660 m_enclosing_class(0),
662 m_enclosing_class(0),
661 m_base_class(0),
663 m_base_class(0),
662 m_template_base_class(0),
664 m_template_base_class(0),
663 m_extracted_interface(0),
665 m_extracted_interface(0),
664 m_primary_interface_implementor(0),
666 m_primary_interface_implementor(0),
665 m_type_entry(0),
667 m_type_entry(0),
666 m_qDebug_stream_function(0)
668 m_qDebug_stream_function(0)
667 {
669 {
668 }
670 }
669
671
670 virtual ~AbstractMetaClass();
672 virtual ~AbstractMetaClass();
671
673
672 AbstractMetaClass *extractInterface();
674 AbstractMetaClass *extractInterface();
673 void fixFunctions();
675 void fixFunctions();
674
676
675 AbstractMetaFunctionList functions() const { return m_functions; }
677 AbstractMetaFunctionList functions() const { return m_functions; }
676 void setFunctions(const AbstractMetaFunctionList &functions);
678 void setFunctions(const AbstractMetaFunctionList &functions);
677 void addFunction(AbstractMetaFunction *function);
679 void addFunction(AbstractMetaFunction *function);
678 bool hasFunction(const AbstractMetaFunction *f) const;
680 bool hasFunction(const AbstractMetaFunction *f) const;
679 bool hasFunction(const QString &str) const;
681 bool hasFunction(const QString &str) const;
680 bool hasSignal(const AbstractMetaFunction *f) const;
682 bool hasSignal(const AbstractMetaFunction *f) const;
681
683
682 bool hasConstructors() const;
684 bool hasConstructors() const;
683
685
684 void addDefaultConstructor();
686 void addDefaultConstructor();
685
687
686 bool hasNonPrivateConstructor() const { return m_has_nonprivateconstructor; }
688 bool hasNonPrivateConstructor() const { return m_has_nonprivateconstructor; }
687 void setHasNonPrivateConstructor(bool on) { m_has_nonprivateconstructor = on; }
689 void setHasNonPrivateConstructor(bool on) { m_has_nonprivateconstructor = on; }
688 bool hasPublicDestructor() const { return m_has_public_destructor; }
690 bool hasPublicDestructor() const { return m_has_public_destructor; }
689 void setHasPublicDestructor(bool on) { m_has_public_destructor = on; }
691 void setHasPublicDestructor(bool on) { m_has_public_destructor = on; }
690
692
691 AbstractMetaFunctionList queryFunctionsByName(const QString &name) const;
693 AbstractMetaFunctionList queryFunctionsByName(const QString &name) const;
692 AbstractMetaFunctionList queryFunctions(uint query) const;
694 AbstractMetaFunctionList queryFunctions(uint query) const;
693 inline AbstractMetaFunctionList allVirtualFunctions() const;
695 inline AbstractMetaFunctionList allVirtualFunctions() const;
694 inline AbstractMetaFunctionList allFinalFunctions() const;
696 inline AbstractMetaFunctionList allFinalFunctions() const;
695 AbstractMetaFunctionList functionsInTargetLang() const;
697 AbstractMetaFunctionList functionsInTargetLang() const;
696 AbstractMetaFunctionList functionsInShellClass() const;
698 AbstractMetaFunctionList functionsInShellClass() const;
697 inline AbstractMetaFunctionList cppInconsistentFunctions() const;
699 inline AbstractMetaFunctionList cppInconsistentFunctions() const;
698 inline AbstractMetaFunctionList cppSignalFunctions() const;
700 inline AbstractMetaFunctionList cppSignalFunctions() const;
699 AbstractMetaFunctionList publicOverrideFunctions() const;
701 AbstractMetaFunctionList publicOverrideFunctions() const;
700 AbstractMetaFunctionList virtualOverrideFunctions() const;
702 AbstractMetaFunctionList virtualOverrideFunctions() const;
701 AbstractMetaFunctionList virtualFunctions() const;
703 AbstractMetaFunctionList virtualFunctions() const;
702 AbstractMetaFunctionList nonVirtualShellFunctions() const;
704 AbstractMetaFunctionList nonVirtualShellFunctions() const;
703
705
704 AbstractMetaFieldList fields() const { return m_fields; }
706 AbstractMetaFieldList fields() const { return m_fields; }
705 void setFields(const AbstractMetaFieldList &fields) { m_fields = fields; }
707 void setFields(const AbstractMetaFieldList &fields) { m_fields = fields; }
706 void addField(AbstractMetaField *field) { m_fields << field; }
708 void addField(AbstractMetaField *field) { m_fields << field; }
707
709
708 AbstractMetaEnumList enums() const { return m_enums; }
710 AbstractMetaEnumList enums() const { return m_enums; }
709 void setEnums(const AbstractMetaEnumList &enums) { m_enums = enums; }
711 void setEnums(const AbstractMetaEnumList &enums) { m_enums = enums; }
710 void addEnum(AbstractMetaEnum *e) { m_enums << e; }
712 void addEnum(AbstractMetaEnum *e) { m_enums << e; }
711
713
712 AbstractMetaEnum *findEnum(const QString &enumName);
714 AbstractMetaEnum *findEnum(const QString &enumName);
713 AbstractMetaEnum *findEnumForValue(const QString &enumName);
715 AbstractMetaEnum *findEnumForValue(const QString &enumName);
714 AbstractMetaEnumValue *findEnumValue(const QString &enumName, AbstractMetaEnum *meta_enum);
716 AbstractMetaEnumValue *findEnumValue(const QString &enumName, AbstractMetaEnum *meta_enum);
715
717
716 AbstractMetaClassList interfaces() const { return m_interfaces; }
718 AbstractMetaClassList interfaces() const { return m_interfaces; }
717 void addInterface(AbstractMetaClass *interface);
719 void addInterface(AbstractMetaClass *interface);
718 void setInterfaces(const AbstractMetaClassList &interface);
720 void setInterfaces(const AbstractMetaClassList &interface);
719
721
720 QString fullName() const { return package() + "." + name(); }
722 QString fullName() const { return package() + "." + name(); }
721 QString name() const;
723 QString name() const;
722
724
723 QString baseClassName() const { return m_base_class ? m_base_class->name() : QString(); }
725 QString baseClassName() const { return m_base_class ? m_base_class->name() : QString(); }
724
726
725 AbstractMetaClass *baseClass() const { return m_base_class; }
727 AbstractMetaClass *baseClass() const { return m_base_class; }
726 void setBaseClass(AbstractMetaClass *base_class) { m_base_class = base_class; }
728 void setBaseClass(AbstractMetaClass *base_class) { m_base_class = base_class; }
727
729
728 const AbstractMetaClass *enclosingClass() const { return m_enclosing_class; }
730 const AbstractMetaClass *enclosingClass() const { return m_enclosing_class; }
729 void setEnclosingClass(AbstractMetaClass *cl) { m_enclosing_class = cl; }
731 void setEnclosingClass(AbstractMetaClass *cl) { m_enclosing_class = cl; }
730
732
731 QString package() const { return m_type_entry->javaPackage(); }
733 QString package() const { return m_type_entry->javaPackage(); }
732 bool isInterface() const { return m_type_entry->isInterface(); }
734 bool isInterface() const { return m_type_entry->isInterface(); }
733 bool isNamespace() const { return m_type_entry->isNamespace(); }
735 bool isNamespace() const { return m_type_entry->isNamespace(); }
734 bool isQObject() const { return m_type_entry->isQObject(); }
736 bool isQObject() const { return m_type_entry->isQObject(); }
735 bool isQtNamespace() const { return isNamespace() && name() == "Qt"; }
737 bool isQtNamespace() const { return isNamespace() && name() == "Qt"; }
736 QString qualifiedCppName() const { return m_type_entry->qualifiedCppName(); }
738 QString qualifiedCppName() const { return m_type_entry->qualifiedCppName(); }
737
739
738 bool hasInconsistentFunctions() const;
740 bool hasInconsistentFunctions() const;
739 bool hasSignals() const;
741 bool hasSignals() const;
740 bool inheritsFrom(const AbstractMetaClass *other) const;
742 bool inheritsFrom(const AbstractMetaClass *other) const;
741
743
742 void setForceShellClass(bool on) { m_force_shell_class = on; }
744 void setForceShellClass(bool on) { m_force_shell_class = on; }
743 bool generateShellClass() const;
745 bool generateShellClass() const;
744
746
745 bool hasVirtualSlots() const { return m_has_virtual_slots; }
747 bool hasVirtualSlots() const { return m_has_virtual_slots; }
746 bool hasVirtualFunctions() const { return !isFinal() && m_has_virtuals; }
748 bool hasVirtualFunctions() const { return !isFinal() && m_has_virtuals; }
747 bool hasProtectedFunctions() const;
749 bool hasProtectedFunctions() const;
748
750
749 QList<TypeEntry *> templateArguments() const { return m_template_args; }
751 QList<TypeEntry *> templateArguments() const { return m_template_args; }
750 void setTemplateArguments(const QList<TypeEntry *> &args) { m_template_args = args; }
752 void setTemplateArguments(const QList<TypeEntry *> &args) { m_template_args = args; }
751
753
752 bool hasFieldAccessors() const;
754 bool hasFieldAccessors() const;
753
755
754 // only valid during metajavabuilder's run
756 // only valid during metajavabuilder's run
755 QStringList baseClassNames() const { return m_base_class_names; }
757 QStringList baseClassNames() const { return m_base_class_names; }
756 void setBaseClassNames(const QStringList &names) { m_base_class_names = names; }
758 void setBaseClassNames(const QStringList &names) { m_base_class_names = names; }
757
759
758 AbstractMetaClass *primaryInterfaceImplementor() const { return m_primary_interface_implementor; }
760 AbstractMetaClass *primaryInterfaceImplementor() const { return m_primary_interface_implementor; }
759 void setPrimaryInterfaceImplementor(AbstractMetaClass *cl) { m_primary_interface_implementor = cl; }
761 void setPrimaryInterfaceImplementor(AbstractMetaClass *cl) { m_primary_interface_implementor = cl; }
760
762
761 const ComplexTypeEntry *typeEntry() const { return m_type_entry; }
763 const ComplexTypeEntry *typeEntry() const { return m_type_entry; }
762 ComplexTypeEntry *typeEntry() { return m_type_entry; }
764 ComplexTypeEntry *typeEntry() { return m_type_entry; }
763 void setTypeEntry(ComplexTypeEntry *type) { m_type_entry = type; }
765 void setTypeEntry(ComplexTypeEntry *type) { m_type_entry = type; }
764
766
765 void setHasHashFunction(bool on) { m_has_hash_function = on; }
767 void setHasHashFunction(bool on) { m_has_hash_function = on; }
766 bool hasHashFunction() const { return m_has_hash_function; }
768 bool hasHashFunction() const { return m_has_hash_function; }
767
769
768 void setToStringCapability(FunctionModelItem fun) { m_qDebug_stream_function= fun; }
770 void setToStringCapability(FunctionModelItem fun) { m_qDebug_stream_function= fun; }
769 FunctionModelItem hasToStringCapability() const { return m_qDebug_stream_function; }
771 FunctionModelItem hasToStringCapability() const { return m_qDebug_stream_function; }
770
772
771 virtual bool hasDefaultToStringFunction() const;
773 virtual bool hasDefaultToStringFunction() const;
772
774
773 void setHasEqualsOperator(bool on) { m_has_equals_operator = on; }
775 void setHasEqualsOperator(bool on) { m_has_equals_operator = on; }
774 bool hasEqualsOperator() const { return m_has_equals_operator; }
776 bool hasEqualsOperator() const { return m_has_equals_operator; }
775
777
776 void setHasCloneOperator(bool on) { m_has_clone_operator = on; }
778 void setHasCloneOperator(bool on) { m_has_clone_operator = on; }
777 bool hasCloneOperator() const { return m_has_clone_operator; }
779 bool hasCloneOperator() const { return m_has_clone_operator; }
778
780
779 void addPropertySpec(QPropertySpec *spec) { m_property_specs << spec; }
781 void addPropertySpec(QPropertySpec *spec) { m_property_specs << spec; }
780 QList<QPropertySpec *> propertySpecs() const { return m_property_specs; }
782 QList<QPropertySpec *> propertySpecs() const { return m_property_specs; }
781
783
782 QPropertySpec *propertySpecForRead(const QString &name) const;
784 QPropertySpec *propertySpecForRead(const QString &name) const;
783 QPropertySpec *propertySpecForWrite(const QString &name) const;
785 QPropertySpec *propertySpecForWrite(const QString &name) const;
784 QPropertySpec *propertySpecForReset(const QString &name) const;
786 QPropertySpec *propertySpecForReset(const QString &name) const;
785
787
786 QList<ReferenceCount> referenceCounts() const;
788 QList<ReferenceCount> referenceCounts() const;
787
789
788 void setEqualsFunctions(const AbstractMetaFunctionList &lst) { m_equals_functions = lst; }
790 void setEqualsFunctions(const AbstractMetaFunctionList &lst) { m_equals_functions = lst; }
789 AbstractMetaFunctionList equalsFunctions() const { return m_equals_functions; }
791 AbstractMetaFunctionList equalsFunctions() const { return m_equals_functions; }
790
792
791 void setNotEqualsFunctions(const AbstractMetaFunctionList &lst) { m_nequals_functions = lst; }
793 void setNotEqualsFunctions(const AbstractMetaFunctionList &lst) { m_nequals_functions = lst; }
792 AbstractMetaFunctionList notEqualsFunctions() const { return m_nequals_functions; }
794 AbstractMetaFunctionList notEqualsFunctions() const { return m_nequals_functions; }
793
795
794 void setLessThanFunctions(const AbstractMetaFunctionList &lst) { m_less_than_functions = lst; }
796 void setLessThanFunctions(const AbstractMetaFunctionList &lst) { m_less_than_functions = lst; }
795 AbstractMetaFunctionList lessThanFunctions() const { return m_less_than_functions; }
797 AbstractMetaFunctionList lessThanFunctions() const { return m_less_than_functions; }
796
798
797 void setGreaterThanFunctions(const AbstractMetaFunctionList &lst) { m_greater_than_functions = lst; }
799 void setGreaterThanFunctions(const AbstractMetaFunctionList &lst) { m_greater_than_functions = lst; }
798 AbstractMetaFunctionList greaterThanFunctions() const { return m_greater_than_functions; }
800 AbstractMetaFunctionList greaterThanFunctions() const { return m_greater_than_functions; }
799
801
800 void setLessThanEqFunctions(const AbstractMetaFunctionList &lst) { m_less_than_eq_functions = lst; }
802 void setLessThanEqFunctions(const AbstractMetaFunctionList &lst) { m_less_than_eq_functions = lst; }
801 AbstractMetaFunctionList lessThanEqFunctions() const { return m_less_than_eq_functions; }
803 AbstractMetaFunctionList lessThanEqFunctions() const { return m_less_than_eq_functions; }
802
804
803 void setGreaterThanEqFunctions(const AbstractMetaFunctionList &lst) { m_greater_than_eq_functions = lst; }
805 void setGreaterThanEqFunctions(const AbstractMetaFunctionList &lst) { m_greater_than_eq_functions = lst; }
804 AbstractMetaFunctionList greaterThanEqFunctions() const { return m_greater_than_eq_functions; }
806 AbstractMetaFunctionList greaterThanEqFunctions() const { return m_greater_than_eq_functions; }
805
807
806 void sortFunctions();
808 void sortFunctions();
807
809
808 const AbstractMetaClass *templateBaseClass() const { return m_template_base_class; }
810 const AbstractMetaClass *templateBaseClass() const { return m_template_base_class; }
809 void setTemplateBaseClass(const AbstractMetaClass *cls) { m_template_base_class = cls; }
811 void setTemplateBaseClass(const AbstractMetaClass *cls) { m_template_base_class = cls; }
810
812
811 void setTypeAlias(bool typeAlias) { m_is_type_alias = typeAlias; }
813 void setTypeAlias(bool typeAlias) { m_is_type_alias = typeAlias; }
812 bool isTypeAlias() const { return m_is_type_alias; }
814 bool isTypeAlias() const { return m_is_type_alias; }
813
815
814 private:
816 private:
815 uint m_namespace : 1;
817 uint m_namespace : 1;
816 uint m_qobject : 1;
818 uint m_qobject : 1;
817 uint m_has_virtuals : 1;
819 uint m_has_virtuals : 1;
818 uint m_has_nonpublic : 1;
820 uint m_has_nonpublic : 1;
819 uint m_has_virtual_slots : 1;
821 uint m_has_virtual_slots : 1;
820 uint m_has_nonprivateconstructor : 1;
822 uint m_has_nonprivateconstructor : 1;
821 uint m_functions_fixed : 1;
823 uint m_functions_fixed : 1;
822 uint m_has_public_destructor : 1;
824 uint m_has_public_destructor : 1;
823 uint m_force_shell_class : 1;
825 uint m_force_shell_class : 1;
824 uint m_has_hash_function : 1;
826 uint m_has_hash_function : 1;
825 uint m_has_equals_operator : 1;
827 uint m_has_equals_operator : 1;
826 uint m_has_clone_operator :1;
828 uint m_has_clone_operator :1;
827 uint m_is_type_alias : 1;
829 uint m_is_type_alias : 1;
828 uint m_reserved : 19;
830 uint m_reserved : 19;
829
831
830 const AbstractMetaClass *m_enclosing_class;
832 const AbstractMetaClass *m_enclosing_class;
831 AbstractMetaClass *m_base_class;
833 AbstractMetaClass *m_base_class;
832 const AbstractMetaClass *m_template_base_class;
834 const AbstractMetaClass *m_template_base_class;
833 AbstractMetaFunctionList m_functions;
835 AbstractMetaFunctionList m_functions;
834 AbstractMetaFieldList m_fields;
836 AbstractMetaFieldList m_fields;
835 AbstractMetaEnumList m_enums;
837 AbstractMetaEnumList m_enums;
836 AbstractMetaClassList m_interfaces;
838 AbstractMetaClassList m_interfaces;
837 AbstractMetaClass *m_extracted_interface;
839 AbstractMetaClass *m_extracted_interface;
838 AbstractMetaClass *m_primary_interface_implementor;
840 AbstractMetaClass *m_primary_interface_implementor;
839 QList<QPropertySpec *> m_property_specs;
841 QList<QPropertySpec *> m_property_specs;
840 AbstractMetaFunctionList m_equals_functions;
842 AbstractMetaFunctionList m_equals_functions;
841 AbstractMetaFunctionList m_nequals_functions;
843 AbstractMetaFunctionList m_nequals_functions;
842
844
843 AbstractMetaFunctionList m_less_than_functions;
845 AbstractMetaFunctionList m_less_than_functions;
844 AbstractMetaFunctionList m_greater_than_functions;
846 AbstractMetaFunctionList m_greater_than_functions;
845 AbstractMetaFunctionList m_less_than_eq_functions;
847 AbstractMetaFunctionList m_less_than_eq_functions;
846 AbstractMetaFunctionList m_greater_than_eq_functions;
848 AbstractMetaFunctionList m_greater_than_eq_functions;
847
849
848 QStringList m_base_class_names;
850 QStringList m_base_class_names;
849 QList<TypeEntry *> m_template_args;
851 QList<TypeEntry *> m_template_args;
850 ComplexTypeEntry *m_type_entry;
852 ComplexTypeEntry *m_type_entry;
851 FunctionModelItem m_qDebug_stream_function;
853 FunctionModelItem m_qDebug_stream_function;
852 };
854 };
853
855
854 class QPropertySpec {
856 class QPropertySpec {
855 public:
857 public:
856 QPropertySpec(const TypeEntry *type)
858 QPropertySpec(const TypeEntry *type)
857 : m_type(type),
859 : m_type(type),
858 m_index(-1)
860 m_index(-1)
859 {
861 {
860 }
862 }
861
863
862 const TypeEntry *type() const { return m_type; }
864 const TypeEntry *type() const { return m_type; }
863
865
864 QString name() const { return m_name; }
866 QString name() const { return m_name; }
865 void setName(const QString &name) { m_name = name; }
867 void setName(const QString &name) { m_name = name; }
866
868
867 QString read() const { return m_read; }
869 QString read() const { return m_read; }
868 void setRead(const QString &read) { m_read = read; }
870 void setRead(const QString &read) { m_read = read; }
869
871
870 QString write() const { return m_write; }
872 QString write() const { return m_write; }
871 void setWrite(const QString &write) { m_write = write; }
873 void setWrite(const QString &write) { m_write = write; }
872
874
873 QString designable() const { return m_designable; }
875 QString designable() const { return m_designable; }
874 void setDesignable(const QString &designable) { m_designable = designable; }
876 void setDesignable(const QString &designable) { m_designable = designable; }
875
877
876 QString reset() const { return m_reset; }
878 QString reset() const { return m_reset; }
877 void setReset(const QString &reset) { m_reset = reset; }
879 void setReset(const QString &reset) { m_reset = reset; }
878
880
879 int index() const { return m_index; }
881 int index() const { return m_index; }
880 void setIndex(int index) { m_index = index; }
882 void setIndex(int index) { m_index = index; }
881
883
882 private:
884 private:
883 QString m_name;
885 QString m_name;
884 QString m_read;
886 QString m_read;
885 QString m_write;
887 QString m_write;
886 QString m_designable;
888 QString m_designable;
887 QString m_reset;
889 QString m_reset;
888 const TypeEntry *m_type;
890 const TypeEntry *m_type;
889 int m_index;
891 int m_index;
890 };
892 };
891
893
892 inline AbstractMetaFunctionList AbstractMetaClass::allVirtualFunctions() const
894 inline AbstractMetaFunctionList AbstractMetaClass::allVirtualFunctions() const
893 {
895 {
894 return queryFunctions(VirtualFunctions
896 return queryFunctions(VirtualFunctions
895 | NotRemovedFromTargetLang);
897 | NotRemovedFromTargetLang);
896 }
898 }
897
899
898 inline AbstractMetaFunctionList AbstractMetaClass::allFinalFunctions() const
900 inline AbstractMetaFunctionList AbstractMetaClass::allFinalFunctions() const
899 {
901 {
900 return queryFunctions(FinalInTargetLangFunctions
902 return queryFunctions(FinalInTargetLangFunctions
901 | FinalInCppFunctions
903 | FinalInCppFunctions
902 | NotRemovedFromTargetLang);
904 | NotRemovedFromTargetLang);
903 }
905 }
904
906
905 inline AbstractMetaFunctionList AbstractMetaClass::cppInconsistentFunctions() const
907 inline AbstractMetaFunctionList AbstractMetaClass::cppInconsistentFunctions() const
906 {
908 {
907 return queryFunctions(Inconsistent
909 return queryFunctions(Inconsistent
908 | NormalFunctions
910 | NormalFunctions
909 | Visible
911 | Visible
910 | NotRemovedFromTargetLang);
912 | NotRemovedFromTargetLang);
911 }
913 }
912
914
913 inline AbstractMetaFunctionList AbstractMetaClass::cppSignalFunctions() const
915 inline AbstractMetaFunctionList AbstractMetaClass::cppSignalFunctions() const
914 {
916 {
915 return queryFunctions(Signals
917 return queryFunctions(Signals
916 | Visible
918 | Visible
917 | NotRemovedFromTargetLang);
919 | NotRemovedFromTargetLang);
918 }
920 }
919
921
920 #endif // ABSTRACTMETALANG_H
922 #endif // ABSTRACTMETALANG_H
@@ -1,118 +1,119
1 /****************************************************************************
1 /****************************************************************************
2 **
2 **
3 ** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved.
3 ** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved.
4 **
4 **
5 ** This file is part of the Qt Script Generator project on Trolltech Labs.
5 ** This file is part of the Qt Script Generator project on Trolltech Labs.
6 **
6 **
7 ** This file may be used under the terms of the GNU General Public
7 ** This file may be used under the terms of the GNU General Public
8 ** License version 2.0 as published by the Free Software Foundation
8 ** License version 2.0 as published by the Free Software Foundation
9 ** and appearing in the file LICENSE.GPL included in the packaging of
9 ** and appearing in the file LICENSE.GPL included in the packaging of
10 ** this file. Please review the following information to ensure GNU
10 ** this file. Please review the following information to ensure GNU
11 ** General Public Licensing requirements will be met:
11 ** General Public Licensing requirements will be met:
12 ** http://www.trolltech.com/products/qt/opensource.html
12 ** http://www.trolltech.com/products/qt/opensource.html
13 **
13 **
14 ** If you are unsure which license is appropriate for your use, please
14 ** If you are unsure which license is appropriate for your use, please
15 ** review the following information:
15 ** review the following information:
16 ** http://www.trolltech.com/products/qt/licensing.html or contact the
16 ** http://www.trolltech.com/products/qt/licensing.html or contact the
17 ** sales department at sales@trolltech.com.
17 ** sales department at sales@trolltech.com.
18 **
18 **
19 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
19 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
20 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
20 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
21 **
21 **
22 ****************************************************************************/
22 ****************************************************************************/
23
23
24 #include "generatorsetqtscript.h"
24 #include "generatorsetqtscript.h"
25 #include "reporthandler.h"
25 #include "reporthandler.h"
26 #include "classgenerator.h"
26 #include "classgenerator.h"
27 #include "shellheadergenerator.h"
27 #include "shellheadergenerator.h"
28 #include "shellimplgenerator.h"
28 #include "shellimplgenerator.h"
29 #include "docgenerator.h"
29 #include "docgenerator.h"
30
30
31 GeneratorSet *GeneratorSet::getInstance() {
31 GeneratorSet *GeneratorSet::getInstance() {
32 return new GeneratorSetQtScript();
32 return new GeneratorSetQtScript();
33 }
33 }
34
34
35 GeneratorSetQtScript::GeneratorSetQtScript()
35 GeneratorSetQtScript::GeneratorSetQtScript()
36 {}
36 {}
37
37
38 QString GeneratorSetQtScript::usage() {
38 QString GeneratorSetQtScript::usage() {
39 QString usage =
39 QString usage =
40 "QtScript:\n"
40 "QtScript:\n"
41 " --nothing-to-report-yet \n";
41 " --nothing-to-report-yet \n";
42
42
43 return usage;
43 return usage;
44 }
44 }
45
45
46 bool GeneratorSetQtScript::readParameters(const QMap<QString, QString> args) {
46 bool GeneratorSetQtScript::readParameters(const QMap<QString, QString> args) {
47 return GeneratorSet::readParameters(args);
47 return GeneratorSet::readParameters(args);
48 }
48 }
49
49
50 void GeneratorSetQtScript::buildModel(const QString pp_file) {
50 void GeneratorSetQtScript::buildModel(const QString pp_file) {
51 // Building the code inforamation...
51 // Building the code inforamation...
52 ReportHandler::setContext("MetaJavaBuilder");
52 ReportHandler::setContext("MetaJavaBuilder");
53 builder.setFileName(pp_file);
53 builder.setFileName(pp_file);
54 builder.build();
54 builder.build();
55 }
55 }
56
56
57 void GeneratorSetQtScript::dumpObjectTree() {
57 void GeneratorSetQtScript::dumpObjectTree() {
58
58
59 }
59 }
60
60
61 QString GeneratorSetQtScript::generate() {
61 QString GeneratorSetQtScript::generate() {
62 AbstractMetaClassList classes = builder.classesTopologicalSorted();
62 AbstractMetaClassList classes = builder.classesTopologicalSorted();
63 QSet<QString> declaredTypeNames = builder.qtMetaTypeDeclaredTypeNames();
63 QSet<QString> declaredTypeNames = builder.qtMetaTypeDeclaredTypeNames();
64
64
65 PriGenerator priGenerator;
65 PriGenerator priGenerator;
66 priGenerator.setOutputDirectory(outDir);
66 priGenerator.setOutputDirectory(outDir);
67
67
68 SetupGenerator setupGenerator;
68 SetupGenerator setupGenerator;
69 setupGenerator.setOutputDirectory(outDir);
69 setupGenerator.setOutputDirectory(outDir);
70 setupGenerator.setQtMetaTypeDeclaredTypeNames(declaredTypeNames);
70 setupGenerator.setQtMetaTypeDeclaredTypeNames(declaredTypeNames);
71 setupGenerator.setClasses(classes);
71
72
72 /*
73 /*
73 ClassGenerator classGenerator(&priGenerator, &setupGenerator);
74 ClassGenerator classGenerator(&priGenerator, &setupGenerator);
74 classGenerator.setOutputDirectory(outDir);
75 classGenerator.setOutputDirectory(outDir);
75 classGenerator.setClasses(classes);
76 classGenerator.setClasses(classes);
76 classGenerator.setQtMetaTypeDeclaredTypeNames(declaredTypeNames);
77 classGenerator.setQtMetaTypeDeclaredTypeNames(declaredTypeNames);
77 classGenerator.generate();
78 classGenerator.generate();
78 */
79 */
79 ShellImplGenerator shellImplGenerator(&priGenerator);
80 ShellImplGenerator shellImplGenerator(&priGenerator);
80 shellImplGenerator.setOutputDirectory(outDir);
81 shellImplGenerator.setOutputDirectory(outDir);
81 shellImplGenerator.setClasses(classes);
82 shellImplGenerator.setClasses(classes);
82 shellImplGenerator.setQtMetaTypeDeclaredTypeNames(declaredTypeNames);
83 shellImplGenerator.setQtMetaTypeDeclaredTypeNames(declaredTypeNames);
83 shellImplGenerator.generate();
84 shellImplGenerator.generate();
84
85
85 ShellHeaderGenerator shellHeaderGenerator(&priGenerator, &setupGenerator);
86 ShellHeaderGenerator shellHeaderGenerator(&priGenerator, &setupGenerator);
86 shellHeaderGenerator.setOutputDirectory(outDir);
87 shellHeaderGenerator.setOutputDirectory(outDir);
87 shellHeaderGenerator.setClasses(classes);
88 shellHeaderGenerator.setClasses(classes);
88 shellHeaderGenerator.generate();
89 shellHeaderGenerator.generate();
89
90
90 //DocGenerator docGenerator;
91 //DocGenerator docGenerator;
91 //docGenerator.setOutputDirectory(outDir);
92 //docGenerator.setOutputDirectory(outDir);
92 //docGenerator.setClasses(classes);
93 //docGenerator.setClasses(classes);
93 //docGenerator.generate();
94 //docGenerator.generate();
94
95
95 priGenerator.generate();
96 priGenerator.generate();
96 setupGenerator.generate();
97 setupGenerator.generate();
97
98
98 return QString("Classes in typesystem: %1\n"
99 return QString("Classes in typesystem: %1\n"
99 "Generated:\n"
100 "Generated:\n"
100 " - header....: %4 (%5)\n"
101 " - header....: %4 (%5)\n"
101 " - impl......: %6 (%7)\n"
102 " - impl......: %6 (%7)\n"
102 " - modules...: %8 (%9)\n"
103 " - modules...: %8 (%9)\n"
103 " - pri.......: %10 (%11)\n"
104 " - pri.......: %10 (%11)\n"
104 )
105 )
105 .arg(builder.classes().size())
106 .arg(builder.classes().size())
106
107
107 .arg(shellHeaderGenerator.numGenerated())
108 .arg(shellHeaderGenerator.numGenerated())
108 .arg(shellHeaderGenerator.numGeneratedAndWritten())
109 .arg(shellHeaderGenerator.numGeneratedAndWritten())
109
110
110 .arg(shellImplGenerator.numGenerated())
111 .arg(shellImplGenerator.numGenerated())
111 .arg(shellImplGenerator.numGeneratedAndWritten())
112 .arg(shellImplGenerator.numGeneratedAndWritten())
112
113
113 .arg(setupGenerator.numGenerated())
114 .arg(setupGenerator.numGenerated())
114 .arg(setupGenerator.numGeneratedAndWritten())
115 .arg(setupGenerator.numGeneratedAndWritten())
115
116
116 .arg(priGenerator.numGenerated())
117 .arg(priGenerator.numGenerated())
117 .arg(priGenerator.numGeneratedAndWritten());
118 .arg(priGenerator.numGeneratedAndWritten());
118 }
119 }
@@ -1,123 +1,215
1 /****************************************************************************
1 /****************************************************************************
2 **
2 **
3 ** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved.
3 ** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved.
4 **
4 **
5 ** This file is part of the Qt Script Generator project on Trolltech Labs.
5 ** This file is part of the Qt Script Generator project on Trolltech Labs.
6 **
6 **
7 ** This file may be used under the terms of the GNU General Public
7 ** This file may be used under the terms of the GNU General Public
8 ** License version 2.0 as published by the Free Software Foundation
8 ** License version 2.0 as published by the Free Software Foundation
9 ** and appearing in the file LICENSE.GPL included in the packaging of
9 ** and appearing in the file LICENSE.GPL included in the packaging of
10 ** this file. Please review the following information to ensure GNU
10 ** this file. Please review the following information to ensure GNU
11 ** General Public Licensing requirements will be met:
11 ** General Public Licensing requirements will be met:
12 ** http://www.trolltech.com/products/qt/opensource.html
12 ** http://www.trolltech.com/products/qt/opensource.html
13 **
13 **
14 ** If you are unsure which license is appropriate for your use, please
14 ** If you are unsure which license is appropriate for your use, please
15 ** review the following information:
15 ** review the following information:
16 ** http://www.trolltech.com/products/qt/licensing.html or contact the
16 ** http://www.trolltech.com/products/qt/licensing.html or contact the
17 ** sales department at sales@trolltech.com.
17 ** sales department at sales@trolltech.com.
18 **
18 **
19 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
19 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
20 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
20 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
21 **
21 **
22 ****************************************************************************/
22 ****************************************************************************/
23
23
24 #include "setupgenerator.h"
24 #include "setupgenerator.h"
25 #include "shellgenerator.h"
25 #include "shellgenerator.h"
26 #include "reporthandler.h"
26 #include "reporthandler.h"
27 #include "fileout.h"
27 #include "fileout.h"
28
28
29 //#define Q_SCRIPT_LAZY_GENERATOR
29 //#define Q_SCRIPT_LAZY_GENERATOR
30
30
31 void SetupGenerator::addClass(const AbstractMetaClass *cls)
31 void SetupGenerator::addClass(const AbstractMetaClass *cls)
32 {
32 {
33 packHash[cls->package()].append(cls);
33 packHash[cls->package()].append(cls);
34 }
34 }
35
35
36 void writeQtScriptQtBindingsLicense(QTextStream &stream);
36 void writeQtScriptQtBindingsLicense(QTextStream &stream);
37
37
38 void maybeDeclareMetaType(QTextStream &stream, const QString &typeName,
38 void maybeDeclareMetaType(QTextStream &stream, const QString &typeName,
39 QSet<QString> &registeredTypeNames);
39 QSet<QString> &registeredTypeNames);
40 bool hasDefaultConstructor(const AbstractMetaClass *meta_class);
40 bool hasDefaultConstructor(const AbstractMetaClass *meta_class);
41
41
42 void SetupGenerator::generate()
42 void SetupGenerator::generate()
43 {
43 {
44 AbstractMetaClassList classes_with_polymorphic_id;
45 {
46 QHashIterator<QString, QList<const AbstractMetaClass*> > pack(packHash);
47 while (pack.hasNext()) {
48 pack.next();
49 QList<const AbstractMetaClass*> list = pack.value();
50 foreach (const AbstractMetaClass *cls, list) {
51 if (cls->typeEntry()->isPolymorphicBase()) {
52 classes_with_polymorphic_id.append((AbstractMetaClass*)cls);
53 }
54 }
55 }
56 }
57
44 QHashIterator<QString, QList<const AbstractMetaClass*> > pack(packHash);
58 QHashIterator<QString, QList<const AbstractMetaClass*> > pack(packHash);
45 while (pack.hasNext()) {
59 while (pack.hasNext()) {
46 pack.next();
60 pack.next();
47 QList<const AbstractMetaClass*> list = pack.value();
61 QList<const AbstractMetaClass*> list = pack.value();
48 if (list.isEmpty())
62 if (list.isEmpty())
49 continue;
63 continue;
50
64
51 QString packKey = pack.key();
65 QString packKey = pack.key();
52 QString packName = pack.key();
66 QString packName = pack.key();
53 QStringList components = packName.split(".");
67 QStringList components = packName.split(".");
54 if ((components.size() > 2) && (components.at(0) == "com")
68 if ((components.size() > 2) && (components.at(0) == "com")
55 && (components.at(1) == "trolltech")) {
69 && (components.at(1) == "trolltech")) {
56 // kill com.trolltech in key
70 // kill com.trolltech in key
57 components.removeAt(0);
71 components.removeAt(0);
58 components.removeAt(0);
72 components.removeAt(0);
59 }
73 }
60 packName.replace(".", "_");
74 packName.replace(".", "_");
61 packKey.replace(".", "_");
75 packKey.replace(".", "_");
62
76
63 QString shortPackName;
77 QString shortPackName;
64 foreach (QString comp, components) {
78 foreach (QString comp, components) {
65 comp[0] = comp[0].toUpper();
79 comp[0] = comp[0].toUpper();
66 shortPackName += comp;
80 shortPackName += comp;
67 }
81 }
68 // add missing camel case (workaround..)
82 // add missing camel case (workaround..)
69 if (shortPackName == "QtWebkit") {
83 if (shortPackName == "QtWebkit") {
70 shortPackName = "QtWebKit";
84 shortPackName = "QtWebKit";
71 } else if (shortPackName == "QtXmlpatterns") {
85 } else if (shortPackName == "QtXmlpatterns") {
72 shortPackName = "QtXmlPatterns";
86 shortPackName = "QtXmlPatterns";
73 } else if (shortPackName == "QtOpengl") {
87 } else if (shortPackName == "QtOpengl") {
74 shortPackName = "QtOpenGL";
88 shortPackName = "QtOpenGL";
75 } else if (shortPackName == "QtUitools") {
89 } else if (shortPackName == "QtUitools") {
76 shortPackName = "QtUiTools";
90 shortPackName = "QtUiTools";
77 }
91 }
78
92
79
93
80 {
94 {
81 FileOut initFile(m_out_dir + "/generated_cpp/" + packName + "/" + packKey + "_init.cpp");
95 FileOut initFile(m_out_dir + "/generated_cpp/" + packName + "/" + packKey + "_init.cpp");
82 QTextStream &s = initFile.stream;
96 QTextStream &s = initFile.stream;
83
97
84 if (FileOut::license)
98 if (FileOut::license)
85 writeQtScriptQtBindingsLicense(s);
99 writeQtScriptQtBindingsLicense(s);
86
100
87 s << "#include <PythonQt.h>" << endl;
101 s << "#include <PythonQt.h>" << endl;
88
102
89 foreach (const AbstractMetaClass *cls, list) {
103 foreach (const AbstractMetaClass *cls, list) {
90 s << "#include \"" << ShellGenerator::wrapperClassName(cls) << ".h\"" << endl;
104 s << "#include \"" << ShellGenerator::wrapperClassName(cls) << ".h\"" << endl;
91 }
105 }
92 s << endl;
106 s << endl;
93
107
108 QStringList polymorphicHandlers = writePolymorphicHandler(s, list.at(0)->package(), classes_with_polymorphic_id);
109 s << endl;
110
94 // declare individual class creation functions
111 // declare individual class creation functions
95 s << "void PythonQt_init_" << shortPackName << "() {" << endl;
112 s << "void PythonQt_init_" << shortPackName << "() {" << endl;
96 QStringList cppClassNames;
113 QStringList cppClassNames;
97 foreach (const AbstractMetaClass *cls, list) {
114 foreach (const AbstractMetaClass *cls, list) {
98 if (ShellGenerator::isBuiltIn(cls->name())) { continue; }
115 if (ShellGenerator::isBuiltIn(cls->name())) { continue; }
99
116
100 QString shellCreator;
117 QString shellCreator;
101 if (cls->generateShellClass()) {
118 if (cls->generateShellClass()) {
102 shellCreator = ", PythonQtSetInstanceWrapperOnShell<" + ShellGenerator::shellClassName(cls) + ">";
119 shellCreator = ", PythonQtSetInstanceWrapperOnShell<" + ShellGenerator::shellClassName(cls) + ">";
103 }
120 }
104 if (cls->isQObject()) {
121 if (cls->isQObject()) {
105 s << "PythonQt::self()->registerClass(&" << cls->qualifiedCppName() << "::staticMetaObject, \"" << shortPackName <<"\", PythonQtCreateObject<PythonQtWrapper_" << cls->name() << ">" << shellCreator << ");" << endl;
122 s << "PythonQt::self()->registerClass(&" << cls->qualifiedCppName() << "::staticMetaObject, \"" << shortPackName <<"\", PythonQtCreateObject<PythonQtWrapper_" << cls->name() << ">" << shellCreator << ");" << endl;
106 } else {
123 } else {
107 QString baseName = cls->baseClass()?cls->baseClass()->qualifiedCppName():"";
124 QString baseName = cls->baseClass()?cls->baseClass()->qualifiedCppName():"";
108 s << "PythonQt::self()->registerCPPClass(\""<< cls->qualifiedCppName() << "\", \"" << baseName << "\", \"" << shortPackName <<"\", PythonQtCreateObject<PythonQtWrapper_" << cls->name() << ">" << shellCreator << ");" << endl;
125 s << "PythonQt::self()->registerCPPClass(\""<< cls->qualifiedCppName() << "\", \"" << baseName << "\", \"" << shortPackName <<"\", PythonQtCreateObject<PythonQtWrapper_" << cls->name() << ">" << shellCreator << ");" << endl;
109 }
126 }
110 foreach(AbstractMetaClass* interface, cls->interfaces()) {
127 foreach(AbstractMetaClass* interface, cls->interfaces()) {
111 // the interface might be our own class... (e.g. QPaintDevice)
128 // the interface might be our own class... (e.g. QPaintDevice)
112 if (interface->qualifiedCppName() != cls->qualifiedCppName()) {
129 if (interface->qualifiedCppName() != cls->qualifiedCppName()) {
113 s << "PythonQt::self()->addParentClass(\""<< cls->qualifiedCppName() << "\", \"" << interface->qualifiedCppName() << "\",PythonQtUpcastingOffset<" << cls->qualifiedCppName() <<","<<interface->qualifiedCppName()<<">());" << endl;
130 s << "PythonQt::self()->addParentClass(\""<< cls->qualifiedCppName() << "\", \"" << interface->qualifiedCppName() << "\",PythonQtUpcastingOffset<" << cls->qualifiedCppName() <<","<<interface->qualifiedCppName()<<">());" << endl;
114 }
131 }
115 }
132 }
116 }
133 }
117 s << endl;
134 s << endl;
135 foreach (QString handler, polymorphicHandlers) {
136 s << "PythonQt::self()->addPolymorphicHandler(\""<< handler << "\", polymorphichandler_" << handler << ");" << endl;
137 }
118
138
119 s << "}";
139 s << "}";
120 s << endl;
140 s << endl;
121 }
141 }
122 }
142 }
123 }
143 }
144
145 QStringList SetupGenerator::writePolymorphicHandler(QTextStream &s, const QString &package,
146 const AbstractMetaClassList &classes)
147 {
148 QStringList handlers;
149 foreach (AbstractMetaClass *cls, classes) {
150 const ComplexTypeEntry *centry = cls->typeEntry();
151 if (!centry->isPolymorphicBase())
152 continue;
153 bool isGraphicsItem = (cls->qualifiedCppName()=="QGraphicsItem");
154
155 AbstractMetaClassList classList = this->classes();
156 bool first = true;
157 foreach (AbstractMetaClass *clazz, classList) {
158 bool inherits = false;
159 if (isGraphicsItem) {
160 foreach(AbstractMetaClass* interfaze, clazz->interfaces()) {
161 if (interfaze->qualifiedCppName()=="QGraphicsItem") {
162 inherits = true;
163 break;
164 }
165 }
166 } else {
167 inherits = clazz->inheritsFrom(cls);
168 }
169 if (clazz->package() == package && inherits) {
170 if (!clazz->typeEntry()->polymorphicIdValue().isEmpty() || isGraphicsItem) {
171 // On first find, open the function
172 if (first) {
173 first = false;
174
175 QString handler = cls->name();
176 handlers.append(handler);
177
178 s << "static void* polymorphichandler_" << handler
179 << "(const void *ptr, char **class_name)" << endl
180 << "{" << endl
181 << " Q_ASSERT(ptr != 0);" << endl
182 << " " << cls->qualifiedCppName() << " *object = ("
183 << cls->qualifiedCppName() << " *)ptr;" << endl;
184 }
185
186 // For each, add case label
187 QString polyId = clazz->typeEntry()->polymorphicIdValue();
188 if (isGraphicsItem) {
189 polyId = "%1->type() == " + clazz->qualifiedCppName() + "::Type";
190 }
191 s << " if ("
192 << polyId.replace("%1", "object")
193 << ") {" << endl
194 << " *class_name = \"" << clazz->name() << "\";" << endl
195 << " return (" << clazz->qualifiedCppName() << "*)object;" << endl
196 << " }" << endl;
197 } else {
198 QString warning = QString("class '%1' inherits from polymorphic class '%2', but has no polymorphic id set")
199 .arg(clazz->name())
200 .arg(cls->name());
201
202 ReportHandler::warning(warning);
203 }
204 }
205 }
206
207 // Close the function if it has been opened
208 if (!first) {
209 s << " return NULL;" << endl
210 << "}" << endl;
211 }
212 }
213
214 return handlers;
215 }
@@ -1,43 +1,46
1 /****************************************************************************
1 /****************************************************************************
2 **
2 **
3 ** Copyright (C) 2007-2008 Trolltech ASA. All rights reserved.
3 ** Copyright (C) 2007-2008 Trolltech ASA. All rights reserved.
4 **
4 **
5 ** This file is part of the Qt Script Generator project on Trolltech Labs.
5 ** This file is part of the Qt Script Generator project on Trolltech Labs.
6 **
6 **
7 ** This file may be used under the terms of the GNU General Public
7 ** This file may be used under the terms of the GNU General Public
8 ** License version 2.0 as published by the Free Software Foundation
8 ** License version 2.0 as published by the Free Software Foundation
9 ** and appearing in the file LICENSE.GPL included in the packaging of
9 ** and appearing in the file LICENSE.GPL included in the packaging of
10 ** this file. Please review the following information to ensure GNU
10 ** this file. Please review the following information to ensure GNU
11 ** General Public Licensing requirements will be met:
11 ** General Public Licensing requirements will be met:
12 ** http://www.trolltech.com/products/qt/opensource.html
12 ** http://www.trolltech.com/products/qt/opensource.html
13 **
13 **
14 ** If you are unsure which license is appropriate for your use, please
14 ** If you are unsure which license is appropriate for your use, please
15 ** review the following information:
15 ** review the following information:
16 ** http://www.trolltech.com/products/qt/licensing.html or contact the
16 ** http://www.trolltech.com/products/qt/licensing.html or contact the
17 ** sales department at sales@trolltech.com.
17 ** sales department at sales@trolltech.com.
18 **
18 **
19 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
19 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
20 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
20 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
21 **
21 **
22 ****************************************************************************/
22 ****************************************************************************/
23
23
24 #ifndef SETUPGENERATOR_H
24 #ifndef SETUPGENERATOR_H
25 #define SETUPGENERATOR_H
25 #define SETUPGENERATOR_H
26
26
27 #include "generator.h"
27 #include "generator.h"
28 #include "metaqtscript.h"
28 #include "metaqtscript.h"
29
29
30 class SetupGenerator : public Generator
30 class SetupGenerator : public Generator
31 {
31 {
32 Q_OBJECT
32 Q_OBJECT
33
33
34 public:
34 public:
35 virtual void generate();
35 virtual void generate();
36
36
37 void addClass(const AbstractMetaClass *cls);
37 void addClass(const AbstractMetaClass *cls);
38
38
39 private:
39 private:
40 QStringList writePolymorphicHandler(QTextStream &s, const QString &package,
41 const AbstractMetaClassList &classes);
42
40 QHash<QString, QList<const AbstractMetaClass*> > packHash;
43 QHash<QString, QList<const AbstractMetaClass*> > packHash;
41 };
44 };
42 #endif // SETUPGENERATOR_H
45 #endif // SETUPGENERATOR_H
43
46
@@ -1,351 +1,351
1 /****************************************************************************
1 /****************************************************************************
2 **
2 **
3 ** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved.
3 ** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved.
4 **
4 **
5 ** This file is part of the Qt Script Generator project on Trolltech Labs.
5 ** This file is part of the Qt Script Generator project on Trolltech Labs.
6 **
6 **
7 ** This file may be used under the terms of the GNU General Public
7 ** This file may be used under the terms of the GNU General Public
8 ** License version 2.0 as published by the Free Software Foundation
8 ** License version 2.0 as published by the Free Software Foundation
9 ** and appearing in the file LICENSE.GPL included in the packaging of
9 ** and appearing in the file LICENSE.GPL included in the packaging of
10 ** this file. Please review the following information to ensure GNU
10 ** this file. Please review the following information to ensure GNU
11 ** General Public Licensing requirements will be met:
11 ** General Public Licensing requirements will be met:
12 ** http://www.trolltech.com/products/qt/opensource.html
12 ** http://www.trolltech.com/products/qt/opensource.html
13 **
13 **
14 ** If you are unsure which license is appropriate for your use, please
14 ** If you are unsure which license is appropriate for your use, please
15 ** review the following information:
15 ** review the following information:
16 ** http://www.trolltech.com/products/qt/licensing.html or contact the
16 ** http://www.trolltech.com/products/qt/licensing.html or contact the
17 ** sales department at sales@trolltech.com.
17 ** sales department at sales@trolltech.com.
18 **
18 **
19 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
19 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
20 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
20 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
21 **
21 **
22 ****************************************************************************/
22 ****************************************************************************/
23
23
24 #include "shellgenerator.h"
24 #include "shellgenerator.h"
25 #include "reporthandler.h"
25 #include "reporthandler.h"
26
26
27 #include "metaqtscript.h"
27 #include "metaqtscript.h"
28
28
29 bool ShellGenerator::shouldGenerate(const AbstractMetaClass *meta_class) const
29 bool ShellGenerator::shouldGenerate(const AbstractMetaClass *meta_class) const
30 {
30 {
31 uint cg = meta_class->typeEntry()->codeGeneration();
31 uint cg = meta_class->typeEntry()->codeGeneration();
32 if (meta_class->name().startsWith("QtScript")) return false;
32 if (meta_class->name().startsWith("QtScript")) return false;
33 if (meta_class->name().startsWith("QFuture")) return false;
33 if (meta_class->name().startsWith("QFuture")) return false;
34 if (meta_class->name().startsWith("Global")) return false;
34 if (meta_class->name().startsWith("Global")) return false;
35 if (meta_class->name().startsWith("QStyleOptionComplex")) return false;
35 if (meta_class->name().startsWith("QStyleOptionComplex")) return false;
36 if (meta_class->name().startsWith("QTextLayout")) return false;
36 if (meta_class->name().startsWith("QTextLayout")) return false;
37 //if (meta_class->name().startsWith("QTextStream")) return false; // because of >> operators
37 //if (meta_class->name().startsWith("QTextStream")) return false; // because of >> operators
38 //if (meta_class->name().startsWith("QDataStream")) return false; // "
38 //if (meta_class->name().startsWith("QDataStream")) return false; // "
39 return ((cg & TypeEntry::GenerateCode) != 0);
39 return ((cg & TypeEntry::GenerateCode) != 0);
40 }
40 }
41
41
42 void ShellGenerator::writeTypeInfo(QTextStream &s, const AbstractMetaType *type, Option options)
42 void ShellGenerator::writeTypeInfo(QTextStream &s, const AbstractMetaType *type, Option options)
43 {
43 {
44 if ((options & OriginalTypeDescription) && !type->originalTypeDescription().isEmpty()) {
44 if ((options & OriginalTypeDescription) && !type->originalTypeDescription().isEmpty()) {
45 s << type->originalTypeDescription();
45 s << type->originalTypeDescription();
46 return;
46 return;
47 }
47 }
48
48
49 if (type->isArray()) {
49 if (type->isArray()) {
50 writeTypeInfo(s, type->arrayElementType(), options);
50 writeTypeInfo(s, type->arrayElementType(), options);
51 if (options & ArrayAsPointer) {
51 if (options & ArrayAsPointer) {
52 s << "*";
52 s << "*";
53 } else {
53 } else {
54 s << "[" << type->arrayElementCount() << "]";
54 s << "[" << type->arrayElementCount() << "]";
55 }
55 }
56 return;
56 return;
57 }
57 }
58
58
59 const TypeEntry *te = type->typeEntry();
59 const TypeEntry *te = type->typeEntry();
60
60
61 if (type->isConstant() && !(options & ExcludeConst))
61 if (type->isConstant() && !(options & ExcludeConst))
62 s << "const ";
62 s << "const ";
63
63
64 if ((options & EnumAsInts) && (te->isEnum() || te->isFlags())) {
64 if ((options & EnumAsInts) && (te->isEnum() || te->isFlags())) {
65 s << "int";
65 s << "int";
66 } else if (te->isFlags()) {
66 } else if (te->isFlags()) {
67 s << ((FlagsTypeEntry *) te)->originalName();
67 s << ((FlagsTypeEntry *) te)->originalName();
68 } else {
68 } else {
69 s << fixCppTypeName(te->qualifiedCppName());
69 s << fixCppTypeName(te->qualifiedCppName());
70 }
70 }
71
71
72 if (type->instantiations().size() > 0
72 if (type->instantiations().size() > 0
73 && (!type->isContainer()
73 && (!type->isContainer()
74 || (static_cast<const ContainerTypeEntry *>(te))->type() != ContainerTypeEntry::StringListContainer)) {
74 || (static_cast<const ContainerTypeEntry *>(te))->type() != ContainerTypeEntry::StringListContainer)) {
75 s << '<';
75 s << '<';
76 QList<AbstractMetaType *> args = type->instantiations();
76 QList<AbstractMetaType *> args = type->instantiations();
77 bool nested_template = false;
77 bool nested_template = false;
78 for (int i=0; i<args.size(); ++i) {
78 for (int i=0; i<args.size(); ++i) {
79 if (i != 0)
79 if (i != 0)
80 s << ", ";
80 s << ", ";
81 nested_template |= args.at(i)->isContainer();
81 nested_template |= args.at(i)->isContainer();
82 writeTypeInfo(s, args.at(i));
82 writeTypeInfo(s, args.at(i));
83 }
83 }
84 if (nested_template)
84 if (nested_template)
85 s << ' ';
85 s << ' ';
86 s << '>';
86 s << '>';
87 }
87 }
88
88
89 s << QString(type->indirections(), '*');
89 s << QString(type->indirections(), '*');
90
90
91 if (type->isReference() && !(options & ExcludeReference))
91 if (type->isReference() && !(options & ExcludeReference))
92 s << "&";
92 s << "&";
93
93
94 if (!(options & SkipName))
94 if (!(options & SkipName))
95 s << ' ';
95 s << ' ';
96 }
96 }
97
97
98
98
99 void ShellGenerator::writeFunctionArguments(QTextStream &s, const AbstractMetaClass* owner,
99 void ShellGenerator::writeFunctionArguments(QTextStream &s, const AbstractMetaClass* owner,
100 const AbstractMetaArgumentList &arguments,
100 const AbstractMetaArgumentList &arguments,
101 Option option,
101 Option option,
102 int numArguments)
102 int numArguments)
103 {
103 {
104 if (numArguments < 0) numArguments = arguments.size();
104 if (numArguments < 0) numArguments = arguments.size();
105
105
106 for (int i=0; i<numArguments; ++i) {
106 for (int i=0; i<numArguments; ++i) {
107 if (i != 0)
107 if (i != 0)
108 s << ", ";
108 s << ", ";
109 AbstractMetaArgument *arg = arguments.at(i);
109 AbstractMetaArgument *arg = arguments.at(i);
110 writeTypeInfo(s, arg->type(), option);
110 writeTypeInfo(s, arg->type(), option);
111 if (!(option & SkipName))
111 if (!(option & SkipName))
112 s << " " << arg->argumentName();
112 s << " " << arg->argumentName();
113 if ((option & IncludeDefaultExpression) && !arg->originalDefaultValueExpression().isEmpty()) {
113 if ((option & IncludeDefaultExpression) && !arg->originalDefaultValueExpression().isEmpty()) {
114 s << " = ";
114 s << " = ";
115
115
116 QString expr = arg->originalDefaultValueExpression();
116 QString expr = arg->originalDefaultValueExpression();
117 if (expr != "0") {
117 if (expr != "0") {
118 QString qualifier;
118 QString qualifier;
119 if (arg->type()->typeEntry()->isEnum() && expr.indexOf("::") < 0) {
119 if (arg->type()->typeEntry()->isEnum() && expr.indexOf("::") < 0) {
120 qualifier = ((EnumTypeEntry *)arg->type()->typeEntry())->qualifier();
120 qualifier = ((EnumTypeEntry *)arg->type()->typeEntry())->qualifier();
121 } else if (arg->type()->typeEntry()->isFlags() && expr.indexOf("::") < 0) {
121 } else if (arg->type()->typeEntry()->isFlags() && expr.indexOf("::") < 0) {
122 qualifier = ((FlagsTypeEntry *)arg->type()->typeEntry())->originator()->qualifier();
122 qualifier = ((FlagsTypeEntry *)arg->type()->typeEntry())->originator()->qualifier();
123 }
123 }
124 if (!qualifier.isEmpty()) {
124 if (!qualifier.isEmpty()) {
125 s << qualifier << "::";
125 s << qualifier << "::";
126 }
126 }
127 }
127 }
128 if (expr.contains("defaultConnection")) {
128 if (expr.contains("defaultConnection")) {
129 expr.replace("defaultConnection","QSqlDatabase::defaultConnection");
129 expr.replace("defaultConnection","QSqlDatabase::defaultConnection");
130 }
130 }
131 if (expr == "MediaSource()") {
131 if (expr == "MediaSource()") {
132 expr = "Phonon::MediaSource()";
132 expr = "Phonon::MediaSource()";
133 }
133 }
134 s << expr;
134 s << expr;
135 }
135 }
136 }
136 }
137 }
137 }
138
138
139 /*!
139 /*!
140 * Writes the function \a meta_function signature to the textstream \a s.
140 * Writes the function \a meta_function signature to the textstream \a s.
141 *
141 *
142 * The \a name_prefix can be used to give the function name a prefix,
142 * The \a name_prefix can be used to give the function name a prefix,
143 * like "__public_" or "__override_" and \a classname_prefix can
143 * like "__public_" or "__override_" and \a classname_prefix can
144 * be used to give the class name a prefix.
144 * be used to give the class name a prefix.
145 *
145 *
146 * The \a option flags can be used to tweak various parameters, such as
146 * The \a option flags can be used to tweak various parameters, such as
147 * showing static, original vs renamed name, underscores for space etc.
147 * showing static, original vs renamed name, underscores for space etc.
148 *
148 *
149 * The \a extra_arguments list is a list of extra arguments on the
149 * The \a extra_arguments list is a list of extra arguments on the
150 * form "bool static_call".
150 * form "bool static_call".
151 */
151 */
152
152
153 void ShellGenerator::writeFunctionSignature(QTextStream &s,
153 void ShellGenerator::writeFunctionSignature(QTextStream &s,
154 const AbstractMetaFunction *meta_function,
154 const AbstractMetaFunction *meta_function,
155 const AbstractMetaClass *implementor,
155 const AbstractMetaClass *implementor,
156 const QString &name_prefix,
156 const QString &name_prefix,
157 Option option,
157 Option option,
158 const QString &classname_prefix,
158 const QString &classname_prefix,
159 const QStringList &extra_arguments,
159 const QStringList &extra_arguments,
160 int numArguments)
160 int numArguments)
161 {
161 {
162 // ### remove the implementor
162 // ### remove the implementor
163 AbstractMetaType *function_type = meta_function->type();
163 AbstractMetaType *function_type = meta_function->type();
164
164
165
165
166 if ((option & SkipReturnType) == 0) {
166 if ((option & SkipReturnType) == 0) {
167 if (function_type) {
167 if (function_type) {
168 writeTypeInfo(s, function_type, option);
168 writeTypeInfo(s, function_type, option);
169 s << " ";
169 s << " ";
170 } else if (!meta_function->isConstructor()) {
170 } else if (!meta_function->isConstructor()) {
171 s << "void ";
171 s << "void ";
172 }
172 }
173 }
173 }
174
174
175 if (implementor) {
175 if (implementor) {
176 if (classname_prefix.isEmpty())
176 if (classname_prefix.isEmpty())
177 s << wrapperClassName(implementor) << "::";
177 s << wrapperClassName(implementor) << "::";
178 else
178 else
179 s << classname_prefix << implementor->name() << "::";
179 s << classname_prefix << implementor->name() << "::";
180 }
180 }
181
181
182
182
183 QString function_name;
183 QString function_name;
184 if (option & OriginalName)
184 if (option & OriginalName)
185 function_name = meta_function->originalName();
185 function_name = meta_function->originalName();
186 else
186 else
187 function_name = meta_function->name();
187 function_name = meta_function->name();
188
188
189 if (option & UnderscoreSpaces)
189 if (option & UnderscoreSpaces)
190 function_name = function_name.replace(' ', '_');
190 function_name = function_name.replace(' ', '_');
191
191
192 if (meta_function->isConstructor())
192 if (meta_function->isConstructor())
193 function_name = meta_function->ownerClass()->name();
193 function_name = meta_function->ownerClass()->name();
194
194
195 if (meta_function->isStatic() && (option & ShowStatic)) {
195 if (meta_function->isStatic() && (option & ShowStatic)) {
196 function_name = "static_" + meta_function->ownerClass()->name() + "_" + function_name;
196 function_name = "static_" + meta_function->ownerClass()->name() + "_" + function_name;
197 }
197 }
198
198
199 if (function_name.startsWith("operator")) {
199 if (function_name.startsWith("operator")) {
200 function_name = meta_function->name();
200 function_name = meta_function->name();
201 }
201 }
202
202
203 s << name_prefix << function_name;
203 s << name_prefix << function_name;
204
204
205 if (meta_function->attributes() & AbstractMetaAttributes::SetterFunction)
205 if (meta_function->attributes() & AbstractMetaAttributes::SetterFunction)
206 s << "_setter";
206 s << "_setter";
207 else if (meta_function->attributes() & AbstractMetaAttributes::GetterFunction)
207 else if (meta_function->attributes() & AbstractMetaAttributes::GetterFunction)
208 s << "_getter";
208 s << "_getter";
209
209
210 s << "(";
210 s << "(";
211
211
212 if ((option & FirstArgIsWrappedObject) && meta_function->ownerClass() && !meta_function->isConstructor() && !meta_function->isStatic()) {
212 if ((option & FirstArgIsWrappedObject) && meta_function->ownerClass() && !meta_function->isConstructor() && !meta_function->isStatic()) {
213 s << meta_function->ownerClass()->qualifiedCppName() << "* theWrappedObject";
213 s << meta_function->ownerClass()->qualifiedCppName() << "* theWrappedObject";
214 if (meta_function->arguments().size() != 0) {
214 if (meta_function->arguments().size() != 0) {
215 s << ", ";
215 s << ", ";
216 }
216 }
217 }
217 }
218
218
219 writeFunctionArguments(s, meta_function->ownerClass(), meta_function->arguments(), option, numArguments);
219 writeFunctionArguments(s, meta_function->ownerClass(), meta_function->arguments(), option, numArguments);
220
220
221 // The extra arguments...
221 // The extra arguments...
222 for (int i=0; i<extra_arguments.size(); ++i) {
222 for (int i=0; i<extra_arguments.size(); ++i) {
223 if (i > 0 || meta_function->arguments().size() != 0)
223 if (i > 0 || meta_function->arguments().size() != 0)
224 s << ", ";
224 s << ", ";
225 s << extra_arguments.at(i);
225 s << extra_arguments.at(i);
226 }
226 }
227
227
228 s << ")";
228 s << ")";
229 if (meta_function->isConstant())
229 if (meta_function->isConstant())
230 s << " const";
230 s << " const";
231 }
231 }
232
232
233 AbstractMetaFunctionList ShellGenerator::getFunctionsToWrap(const AbstractMetaClass* meta_class)
233 AbstractMetaFunctionList ShellGenerator::getFunctionsToWrap(const AbstractMetaClass* meta_class)
234 {
234 {
235 AbstractMetaFunctionList functions = meta_class->queryFunctions(
235 AbstractMetaFunctionList functions = meta_class->queryFunctions(
236 AbstractMetaClass::NormalFunctions | AbstractMetaClass::WasPublic
236 AbstractMetaClass::NormalFunctions | AbstractMetaClass::WasPublic
237 | AbstractMetaClass::NotRemovedFromTargetLang | AbstractMetaClass::ClassImplements
237 | AbstractMetaClass::NotRemovedFromTargetLang | AbstractMetaClass::ClassImplements
238 );
238 );
239 AbstractMetaFunctionList functions2 = meta_class->queryFunctions(
239 AbstractMetaFunctionList functions2 = meta_class->queryFunctions(
240 AbstractMetaClass::VirtualFunctions | AbstractMetaClass::WasVisible
240 AbstractMetaClass::VirtualFunctions | AbstractMetaClass::WasVisible
241 | AbstractMetaClass::NotRemovedFromTargetLang | AbstractMetaClass::ClassImplements
241 | AbstractMetaClass::NotRemovedFromTargetLang | AbstractMetaClass::ClassImplements
242 );
242 );
243 QSet<AbstractMetaFunction*> set1 = QSet<AbstractMetaFunction*>::fromList(functions);
243 QSet<AbstractMetaFunction*> set1 = QSet<AbstractMetaFunction*>::fromList(functions);
244 foreach(AbstractMetaFunction* func, functions2) {
244 foreach(AbstractMetaFunction* func, functions2) {
245 set1.insert(func);
245 set1.insert(func);
246 }
246 }
247
247
248 AbstractMetaFunctionList resultFunctions;
248 AbstractMetaFunctionList resultFunctions;
249
249
250 foreach(AbstractMetaFunction* func, set1.toList()) {
250 foreach(AbstractMetaFunction* func, set1.toList()) {
251 if (!func->isAbstract() && func->implementingClass()==meta_class) {
251 if (!func->isAbstract() && func->implementingClass()==meta_class) {
252 resultFunctions << func;
252 resultFunctions << func;
253 }
253 }
254 }
254 }
255 return resultFunctions;
255 return resultFunctions;
256 }
256 }
257
257
258 AbstractMetaFunctionList ShellGenerator::getVirtualFunctionsForShell(const AbstractMetaClass* meta_class)
258 AbstractMetaFunctionList ShellGenerator::getVirtualFunctionsForShell(const AbstractMetaClass* meta_class)
259 {
259 {
260 AbstractMetaFunctionList functions = meta_class->queryFunctions(
260 AbstractMetaFunctionList functions = meta_class->queryFunctions(
261 AbstractMetaClass::VirtualFunctions | AbstractMetaClass::WasVisible
261 AbstractMetaClass::VirtualFunctions | AbstractMetaClass::WasVisible
262 // | AbstractMetaClass::NotRemovedFromTargetLang
262 // | AbstractMetaClass::NotRemovedFromTargetLang
263 );
263 );
264 return functions;
264 return functions;
265 }
265 }
266
266
267 AbstractMetaFunctionList ShellGenerator::getProtectedFunctionsThatNeedPromotion(const AbstractMetaClass* meta_class)
267 AbstractMetaFunctionList ShellGenerator::getProtectedFunctionsThatNeedPromotion(const AbstractMetaClass* meta_class)
268 {
268 {
269 AbstractMetaFunctionList functions;
269 AbstractMetaFunctionList functions;
270 AbstractMetaFunctionList functions1 = getFunctionsToWrap(meta_class);
270 AbstractMetaFunctionList functions1 = getFunctionsToWrap(meta_class);
271 foreach(AbstractMetaFunction* func, functions1) {
271 foreach(AbstractMetaFunction* func, functions1) {
272 if (!func->wasPublic()) {
272 if (!func->isPublic() || func->isVirtual()) {
273 functions << func;
273 functions << func;
274 }
274 }
275 }
275 }
276 return functions;
276 return functions;
277 }
277 }
278
278
279 /*!
279 /*!
280 Writes the include defined by \a inc to \a stream.
280 Writes the include defined by \a inc to \a stream.
281 */
281 */
282 void ShellGenerator::writeInclude(QTextStream &stream, const Include &inc)
282 void ShellGenerator::writeInclude(QTextStream &stream, const Include &inc)
283 {
283 {
284 if (inc.name.isEmpty())
284 if (inc.name.isEmpty())
285 return;
285 return;
286 if (inc.type == Include::TargetLangImport)
286 if (inc.type == Include::TargetLangImport)
287 return;
287 return;
288 stream << "#include ";
288 stream << "#include ";
289 if (inc.type == Include::IncludePath)
289 if (inc.type == Include::IncludePath)
290 stream << "<";
290 stream << "<";
291 else
291 else
292 stream << "\"";
292 stream << "\"";
293 stream << inc.name;
293 stream << inc.name;
294 if (inc.type == Include::IncludePath)
294 if (inc.type == Include::IncludePath)
295 stream << ">";
295 stream << ">";
296 else
296 else
297 stream << "\"";
297 stream << "\"";
298 stream << endl;
298 stream << endl;
299 }
299 }
300
300
301 /*!
301 /*!
302 Returns true if the given function \a fun is operator>>() or
302 Returns true if the given function \a fun is operator>>() or
303 operator<<() that streams from/to a Q{Data,Text}Stream, false
303 operator<<() that streams from/to a Q{Data,Text}Stream, false
304 otherwise.
304 otherwise.
305 */
305 */
306 bool ShellGenerator::isSpecialStreamingOperator(const AbstractMetaFunction *fun)
306 bool ShellGenerator::isSpecialStreamingOperator(const AbstractMetaFunction *fun)
307 {
307 {
308 return ((fun->functionType() == AbstractMetaFunction::GlobalScopeFunction)
308 return ((fun->functionType() == AbstractMetaFunction::GlobalScopeFunction)
309 && (fun->arguments().size() == 1)
309 && (fun->arguments().size() == 1)
310 && (((fun->originalName() == "operator>>") && (fun->modifiedName() == "readFrom"))
310 && (((fun->originalName() == "operator>>") && (fun->modifiedName() == "readFrom"))
311 || ((fun->originalName() == "operator<<") && (fun->modifiedName() == "writeTo"))));
311 || ((fun->originalName() == "operator<<") && (fun->modifiedName() == "writeTo"))));
312 }
312 }
313
313
314 bool ShellGenerator::isBuiltIn(const QString& name) {
314 bool ShellGenerator::isBuiltIn(const QString& name) {
315
315
316 static QSet<QString> builtIn;
316 static QSet<QString> builtIn;
317 if (builtIn.isEmpty()) {
317 if (builtIn.isEmpty()) {
318 builtIn.insert("Qt");
318 builtIn.insert("Qt");
319 builtIn.insert("QFont");
319 builtIn.insert("QFont");
320 builtIn.insert("QPixmap");
320 builtIn.insert("QPixmap");
321 builtIn.insert("QBrush");
321 builtIn.insert("QBrush");
322 builtIn.insert("QPalette");
322 builtIn.insert("QPalette");
323 builtIn.insert("QIcon");
323 builtIn.insert("QIcon");
324 builtIn.insert("QImage");
324 builtIn.insert("QImage");
325 builtIn.insert("QPolygon");
325 builtIn.insert("QPolygon");
326 builtIn.insert("QRegion");
326 builtIn.insert("QRegion");
327 builtIn.insert("QBitmap");
327 builtIn.insert("QBitmap");
328 builtIn.insert("QCursor");
328 builtIn.insert("QCursor");
329 builtIn.insert("QColor");
329 builtIn.insert("QColor");
330 builtIn.insert("QSizePolicy");
330 builtIn.insert("QSizePolicy");
331 builtIn.insert("QKeySequence");
331 builtIn.insert("QKeySequence");
332 builtIn.insert("QTextLength");
332 builtIn.insert("QTextLength");
333 builtIn.insert("QTextFormat");
333 builtIn.insert("QTextFormat");
334 builtIn.insert("QMatrix");
334 builtIn.insert("QMatrix");
335 builtIn.insert("QDate");
335 builtIn.insert("QDate");
336 builtIn.insert("QTime");
336 builtIn.insert("QTime");
337 builtIn.insert("QDateTime");
337 builtIn.insert("QDateTime");
338 builtIn.insert("QUrl");
338 builtIn.insert("QUrl");
339 builtIn.insert("QLocale");
339 builtIn.insert("QLocale");
340 builtIn.insert("QRect");
340 builtIn.insert("QRect");
341 builtIn.insert("QRectF");
341 builtIn.insert("QRectF");
342 builtIn.insert("QSize");
342 builtIn.insert("QSize");
343 builtIn.insert("QSizeF");
343 builtIn.insert("QSizeF");
344 builtIn.insert("QLine");
344 builtIn.insert("QLine");
345 builtIn.insert("QLineF");
345 builtIn.insert("QLineF");
346 builtIn.insert("QPoint");
346 builtIn.insert("QPoint");
347 builtIn.insert("QPointF");
347 builtIn.insert("QPointF");
348 builtIn.insert("QRegExp");
348 builtIn.insert("QRegExp");
349 }
349 }
350 return builtIn.contains(name);
350 return builtIn.contains(name);
351 }
351 }
@@ -1,244 +1,244
1 /****************************************************************************
1 /****************************************************************************
2 **
2 **
3 ** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved.
3 ** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved.
4 **
4 **
5 ** This file is part of the Qt Script Generator project on Trolltech Labs.
5 ** This file is part of the Qt Script Generator project on Trolltech Labs.
6 **
6 **
7 ** This file may be used under the terms of the GNU General Public
7 ** This file may be used under the terms of the GNU General Public
8 ** License version 2.0 as published by the Free Software Foundation
8 ** License version 2.0 as published by the Free Software Foundation
9 ** and appearing in the file LICENSE.GPL included in the packaging of
9 ** and appearing in the file LICENSE.GPL included in the packaging of
10 ** this file. Please review the following information to ensure GNU
10 ** this file. Please review the following information to ensure GNU
11 ** General Public Licensing requirements will be met:
11 ** General Public Licensing requirements will be met:
12 ** http://www.trolltech.com/products/qt/opensource.html
12 ** http://www.trolltech.com/products/qt/opensource.html
13 **
13 **
14 ** If you are unsure which license is appropriate for your use, please
14 ** If you are unsure which license is appropriate for your use, please
15 ** review the following information:
15 ** review the following information:
16 ** http://www.trolltech.com/products/qt/licensing.html or contact the
16 ** http://www.trolltech.com/products/qt/licensing.html or contact the
17 ** sales department at sales@trolltech.com.
17 ** sales department at sales@trolltech.com.
18 **
18 **
19 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
19 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
20 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
20 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
21 **
21 **
22 ****************************************************************************/
22 ****************************************************************************/
23
23
24 #include "shellheadergenerator.h"
24 #include "shellheadergenerator.h"
25 #include "fileout.h"
25 #include "fileout.h"
26
26
27 #include <QtCore/QDir>
27 #include <QtCore/QDir>
28
28
29 #include <qdebug.h>
29 #include <qdebug.h>
30
30
31 QString ShellHeaderGenerator::fileNameForClass(const AbstractMetaClass *meta_class) const
31 QString ShellHeaderGenerator::fileNameForClass(const AbstractMetaClass *meta_class) const
32 {
32 {
33 return QString("PythonQtWrapper_%1.h").arg(meta_class->name());
33 return QString("PythonQtWrapper_%1.h").arg(meta_class->name());
34 }
34 }
35
35
36 void writeQtScriptQtBindingsLicense(QTextStream &stream);
36 void writeQtScriptQtBindingsLicense(QTextStream &stream);
37
37
38 void ShellHeaderGenerator::write(QTextStream &s, const AbstractMetaClass *meta_class)
38 void ShellHeaderGenerator::write(QTextStream &s, const AbstractMetaClass *meta_class)
39 {
39 {
40
40
41 setupGenerator->addClass(meta_class);
41 setupGenerator->addClass(meta_class);
42
42
43 if (FileOut::license)
43 if (FileOut::license)
44 writeQtScriptQtBindingsLicense(s);
44 writeQtScriptQtBindingsLicense(s);
45
45
46 QString include_block = "PYTHONQTWRAPPER_" + meta_class->name().toUpper() + "_H";
46 QString include_block = "PYTHONQTWRAPPER_" + meta_class->name().toUpper() + "_H";
47
47
48 s << "#ifndef " << include_block << endl
48 s << "#ifndef " << include_block << endl
49 << "#define " << include_block << endl << endl;
49 << "#define " << include_block << endl << endl;
50
50
51 Include inc = meta_class->typeEntry()->include();
51 Include inc = meta_class->typeEntry()->include();
52 ShellGenerator::writeInclude(s, inc);
52 ShellGenerator::writeInclude(s, inc);
53
53
54 s << "#include <QObject>" << endl << endl;
54 s << "#include <QObject>" << endl << endl;
55 s << "#include <PythonQt.h>" << endl << endl;
55 s << "#include <PythonQt.h>" << endl << endl;
56
56
57 IncludeList list = meta_class->typeEntry()->extraIncludes();
57 IncludeList list = meta_class->typeEntry()->extraIncludes();
58 qSort(list.begin(), list.end());
58 qSort(list.begin(), list.end());
59 foreach (const Include &inc, list) {
59 foreach (const Include &inc, list) {
60 ShellGenerator::writeInclude(s, inc);
60 ShellGenerator::writeInclude(s, inc);
61 }
61 }
62 s << endl;
62 s << endl;
63
63
64 QString pro_file_name = meta_class->package().replace(".", "_") + "/" + meta_class->package().replace(".", "_") + ".pri";
64 QString pro_file_name = meta_class->package().replace(".", "_") + "/" + meta_class->package().replace(".", "_") + ".pri";
65
65
66 // if (!meta_class->generateShellClass()) {
66 // if (!meta_class->generateShellClass()) {
67 // s << "#endif" << endl << endl;
67 // s << "#endif" << endl << endl;
68 // priGenerator->addHeader(pro_file_name, fileNameForClass(meta_class));
68 // priGenerator->addHeader(pro_file_name, fileNameForClass(meta_class));
69 // return ;
69 // return ;
70 // }
70 // }
71
71
72 AbstractMetaFunctionList ctors = meta_class->queryFunctions(AbstractMetaClass::Constructors
72 AbstractMetaFunctionList ctors = meta_class->queryFunctions(AbstractMetaClass::Constructors
73 | AbstractMetaClass::WasVisible
73 | AbstractMetaClass::WasVisible
74 | AbstractMetaClass::NotRemovedFromTargetLang);
74 | AbstractMetaClass::NotRemovedFromTargetLang);
75
75
76 // Shell-------------------------------------------------------------------
76 // Shell-------------------------------------------------------------------
77 if (meta_class->generateShellClass()) {
77 if (meta_class->generateShellClass()) {
78
78
79 AbstractMetaFunctionList virtualsForShell = getVirtualFunctionsForShell(meta_class);
79 AbstractMetaFunctionList virtualsForShell = getVirtualFunctionsForShell(meta_class);
80
80
81 s << "class " << shellClassName(meta_class)
81 s << "class " << shellClassName(meta_class)
82 << " : public " << meta_class->qualifiedCppName() << endl << "{" << endl;
82 << " : public " << meta_class->qualifiedCppName() << endl << "{" << endl;
83 s << "public:" << endl;
83 s << "public:" << endl;
84 foreach(AbstractMetaFunction* fun, ctors) {
84 foreach(AbstractMetaFunction* fun, ctors) {
85 s << " ";
85 s << " ";
86 writeFunctionSignature(s, fun, 0,"PythonQtShell_",
86 writeFunctionSignature(s, fun, 0,"PythonQtShell_",
87 Option(IncludeDefaultExpression | OriginalName | ShowStatic | UnderscoreSpaces));
87 Option(IncludeDefaultExpression | OriginalName | ShowStatic | UnderscoreSpaces));
88 s << ":" << meta_class->qualifiedCppName() << "(";
88 s << ":" << meta_class->qualifiedCppName() << "(";
89 QString scriptFunctionName = fun->originalName();
89 QString scriptFunctionName = fun->originalName();
90 AbstractMetaArgumentList args = fun->arguments();
90 AbstractMetaArgumentList args = fun->arguments();
91 for (int i = 0; i < args.size(); ++i) {
91 for (int i = 0; i < args.size(); ++i) {
92 if (i > 0)
92 if (i > 0)
93 s << ", ";
93 s << ", ";
94 s << args.at(i)->argumentName();
94 s << args.at(i)->argumentName();
95 }
95 }
96 s << "),_wrapper(NULL) {};" << endl;
96 s << "),_wrapper(NULL) {};" << endl;
97 }
97 }
98 s << endl;
98 s << endl;
99
99
100 foreach(AbstractMetaFunction* fun, virtualsForShell) {
100 foreach(AbstractMetaFunction* fun, virtualsForShell) {
101 s << "virtual ";
101 s << "virtual ";
102 writeFunctionSignature(s, fun, 0, QString(),
102 writeFunctionSignature(s, fun, 0, QString(),
103 Option(IncludeDefaultExpression | OriginalName | ShowStatic | UnderscoreSpaces));
103 Option(IncludeDefaultExpression | OriginalName | ShowStatic | UnderscoreSpaces));
104 s << ";" << endl;
104 s << ";" << endl;
105 }
105 }
106 s << endl;
106 s << endl;
107 s << " PythonQtInstanceWrapper* _wrapper; " << endl;
107 s << " PythonQtInstanceWrapper* _wrapper; " << endl;
108
108
109 s << "};" << endl << endl;
109 s << "};" << endl << endl;
110 }
110 }
111
111
112 // Promoter-------------------------------------------------------------------
112 // Promoter-------------------------------------------------------------------
113 AbstractMetaFunctionList promoteFunctions = getProtectedFunctionsThatNeedPromotion(meta_class);
113 AbstractMetaFunctionList promoteFunctions = getProtectedFunctionsThatNeedPromotion(meta_class);
114 if (!promoteFunctions.isEmpty()) {
114 if (!promoteFunctions.isEmpty()) {
115 s << "class " << promoterClassName(meta_class)
115 s << "class " << promoterClassName(meta_class)
116 << " : public " << meta_class->qualifiedCppName() << endl << "{ public:" << endl;
116 << " : public " << meta_class->qualifiedCppName() << endl << "{ public:" << endl;
117
117
118 foreach(AbstractMetaFunction* fun, promoteFunctions) {
118 foreach(AbstractMetaFunction* fun, promoteFunctions) {
119 s << "inline ";
119 s << "inline ";
120 writeFunctionSignature(s, fun, 0, QString(),
120 writeFunctionSignature(s, fun, 0, "promoted_",
121 Option(IncludeDefaultExpression | OriginalName | ShowStatic | UnderscoreSpaces));
121 Option(IncludeDefaultExpression | OriginalName | ShowStatic | UnderscoreSpaces));
122 s << " { ";
122 s << " { ";
123 QString scriptFunctionName = fun->originalName();
123 QString scriptFunctionName = fun->originalName();
124 AbstractMetaArgumentList args = fun->arguments();
124 AbstractMetaArgumentList args = fun->arguments();
125 if (fun->type())
125 if (fun->type())
126 s << "return ";
126 s << "return ";
127 s << meta_class->qualifiedCppName() << "::";
127 s << meta_class->qualifiedCppName() << "::";
128 s << fun->originalName() << "(";
128 s << fun->originalName() << "(";
129 for (int i = 0; i < args.size(); ++i) {
129 for (int i = 0; i < args.size(); ++i) {
130 if (i > 0)
130 if (i > 0)
131 s << ", ";
131 s << ", ";
132 s << args.at(i)->argumentName();
132 s << args.at(i)->argumentName();
133 }
133 }
134 s << "); }" << endl;
134 s << "); }" << endl;
135 }
135 }
136
136
137 s << "};" << endl << endl;
137 s << "};" << endl << endl;
138 }
138 }
139
139
140 // Wrapper-------------------------------------------------------------------
140 // Wrapper-------------------------------------------------------------------
141
141
142 s << "class " << wrapperClassName(meta_class)
142 s << "class " << wrapperClassName(meta_class)
143 << " : public QObject" << endl
143 << " : public QObject" << endl
144 << "{ Q_OBJECT" << endl;
144 << "{ Q_OBJECT" << endl;
145
145
146 s << "public:" << endl;
146 s << "public:" << endl;
147
147
148 AbstractMetaEnumList enums1 = meta_class->enums();
148 AbstractMetaEnumList enums1 = meta_class->enums();
149 AbstractMetaEnumList enums;
149 AbstractMetaEnumList enums;
150 foreach(AbstractMetaEnum* enum1, enums1) {
150 foreach(AbstractMetaEnum* enum1, enums1) {
151 // catch gadgets and enums that are not exported on QObjects...
151 // catch gadgets and enums that are not exported on QObjects...
152 if (enum1->wasPublic() && (!meta_class->isQObject() || !enum1->hasQEnumsDeclaration())) {
152 if (enum1->wasPublic() && (!meta_class->isQObject() || !enum1->hasQEnumsDeclaration())) {
153 enums << enum1;
153 enums << enum1;
154 }
154 }
155 }
155 }
156 if (enums.count()) {
156 if (enums.count()) {
157 s << "Q_ENUMS(";
157 s << "Q_ENUMS(";
158 foreach(AbstractMetaEnum* enum1, enums) {
158 foreach(AbstractMetaEnum* enum1, enums) {
159 s << enum1->name() << " ";
159 s << enum1->name() << " ";
160 }
160 }
161 s << ")" << endl;
161 s << ")" << endl;
162
162
163 foreach(AbstractMetaEnum* enum1, enums) {
163 foreach(AbstractMetaEnum* enum1, enums) {
164 s << "enum " << enum1->name() << "{" << endl;
164 s << "enum " << enum1->name() << "{" << endl;
165 bool first = true;
165 bool first = true;
166 foreach(AbstractMetaEnumValue* value, enum1->values()) {
166 foreach(AbstractMetaEnumValue* value, enum1->values()) {
167 if (first) { first = false; }
167 if (first) { first = false; }
168 else { s << ", "; }
168 else { s << ", "; }
169 s << " " << value->name() << " = " << meta_class->qualifiedCppName() << "::" << value->name();
169 s << " " << value->name() << " = " << meta_class->qualifiedCppName() << "::" << value->name();
170 }
170 }
171 s << "};" << endl;
171 s << "};" << endl;
172 }
172 }
173 }
173 }
174
174
175 s << "public slots:" << endl;
175 s << "public slots:" << endl;
176 if (meta_class->generateShellClass() || !meta_class->isAbstract()) {
176 if (meta_class->generateShellClass() || !meta_class->isAbstract()) {
177
177
178 bool copyConstructorSeen = false;
178 bool copyConstructorSeen = false;
179 bool defaultConstructorSeen = false;
179 bool defaultConstructorSeen = false;
180 foreach (const AbstractMetaFunction *fun, ctors) {
180 foreach (const AbstractMetaFunction *fun, ctors) {
181 if (!fun->isPublic() || fun->isAbstract()) { continue; }
181 if (!fun->isPublic() || fun->isAbstract()) { continue; }
182 s << meta_class->qualifiedCppName() << "* ";
182 s << meta_class->qualifiedCppName() << "* ";
183 writeFunctionSignature(s, fun, 0, "new_",
183 writeFunctionSignature(s, fun, 0, "new_",
184 Option(IncludeDefaultExpression | OriginalName | ShowStatic));
184 Option(IncludeDefaultExpression | OriginalName | ShowStatic));
185 s << ";" << endl;
185 s << ";" << endl;
186 if (fun->arguments().size()==1 && meta_class->qualifiedCppName() == fun->arguments().at(0)->type()->typeEntry()->qualifiedCppName()) {
186 if (fun->arguments().size()==1 && meta_class->qualifiedCppName() == fun->arguments().at(0)->type()->typeEntry()->qualifiedCppName()) {
187 copyConstructorSeen = true;
187 copyConstructorSeen = true;
188 }
188 }
189 if (fun->arguments().size()==0) {
189 if (fun->arguments().size()==0) {
190 defaultConstructorSeen = true;
190 defaultConstructorSeen = true;
191 }
191 }
192 }
192 }
193
193
194 if (meta_class->typeEntry()->isValue()
194 if (meta_class->typeEntry()->isValue()
195 && !copyConstructorSeen && defaultConstructorSeen) {
195 && !copyConstructorSeen && defaultConstructorSeen) {
196 QString className = meta_class->generateShellClass()?shellClassName(meta_class):meta_class->qualifiedCppName();
196 QString className = meta_class->generateShellClass()?shellClassName(meta_class):meta_class->qualifiedCppName();
197 s << meta_class->qualifiedCppName() << "* new_" << meta_class->name() << "(const " << meta_class->qualifiedCppName() << "& other) {" << endl;
197 s << meta_class->qualifiedCppName() << "* new_" << meta_class->name() << "(const " << meta_class->qualifiedCppName() << "& other) {" << endl;
198 s << className << "* a = new " << className << "();" << endl;
198 s << className << "* a = new " << className << "();" << endl;
199 s << "*((" << meta_class->qualifiedCppName() << "*)a) = other;" << endl;
199 s << "*((" << meta_class->qualifiedCppName() << "*)a) = other;" << endl;
200 s << "return a; }" << endl;
200 s << "return a; }" << endl;
201 }
201 }
202 }
202 }
203 if (meta_class->hasPublicDestructor() && !meta_class->isNamespace()) {
203 if (meta_class->hasPublicDestructor() && !meta_class->isNamespace()) {
204 s << "void delete_" << meta_class->name() << "(" << meta_class->qualifiedCppName() << "* obj) { delete obj; } ";
204 s << "void delete_" << meta_class->name() << "(" << meta_class->qualifiedCppName() << "* obj) { delete obj; } ";
205 s << endl;
205 s << endl;
206 }
206 }
207 if (meta_class->name()=="QTreeWidgetItem") {
207 if (meta_class->name()=="QTreeWidgetItem") {
208 s << "bool hasOwner(QTreeWidgetItem* theWrappedObject) { return theWrappedObject->treeWidget()!=NULL || theWrappedObject->parent()!=NULL; }" << endl;
208 s << "bool hasOwner(QTreeWidgetItem* theWrappedObject) { return theWrappedObject->treeWidget()!=NULL || theWrappedObject->parent()!=NULL; }" << endl;
209 } else if (meta_class->name()=="QGraphicsItem") {
209 } else if (meta_class->name()=="QGraphicsItem") {
210 s << "bool hasOwner(QGraphicsItem* theWrappedObject) { return theWrappedObject->scene()!=NULL || theWrappedObject->parentItem()!=NULL; }" << endl;
210 s << "bool hasOwner(QGraphicsItem* theWrappedObject) { return theWrappedObject->scene()!=NULL || theWrappedObject->parentItem()!=NULL; }" << endl;
211 }
211 }
212
212
213 AbstractMetaFunctionList functions = getFunctionsToWrap(meta_class);
213 AbstractMetaFunctionList functions = getFunctionsToWrap(meta_class);
214
214
215 foreach (const AbstractMetaFunction *function, functions) {
215 foreach (const AbstractMetaFunction *function, functions) {
216 if (!function->isSlot()) {
216 if (!function->isSlot()) {
217 s << " ";
217 s << " ";
218 writeFunctionSignature(s, function, 0, QString(),
218 writeFunctionSignature(s, function, 0, QString(),
219 Option(FirstArgIsWrappedObject| IncludeDefaultExpression | OriginalName | ShowStatic | UnderscoreSpaces));
219 Option(FirstArgIsWrappedObject| IncludeDefaultExpression | OriginalName | ShowStatic | UnderscoreSpaces));
220 s << ";" << endl;
220 s << ";" << endl;
221 }
221 }
222 }
222 }
223
223
224 // writeInjectedCode(s, meta_class);
224 // writeInjectedCode(s, meta_class);
225
225
226 // s << endl << " QScriptValue __qtscript_self;" << endl;
226 // s << endl << " QScriptValue __qtscript_self;" << endl;
227
227
228 s << "};" << endl << endl
228 s << "};" << endl << endl
229 << "#endif // " << include_block << endl;
229 << "#endif // " << include_block << endl;
230
230
231 if (!ShellGenerator::isBuiltIn(meta_class->name())) {
231 if (!ShellGenerator::isBuiltIn(meta_class->name())) {
232 priGenerator->addHeader(pro_file_name, fileNameForClass(meta_class));
232 priGenerator->addHeader(pro_file_name, fileNameForClass(meta_class));
233 }
233 }
234 }
234 }
235
235
236 void ShellHeaderGenerator::writeInjectedCode(QTextStream &s, const AbstractMetaClass *meta_class)
236 void ShellHeaderGenerator::writeInjectedCode(QTextStream &s, const AbstractMetaClass *meta_class)
237 {
237 {
238 CodeSnipList code_snips = meta_class->typeEntry()->codeSnips();
238 CodeSnipList code_snips = meta_class->typeEntry()->codeSnips();
239 foreach (const CodeSnip &cs, code_snips) {
239 foreach (const CodeSnip &cs, code_snips) {
240 if (cs.language == TypeSystem::ShellDeclaration) {
240 if (cs.language == TypeSystem::ShellDeclaration) {
241 s << cs.code() << endl;
241 s << cs.code() << endl;
242 }
242 }
243 }
243 }
244 }
244 }
@@ -1,269 +1,270
1 /****************************************************************************
1 /****************************************************************************
2 **
2 **
3 ** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved.
3 ** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved.
4 **
4 **
5 ** This file is part of the Qt Script Generator project on Trolltech Labs.
5 ** This file is part of the Qt Script Generator project on Trolltech Labs.
6 **
6 **
7 ** This file may be used under the terms of the GNU General Public
7 ** This file may be used under the terms of the GNU General Public
8 ** License version 2.0 as published by the Free Software Foundation
8 ** License version 2.0 as published by the Free Software Foundation
9 ** and appearing in the file LICENSE.GPL included in the packaging of
9 ** and appearing in the file LICENSE.GPL included in the packaging of
10 ** this file. Please review the following information to ensure GNU
10 ** this file. Please review the following information to ensure GNU
11 ** General Public Licensing requirements will be met:
11 ** General Public Licensing requirements will be met:
12 ** http://www.trolltech.com/products/qt/opensource.html
12 ** http://www.trolltech.com/products/qt/opensource.html
13 **
13 **
14 ** If you are unsure which license is appropriate for your use, please
14 ** If you are unsure which license is appropriate for your use, please
15 ** review the following information:
15 ** review the following information:
16 ** http://www.trolltech.com/products/qt/licensing.html or contact the
16 ** http://www.trolltech.com/products/qt/licensing.html or contact the
17 ** sales department at sales@trolltech.com.
17 ** sales department at sales@trolltech.com.
18 **
18 **
19 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
19 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
20 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
20 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
21 **
21 **
22 ****************************************************************************/
22 ****************************************************************************/
23
23
24 #include "shellimplgenerator.h"
24 #include "shellimplgenerator.h"
25 #include "reporthandler.h"
25 #include "reporthandler.h"
26 #include "fileout.h"
26 #include "fileout.h"
27
27
28 extern void declareFunctionMetaTypes(QTextStream &stream,
28 extern void declareFunctionMetaTypes(QTextStream &stream,
29 const AbstractMetaFunctionList &functions,
29 const AbstractMetaFunctionList &functions,
30 QSet<QString> &registeredTypeNames);
30 QSet<QString> &registeredTypeNames);
31
31
32 QString ShellImplGenerator::fileNameForClass(const AbstractMetaClass *meta_class) const
32 QString ShellImplGenerator::fileNameForClass(const AbstractMetaClass *meta_class) const
33 {
33 {
34 return QString("PythonQtWrapper_%1.cpp").arg(meta_class->name());
34 return QString("PythonQtWrapper_%1.cpp").arg(meta_class->name());
35 }
35 }
36
36
37 static bool include_less_than(const Include &a, const Include &b)
37 static bool include_less_than(const Include &a, const Include &b)
38 {
38 {
39 return a.name < b.name;
39 return a.name < b.name;
40 }
40 }
41
41
42 static void writeHelperCode(QTextStream &s, const AbstractMetaClass *)
42 static void writeHelperCode(QTextStream &s, const AbstractMetaClass *)
43 {
43 {
44 }
44 }
45
45
46 void writeQtScriptQtBindingsLicense(QTextStream &stream);
46 void writeQtScriptQtBindingsLicense(QTextStream &stream);
47
47
48 void ShellImplGenerator::write(QTextStream &s, const AbstractMetaClass *meta_class)
48 void ShellImplGenerator::write(QTextStream &s, const AbstractMetaClass *meta_class)
49 {
49 {
50 if (FileOut::license)
50 if (FileOut::license)
51 writeQtScriptQtBindingsLicense(s);
51 writeQtScriptQtBindingsLicense(s);
52
52
53 QString pro_file_name = meta_class->package().replace(".", "_") + "/" + meta_class->package().replace(".", "_") + ".pri";
53 QString pro_file_name = meta_class->package().replace(".", "_") + "/" + meta_class->package().replace(".", "_") + ".pri";
54
54
55 if (!ShellGenerator::isBuiltIn(meta_class->name())) {
55 if (!ShellGenerator::isBuiltIn(meta_class->name())) {
56 priGenerator->addSource(pro_file_name, fileNameForClass(meta_class));
56 priGenerator->addSource(pro_file_name, fileNameForClass(meta_class));
57 }
57 }
58
58
59 s << "#include \"PythonQtWrapper_" << meta_class->name() << ".h\"" << endl << endl;
59 s << "#include \"PythonQtWrapper_" << meta_class->name() << ".h\"" << endl << endl;
60
60
61 s << "#include <PythonQtSignalReceiver.h>" << endl;
61 s << "#include <PythonQtSignalReceiver.h>" << endl;
62 s << "#include <PythonQtMethodInfo.h>" << endl;
62 s << "#include <PythonQtMethodInfo.h>" << endl;
63 s << "#include <PythonQtConversion.h>" << endl;
63 s << "#include <PythonQtConversion.h>" << endl;
64
64
65 //if (!meta_class->generateShellClass())
65 //if (!meta_class->generateShellClass())
66 // return;
66 // return;
67
67
68 IncludeList list = meta_class->typeEntry()->extraIncludes();
68 IncludeList list = meta_class->typeEntry()->extraIncludes();
69 qSort(list.begin(), list.end());
69 qSort(list.begin(), list.end());
70 foreach (const Include &inc, list) {
70 foreach (const Include &inc, list) {
71 ShellGenerator::writeInclude(s, inc);
71 ShellGenerator::writeInclude(s, inc);
72 }
72 }
73 s << endl;
73 s << endl;
74
74
75 writeHelperCode(s, meta_class);
75 writeHelperCode(s, meta_class);
76
76
77 // find constructors
77 // find constructors
78 AbstractMetaFunctionList ctors;
78 AbstractMetaFunctionList ctors;
79 ctors = meta_class->queryFunctions(AbstractMetaClass::Constructors
79 ctors = meta_class->queryFunctions(AbstractMetaClass::Constructors
80 | AbstractMetaClass::WasVisible
80 | AbstractMetaClass::WasVisible
81 | AbstractMetaClass::NotRemovedFromTargetLang);
81 | AbstractMetaClass::NotRemovedFromTargetLang);
82 // find member functions
82 // find member functions
83 AbstractMetaFunctionList functions = getFunctionsToWrap(meta_class);
83 AbstractMetaFunctionList functions = getFunctionsToWrap(meta_class);
84
84
85 // write metatype declarations
85 // write metatype declarations
86 {
86 {
87 // QSet<QString> registeredTypeNames = m_qmetatype_declared_typenames;
87 // QSet<QString> registeredTypeNames = m_qmetatype_declared_typenames;
88 // declareFunctionMetaTypes(s, functions, registeredTypeNames);
88 // declareFunctionMetaTypes(s, functions, registeredTypeNames);
89 // s << endl;
89 // s << endl;
90 }
90 }
91
91
92 if (meta_class->generateShellClass()) {
92 if (meta_class->generateShellClass()) {
93 AbstractMetaFunctionList virtualsForShell = getVirtualFunctionsForShell(meta_class);
93 AbstractMetaFunctionList virtualsForShell = getVirtualFunctionsForShell(meta_class);
94 foreach (const AbstractMetaFunction *fun, virtualsForShell) {
94 foreach (const AbstractMetaFunction *fun, virtualsForShell) {
95 bool hasReturnValue = (fun->type());
95 bool hasReturnValue = (fun->type());
96 writeFunctionSignature(s, fun, meta_class, QString(),
96 writeFunctionSignature(s, fun, meta_class, QString(),
97 Option(OriginalName | ShowStatic | UnderscoreSpaces),
97 Option(OriginalName | ShowStatic | UnderscoreSpaces),
98 "PythonQtShell_");
98 "PythonQtShell_");
99 s << endl << "{" << endl;
99 s << endl << "{" << endl;
100
100
101 Option typeOptions = Option(OriginalName | UnderscoreSpaces);
101 Option typeOptions = Option(OriginalName | UnderscoreSpaces);
102 AbstractMetaArgumentList args = fun->arguments();
102 AbstractMetaArgumentList args = fun->arguments();
103
103
104 s << "if (_wrapper) {" << endl;
104 s << "if (_wrapper) {" << endl;
105 s << " PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, \"" << fun->name() << "\");" << endl;
105 s << " PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, \"" << fun->name() << "\");" << endl;
106 s << " PyErr_Clear();" << endl;
106 s << " PyErr_Clear();" << endl;
107 s << " if (obj && !PythonQtSlotFunction_Check(obj)) {" << endl;
107 s << " if (obj && !PythonQtSlotFunction_Check(obj)) {" << endl;
108 s << " static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature(" << endl;
108 s << " static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature(" << endl;
109 s << " &" << wrapperClassName(meta_class) << "::staticMetaObject," << endl;
109 s << " &" << wrapperClassName(meta_class) << "::staticMetaObject," << endl;
110 s << " \"";
110 s << " \"";
111 // write the signature
111 // write the signature
112 s << fun->name() << "(" << meta_class->qualifiedCppName() << "*";
112 s << fun->name() << "(" << meta_class->qualifiedCppName() << "*";
113 for (int i = 0; i < args.size(); ++i) {
113 for (int i = 0; i < args.size(); ++i) {
114 s << ",";
114 s << ",";
115 writeTypeInfo(s, args.at(i)->type(), typeOptions);
115 writeTypeInfo(s, args.at(i)->type(), typeOptions);
116 }
116 }
117 s << ")";
117 s << ")";
118 s << "\");" << endl;
118 s << "\");" << endl;
119
119
120 if (hasReturnValue) {
120 if (hasReturnValue) {
121 s << " ";
121 s << " ";
122 writeTypeInfo(s, fun->type(), typeOptions);
122 writeTypeInfo(s, fun->type(), typeOptions);
123 s << " returnValue;" << endl;
123 s << " returnValue;" << endl;
124 // TODO: POD init to default is missing...
124 // TODO: POD init to default is missing...
125 }
125 }
126 s << " void* args[" << QString::number(args.size()+1) << "] = {NULL";
126 s << " void* args[" << QString::number(args.size()+1) << "] = {NULL";
127 for (int i = 0; i < args.size(); ++i) {
127 for (int i = 0; i < args.size(); ++i) {
128 s << ", (void*)&" << args.at(i)->argumentName();
128 s << ", (void*)&" << args.at(i)->argumentName();
129 }
129 }
130 s << "};" << endl;
130 s << "};" << endl;
131
131
132 s << " PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);" << endl;
132 s << " PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);" << endl;
133 if (hasReturnValue) {
133 if (hasReturnValue) {
134 s << " if (result) {" << endl;
134 s << " if (result) {" << endl;
135 s << " args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);" << endl;
135 s << " args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);" << endl;
136 s << " if (args[0]!=&returnValue) {" << endl;
136 s << " if (args[0]!=&returnValue) {" << endl;
137 s << " returnValue = *((";
137 s << " returnValue = *((";
138 writeTypeInfo(s, fun->type(), typeOptions);
138 writeTypeInfo(s, fun->type(), typeOptions);
139 s << "*)args[0]);" << endl;
139 s << "*)args[0]);" << endl;
140 s << " }" << endl;
140 s << " }" << endl;
141 s << " }" << endl;
141 s << " }" << endl;
142 }
142 }
143 s << " if (result) { Py_DECREF(result); } " << endl;
143 s << " if (result) { Py_DECREF(result); } " << endl;
144 s << " Py_DECREF(obj);" << endl;
144 s << " Py_DECREF(obj);" << endl;
145 if (hasReturnValue) {
145 if (hasReturnValue) {
146 s << " return returnValue;" << endl;
146 s << " return returnValue;" << endl;
147 } else {
147 } else {
148 s << " return;" << endl;
148 s << " return;" << endl;
149 }
149 }
150 s << " }" << endl;
150 s << " }" << endl;
151 s << "}" << endl;
151 s << "}" << endl;
152
152
153 s << " ";
153 s << " ";
154 if (fun->isAbstract()) {
154 if (fun->isAbstract()) {
155 if (fun->type()) {
155 if (fun->type()) {
156 // return empty default object
156 // return empty default object
157 writeTypeInfo(s, fun->type(), typeOptions);
157 writeTypeInfo(s, fun->type(), typeOptions);
158 s << " result;" << endl;
158 s << " result;" << endl;
159 s << "return result";
159 s << "return result";
160 s << ";";
160 s << ";";
161 }
161 }
162 } else {
162 } else {
163 if (fun->type()) {
163 if (fun->type()) {
164 s << "return ";
164 s << "return ";
165 }
165 }
166 // call the C++ implementation
166 // call the C++ implementation
167 s << meta_class->qualifiedCppName() << "::";
167 s << meta_class->qualifiedCppName() << "::";
168 s << fun->originalName() << "(";
168 s << fun->originalName() << "(";
169 for (int i = 0; i < args.size(); ++i) {
169 for (int i = 0; i < args.size(); ++i) {
170 if (i > 0)
170 if (i > 0)
171 s << ", ";
171 s << ", ";
172 s << args.at(i)->argumentName();
172 s << args.at(i)->argumentName();
173 }
173 }
174 s << ");";
174 s << ");";
175 }
175 }
176 s << endl << "}" << endl;
176 s << endl << "}" << endl;
177 }
177 }
178 }
178 }
179
179
180 if (meta_class->generateShellClass() || !meta_class->isAbstract()) {
180 if (meta_class->generateShellClass() || !meta_class->isAbstract()) {
181
181
182 // write constructors
182 // write constructors
183 foreach (const AbstractMetaFunction *ctor, ctors) {
183 foreach (const AbstractMetaFunction *ctor, ctors) {
184 if (!ctor->isPublic() || ctor->isAbstract()) { continue; }
184 if (!ctor->isPublic() || ctor->isAbstract()) { continue; }
185
185
186 s << meta_class->qualifiedCppName() << "* ";
186 s << meta_class->qualifiedCppName() << "* ";
187 s << "PythonQtWrapper_" << meta_class->name() << "::";
187 s << "PythonQtWrapper_" << meta_class->name() << "::";
188 writeFunctionSignature(s, ctor, 0, "new_", Option(OriginalName | ShowStatic));
188 writeFunctionSignature(s, ctor, 0, "new_", Option(OriginalName | ShowStatic));
189 s << endl;
189 s << endl;
190 s << "{ " << endl;
190 s << "{ " << endl;
191 s << "return new " << (meta_class->generateShellClass()?shellClassName(meta_class):meta_class->qualifiedCppName()) << "(";
191 s << "return new " << (meta_class->generateShellClass()?shellClassName(meta_class):meta_class->qualifiedCppName()) << "(";
192 AbstractMetaArgumentList args = ctor->arguments();
192 AbstractMetaArgumentList args = ctor->arguments();
193 for (int i = 0; i < args.size(); ++i) {
193 for (int i = 0; i < args.size(); ++i) {
194 if (i > 0)
194 if (i > 0)
195 s << ", ";
195 s << ", ";
196 s << args.at(i)->argumentName();
196 s << args.at(i)->argumentName();
197 }
197 }
198 s << ");" << " }" << endl << endl;
198 s << ");" << " }" << endl << endl;
199 }
199 }
200 }
200 }
201
201
202 QString wrappedObject = " (*theWrappedObject)";
203
202 // write member functions
204 // write member functions
203 for (int i = 0; i < functions.size(); ++i) {
205 for (int i = 0; i < functions.size(); ++i) {
204 AbstractMetaFunction *fun = functions.at(i);
206 AbstractMetaFunction *fun = functions.at(i);
205 if (fun->isSlot()) continue;
207 if (fun->isSlot()) continue;
206
208
207 writeFunctionSignature(s, fun, meta_class, QString(),
209 writeFunctionSignature(s, fun, meta_class, QString(),
208 Option(FirstArgIsWrappedObject | OriginalName | ShowStatic | UnderscoreSpaces),
210 Option(FirstArgIsWrappedObject | OriginalName | ShowStatic | UnderscoreSpaces),
209 "PythonQtWrapper_");
211 "PythonQtWrapper_");
210 s << endl << "{" << endl;
212 s << endl << "{" << endl;
211 QString wrappedObject;
213 s << " ";
212 if (fun->wasPublic()) {
213 wrappedObject = " (*theWrappedObject)";
214 } else {
215 wrappedObject = " (*((" + promoterClassName(meta_class) + "*)theWrappedObject))";
216 }
217 if (ShellGenerator::isSpecialStreamingOperator(fun)) {
214 if (ShellGenerator::isSpecialStreamingOperator(fun)) {
218 s << fun->arguments().at(0)->argumentName();
215 s << fun->arguments().at(0)->argumentName();
219 if (fun->originalName().startsWith("operator>>")) {
216 if (fun->originalName().startsWith("operator>>")) {
220 s << " >> ";
217 s << " >> ";
221 } else {
218 } else {
222 s << " << ";
219 s << " << ";
223 }
220 }
224 s << wrappedObject;
221 s << wrappedObject;
225 } else {
222 } else {
226 QString scriptFunctionName = fun->originalName();
223 QString scriptFunctionName = fun->originalName();
227 AbstractMetaArgumentList args = fun->arguments();
224 AbstractMetaArgumentList args = fun->arguments();
228 // call the C++ implementation
225 // call the C++ implementation
229 if (fun->type())
226 if (fun->type())
230 s << "return ";
227 s << "return ";
231 if (scriptFunctionName.startsWith("operator>>")) {
228 if (scriptFunctionName.startsWith("operator>>")) {
232 s << wrappedObject << " >>" << args.at(0)->argumentName();
229 s << wrappedObject << " >>" << args.at(0)->argumentName();
233 } else if (scriptFunctionName.startsWith("operator<<")) {
230 } else if (scriptFunctionName.startsWith("operator<<")) {
234 s << wrappedObject << " <<" << args.at(0)->argumentName();
231 s << wrappedObject << " <<" << args.at(0)->argumentName();
235 } else if (scriptFunctionName.startsWith("operator[]")) {
232 } else if (scriptFunctionName.startsWith("operator[]")) {
236 s << wrappedObject << "[" << args.at(0)->argumentName() << "]";
233 s << wrappedObject << "[" << args.at(0)->argumentName() << "]";
237 } else if (scriptFunctionName.startsWith("operator") && args.size()==1) {
234 } else if (scriptFunctionName.startsWith("operator") && args.size()==1) {
238 QString op = scriptFunctionName.mid(8);
235 QString op = scriptFunctionName.mid(8);
239 s << wrappedObject << op << " " << args.at(0)->argumentName();
236 s << wrappedObject << op << " " << args.at(0)->argumentName();
240 } else {
237 } else {
241 if (fun->isStatic()) {
238 if (fun->isStatic()) {
242 s << meta_class->qualifiedCppName() << "::";
239 s << meta_class->qualifiedCppName() << "::";
243 } else {
240 } else {
244 s << wrappedObject << ".";
241 if (!fun->isPublic() || fun->isVirtual()) {
242 s << " ((" << promoterClassName(meta_class) << "*)theWrappedObject)->promoted_";
243 } else {
244 s << " theWrappedObject->";
245 }
245 }
246 }
246 s << fun->originalName() << "(";
247 s << fun->originalName() << "(";
247 for (int i = 0; i < args.size(); ++i) {
248 for (int i = 0; i < args.size(); ++i) {
248 if (i > 0)
249 if (i > 0)
249 s << ", ";
250 s << ", ";
250 s << args.at(i)->argumentName();
251 s << args.at(i)->argumentName();
251 }
252 }
252 s << ")";
253 s << ")";
253 }
254 }
254 }
255 }
255 s << ";" << endl;
256 s << ";" << endl;
256
257
257 s << "}" << endl << endl;
258 s << "}" << endl << endl;
258 }
259 }
259 }
260 }
260
261
261 void ShellImplGenerator::writeInjectedCode(QTextStream &s, const AbstractMetaClass *meta_class)
262 void ShellImplGenerator::writeInjectedCode(QTextStream &s, const AbstractMetaClass *meta_class)
262 {
263 {
263 CodeSnipList code_snips = meta_class->typeEntry()->codeSnips();
264 CodeSnipList code_snips = meta_class->typeEntry()->codeSnips();
264 foreach (const CodeSnip &cs, code_snips) {
265 foreach (const CodeSnip &cs, code_snips) {
265 if (cs.language == TypeSystem::ShellCode) {
266 if (cs.language == TypeSystem::ShellCode) {
266 s << cs.code() << endl;
267 s << cs.code() << endl;
267 }
268 }
268 }
269 }
269 }
270 }
@@ -1,5458 +1,5458
1 <?xml version="1.0"?>
1 <?xml version="1.0"?>
2 <typesystem package="com.trolltech.qt.gui"><rejection class="QAbstractTextDocumentLayout"/><rejection class="QColormap"/><rejection class="QFontDatabase"/><rejection class="QIconEngineV2"/><rejection class="QInputMethodEvent"/><rejection class="QPainterPath::Element"/><rejection class="QTextBlock::iterator"/><rejection class="QTextEdit::ExtraSelection"/><rejection class="QTextFrame::iterator"/><rejection class="QTextLayout::FormatRange"/><rejection class="QTreeWidgetItemIterator"/><rejection class="QAccessibleFactoryInterface"/><rejection class="QIconEngineFactoryInterfaceV2"/><rejection class="QImageIOHandlerFactoryInterface"/><rejection class="QInputContextFactoryInterface"/><rejection class="QStyleFactoryInterface"/><rejection class="QPictureFormatInterface"/><rejection class="QAbstractProxyModel"/><rejection class="QSortFilterProxyModel"/><rejection class="QDirModel"/><rejection class="QFileSystemModel"/><rejection class="QGraphicsSceneDragDropEvent"/><rejection class="QPrinterInfo"/><rejection class="QProxyModel"/><rejection class="QPrinterInfo"/><rejection class="QTextOption"/><suppress-warning text="WARNING(MetaJavaBuilder) :: Rejected enum has no alternative...: QPalette::NColorRoles"/><suppress-warning text="WARNING(MetaJavaBuilder) :: Cannot find enum constant for value 'DragMove' in 'QDragMoveEvent' or any of its super classes"/>
2 <typesystem package="com.trolltech.qt.gui"><rejection class="QAbstractTextDocumentLayout"/><rejection class="QColormap"/><rejection class="QFontDatabase"/><rejection class="QIconEngineV2"/><rejection class="QInputMethodEvent"/><rejection class="QPainterPath::Element"/><rejection class="QTextBlock::iterator"/><rejection class="QTextEdit::ExtraSelection"/><rejection class="QTextFrame::iterator"/><rejection class="QTextLayout::FormatRange"/><rejection class="QTreeWidgetItemIterator"/><rejection class="QAccessibleFactoryInterface"/><rejection class="QIconEngineFactoryInterfaceV2"/><rejection class="QImageIOHandlerFactoryInterface"/><rejection class="QInputContextFactoryInterface"/><rejection class="QStyleFactoryInterface"/><rejection class="QPictureFormatInterface"/><rejection class="QAbstractProxyModel"/><rejection class="QSortFilterProxyModel"/><rejection class="QDirModel"/><rejection class="QFileSystemModel"/><rejection class="QGraphicsSceneDragDropEvent"/><rejection class="QPrinterInfo"/><rejection class="QProxyModel"/><rejection class="QPrinterInfo"/><rejection class="QTextOption"/><suppress-warning text="WARNING(MetaJavaBuilder) :: Rejected enum has no alternative...: QPalette::NColorRoles"/><suppress-warning text="WARNING(MetaJavaBuilder) :: Cannot find enum constant for value 'DragMove' in 'QDragMoveEvent' or any of its super classes"/>
3 <rejection class="*" function-name="d_func"/>
3 <rejection class="*" function-name="d_func"/>
4
4
5 <rejection class="*" field-name="d_ptr"/>
5 <rejection class="*" field-name="d_ptr"/>
6 <rejection class="*" field-name="d"/>
6 <rejection class="*" field-name="d"/>
7
7
8 <rejection class="QWindowsCEStyle"/>
8 <rejection class="QWindowsCEStyle"/>
9 <rejection class="QWindowsMobileStyle"/>
9 <rejection class="QWindowsMobileStyle"/>
10 <rejection class="QAbstractUndoItem"/>
10 <rejection class="QAbstractUndoItem"/>
11 <rejection class="QAccessibleApplication"/>
11 <rejection class="QAccessibleApplication"/>
12 <rejection class="QBrushData"/>
12 <rejection class="QBrushData"/>
13 <rejection class="QImageTextKeyLang"/>
13 <rejection class="QImageTextKeyLang"/>
14 <rejection class="QItemEditorCreator"/>
14 <rejection class="QItemEditorCreator"/>
15 <rejection class="QLibrary"/>
15 <rejection class="QLibrary"/>
16 <rejection class="QLinkedList"/>
16 <rejection class="QLinkedList"/>
17 <rejection class="QLinkedListData"/>
17 <rejection class="QLinkedListData"/>
18 <rejection class="QLinkedListIterator"/>
18 <rejection class="QLinkedListIterator"/>
19 <rejection class="QLinkedListNode"/>
19 <rejection class="QLinkedListNode"/>
20 <rejection class="QMimeSource"/>
20 <rejection class="QMimeSource"/>
21 <rejection class="QPainterPathPrivate"/>
21 <rejection class="QPainterPathPrivate"/>
22 <rejection class="QRegionData"/>
22 <rejection class="QRegionData"/>
23 <rejection class="QStandardItemEditorCreator"/>
23 <rejection class="QStandardItemEditorCreator"/>
24 <rejection class="QStyleOptionQ3DockWindow"/>
24 <rejection class="QStyleOptionQ3DockWindow"/>
25 <rejection class="QStyleOptionQ3ListView"/>
25 <rejection class="QStyleOptionQ3ListView"/>
26 <rejection class="QStyleOptionQ3ListViewItem"/>
26 <rejection class="QStyleOptionQ3ListViewItem"/>
27 <rejection class="QTextFrameLayoutData"/>
27 <rejection class="QTextFrameLayoutData"/>
28 <rejection class="QUpdateLaterEvent"/>
28 <rejection class="QUpdateLaterEvent"/>
29 <rejection class="QVFbHeader"/>
29 <rejection class="QVFbHeader"/>
30 <rejection class="QWidgetData"/>
30 <rejection class="QWidgetData"/>
31 <rejection class="QWindowSurface"/>
31 <rejection class="QWindowSurface"/>
32 <rejection class="QWindowsXPStyle"/>
32 <rejection class="QWindowsXPStyle"/>
33 <rejection class="QWindowsVistaStyle"/>
33 <rejection class="QWindowsVistaStyle"/>
34 <rejection class="QWSEmbedWidget"/>
34 <rejection class="QWSEmbedWidget"/>
35 <rejection class="QRegion::QRegionData"/>
35 <rejection class="QRegion::QRegionData"/>
36 <rejection class="JObject_key"/>
36 <rejection class="JObject_key"/>
37 <rejection class="QAccessibleEditableTextInterface"/>
37 <rejection class="QAccessibleEditableTextInterface"/>
38 <rejection class="QAccessibleSimpleEditableTextInterface"/>
38 <rejection class="QAccessibleSimpleEditableTextInterface"/>
39 <rejection class="QAccessibleTextInterface"/>
39 <rejection class="QAccessibleTextInterface"/>
40 <rejection class="QAccessibleValueInterface"/>
40 <rejection class="QAccessibleValueInterface"/>
41 <rejection class="QIconEngineFactoryInterface"/>
41 <rejection class="QIconEngineFactoryInterface"/>
42 <rejection class="QIconEnginePlugin"/>
42 <rejection class="QIconEnginePlugin"/>
43 <rejection class="QWidgetItemV2"/>
43 <rejection class="QWidgetItemV2"/>
44 <rejection class="QAbstractItemDelegate" function-name="operator="/>
44 <rejection class="QAbstractItemDelegate" function-name="operator="/>
45 <rejection class="QAccessible" function-name="installFactory"/>
45 <rejection class="QAccessible" function-name="installFactory"/>
46 <rejection class="QAccessible" function-name="installRootObjectHandler"/>
46 <rejection class="QAccessible" function-name="installRootObjectHandler"/>
47 <rejection class="QAccessible" function-name="installUpdateHandler"/>
47 <rejection class="QAccessible" function-name="installUpdateHandler"/>
48 <rejection class="QAccessible" function-name="removeFactory"/>
48 <rejection class="QAccessible" function-name="removeFactory"/>
49 <rejection class="QApplication" function-name="compressEvent"/>
49 <rejection class="QApplication" function-name="compressEvent"/>
50 <rejection class="QBrush" function-name="cleanUp"/>
50 <rejection class="QBrush" function-name="cleanUp"/>
51 <rejection class="QPictureIO" function-name="defineIOHandler"/>
51 <rejection class="QPictureIO" function-name="defineIOHandler"/>
52 <rejection class="QPolygon" function-name="putPoints"/>
52 <rejection class="QPolygon" function-name="putPoints"/>
53 <rejection class="QPolygon" function-name="setPoints"/>
53 <rejection class="QPolygon" function-name="setPoints"/>
54 <rejection class="QPolygon" function-name="setPoint"/>
54 <rejection class="QPolygon" function-name="setPoint"/>
55 <rejection class="QPolygon" function-name="points"/>
55 <rejection class="QPolygon" function-name="points"/>
56 <rejection class="QPolygon" function-name="point"/>
56 <rejection class="QPolygon" function-name="point"/>
57 <rejection class="QPrinter" function-name="printerSelectionOption"/>
57 <rejection class="QPrinter" function-name="printerSelectionOption"/>
58 <rejection class="QPrinter" function-name="setPrinterSelectionOption"/>
58 <rejection class="QPrinter" function-name="setPrinterSelectionOption"/>
59 <rejection class="QWidget" function-name="create"/>
59 <rejection class="QWidget" function-name="create"/>
60 <rejection class="QWidget" function-name="find"/>
60 <rejection class="QWidget" function-name="find"/>
61 <rejection class="QWidget" function-name="handle"/>
61 <rejection class="QWidget" function-name="handle"/>
62 <rejection class="QWidget" function-name="styleChange"/>
62 <rejection class="QWidget" function-name="styleChange"/>
63 <rejection class="QWidget" function-name="internalWinId"/>
63 <rejection class="QWidget" function-name="internalWinId"/>
64 <rejection class="QActionGroup" function-name="selected"/>
64 <rejection class="QActionGroup" function-name="selected"/>
65 <rejection class="QPaintEngine" function-name="fix_neg_rect"/>
65 <rejection class="QPaintEngine" function-name="fix_neg_rect"/>
66 <rejection class="QTreeModel" function-name="node"/>
66 <rejection class="QTreeModel" function-name="node"/>
67 <rejection class="QTreeModel" function-name="initializeNode"/>
67 <rejection class="QTreeModel" function-name="initializeNode"/>
68 <rejection class="QTreeModel" function-name="queryChildren"/>
68 <rejection class="QTreeModel" function-name="queryChildren"/>
69 <rejection class="QAccessible" function-name="cast_helper"/>
69 <rejection class="QAccessible" function-name="cast_helper"/>
70 <rejection class="QAccessible2"/>
70 <rejection class="QAccessible2"/>
71 <rejection class="QAccessibleInterface" function-name="backgroundColor"/>
71 <rejection class="QAccessibleInterface" function-name="backgroundColor"/>
72 <rejection class="QAccessibleInterface" function-name="foregroundColor"/>
72 <rejection class="QAccessibleInterface" function-name="foregroundColor"/>
73 <rejection class="QAccessibleInterface" function-name="textInterface"/>
73 <rejection class="QAccessibleInterface" function-name="textInterface"/>
74 <rejection class="QAccessibleInterface" function-name="valueInterface"/>
74 <rejection class="QAccessibleInterface" function-name="valueInterface"/>
75 <rejection class="QAccessibleInterface" function-name="tableInterface"/>
75 <rejection class="QAccessibleInterface" function-name="tableInterface"/>
76 <rejection class="QAccessibleInterface" function-name="editableTextInterface"/>
76 <rejection class="QAccessibleInterface" function-name="editableTextInterface"/>
77 <rejection class="QAccessibleInterface" function-name="cast_helper"/>
77 <rejection class="QAccessibleInterface" function-name="cast_helper"/>
78 <rejection class="QAccessibleInterfaceEx" function-name="interface_cast"/>
78 <rejection class="QAccessibleInterfaceEx" function-name="interface_cast"/>
79 <rejection class="QAccessibleBridgePlugin"/>
79 <rejection class="QAccessibleBridgePlugin"/>
80 <rejection class="QAccessibleBridgeFactoryInterface"/>
80 <rejection class="QAccessibleBridgeFactoryInterface"/>
81 <rejection class="QTabletEvent" field-name="mExtra"/>
81 <rejection class="QTabletEvent" field-name="mExtra"/>
82 <rejection class="QWidgetItem" field-name="wid"/>
82 <rejection class="QWidgetItem" field-name="wid"/>
83 <rejection class="QFont" enum-name="ResolveProperties"/>
83 <rejection class="QFont" enum-name="ResolveProperties"/>
84
84
85 <enum-type name="QAbstractItemDelegate::EndEditHint"/>
85 <enum-type name="QAbstractItemDelegate::EndEditHint"/>
86 <enum-type name="QAbstractItemView::CursorAction"/>
86 <enum-type name="QAbstractItemView::CursorAction"/>
87 <enum-type name="QAbstractItemView::DragDropMode"/>
87 <enum-type name="QAbstractItemView::DragDropMode"/>
88 <enum-type name="QAbstractItemView::DropIndicatorPosition"/>
88 <enum-type name="QAbstractItemView::DropIndicatorPosition"/>
89 <enum-type name="QAbstractItemView::EditTrigger" flags="QAbstractItemView::EditTriggers"/>
89 <enum-type name="QAbstractItemView::EditTrigger" flags="QAbstractItemView::EditTriggers"/>
90 <enum-type name="QAbstractItemView::ScrollHint"/>
90 <enum-type name="QAbstractItemView::ScrollHint"/>
91 <enum-type name="QAbstractItemView::ScrollMode"/>
91 <enum-type name="QAbstractItemView::ScrollMode"/>
92 <enum-type name="QAbstractItemView::SelectionBehavior"/>
92 <enum-type name="QAbstractItemView::SelectionBehavior"/>
93 <enum-type name="QAbstractItemView::SelectionMode"/>
93 <enum-type name="QAbstractItemView::SelectionMode"/>
94 <enum-type name="QAbstractItemView::State"/>
94 <enum-type name="QAbstractItemView::State"/>
95 <enum-type name="QAbstractPrintDialog::PrintDialogOption" flags="QAbstractPrintDialog::PrintDialogOptions"/>
95 <enum-type name="QAbstractPrintDialog::PrintDialogOption" flags="QAbstractPrintDialog::PrintDialogOptions"/>
96 <enum-type name="QAbstractPrintDialog::PrintRange"/>
96 <enum-type name="QAbstractPrintDialog::PrintRange"/>
97 <enum-type name="QAbstractSlider::SliderAction"/>
97 <enum-type name="QAbstractSlider::SliderAction"/>
98 <enum-type name="QAbstractSlider::SliderChange"/>
98 <enum-type name="QAbstractSlider::SliderChange"/>
99 <enum-type name="QAbstractSpinBox::ButtonSymbols"/>
99 <enum-type name="QAbstractSpinBox::ButtonSymbols"/>
100 <enum-type name="QAbstractSpinBox::CorrectionMode"/>
100 <enum-type name="QAbstractSpinBox::CorrectionMode"/>
101 <enum-type name="QAbstractSpinBox::StepEnabledFlag" flags="QAbstractSpinBox::StepEnabled"/>
101 <enum-type name="QAbstractSpinBox::StepEnabledFlag" flags="QAbstractSpinBox::StepEnabled"/>
102 <enum-type name="QAccessible::Event"/>
102 <enum-type name="QAccessible::Event"/>
103 <enum-type name="QAccessible::Method"/>
103 <enum-type name="QAccessible::Method"/>
104 <enum-type name="QAccessible::RelationFlag" flags="QAccessible::Relation"/>
104 <enum-type name="QAccessible::RelationFlag" flags="QAccessible::Relation"/>
105 <enum-type name="QAccessible::Role"/>
105 <enum-type name="QAccessible::Role"/>
106 <enum-type name="QAccessible::StateFlag" flags="QAccessible::State"/>
106 <enum-type name="QAccessible::StateFlag" flags="QAccessible::State"/>
107 <enum-type name="QAccessible::Text"/>
107 <enum-type name="QAccessible::Text"/>
108 <enum-type name="QDesktopServices::StandardLocation"/>
108 <enum-type name="QDesktopServices::StandardLocation"/>
109 <enum-type name="QDirModel::Roles"/>
109 <enum-type name="QDirModel::Roles"/>
110 <enum-type name="QFont::Capitalization"/>
110 <enum-type name="QFont::Capitalization"/>
111 <enum-type name="QFont::SpacingType"/>
111 <enum-type name="QFont::SpacingType"/>
112 <enum-type name="QGraphicsItem::CacheMode"/>
112 <enum-type name="QGraphicsItem::CacheMode"/>
113 <enum-type name="QMdiArea::AreaOption" flags="QMdiArea::AreaOptions"/>
113 <enum-type name="QMdiArea::AreaOption" flags="QMdiArea::AreaOptions"/>
114 <enum-type name="QMdiArea::WindowOrder"/>
114 <enum-type name="QMdiArea::WindowOrder"/>
115 <enum-type name="QMdiArea::ViewMode"/>
115 <enum-type name="QMdiArea::ViewMode"/>
116 <enum-type name="QFileSystemModel::Roles"/>
116 <enum-type name="QFileSystemModel::Roles"/>
117 <enum-type name="QFormLayout::FieldGrowthPolicy"/>
117 <enum-type name="QFormLayout::FieldGrowthPolicy"/>
118 <enum-type name="QFormLayout::FormStyle"/>
118 <enum-type name="QFormLayout::FormStyle"/>
119 <enum-type name="QFormLayout::ItemRole"/>
119 <enum-type name="QFormLayout::ItemRole"/>
120 <enum-type name="QFormLayout::RowWrapPolicy"/>
120 <enum-type name="QFormLayout::RowWrapPolicy"/>
121 <enum-type name="QGraphicsProxyWidget::enum_1"/>
121 <enum-type name="QGraphicsProxyWidget::enum_1"/>
122 <enum-type name="QGraphicsWidget::enum_1"/>
122 <enum-type name="QGraphicsWidget::enum_1"/>
123 <enum-type name="QPlainTextEdit::LineWrapMode"/>
123 <enum-type name="QPlainTextEdit::LineWrapMode"/>
124 <enum-type name="QPrintPreviewWidget::ViewMode"/>
124 <enum-type name="QPrintPreviewWidget::ViewMode"/>
125 <enum-type name="QPrintPreviewWidget::ZoomMode"/>
125 <enum-type name="QPrintPreviewWidget::ZoomMode"/>
126 <enum-type name="QStyleOptionViewItemV4::StyleOptionVersion"/>
126 <enum-type name="QStyleOptionViewItemV4::StyleOptionVersion"/>
127 <enum-type name="QStyleOptionViewItemV4::ViewItemPosition"/>
127 <enum-type name="QStyleOptionViewItemV4::ViewItemPosition"/>
128
128
129 <enum-type name="QMdiSubWindow::SubWindowOption" flags="QMdiSubWindow::SubWindowOptions"/>
129 <enum-type name="QMdiSubWindow::SubWindowOption" flags="QMdiSubWindow::SubWindowOptions"/>
130
130
131 <enum-type name="QAction::ActionEvent"/>
131 <enum-type name="QAction::ActionEvent"/>
132 <enum-type name="QAction::MenuRole"/>
132 <enum-type name="QAction::MenuRole"/>
133 <enum-type name="QApplication::ColorSpec"/>
133 <enum-type name="QApplication::ColorSpec"/>
134 <enum-type name="QApplication::Type"/>
134 <enum-type name="QApplication::Type"/>
135 <enum-type name="QCalendarWidget::HorizontalHeaderFormat"/>
135 <enum-type name="QCalendarWidget::HorizontalHeaderFormat"/>
136 <enum-type name="QCalendarWidget::SelectionMode"/>
136 <enum-type name="QCalendarWidget::SelectionMode"/>
137 <enum-type name="QCalendarWidget::VerticalHeaderFormat"/>
137 <enum-type name="QCalendarWidget::VerticalHeaderFormat"/>
138 <enum-type name="QColor::Spec"/>
138 <enum-type name="QColor::Spec"/>
139 <enum-type name="QColorDialog::ColorDialogOption" flags="QColorDialog::ColorDialogOptions"/>
139 <enum-type name="QColorDialog::ColorDialogOption" flags="QColorDialog::ColorDialogOptions"/>
140 <enum-type name="QColormap::Mode"/>
140 <enum-type name="QColormap::Mode"/>
141 <enum-type name="QComboBox::InsertPolicy"/>
141 <enum-type name="QComboBox::InsertPolicy"/>
142 <enum-type name="QComboBox::SizeAdjustPolicy"/>
142 <enum-type name="QComboBox::SizeAdjustPolicy"/>
143 <enum-type name="QCompleter::CompletionMode"/>
143 <enum-type name="QCompleter::CompletionMode"/>
144 <enum-type name="QCompleter::ModelSorting"/>
144 <enum-type name="QCompleter::ModelSorting"/>
145 <enum-type name="QContextMenuEvent::Reason"/>
145 <enum-type name="QContextMenuEvent::Reason"/>
146 <enum-type name="QDataWidgetMapper::SubmitPolicy"/>
146 <enum-type name="QDataWidgetMapper::SubmitPolicy"/>
147 <enum-type name="QDateTimeEdit::Section" flags="QDateTimeEdit::Sections"/>
147 <enum-type name="QDateTimeEdit::Section" flags="QDateTimeEdit::Sections"/>
148 <enum-type name="QDialog::DialogCode"/>
148 <enum-type name="QDialog::DialogCode"/>
149 <enum-type name="QDialogButtonBox::ButtonLayout"/>
149 <enum-type name="QDialogButtonBox::ButtonLayout"/>
150 <enum-type name="QDialogButtonBox::ButtonRole"/>
150 <enum-type name="QDialogButtonBox::ButtonRole"/>
151 <enum-type name="QFileDialog::AcceptMode"/>
151 <enum-type name="QFileDialog::AcceptMode"/>
152 <enum-type name="QFileDialog::DialogLabel"/>
152 <enum-type name="QFileDialog::DialogLabel"/>
153 <enum-type name="QFileDialog::FileMode"/>
153 <enum-type name="QFileDialog::FileMode"/>
154 <enum-type name="QFileDialog::Option" flags="QFileDialog::Options"/>
154 <enum-type name="QFileDialog::Option" flags="QFileDialog::Options"/>
155 <enum-type name="QFileDialog::ViewMode"/>
155 <enum-type name="QFileDialog::ViewMode"/>
156 <enum-type name="QFileIconProvider::IconType"/>
156 <enum-type name="QFileIconProvider::IconType"/>
157 <enum-type name="QFont::Stretch"/>
157 <enum-type name="QFont::Stretch"/>
158 <enum-type name="QFont::Style"/>
158 <enum-type name="QFont::Style"/>
159 <enum-type name="QFont::StyleStrategy"/>
159 <enum-type name="QFont::StyleStrategy"/>
160 <enum-type name="QFont::Weight"/>
160 <enum-type name="QFont::Weight"/>
161 <enum-type name="QFontComboBox::FontFilter" flags="QFontComboBox::FontFilters"/>
161 <enum-type name="QFontComboBox::FontFilter" flags="QFontComboBox::FontFilters"/>
162 <enum-type name="QFontDialog::FontDialogOption" flags="QFontDialog::FontDialogOptions"/>
162 <enum-type name="QFontDialog::FontDialogOption" flags="QFontDialog::FontDialogOptions"/>
163 <enum-type name="QFrame::Shadow" extensible="yes"/>
163 <enum-type name="QFrame::Shadow" extensible="yes"/>
164 <enum-type name="QFrame::Shape"/>
164 <enum-type name="QFrame::Shape"/>
165 <enum-type name="QFrame::StyleMask"/>
165 <enum-type name="QFrame::StyleMask"/>
166 <enum-type name="QGradient::CoordinateMode"/>
166 <enum-type name="QGradient::CoordinateMode"/>
167 <enum-type name="QGradient::Spread" lower-bound="QGradient.PadSpread" upper-bound="QGradient.RepeatSpread"/>
167 <enum-type name="QGradient::Spread" lower-bound="QGradient.PadSpread" upper-bound="QGradient.RepeatSpread"/>
168 <enum-type name="QGradient::Type"/>
168 <enum-type name="QGradient::Type"/>
169 <enum-type name="QGraphicsEllipseItem::enum_1"/>
169 <enum-type name="QGraphicsEllipseItem::enum_1"/>
170 <enum-type name="QGraphicsItem::Extension"/>
170 <enum-type name="QGraphicsItem::Extension"/>
171 <enum-type name="QGraphicsItem::GraphicsItemChange"/>
171 <enum-type name="QGraphicsItem::GraphicsItemChange"/>
172 <enum-type name="QGraphicsItem::GraphicsItemFlag" flags="QGraphicsItem::GraphicsItemFlags"/>
172 <enum-type name="QGraphicsItem::GraphicsItemFlag" flags="QGraphicsItem::GraphicsItemFlags"/>
173 <enum-type name="QGraphicsItem::enum_1"/>
173 <enum-type name="QGraphicsItem::enum_1"/>
174 <enum-type name="QGraphicsItemGroup::enum_1"/>
174 <enum-type name="QGraphicsItemGroup::enum_1"/>
175 <enum-type name="QGraphicsLineItem::enum_1"/>
175 <enum-type name="QGraphicsLineItem::enum_1"/>
176 <enum-type name="QGraphicsPathItem::enum_1"/>
176 <enum-type name="QGraphicsPathItem::enum_1"/>
177 <enum-type name="QGraphicsPixmapItem::ShapeMode"/>
177 <enum-type name="QGraphicsPixmapItem::ShapeMode"/>
178 <enum-type name="QGraphicsPixmapItem::enum_1"/>
178 <enum-type name="QGraphicsPixmapItem::enum_1"/>
179 <enum-type name="QGraphicsPolygonItem::enum_1"/>
179 <enum-type name="QGraphicsPolygonItem::enum_1"/>
180 <enum-type name="QGraphicsRectItem::enum_1"/>
180 <enum-type name="QGraphicsRectItem::enum_1"/>
181 <enum-type name="QGraphicsScene::ItemIndexMethod"/>
181 <enum-type name="QGraphicsScene::ItemIndexMethod"/>
182 <enum-type name="QGraphicsSceneContextMenuEvent::Reason"/>
182 <enum-type name="QGraphicsSceneContextMenuEvent::Reason"/>
183 <enum-type name="QGraphicsSimpleTextItem::enum_1"/>
183 <enum-type name="QGraphicsSimpleTextItem::enum_1"/>
184 <enum-type name="QGraphicsTextItem::enum_1"/>
184 <enum-type name="QGraphicsTextItem::enum_1"/>
185 <enum-type name="QGraphicsView::CacheModeFlag" flags="QGraphicsView::CacheMode"/>
185 <enum-type name="QGraphicsView::CacheModeFlag" flags="QGraphicsView::CacheMode"/>
186 <enum-type name="QGraphicsView::DragMode"/>
186 <enum-type name="QGraphicsView::DragMode"/>
187 <enum-type name="QGraphicsView::OptimizationFlag" flags="QGraphicsView::OptimizationFlags"/>
187 <enum-type name="QGraphicsView::OptimizationFlag" flags="QGraphicsView::OptimizationFlags"/>
188 <enum-type name="QGraphicsView::ViewportAnchor"/>
188 <enum-type name="QGraphicsView::ViewportAnchor"/>
189 <enum-type name="QGraphicsView::ViewportUpdateMode"/>
189 <enum-type name="QGraphicsView::ViewportUpdateMode"/>
190 <enum-type name="QIcon::Mode"/>
190 <enum-type name="QIcon::Mode"/>
191 <enum-type name="QIcon::State"/>
191 <enum-type name="QIcon::State"/>
192 <enum-type name="QImage::Format"/>
192 <enum-type name="QImage::Format"/>
193 <enum-type name="QImage::InvertMode"/>
193 <enum-type name="QImage::InvertMode"/>
194 <enum-type name="QImageIOHandler::ImageOption"/>
194 <enum-type name="QImageIOHandler::ImageOption"/>
195 <enum-type name="QImageReader::ImageReaderError"/>
195 <enum-type name="QImageReader::ImageReaderError"/>
196 <enum-type name="QImageWriter::ImageWriterError"/>
196 <enum-type name="QImageWriter::ImageWriterError"/>
197 <enum-type name="QInputContext::StandardFormat"/>
197 <enum-type name="QInputContext::StandardFormat"/>
198 <enum-type name="QInputDialog::InputDialogOption" flags="QInputDialog::InputDialogOptions"/>
198 <enum-type name="QInputDialog::InputDialogOption" flags="QInputDialog::InputDialogOptions"/>
199 <enum-type name="QInputDialog::InputMode"/>
199 <enum-type name="QInputDialog::InputMode"/>
200 <enum-type name="QInputMethodEvent::AttributeType"/>
200 <enum-type name="QInputMethodEvent::AttributeType"/>
201 <enum-type name="QItemSelectionModel::SelectionFlag" flags="QItemSelectionModel::SelectionFlags"/>
201 <enum-type name="QItemSelectionModel::SelectionFlag" flags="QItemSelectionModel::SelectionFlags"/>
202 <enum-type name="QKeySequence::SequenceFormat"/>
202 <enum-type name="QKeySequence::SequenceFormat"/>
203 <enum-type name="QKeySequence::SequenceMatch"/>
203 <enum-type name="QKeySequence::SequenceMatch"/>
204 <enum-type name="QKeySequence::StandardKey"/>
204 <enum-type name="QKeySequence::StandardKey"/>
205 <enum-type name="QLCDNumber::Mode"/>
205 <enum-type name="QLCDNumber::Mode"/>
206 <enum-type name="QLCDNumber::SegmentStyle"/>
206 <enum-type name="QLCDNumber::SegmentStyle"/>
207 <enum-type name="QLayout::SizeConstraint"/>
207 <enum-type name="QLayout::SizeConstraint"/>
208 <enum-type name="QLineEdit::EchoMode"/>
208 <enum-type name="QLineEdit::EchoMode"/>
209 <enum-type name="QLineF::IntersectType"/>
209 <enum-type name="QLineF::IntersectType"/>
210 <enum-type name="QListView::Flow"/>
210 <enum-type name="QListView::Flow"/>
211 <enum-type name="QListView::LayoutMode"/>
211 <enum-type name="QListView::LayoutMode"/>
212 <enum-type name="QListView::Movement"/>
212 <enum-type name="QListView::Movement"/>
213 <enum-type name="QListView::ResizeMode"/>
213 <enum-type name="QListView::ResizeMode"/>
214 <enum-type name="QListView::ViewMode"/>
214 <enum-type name="QListView::ViewMode"/>
215 <enum-type name="QListWidgetItem::ItemType"/>
215 <enum-type name="QListWidgetItem::ItemType"/>
216 <enum-type name="QMainWindow::DockOption" flags="QMainWindow::DockOptions"/>
216 <enum-type name="QMainWindow::DockOption" flags="QMainWindow::DockOptions"/>
217 <enum-type name="QMessageBox::ButtonRole"/>
217 <enum-type name="QMessageBox::ButtonRole"/>
218 <enum-type name="QMessageBox::Icon"/>
218 <enum-type name="QMessageBox::Icon"/>
219 <enum-type name="QMovie::CacheMode"/>
219 <enum-type name="QMovie::CacheMode"/>
220 <enum-type name="QMovie::MovieState"/>
220 <enum-type name="QMovie::MovieState"/>
221 <enum-type name="QPaintDevice::PaintDeviceMetric"/>
221 <enum-type name="QPaintDevice::PaintDeviceMetric"/>
222 <enum-type name="QPaintEngine::DirtyFlag" flags="QPaintEngine::DirtyFlags"/>
222 <enum-type name="QPaintEngine::DirtyFlag" flags="QPaintEngine::DirtyFlags"/>
223 <enum-type name="QPaintEngine::PaintEngineFeature" flags="QPaintEngine::PaintEngineFeatures"/>
223 <enum-type name="QPaintEngine::PaintEngineFeature" flags="QPaintEngine::PaintEngineFeatures"/>
224 <enum-type name="QPaintEngine::PolygonDrawMode"/>
224 <enum-type name="QPaintEngine::PolygonDrawMode"/>
225 <enum-type name="QPaintEngine::Type"/>
225 <enum-type name="QPaintEngine::Type"/>
226 <enum-type name="QPageSetupDialog::PageSetupDialogOption" flags="QPageSetupDialog::PageSetupDialogOptions"/>
226 <enum-type name="QPageSetupDialog::PageSetupDialogOption" flags="QPageSetupDialog::PageSetupDialogOptions"/>
227 <enum-type name="QPainter::CompositionMode"/>
227 <enum-type name="QPainter::CompositionMode"/>
228 <enum-type name="QPainter::RenderHint" flags="QPainter::RenderHints"/>
228 <enum-type name="QPainter::RenderHint" flags="QPainter::RenderHints"/>
229 <enum-type name="QPainterPath::ElementType"/>
229 <enum-type name="QPainterPath::ElementType"/>
230 <enum-type name="QPrintEngine::PrintEnginePropertyKey">
230 <enum-type name="QPrintEngine::PrintEnginePropertyKey">
231 <reject-enum-value name="PPK_PaperSize"/>
231 <reject-enum-value name="PPK_PaperSize"/>
232 </enum-type>
232 </enum-type>
233 <enum-type name="QPrinter::ColorMode"/>
233 <enum-type name="QPrinter::ColorMode"/>
234 <enum-type name="QPrinter::Orientation"/>
234 <enum-type name="QPrinter::Orientation"/>
235 <enum-type name="QPrinter::OutputFormat"/>
235 <enum-type name="QPrinter::OutputFormat"/>
236 <enum-type name="QPrinter::PageOrder"/>
236 <enum-type name="QPrinter::PageOrder"/>
237 <enum-type name="QPrinter::PaperSource"/>
237 <enum-type name="QPrinter::PaperSource"/>
238 <enum-type name="QPrinter::PrintRange"/>
238 <enum-type name="QPrinter::PrintRange"/>
239 <enum-type name="QPrinter::PrinterMode"/>
239 <enum-type name="QPrinter::PrinterMode"/>
240 <enum-type name="QPrinter::PrinterState"/>
240 <enum-type name="QPrinter::PrinterState"/>
241 <enum-type name="QPrinter::Unit"/>
241 <enum-type name="QPrinter::Unit"/>
242 <enum-type name="QPrinter::DuplexMode"/>
242 <enum-type name="QPrinter::DuplexMode"/>
243 <enum-type name="QProgressBar::Direction"/>
243 <enum-type name="QProgressBar::Direction"/>
244 <enum-type name="QReadWriteLock::RecursionMode"/>
244 <enum-type name="QReadWriteLock::RecursionMode"/>
245 <enum-type name="QRegion::RegionType"/>
245 <enum-type name="QRegion::RegionType"/>
246 <enum-type name="QRubberBand::Shape"/>
246 <enum-type name="QRubberBand::Shape"/>
247 <enum-type name="QSessionManager::RestartHint"/>
247 <enum-type name="QSessionManager::RestartHint"/>
248 <enum-type name="QSizePolicy::Policy"/>
248 <enum-type name="QSizePolicy::Policy"/>
249 <enum-type name="QSizePolicy::PolicyFlag"/>
249 <enum-type name="QSizePolicy::PolicyFlag"/>
250 <enum-type name="QSizePolicy::ControlType" flags="QSizePolicy::ControlTypes"/>
250 <enum-type name="QSizePolicy::ControlType" flags="QSizePolicy::ControlTypes"/>
251 <enum-type name="QStandardItem::ItemType"/>
251 <enum-type name="QStandardItem::ItemType"/>
252 <enum-type name="QStyle::SubControl" flags="QStyle::SubControls" extensible="yes" force-integer="yes"/>
252 <enum-type name="QStyle::SubControl" flags="QStyle::SubControls" extensible="yes" force-integer="yes"/>
253 <enum-type name="QStyle::ComplexControl" extensible="yes"/>
253 <enum-type name="QStyle::ComplexControl" extensible="yes"/>
254 <enum-type name="QStyle::ContentsType" extensible="yes"/>
254 <enum-type name="QStyle::ContentsType" extensible="yes"/>
255 <enum-type name="QStyle::ControlElement" extensible="yes"/>
255 <enum-type name="QStyle::ControlElement" extensible="yes"/>
256 <enum-type name="QStyle::PixelMetric" extensible="yes">
256 <enum-type name="QStyle::PixelMetric" extensible="yes">
257 <reject-enum-value name="PM_MDIFrameWidth"/>
257 <reject-enum-value name="PM_MDIFrameWidth"/>
258 <reject-enum-value name="PM_MDIMinimizedWidth"/>
258 <reject-enum-value name="PM_MDIMinimizedWidth"/>
259 </enum-type>
259 </enum-type>
260 <enum-type name="QStyle::PrimitiveElement" extensible="yes">
260 <enum-type name="QStyle::PrimitiveElement" extensible="yes">
261 <reject-enum-value name="PE_IndicatorItemViewItemCheck"/>
261 <reject-enum-value name="PE_IndicatorItemViewItemCheck"/>
262 <reject-enum-value name="PE_FrameStatusBarItem"/>
262 <reject-enum-value name="PE_FrameStatusBarItem"/>
263 </enum-type>
263 </enum-type>
264 <enum-type name="QStyle::StandardPixmap" extensible="yes"/>
264 <enum-type name="QStyle::StandardPixmap" extensible="yes"/>
265 <enum-type name="QStyle::StateFlag" flags="QStyle::State"/>
265 <enum-type name="QStyle::StateFlag" flags="QStyle::State"/>
266 <enum-type name="QStyle::SubElement" extensible="yes">
266 <enum-type name="QStyle::SubElement" extensible="yes">
267 <reject-enum-value name="SE_ItemViewItemCheckIndicator"/>
267 <reject-enum-value name="SE_ItemViewItemCheckIndicator"/>
268 </enum-type>
268 </enum-type>
269 <enum-type name="QStyleHintReturn::HintReturnType"/>
269 <enum-type name="QStyleHintReturn::HintReturnType"/>
270 <enum-type name="QStyleHintReturn::StyleOptionType"/>
270 <enum-type name="QStyleHintReturn::StyleOptionType"/>
271 <enum-type name="QStyleHintReturn::StyleOptionVersion"/>
271 <enum-type name="QStyleHintReturn::StyleOptionVersion"/>
272 <enum-type name="QStyleHintReturnVariant::StyleOptionType"/>
272 <enum-type name="QStyleHintReturnVariant::StyleOptionType"/>
273 <enum-type name="QStyleHintReturnVariant::StyleOptionVersion"/>
273 <enum-type name="QStyleHintReturnVariant::StyleOptionVersion"/>
274
274
275 <enum-type name="QStyleHintReturnMask::StyleOptionType"/>
275 <enum-type name="QStyleHintReturnMask::StyleOptionType"/>
276 <enum-type name="QStyleHintReturnMask::StyleOptionVersion"/>
276 <enum-type name="QStyleHintReturnMask::StyleOptionVersion"/>
277 <enum-type name="QStyleOption::StyleOptionType"/>
277 <enum-type name="QStyleOption::StyleOptionType"/>
278 <enum-type name="QStyleOption::OptionType" extensible="yes"/>
278 <enum-type name="QStyleOption::OptionType" extensible="yes"/>
279 <enum-type name="QStyleOption::StyleOptionVersion"/>
279 <enum-type name="QStyleOption::StyleOptionVersion"/>
280 <enum-type name="QStyleOptionButton::ButtonFeature" flags="QStyleOptionButton::ButtonFeatures"/>
280 <enum-type name="QStyleOptionButton::ButtonFeature" flags="QStyleOptionButton::ButtonFeatures"/>
281 <enum-type name="QStyleOptionButton::StyleOptionType"/>
281 <enum-type name="QStyleOptionButton::StyleOptionType"/>
282 <enum-type name="QStyleOptionButton::StyleOptionVersion"/>
282 <enum-type name="QStyleOptionButton::StyleOptionVersion"/>
283 <enum-type name="QStyleOptionComboBox::StyleOptionType"/>
283 <enum-type name="QStyleOptionComboBox::StyleOptionType"/>
284 <enum-type name="QStyleOptionComboBox::StyleOptionVersion"/>
284 <enum-type name="QStyleOptionComboBox::StyleOptionVersion"/>
285 <enum-type name="QStyleOptionComplex::StyleOptionType"/>
285 <enum-type name="QStyleOptionComplex::StyleOptionType"/>
286 <enum-type name="QStyleOptionComplex::StyleOptionVersion"/>
286 <enum-type name="QStyleOptionComplex::StyleOptionVersion"/>
287 <enum-type name="QStyleOptionDockWidget::StyleOptionType"/>
287 <enum-type name="QStyleOptionDockWidget::StyleOptionType"/>
288 <enum-type name="QStyleOptionDockWidget::StyleOptionVersion"/>
288 <enum-type name="QStyleOptionDockWidget::StyleOptionVersion"/>
289 <enum-type name="QStyleOptionDockWidgetV2::StyleOptionVersion"/>
289 <enum-type name="QStyleOptionDockWidgetV2::StyleOptionVersion"/>
290 <enum-type name="QStyleOptionFocusRect::StyleOptionType"/>
290 <enum-type name="QStyleOptionFocusRect::StyleOptionType"/>
291 <enum-type name="QStyleOptionFocusRect::StyleOptionVersion"/>
291 <enum-type name="QStyleOptionFocusRect::StyleOptionVersion"/>
292 <enum-type name="QStyleOptionFrame::StyleOptionType"/>
292 <enum-type name="QStyleOptionFrame::StyleOptionType"/>
293 <enum-type name="QStyleOptionFrame::StyleOptionVersion"/>
293 <enum-type name="QStyleOptionFrame::StyleOptionVersion"/>
294 <enum-type name="QStyleOptionFrameV2::FrameFeature" flags="QStyleOptionFrameV2::FrameFeatures"/>
294 <enum-type name="QStyleOptionFrameV2::FrameFeature" flags="QStyleOptionFrameV2::FrameFeatures"/>
295 <enum-type name="QStyleOptionFrameV2::StyleOptionVersion"/>
295 <enum-type name="QStyleOptionFrameV2::StyleOptionVersion"/>
296 <enum-type name="QStyleOptionGraphicsItem::StyleOptionType"/>
296 <enum-type name="QStyleOptionGraphicsItem::StyleOptionType"/>
297 <enum-type name="QStyleOptionGraphicsItem::StyleOptionVersion"/>
297 <enum-type name="QStyleOptionGraphicsItem::StyleOptionVersion"/>
298 <enum-type name="QStyleOptionGroupBox::StyleOptionType"/>
298 <enum-type name="QStyleOptionGroupBox::StyleOptionType"/>
299 <enum-type name="QStyleOptionGroupBox::StyleOptionVersion"/>
299 <enum-type name="QStyleOptionGroupBox::StyleOptionVersion"/>
300 <enum-type name="QStyleOptionHeader::SectionPosition"/>
300 <enum-type name="QStyleOptionHeader::SectionPosition"/>
301 <enum-type name="QStyleOptionHeader::SelectedPosition"/>
301 <enum-type name="QStyleOptionHeader::SelectedPosition"/>
302 <enum-type name="QStyleOptionHeader::SortIndicator"/>
302 <enum-type name="QStyleOptionHeader::SortIndicator"/>
303 <enum-type name="QStyleOptionHeader::StyleOptionType"/>
303 <enum-type name="QStyleOptionHeader::StyleOptionType"/>
304 <enum-type name="QStyleOptionHeader::StyleOptionVersion"/>
304 <enum-type name="QStyleOptionHeader::StyleOptionVersion"/>
305 <enum-type name="QStyleOptionMenuItem::CheckType"/>
305 <enum-type name="QStyleOptionMenuItem::CheckType"/>
306 <enum-type name="QStyleOptionMenuItem::MenuItemType"/>
306 <enum-type name="QStyleOptionMenuItem::MenuItemType"/>
307 <enum-type name="QStyleOptionMenuItem::StyleOptionType"/>
307 <enum-type name="QStyleOptionMenuItem::StyleOptionType"/>
308 <enum-type name="QStyleOptionMenuItem::StyleOptionVersion"/>
308 <enum-type name="QStyleOptionMenuItem::StyleOptionVersion"/>
309 <enum-type name="QStyleOptionProgressBar::StyleOptionType"/>
309 <enum-type name="QStyleOptionProgressBar::StyleOptionType"/>
310 <enum-type name="QStyleOptionProgressBar::StyleOptionVersion"/>
310 <enum-type name="QStyleOptionProgressBar::StyleOptionVersion"/>
311 <enum-type name="QStyleOptionProgressBarV2::StyleOptionType"/>
311 <enum-type name="QStyleOptionProgressBarV2::StyleOptionType"/>
312 <enum-type name="QStyleOptionProgressBarV2::StyleOptionVersion"/>
312 <enum-type name="QStyleOptionProgressBarV2::StyleOptionVersion"/>
313 <enum-type name="QStyleOptionRubberBand::StyleOptionType"/>
313 <enum-type name="QStyleOptionRubberBand::StyleOptionType"/>
314 <enum-type name="QStyleOptionRubberBand::StyleOptionVersion"/>
314 <enum-type name="QStyleOptionRubberBand::StyleOptionVersion"/>
315 <enum-type name="QStyleOptionSizeGrip::StyleOptionType"/>
315 <enum-type name="QStyleOptionSizeGrip::StyleOptionType"/>
316 <enum-type name="QStyleOptionSizeGrip::StyleOptionVersion"/>
316 <enum-type name="QStyleOptionSizeGrip::StyleOptionVersion"/>
317 <enum-type name="QStyleOptionSlider::StyleOptionType"/>
317 <enum-type name="QStyleOptionSlider::StyleOptionType"/>
318 <enum-type name="QStyleOptionSlider::StyleOptionVersion"/>
318 <enum-type name="QStyleOptionSlider::StyleOptionVersion"/>
319 <enum-type name="QStyleOptionSpinBox::StyleOptionType"/>
319 <enum-type name="QStyleOptionSpinBox::StyleOptionType"/>
320 <enum-type name="QStyleOptionSpinBox::StyleOptionVersion"/>
320 <enum-type name="QStyleOptionSpinBox::StyleOptionVersion"/>
321 <enum-type name="QStyleOptionTab::CornerWidget" flags="QStyleOptionTab::CornerWidgets"/>
321 <enum-type name="QStyleOptionTab::CornerWidget" flags="QStyleOptionTab::CornerWidgets"/>
322 <enum-type name="QStyleOptionTab::SelectedPosition"/>
322 <enum-type name="QStyleOptionTab::SelectedPosition"/>
323 <enum-type name="QStyleOptionTab::StyleOptionType"/>
323 <enum-type name="QStyleOptionTab::StyleOptionType"/>
324 <enum-type name="QStyleOptionTab::StyleOptionVersion"/>
324 <enum-type name="QStyleOptionTab::StyleOptionVersion"/>
325 <enum-type name="QStyleOptionTab::TabPosition"/>
325 <enum-type name="QStyleOptionTab::TabPosition"/>
326 <enum-type name="QStyleOptionTabBarBase::StyleOptionType"/>
326 <enum-type name="QStyleOptionTabBarBase::StyleOptionType"/>
327 <enum-type name="QStyleOptionTabBarBase::StyleOptionVersion"/>
327 <enum-type name="QStyleOptionTabBarBase::StyleOptionVersion"/>
328 <enum-type name="QStyleOptionTabV2::StyleOptionVersion"/>
328 <enum-type name="QStyleOptionTabV2::StyleOptionVersion"/>
329 <enum-type name="QStyleOptionTabWidgetFrame::StyleOptionType"/>
329 <enum-type name="QStyleOptionTabWidgetFrame::StyleOptionType"/>
330 <enum-type name="QStyleOptionTabWidgetFrame::StyleOptionVersion"/>
330 <enum-type name="QStyleOptionTabWidgetFrame::StyleOptionVersion"/>
331 <enum-type name="QStyleOptionTitleBar::StyleOptionType"/>
331 <enum-type name="QStyleOptionTitleBar::StyleOptionType"/>
332 <enum-type name="QStyleOptionTitleBar::StyleOptionVersion"/>
332 <enum-type name="QStyleOptionTitleBar::StyleOptionVersion"/>
333 <enum-type name="QStyleOptionToolBar::StyleOptionType"/>
333 <enum-type name="QStyleOptionToolBar::StyleOptionType"/>
334 <enum-type name="QStyleOptionToolBar::StyleOptionVersion"/>
334 <enum-type name="QStyleOptionToolBar::StyleOptionVersion"/>
335 <enum-type name="QStyleOptionToolBar::ToolBarFeature" flags="QStyleOptionToolBar::ToolBarFeatures"/>
335 <enum-type name="QStyleOptionToolBar::ToolBarFeature" flags="QStyleOptionToolBar::ToolBarFeatures"/>
336 <enum-type name="QStyleOptionToolBar::ToolBarPosition"/>
336 <enum-type name="QStyleOptionToolBar::ToolBarPosition"/>
337 <enum-type name="QStyleOptionToolBox::StyleOptionType"/>
337 <enum-type name="QStyleOptionToolBox::StyleOptionType"/>
338 <enum-type name="QStyleOptionToolBox::StyleOptionVersion"/>
338 <enum-type name="QStyleOptionToolBox::StyleOptionVersion"/>
339 <enum-type name="QStyleOptionToolButton::StyleOptionType"/>
339 <enum-type name="QStyleOptionToolButton::StyleOptionType"/>
340 <enum-type name="QStyleOptionToolButton::StyleOptionVersion"/>
340 <enum-type name="QStyleOptionToolButton::StyleOptionVersion"/>
341 <enum-type name="QStyleOptionToolButton::ToolButtonFeature" flags="QStyleOptionToolButton::ToolButtonFeatures">
341 <enum-type name="QStyleOptionToolButton::ToolButtonFeature" flags="QStyleOptionToolButton::ToolButtonFeatures">
342 <reject-enum-value name="MenuButtonPopup"/>
342 <reject-enum-value name="MenuButtonPopup"/>
343 </enum-type>
343 </enum-type>
344 <enum-type name="QStyleOptionViewItem::Position"/>
344 <enum-type name="QStyleOptionViewItem::Position"/>
345 <enum-type name="QStyleOptionViewItem::StyleOptionType"/>
345 <enum-type name="QStyleOptionViewItem::StyleOptionType"/>
346 <enum-type name="QStyleOptionViewItem::StyleOptionVersion"/>
346 <enum-type name="QStyleOptionViewItem::StyleOptionVersion"/>
347 <enum-type name="QStyleOptionViewItemV2::StyleOptionVersion"/>
347 <enum-type name="QStyleOptionViewItemV2::StyleOptionVersion"/>
348 <enum-type name="QStyleOptionViewItemV2::ViewItemFeature" flags="QStyleOptionViewItemV2::ViewItemFeatures"/>
348 <enum-type name="QStyleOptionViewItemV2::ViewItemFeature" flags="QStyleOptionViewItemV2::ViewItemFeatures"/>
349 <enum-type name="QSystemTrayIcon::ActivationReason"/>
349 <enum-type name="QSystemTrayIcon::ActivationReason"/>
350 <enum-type name="QSystemTrayIcon::MessageIcon"/>
350 <enum-type name="QSystemTrayIcon::MessageIcon"/>
351 <enum-type name="QTabBar::ButtonPosition"/>
351 <enum-type name="QTabBar::ButtonPosition"/>
352 <enum-type name="QTabBar::SelectionBehavior"/>
352 <enum-type name="QTabBar::SelectionBehavior"/>
353 <enum-type name="QTabBar::Shape"/>
353 <enum-type name="QTabBar::Shape"/>
354 <enum-type name="QTabWidget::TabPosition"/>
354 <enum-type name="QTabWidget::TabPosition"/>
355 <enum-type name="QTabWidget::TabShape"/>
355 <enum-type name="QTabWidget::TabShape"/>
356 <enum-type name="QTableWidgetItem::ItemType"/>
356 <enum-type name="QTableWidgetItem::ItemType"/>
357 <enum-type name="QTabletEvent::PointerType"/>
357 <enum-type name="QTabletEvent::PointerType"/>
358 <enum-type name="QTabletEvent::TabletDevice"/>
358 <enum-type name="QTabletEvent::TabletDevice"/>
359 <enum-type name="QTextCharFormat::UnderlineStyle"/>
359 <enum-type name="QTextCharFormat::UnderlineStyle"/>
360 <enum-type name="QTextCharFormat::VerticalAlignment"/>
360 <enum-type name="QTextCharFormat::VerticalAlignment"/>
361 <enum-type name="QTextCursor::MoveMode"/>
361 <enum-type name="QTextCursor::MoveMode"/>
362 <enum-type name="QTextCursor::MoveOperation"/>
362 <enum-type name="QTextCursor::MoveOperation"/>
363 <enum-type name="QTextCursor::SelectionType"/>
363 <enum-type name="QTextCursor::SelectionType"/>
364 <enum-type name="QTextDocument::FindFlag" flags="QTextDocument::FindFlags"/>
364 <enum-type name="QTextDocument::FindFlag" flags="QTextDocument::FindFlags"/>
365 <enum-type name="QTextDocument::MetaInformation"/>
365 <enum-type name="QTextDocument::MetaInformation"/>
366 <enum-type name="QTextDocument::ResourceType"/>
366 <enum-type name="QTextDocument::ResourceType"/>
367 <enum-type name="QTextEdit::AutoFormattingFlag" flags="QTextEdit::AutoFormatting"/>
367 <enum-type name="QTextEdit::AutoFormattingFlag" flags="QTextEdit::AutoFormatting"/>
368 <enum-type name="QTextEdit::LineWrapMode"/>
368 <enum-type name="QTextEdit::LineWrapMode"/>
369 <enum-type name="QTextFormat::ObjectTypes"/>
369 <enum-type name="QTextFormat::ObjectTypes"/>
370 <enum-type name="QTextFormat::PageBreakFlag" flags="QTextFormat::PageBreakFlags"/>
370 <enum-type name="QTextFormat::PageBreakFlag" flags="QTextFormat::PageBreakFlags"/>
371 <enum-type name="QTextFrameFormat::Position"/>
371 <enum-type name="QTextFrameFormat::Position"/>
372 <enum-type name="QTextFrameFormat::BorderStyle"/>
372 <enum-type name="QTextFrameFormat::BorderStyle"/>
373 <enum-type name="QTextItem::RenderFlag" flags="QTextItem::RenderFlags"/>
373 <enum-type name="QTextItem::RenderFlag" flags="QTextItem::RenderFlags"/>
374 <enum-type name="QTextLayout::CursorMode"/>
374 <enum-type name="QTextLayout::CursorMode"/>
375 <enum-type name="QTextLength::Type"/>
375 <enum-type name="QTextLength::Type"/>
376 <enum-type name="QTextLine::CursorPosition"/>
376 <enum-type name="QTextLine::CursorPosition"/>
377 <enum-type name="QTextLine::Edge"/>
377 <enum-type name="QTextLine::Edge"/>
378 <enum-type name="QTextListFormat::Style"/>
378 <enum-type name="QTextListFormat::Style"/>
379 <enum-type name="QTextOption::Flag" flags="QTextOption::Flags"/>
379 <enum-type name="QTextOption::Flag" flags="QTextOption::Flags"/>
380 <enum-type name="QTextOption::WrapMode"/>
380 <enum-type name="QTextOption::WrapMode"/>
381 <enum-type name="QTextOption::TabType"/>
381 <enum-type name="QTextOption::TabType"/>
382 <enum-type name="QToolButton::ToolButtonPopupMode"/>
382 <enum-type name="QToolButton::ToolButtonPopupMode"/>
383 <enum-type name="QTreeWidgetItem::ItemType"/>
383 <enum-type name="QTreeWidgetItem::ItemType"/>
384 <enum-type name="QTreeWidgetItemIterator::IteratorFlag" flags="QTreeWidgetItemIterator::IteratorFlags"/>
384 <enum-type name="QTreeWidgetItemIterator::IteratorFlag" flags="QTreeWidgetItemIterator::IteratorFlags"/>
385 <enum-type name="QValidator::State"/>
385 <enum-type name="QValidator::State"/>
386 <enum-type name="QWidget::RenderFlag" flags="QWidget::RenderFlags"/>
386 <enum-type name="QWidget::RenderFlag" flags="QWidget::RenderFlags"/>
387 <enum-type name="QWorkspace::WindowOrder"/>
387 <enum-type name="QWorkspace::WindowOrder"/>
388 <enum-type name="QDoubleValidator::Notation"/>
388 <enum-type name="QDoubleValidator::Notation"/>
389 <enum-type name="QGraphicsScene::SceneLayer" flags="QGraphicsScene::SceneLayers"/>
389 <enum-type name="QGraphicsScene::SceneLayer" flags="QGraphicsScene::SceneLayers"/>
390 <enum-type name="QStyleOptionToolBoxV2::SelectedPosition"/>
390 <enum-type name="QStyleOptionToolBoxV2::SelectedPosition"/>
391 <enum-type name="QStyleOptionToolBoxV2::StyleOptionVersion"/>
391 <enum-type name="QStyleOptionToolBoxV2::StyleOptionVersion"/>
392 <enum-type name="QStyleOptionToolBoxV2::TabPosition"/>
392 <enum-type name="QStyleOptionToolBoxV2::TabPosition"/>
393 <enum-type name="QStyleOptionViewItemV3::StyleOptionVersion"/>
393 <enum-type name="QStyleOptionViewItemV3::StyleOptionVersion"/>
394 <enum-type name="QTransform::TransformationType"/>
394 <enum-type name="QTransform::TransformationType"/>
395 <enum-type name="QTreeWidgetItem::ChildIndicatorPolicy"/>
395 <enum-type name="QTreeWidgetItem::ChildIndicatorPolicy"/>
396 <enum-type name="QWizard::WizardOption" flags="QWizard::WizardOptions"/>
396 <enum-type name="QWizard::WizardOption" flags="QWizard::WizardOptions"/>
397 <enum-type name="QWizard::WizardPixmap"/>
397 <enum-type name="QWizard::WizardPixmap"/>
398 <enum-type name="QWizard::WizardStyle"/>
398 <enum-type name="QWizard::WizardStyle"/>
399 <enum-type name="QImageIOPlugin::Capability" flags="QImageIOPlugin::Capabilities"/>
399 <enum-type name="QImageIOPlugin::Capability" flags="QImageIOPlugin::Capabilities"/>
400 <enum-type name="QStackedLayout::StackingMode"/>
400 <enum-type name="QStackedLayout::StackingMode"/>
401
401
402 <enum-type name="QWizard::WizardButton">
402 <enum-type name="QWizard::WizardButton">
403 <reject-enum-value name="NStandardButtons"/>
403 <reject-enum-value name="NStandardButtons"/>
404 <reject-enum-value name="NButtons"/>
404 <reject-enum-value name="NButtons"/>
405 </enum-type>
405 </enum-type>
406
406
407 <enum-type name="QAccessible::Action">
407 <enum-type name="QAccessible::Action">
408 <reject-enum-value name="FirstStandardAction"/>
408 <reject-enum-value name="FirstStandardAction"/>
409 <reject-enum-value name="LastStandardAction"/>
409 <reject-enum-value name="LastStandardAction"/>
410 </enum-type>
410 </enum-type>
411
411
412 <enum-type name="QBoxLayout::Direction">
412 <enum-type name="QBoxLayout::Direction">
413 <reject-enum-value name="Down"/>
413 <reject-enum-value name="Down"/>
414 <reject-enum-value name="Up"/>
414 <reject-enum-value name="Up"/>
415 </enum-type>
415 </enum-type>
416
416
417
417
418 <enum-type name="QClipboard::Mode">
418 <enum-type name="QClipboard::Mode">
419 <reject-enum-value name="LastMode"/>
419 <reject-enum-value name="LastMode"/>
420 </enum-type>
420 </enum-type>
421
421
422 <enum-type name="QDialogButtonBox::StandardButton" flags="QDialogButtonBox::StandardButtons">
422 <enum-type name="QDialogButtonBox::StandardButton" flags="QDialogButtonBox::StandardButtons">
423 <reject-enum-value name="FirstButton"/>
423 <reject-enum-value name="FirstButton"/>
424 <reject-enum-value name="LastButton"/>
424 <reject-enum-value name="LastButton"/>
425 <reject-enum-value name="YesAll"/>
425 <reject-enum-value name="YesAll"/>
426 <reject-enum-value name="NoAll"/>
426 <reject-enum-value name="NoAll"/>
427 <reject-enum-value name="Default"/>
427 <reject-enum-value name="Default"/>
428 <reject-enum-value name="Escape"/>
428 <reject-enum-value name="Escape"/>
429 <reject-enum-value name="FlagMask"/>
429 <reject-enum-value name="FlagMask"/>
430 <reject-enum-value name="ButtonMask"/>
430 <reject-enum-value name="ButtonMask"/>
431 </enum-type>
431 </enum-type>
432
432
433 <enum-type name="QDockWidget::DockWidgetFeature" flags="QDockWidget::DockWidgetFeatures"/>
433 <enum-type name="QDockWidget::DockWidgetFeature" flags="QDockWidget::DockWidgetFeatures"/>
434
434
435 <enum-type name="QFont::StyleHint">
435 <enum-type name="QFont::StyleHint">
436 <reject-enum-value name="SansSerif"/>
436 <reject-enum-value name="SansSerif"/>
437 <reject-enum-value name="Serif"/>
437 <reject-enum-value name="Serif"/>
438 <reject-enum-value name="TypeWriter"/>
438 <reject-enum-value name="TypeWriter"/>
439 <reject-enum-value name="Decorative"/>
439 <reject-enum-value name="Decorative"/>
440 </enum-type>
440 </enum-type>
441
441
442 <enum-type name="QFontDatabase::WritingSystem">
442 <enum-type name="QFontDatabase::WritingSystem">
443 <reject-enum-value name="Other"/>
443 <reject-enum-value name="Other"/>
444 </enum-type>
444 </enum-type>
445
445
446 <enum-type name="QHeaderView::ResizeMode">
446 <enum-type name="QHeaderView::ResizeMode">
447 <reject-enum-value name="Custom"/>
447 <reject-enum-value name="Custom"/>
448 </enum-type>
448 </enum-type>
449
449
450
450
451 <enum-type name="QMessageBox::StandardButton" flags="QMessageBox::StandardButtons">
451 <enum-type name="QMessageBox::StandardButton" flags="QMessageBox::StandardButtons">
452 <reject-enum-value name="FirstButton"/>
452 <reject-enum-value name="FirstButton"/>
453 <reject-enum-value name="LastButton"/>
453 <reject-enum-value name="LastButton"/>
454 <reject-enum-value name="YesAll"/>
454 <reject-enum-value name="YesAll"/>
455 <reject-enum-value name="NoAll"/>
455 <reject-enum-value name="NoAll"/>
456 </enum-type>
456 </enum-type>
457
457
458 <enum-type name="QPalette::ColorGroup">
458 <enum-type name="QPalette::ColorGroup">
459 <reject-enum-value name="Normal"/>
459 <reject-enum-value name="Normal"/>
460 </enum-type>
460 </enum-type>
461
461
462 <enum-type name="QPalette::ColorRole">
462 <enum-type name="QPalette::ColorRole">
463 <reject-enum-value name="NColorRoles"/>
463 <reject-enum-value name="NColorRoles"/>
464 <reject-enum-value name="Foreground"/>
464 <reject-enum-value name="Foreground"/>
465 <reject-enum-value name="Background"/>
465 <reject-enum-value name="Background"/>
466 </enum-type>
466 </enum-type>
467
467
468 <enum-type name="QPrinter::PageSize">
468 <enum-type name="QPrinter::PageSize">
469 <reject-enum-value name="NPageSize"/>
469 <reject-enum-value name="NPageSize"/>
470 <reject-enum-value name="NPaperSize"/>
470 <reject-enum-value name="NPaperSize"/>
471 </enum-type>
471 </enum-type>
472
472
473 <enum-type name="QSlider::TickPosition">
473 <enum-type name="QSlider::TickPosition">
474 <reject-enum-value name="TicksLeft"/>
474 <reject-enum-value name="TicksLeft"/>
475 <reject-enum-value name="TicksRight"/>
475 <reject-enum-value name="TicksRight"/>
476 </enum-type>
476 </enum-type>
477
477
478 <enum-type name="QStyle::StyleHint" extensible="yes">
478 <enum-type name="QStyle::StyleHint" extensible="yes">
479 <reject-enum-value name="SH_ScrollBar_StopMouseOverSlider"/>
479 <reject-enum-value name="SH_ScrollBar_StopMouseOverSlider"/>
480 </enum-type>
480 </enum-type>
481
481
482
482
483 <enum-type name="QTextFormat::FormatType"/>
483 <enum-type name="QTextFormat::FormatType"/>
484
484
485 <enum-type name="QTextFormat::Property">
485 <enum-type name="QTextFormat::Property">
486 <reject-enum-value name="FontSizeIncrement"/>
486 <reject-enum-value name="FontSizeIncrement"/>
487 <reject-enum-value name="FirstFontProperty"/>
487 <reject-enum-value name="FirstFontProperty"/>
488 <reject-enum-value name="LastFontProperty"/>
488 <reject-enum-value name="LastFontProperty"/>
489 </enum-type>
489 </enum-type>
490
490
491 <value-type name="QTransform">
491 <value-type name="QTransform">
492 <modify-function signature="operator=(QTransform)" remove="all"/>
492 <modify-function signature="operator=(QTransform)" remove="all"/>
493 <modify-function signature="map(int,int,int*,int*)const" remove="all"/>
493 <modify-function signature="map(int,int,int*,int*)const" remove="all"/>
494 <modify-function signature="map(qreal,qreal,qreal*,qreal*)const" remove="all"/>
494 <modify-function signature="map(qreal,qreal,qreal*,qreal*)const" remove="all"/>
495
495
496 <modify-function signature="operator*=(qreal)" access="private"/>
496 <modify-function signature="operator*=(qreal)" access="private"/>
497 <modify-function signature="operator+=(qreal)" access="private"/>
497 <modify-function signature="operator+=(qreal)" access="private"/>
498 <modify-function signature="operator-=(qreal)" access="private"/>
498 <modify-function signature="operator-=(qreal)" access="private"/>
499 <modify-function signature="operator/=(qreal)" access="private"/>
499 <modify-function signature="operator/=(qreal)" access="private"/>
500 <modify-function signature="operator*(QTransform)const" rename="multiplied"/>
500 <modify-function signature="operator*(QTransform)const" rename="multiplied"/>
501 <modify-function signature="operator*=(QTransform)" access="private"/>
501 <modify-function signature="operator*=(QTransform)" access="private"/>
502
502
503 <modify-function signature="inverted(bool*)const">
503 <modify-function signature="inverted(bool*)const">
504 <modify-argument index="1">
504 <modify-argument index="1">
505 <remove-argument/>
505 <remove-argument/>
506 </modify-argument>
506 </modify-argument>
507 </modify-function>
507 </modify-function>
508 </value-type>
508 </value-type>
509
509
510 <value-type name="QStyleOption" delete-in-main-thread="yes" polymorphic-base="yes" polymorphic-id-expression="%1-&gt;type == QStyleOption::SO_Default">
510 <value-type name="QStyleOption" delete-in-main-thread="yes" polymorphic-base="yes" polymorphic-id-expression="%1-&gt;type == QStyleOption::SO_Default">
511 <modify-function signature="operator=(QStyleOption)" remove="all"/>
511 <modify-function signature="operator=(QStyleOption)" remove="all"/>
512 <modify-function signature="init(const QWidget*)" remove="all"/> <!--### Obsolete in 4.3-->
512 <modify-function signature="init(const QWidget*)" remove="all"/> <!--### Obsolete in 4.3-->
513 </value-type>
513 </value-type>
514 <value-type name="QStyleOptionGraphicsItem" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionGraphicsItem::Type &amp;&amp; %1-&gt;version == QStyleOptionGraphicsItem::Version"/>
514 <value-type name="QStyleOptionGraphicsItem" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionGraphicsItem::Type &amp;&amp; %1-&gt;version == QStyleOptionGraphicsItem::Version"/>
515 <value-type name="QStyleOptionSizeGrip" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionSizeGrip::Type &amp;&amp; %1-&gt;version == QStyleOptionSizeGrip::Version"/>
515 <value-type name="QStyleOptionSizeGrip" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionSizeGrip::Type &amp;&amp; %1-&gt;version == QStyleOptionSizeGrip::Version"/>
516 <value-type name="QStyleOptionButton" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionButton::Type &amp;&amp; %1-&gt;version == QStyleOptionButton::Version"/>
516 <value-type name="QStyleOptionButton" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionButton::Type &amp;&amp; %1-&gt;version == QStyleOptionButton::Version"/>
517 <value-type name="QStyleOptionComboBox" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionComboBox::Type &amp;&amp; %1-&gt;version == QStyleOptionComboBox::Version"/>
517 <value-type name="QStyleOptionComboBox" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionComboBox::Type &amp;&amp; %1-&gt;version == QStyleOptionComboBox::Version"/>
518 <value-type name="QStyleOptionComplex" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionComplex::Type &amp;&amp; %1-&gt;version == QStyleOptionComplex::Version"/>
518 <value-type name="QStyleOptionComplex" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionComplex::Type &amp;&amp; %1-&gt;version == QStyleOptionComplex::Version"/>
519 <value-type name="QStyleOptionDockWidget" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionDockWidget::Type &amp;&amp; %1-&gt;version == QStyleOptionDockWidget::Version"/>
519 <value-type name="QStyleOptionDockWidget" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionDockWidget::Type &amp;&amp; %1-&gt;version == QStyleOptionDockWidget::Version"/>
520 <value-type name="QStyleOptionDockWidgetV2" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionDockWidgetV2::Type &amp;&amp; %1-&gt;version == QStyleOptionDockWidgetV2::Version">
520 <value-type name="QStyleOptionDockWidgetV2" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionDockWidgetV2::Type &amp;&amp; %1-&gt;version == QStyleOptionDockWidgetV2::Version">
521 <modify-function signature="operator=(QStyleOptionDockWidget)" remove="all"/>
521 <modify-function signature="operator=(QStyleOptionDockWidget)" remove="all"/>
522 </value-type>
522 </value-type>
523 <value-type name="QStyleOptionFocusRect" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionFocusRect::Type &amp;&amp; %1-&gt;version == QStyleOptionFocusRect::Version"/>
523 <value-type name="QStyleOptionFocusRect" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionFocusRect::Type &amp;&amp; %1-&gt;version == QStyleOptionFocusRect::Version"/>
524 <value-type name="QStyleOptionFrame" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionFrame::Type &amp;&amp; %1-&gt;version == QStyleOptionFrame::Version"/>
524 <value-type name="QStyleOptionFrame" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionFrame::Type &amp;&amp; %1-&gt;version == QStyleOptionFrame::Version"/>
525
525
526 <value-type name="QStyleOptionFrameV2" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionFrameV2::Type &amp;&amp; %1-&gt;version == QStyleOptionFrameV2::Version">
526 <value-type name="QStyleOptionFrameV2" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionFrameV2::Type &amp;&amp; %1-&gt;version == QStyleOptionFrameV2::Version">
527 <modify-function signature="operator=(QStyleOptionFrame)" remove="all"/>
527 <modify-function signature="operator=(QStyleOptionFrame)" remove="all"/>
528 </value-type>
528 </value-type>
529
529
530 <value-type name="QStyleOptionGroupBox" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionGroupBox::Type &amp;&amp; %1-&gt;version == QStyleOptionGroupBox::Version"/>
530 <value-type name="QStyleOptionGroupBox" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionGroupBox::Type &amp;&amp; %1-&gt;version == QStyleOptionGroupBox::Version"/>
531 <value-type name="QStyleOptionHeader" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionHeader::Type &amp;&amp; %1-&gt;version == QStyleOptionHeader::Version"/>
531 <value-type name="QStyleOptionHeader" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionHeader::Type &amp;&amp; %1-&gt;version == QStyleOptionHeader::Version"/>
532 <value-type name="QStyleOptionMenuItem" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionMenuItem::Type &amp;&amp; %1-&gt;version == QStyleOptionMenuItem::Version"/>
532 <value-type name="QStyleOptionMenuItem" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionMenuItem::Type &amp;&amp; %1-&gt;version == QStyleOptionMenuItem::Version"/>
533 <value-type name="QStyleOptionProgressBar" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionProgressBar::Type &amp;&amp; %1-&gt;version == QStyleOptionProgressBar::Version"/>
533 <value-type name="QStyleOptionProgressBar" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionProgressBar::Type &amp;&amp; %1-&gt;version == QStyleOptionProgressBar::Version"/>
534
534
535 <value-type name="QStyleOptionProgressBarV2" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionProgressBarV2::Type &amp;&amp; %1-&gt;version == QStyleOptionProgressBarV2::Version">
535 <value-type name="QStyleOptionProgressBarV2" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionProgressBarV2::Type &amp;&amp; %1-&gt;version == QStyleOptionProgressBarV2::Version">
536 <modify-function signature="operator=(QStyleOptionProgressBar)" remove="all"/>
536 <modify-function signature="operator=(QStyleOptionProgressBar)" remove="all"/>
537 </value-type>
537 </value-type>
538
538
539 <value-type name="QStyleOptionRubberBand" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionRubberBand::Type &amp;&amp; %1-&gt;version == QStyleOptionRubberBand::Version"/>
539 <value-type name="QStyleOptionRubberBand" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionRubberBand::Type &amp;&amp; %1-&gt;version == QStyleOptionRubberBand::Version"/>
540 <value-type name="QStyleOptionSlider" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionSlider::Type &amp;&amp; %1-&gt;version == QStyleOptionSlider::Version"/>
540 <value-type name="QStyleOptionSlider" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionSlider::Type &amp;&amp; %1-&gt;version == QStyleOptionSlider::Version"/>
541 <value-type name="QStyleOptionSpinBox" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionSpinBox::Type &amp;&amp; %1-&gt;version == QStyleOptionSpinBox::Version"/>
541 <value-type name="QStyleOptionSpinBox" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionSpinBox::Type &amp;&amp; %1-&gt;version == QStyleOptionSpinBox::Version"/>
542 <value-type name="QStyleOptionTab" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionTab::Type &amp;&amp; %1-&gt;version == QStyleOptionTab::Version"/>
542 <value-type name="QStyleOptionTab" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionTab::Type &amp;&amp; %1-&gt;version == QStyleOptionTab::Version"/>
543 <value-type name="QStyleOptionTabV2" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionTabV2::Type &amp;&amp; %1-&gt;version == QStyleOptionTabV2::Version">
543 <value-type name="QStyleOptionTabV2" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionTabV2::Type &amp;&amp; %1-&gt;version == QStyleOptionTabV2::Version">
544 <modify-function signature="operator=(const QStyleOptionTab &amp;)" remove="all"/>
544 <modify-function signature="operator=(const QStyleOptionTab &amp;)" remove="all"/>
545 </value-type>
545 </value-type>
546 <value-type name="QStyleOptionTabBarBase" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionTabBarBase::Type &amp;&amp; %1-&gt;version == QStyleOptionTabBarBase::Version"/>
546 <value-type name="QStyleOptionTabBarBase" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionTabBarBase::Type &amp;&amp; %1-&gt;version == QStyleOptionTabBarBase::Version"/>
547 <value-type name="QStyleOptionTabWidgetFrame" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionTabWidgetFrame::Type &amp;&amp; %1-&gt;version == QStyleOptionTabWidgetFrame::Version"/>
547 <value-type name="QStyleOptionTabWidgetFrame" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionTabWidgetFrame::Type &amp;&amp; %1-&gt;version == QStyleOptionTabWidgetFrame::Version"/>
548 <value-type name="QStyleOptionTitleBar" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionTitleBar::Type &amp;&amp; %1-&gt;version == QStyleOptionTitleBar::Version"/>
548 <value-type name="QStyleOptionTitleBar" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionTitleBar::Type &amp;&amp; %1-&gt;version == QStyleOptionTitleBar::Version"/>
549 <value-type name="QStyleOptionToolBar" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionToolBar::Type &amp;&amp; %1-&gt;version == QStyleOptionToolBar::Version"/>
549 <value-type name="QStyleOptionToolBar" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionToolBar::Type &amp;&amp; %1-&gt;version == QStyleOptionToolBar::Version"/>
550 <value-type name="QStyleOptionToolBox" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionToolBox::Type &amp;&amp; %1-&gt;version == QStyleOptionToolBox::Version"/>
550 <value-type name="QStyleOptionToolBox" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionToolBox::Type &amp;&amp; %1-&gt;version == QStyleOptionToolBox::Version"/>
551 <value-type name="QStyleOptionToolBoxV2" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionToolBoxV2::Type &amp;&amp; %1-&gt;version == QStyleOptionToolBoxV2::Version">
551 <value-type name="QStyleOptionToolBoxV2" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionToolBoxV2::Type &amp;&amp; %1-&gt;version == QStyleOptionToolBoxV2::Version">
552 <modify-function signature="operator=(QStyleOptionToolBox)" remove="all"/>
552 <modify-function signature="operator=(QStyleOptionToolBox)" remove="all"/>
553 </value-type>
553 </value-type>
554 <value-type name="QStyleOptionToolButton" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionToolButton::Type &amp;&amp; %1-&gt;version == QStyleOptionToolButton::Version"/>
554 <value-type name="QStyleOptionToolButton" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionToolButton::Type &amp;&amp; %1-&gt;version == QStyleOptionToolButton::Version"/>
555 <value-type name="QStyleOptionViewItem" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionViewItem::Type &amp;&amp; %1-&gt;version == QStyleOptionViewItem::Version"/>
555 <value-type name="QStyleOptionViewItem" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionViewItem::Type &amp;&amp; %1-&gt;version == QStyleOptionViewItem::Version"/>
556 <value-type name="QStyleOptionViewItemV2" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionViewItemV2::Type &amp;&amp; %1-&gt;version == QStyleOptionViewItemV2::Version">
556 <value-type name="QStyleOptionViewItemV2" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionViewItemV2::Type &amp;&amp; %1-&gt;version == QStyleOptionViewItemV2::Version">
557 <modify-function signature="operator=(QStyleOptionViewItem)" remove="all"/>
557 <modify-function signature="operator=(QStyleOptionViewItem)" remove="all"/>
558 </value-type>
558 </value-type>
559 <value-type name="QStyleOptionViewItemV3" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionViewItemV3::Type &amp;&amp; %1-&gt;version == QStyleOptionViewItemV3::Version">
559 <value-type name="QStyleOptionViewItemV3" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionViewItemV3::Type &amp;&amp; %1-&gt;version == QStyleOptionViewItemV3::Version">
560 <modify-function signature="operator=(QStyleOptionViewItem)" remove="all"/>
560 <modify-function signature="operator=(QStyleOptionViewItem)" remove="all"/>
561 </value-type>
561 </value-type>
562 <value-type name="QStyleOptionViewItemV4" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionViewItemV4::Type &amp;&amp; %1-&gt;version == QStyleOptionViewItemV4::Version">
562 <value-type name="QStyleOptionViewItemV4" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionViewItemV4::Type &amp;&amp; %1-&gt;version == QStyleOptionViewItemV4::Version">
563 <modify-function signature="operator=(QStyleOptionViewItem)" remove="all"/>
563 <modify-function signature="operator=(QStyleOptionViewItem)" remove="all"/>
564 </value-type>
564 </value-type>
565 <value-type name="QTextFragment" delete-in-main-thread="yes">
565 <value-type name="QTextFragment" delete-in-main-thread="yes">
566 <modify-function signature="operator=(QTextFragment)" remove="all"/>
566 <modify-function signature="operator=(QTextFragment)" remove="all"/>
567 </value-type>
567 </value-type>
568 <value-type name="QBitmap" delete-in-main-thread="yes">
568 <value-type name="QBitmap" delete-in-main-thread="yes">
569 <modify-function signature="operator=(const QPixmap &amp;)" remove="all"/>
569 <modify-function signature="operator=(const QPixmap &amp;)" remove="all"/>
570 <modify-function signature="QBitmap(QString,const char*)" access="private">
570 <modify-function signature="QBitmap(QString,const char*)" access="private">
571 <modify-argument index="2"> <remove-default-expression/> </modify-argument>
571 <modify-argument index="2"> <remove-default-expression/> </modify-argument>
572 </modify-function>
572 </modify-function>
573
573
574 <modify-function signature="fromData(QSize,const uchar*,QImage::Format)">
574 <modify-function signature="fromData(QSize,const uchar*,QImage::Format)">
575 <access modifier="private"/>
575 <access modifier="private"/>
576 <modify-argument index="3">
576 <modify-argument index="3">
577 <remove-default-expression/>
577 <remove-default-expression/>
578 </modify-argument>
578 </modify-argument>
579 </modify-function>
579 </modify-function>
580
580
581 <modify-function signature="fromData(QSize,const uchar*,QImage::Format)" remove="all"/>
581 <modify-function signature="fromData(QSize,const uchar*,QImage::Format)" remove="all"/>
582
582
583 <modify-function signature="QBitmap(QString,const char*)">
583 <modify-function signature="QBitmap(QString,const char*)">
584 <modify-argument index="2">
584 <modify-argument index="2">
585 <replace-type modified-type="QString"/>
585 <replace-type modified-type="QString"/>
586 <conversion-rule class="native">
586 <conversion-rule class="native">
587 <insert-template name="core.convert_string_arg_to_char*"/>
587 <insert-template name="core.convert_string_arg_to_char*"/>
588 </conversion-rule>
588 </conversion-rule>
589 </modify-argument>
589 </modify-argument>
590 </modify-function>
590 </modify-function>
591 </value-type>
591 </value-type>
592 <value-type name="QTextInlineObject" delete-in-main-thread="yes"/>
592 <value-type name="QTextInlineObject" delete-in-main-thread="yes"/>
593 <value-type name="QSizePolicy"/>
593 <value-type name="QSizePolicy"/>
594 <value-type name="QTableWidgetSelectionRange"/>
594 <value-type name="QTableWidgetSelectionRange"/>
595 <value-type name="QTextDocumentFragment" delete-in-main-thread="yes">
595 <value-type name="QTextDocumentFragment" delete-in-main-thread="yes">
596 <modify-function signature="operator=(QTextDocumentFragment)" remove="all"/>
596 <modify-function signature="operator=(QTextDocumentFragment)" remove="all"/>
597 </value-type>
597 </value-type>
598 <value-type name="QTextOption" delete-in-main-thread="yes">
598 <value-type name="QTextOption" delete-in-main-thread="yes">
599 <modify-function signature="operator=(const QTextOption &amp;)" remove="all"/>
599 <modify-function signature="operator=(const QTextOption &amp;)" remove="all"/>
600 </value-type>
600 </value-type>
601 <value-type name="QTextLine" delete-in-main-thread="yes">
601 <value-type name="QTextLine" delete-in-main-thread="yes">
602 <modify-function signature="cursorToX(int*,QTextLine::Edge)const">
602 <modify-function signature="cursorToX(int*,QTextLine::Edge)const">
603 <remove/>
603 <remove/>
604 </modify-function>
604 </modify-function>
605 </value-type>
605 </value-type>
606 <value-type name="QTextTableFormat" delete-in-main-thread="yes"/>
606 <value-type name="QTextTableFormat" delete-in-main-thread="yes"/>
607 <value-type name="QTextImageFormat" delete-in-main-thread="yes"/>
607 <value-type name="QTextImageFormat" delete-in-main-thread="yes"/>
608 <value-type name="QTextFrameFormat" delete-in-main-thread="yes">
608 <value-type name="QTextFrameFormat" delete-in-main-thread="yes">
609 <modify-function signature="isValid()const" access="non-final"/>
609 <modify-function signature="isValid()const" access="non-final"/>
610 </value-type>
610 </value-type>
611 <value-type name="QTextLength" delete-in-main-thread="yes"/>
611 <value-type name="QTextLength" delete-in-main-thread="yes"/>
612 <value-type name="QItemSelectionRange">
612 <value-type name="QItemSelectionRange">
613 <modify-function signature="intersect(QItemSelectionRange)const" remove="all"/> <!--### Obsolete in 4.3-->
613 <modify-function signature="intersect(QItemSelectionRange)const" remove="all"/> <!--### Obsolete in 4.3-->
614 </value-type>
614 </value-type>
615 <value-type name="QLine"/>
615 <value-type name="QLine"/>
616 <value-type name="QLineF"/>
616 <value-type name="QLineF"/>
617
617
618 <value-type name="QPainterPath">
618 <value-type name="QPainterPath">
619 <modify-function signature="operator=(QPainterPath)" remove="all"/>
619 <modify-function signature="operator=(QPainterPath)" remove="all"/>
620 </value-type>
620 </value-type>
621 <value-type name="QPalette">
621 <value-type name="QPalette">
622 <modify-function signature="operator=(const QPalette&amp;)" remove="all"/>
622 <modify-function signature="operator=(const QPalette&amp;)" remove="all"/>
623
623
624 <modify-function signature="QPalette(QColor, QColor, QColor, QColor, QColor, QColor, QColor)" remove="all"/> <!--### Obsolete in 4.3-->
624 <modify-function signature="QPalette(QColor, QColor, QColor, QColor, QColor, QColor, QColor)" remove="all"/> <!--### Obsolete in 4.3-->
625 <modify-function signature="background()const" remove="all"/> <!--### Obsolete in 4.3-->
625 <modify-function signature="background()const" remove="all"/> <!--### Obsolete in 4.3-->
626 <modify-function signature="foreground()const" remove="all"/> <!--### Obsolete in 4.3-->
626 <modify-function signature="foreground()const" remove="all"/> <!--### Obsolete in 4.3-->
627 <modify-function signature="serialNumber()const" remove="all"/> <!--### Obsolete in 4.3-->
627 <modify-function signature="serialNumber()const" remove="all"/> <!--### Obsolete in 4.3-->
628 </value-type>
628 </value-type>
629 <value-type name="QKeySequence">
629 <value-type name="QKeySequence">
630 <modify-function signature="operator=(QKeySequence)" remove="all"/>
630 <modify-function signature="operator=(QKeySequence)" remove="all"/>
631 <modify-function signature="operator int()const" access="private"/>
631 <modify-function signature="operator int()const" access="private"/>
632 <modify-function signature="operator[](uint)const" access="private"/>
632 <modify-function signature="operator[](uint)const" access="private"/>
633 </value-type>
633 </value-type>
634
634
635 <value-type name="QPicture" delete-in-main-thread="yes">
635 <value-type name="QPicture" delete-in-main-thread="yes">
636 <modify-function signature="operator=(QPicture)" remove="all"/>
636 <modify-function signature="operator=(QPicture)" remove="all"/>
637 <modify-function signature="pictureFormat(QString)">
637 <modify-function signature="pictureFormat(QString)">
638 <remove/>
638 <remove/>
639 </modify-function>
639 </modify-function>
640
640
641 <modify-function signature="inputFormatList()" remove="all"/> <!--### Obsolete in 4.3-->
641 <modify-function signature="inputFormatList()" remove="all"/> <!--### Obsolete in 4.3-->
642 <modify-function signature="inputFormats()" remove="all"/> <!--### Obsolete in 4.3-->
642 <modify-function signature="inputFormats()" remove="all"/> <!--### Obsolete in 4.3-->
643 <modify-function signature="outputFormatList()" remove="all"/> <!--### Obsolete in 4.3-->
643 <modify-function signature="outputFormatList()" remove="all"/> <!--### Obsolete in 4.3-->
644 <modify-function signature="outputFormats()" remove="all"/> <!--### Obsolete in 4.3-->
644 <modify-function signature="outputFormats()" remove="all"/> <!--### Obsolete in 4.3-->
645
645
646 <modify-function signature="setData(const char*,uint)" remove="all"/>
646 <modify-function signature="setData(const char*,uint)" remove="all"/>
647
647
648 <modify-function signature="load(QIODevice*,const char*)">
648 <modify-function signature="load(QIODevice*,const char*)">
649 <modify-argument index="2">
649 <modify-argument index="2">
650 <replace-type modified-type="QString"/>
650 <replace-type modified-type="QString"/>
651 <conversion-rule class="native">
651 <conversion-rule class="native">
652 <insert-template name="core.convert_string_arg_to_char*"/>
652 <insert-template name="core.convert_string_arg_to_char*"/>
653 </conversion-rule>
653 </conversion-rule>
654 </modify-argument>
654 </modify-argument>
655 </modify-function>
655 </modify-function>
656
656
657 <modify-function signature="load(QString,const char*)">
657 <modify-function signature="load(QString,const char*)">
658 <modify-argument index="2">
658 <modify-argument index="2">
659 <replace-type modified-type="QString"/>
659 <replace-type modified-type="QString"/>
660 <conversion-rule class="native">
660 <conversion-rule class="native">
661 <insert-template name="core.convert_string_arg_to_char*"/>
661 <insert-template name="core.convert_string_arg_to_char*"/>
662 </conversion-rule>
662 </conversion-rule>
663 </modify-argument>
663 </modify-argument>
664 </modify-function>
664 </modify-function>
665
665
666 <modify-function signature="save(QIODevice*,const char*)">
666 <modify-function signature="save(QIODevice*,const char*)">
667 <modify-argument index="2">
667 <modify-argument index="2">
668 <replace-type modified-type="QString"/>
668 <replace-type modified-type="QString"/>
669 <conversion-rule class="native">
669 <conversion-rule class="native">
670 <insert-template name="core.convert_string_arg_to_char*"/>
670 <insert-template name="core.convert_string_arg_to_char*"/>
671 </conversion-rule>
671 </conversion-rule>
672 </modify-argument>
672 </modify-argument>
673 </modify-function>
673 </modify-function>
674
674
675 <modify-function signature="save(QString,const char*)">
675 <modify-function signature="save(QString,const char*)">
676 <modify-argument index="2">
676 <modify-argument index="2">
677 <replace-type modified-type="QString"/>
677 <replace-type modified-type="QString"/>
678 <conversion-rule class="native">
678 <conversion-rule class="native">
679 <insert-template name="core.convert_string_arg_to_char*"/>
679 <insert-template name="core.convert_string_arg_to_char*"/>
680 </conversion-rule>
680 </conversion-rule>
681 </modify-argument>
681 </modify-argument>
682 </modify-function>
682 </modify-function>
683 </value-type>
683 </value-type>
684
684
685 <value-type name="QRegion" expense-limit="4096">
685 <value-type name="QRegion" expense-limit="4096">
686 <modify-function signature="operator=(QRegion)" remove="all"/>
686 <modify-function signature="operator=(QRegion)" remove="all"/>
687 <modify-function signature="operator&amp;=(QRegion)" remove="all"/>
687 <modify-function signature="operator&amp;=(QRegion)" remove="all"/>
688 <modify-function signature="operator+=(QRegion)" remove="all"/>
688 <modify-function signature="operator+=(QRegion)" remove="all"/>
689 <modify-function signature="operator-=(QRegion)" remove="all"/>
689 <modify-function signature="operator-=(QRegion)" remove="all"/>
690 <modify-function signature="operator^=(QRegion)" remove="all"/>
690 <modify-function signature="operator^=(QRegion)" remove="all"/>
691 <modify-function signature="operator|=(QRegion)" remove="all"/>
691 <modify-function signature="operator|=(QRegion)" remove="all"/>
692 <modify-function signature="operator&amp;(QRegion)const" remove="all"/>
692 <modify-function signature="operator&amp;(QRegion)const" remove="all"/>
693 <modify-function signature="operator+(QRegion)const" remove="all"/>
693 <modify-function signature="operator+(QRegion)const" remove="all"/>
694 <modify-function signature="operator-(QRegion)const" remove="all"/>
694 <modify-function signature="operator-(QRegion)const" remove="all"/>
695 <modify-function signature="operator^(QRegion)const" remove="all"/>
695 <modify-function signature="operator^(QRegion)const" remove="all"/>
696 <modify-function signature="operator|(QRegion)const" remove="all"/>
696 <modify-function signature="operator|(QRegion)const" remove="all"/>
697 <modify-function signature="eor(QRegion)const" remove="all"/> <!--### Obsolete in 4.3-->
697 <modify-function signature="eor(QRegion)const" remove="all"/> <!--### Obsolete in 4.3-->
698 <modify-function signature="intersect(QRegion)const" remove="all"/> <!--### Obsolete in 4.3-->
698 <modify-function signature="intersect(QRegion)const" remove="all"/> <!--### Obsolete in 4.3-->
699 <modify-function signature="subtract(QRegion)const" remove="all"/> <!--### Obsolete in 4.3-->
699 <modify-function signature="subtract(QRegion)const" remove="all"/> <!--### Obsolete in 4.3-->
700 <modify-function signature="unite(QRegion)const" remove="all"/> <!--### Obsolete in 4.3-->
700 <modify-function signature="unite(QRegion)const" remove="all"/> <!--### Obsolete in 4.3-->
701 <modify-function signature="operator&amp;=(QRect)" remove="all"/>
701 <modify-function signature="operator&amp;=(QRect)" remove="all"/>
702 <modify-function signature="operator+=(QRect)" remove="all"/>
702 <modify-function signature="operator+=(QRect)" remove="all"/>
703
703
704 </value-type>
704 </value-type>
705
705
706 <value-type name="QTextBlock" delete-in-main-thread="yes">
706 <value-type name="QTextBlock" delete-in-main-thread="yes">
707 <modify-function signature="operator=(QTextBlock)" remove="all"/>
707 <modify-function signature="operator=(QTextBlock)" remove="all"/>
708 <modify-function signature="setUserData(QTextBlockUserData *)">
708 <modify-function signature="setUserData(QTextBlockUserData *)">
709 <modify-argument index="1">
709 <modify-argument index="1">
710 <define-ownership class="java" owner="c++"/>
710 <define-ownership class="java" owner="c++"/>
711 </modify-argument>
711 </modify-argument>
712 </modify-function>
712 </modify-function>
713 </value-type>
713 </value-type>
714 <value-type name="QTextBlockFormat" delete-in-main-thread="yes"/>
714 <value-type name="QTextBlockFormat" delete-in-main-thread="yes"/>
715 <value-type name="QTextTableCellFormat" delete-in-main-thread="yes"/>
715 <value-type name="QTextTableCellFormat" delete-in-main-thread="yes"/>
716 <value-type name="QTextCharFormat" delete-in-main-thread="yes">
716 <value-type name="QTextCharFormat" delete-in-main-thread="yes">
717 <modify-function signature="isValid()const" access="non-final"/>
717 <modify-function signature="isValid()const" access="non-final"/>
718
718
719 <modify-function signature="anchorName()const" remove="all"/> <!--### Obsolete in 4.3-->
719 <modify-function signature="anchorName()const" remove="all"/> <!--### Obsolete in 4.3-->
720 <modify-function signature="setAnchorName(QString)" remove="all"/> <!--### Obsolete in 4.3-->
720 <modify-function signature="setAnchorName(QString)" remove="all"/> <!--### Obsolete in 4.3-->
721 </value-type>
721 </value-type>
722 <value-type name="QTextFormat" delete-in-main-thread="yes">
722 <value-type name="QTextFormat" delete-in-main-thread="yes">
723 <modify-function signature="operator=(QTextFormat)" remove="all"/>
723 <modify-function signature="operator=(QTextFormat)" remove="all"/>
724 <modify-function signature="isValid()const" access="non-final"/>
724 <modify-function signature="isValid()const" access="non-final"/>
725
725
726
726
727 <modify-function signature="setProperty(int,QVector&lt;QTextLength&gt;)" rename="setLengthVectorProperty"/>
727 <modify-function signature="setProperty(int,QVector&lt;QTextLength&gt;)" rename="setLengthVectorProperty"/>
728 <inject-code class="native" position="constructor">
728 <inject-code class="native" position="constructor">
729 if ((context-&gt;argumentCount() == 1) &amp;&amp; (qMetaTypeId&lt;QTextFormat&gt;() == context-&gt;argument(0).toVariant().userType())) {
729 if ((context-&gt;argumentCount() == 1) &amp;&amp; (qMetaTypeId&lt;QTextFormat&gt;() == context-&gt;argument(0).toVariant().userType())) {
730 QTextFormat _q_arg0 = qscriptvalue_cast&lt;QTextFormat&gt;(context-&gt;argument(0));
730 QTextFormat _q_arg0 = qscriptvalue_cast&lt;QTextFormat&gt;(context-&gt;argument(0));
731 QTextFormat _q_cpp_result(_q_arg0);
731 QTextFormat _q_cpp_result(_q_arg0);
732 QScriptValue _q_result = context-&gt;engine()-&gt;newVariant(context-&gt;thisObject(), qVariantFromValue(_q_cpp_result));
732 QScriptValue _q_result = context-&gt;engine()-&gt;newVariant(context-&gt;thisObject(), qVariantFromValue(_q_cpp_result));
733 return _q_result;
733 return _q_result;
734 }
734 }
735 </inject-code>
735 </inject-code>
736 </value-type>
736 </value-type>
737
737
738 <value-type name="QTextListFormat" delete-in-main-thread="yes"/>
738 <value-type name="QTextListFormat" delete-in-main-thread="yes"/>
739 <value-type name="QPolygon">
739 <value-type name="QPolygon">
740 <modify-function signature="QPolygon(int, const int *)" remove="all"/>
740 <modify-function signature="QPolygon(int, const int *)" remove="all"/>
741 <modify-function signature="operator+(QVector&lt;QPoint&gt;)const" remove="all"/>
741 <modify-function signature="operator+(QVector&lt;QPoint&gt;)const" remove="all"/>
742 <modify-function signature="operator&lt;&lt;(QPoint)" remove="all"/>
742 <modify-function signature="operator&lt;&lt;(QPoint)" remove="all"/>
743 <modify-function signature="operator&lt;&lt;(QVector&lt;QPoint&gt;)" remove="all"/>
743 <modify-function signature="operator&lt;&lt;(QVector&lt;QPoint&gt;)" remove="all"/>
744
744
745
745
746 </value-type>
746 </value-type>
747
747
748 <value-type name="QPolygonF">
748 <value-type name="QPolygonF">
749 <modify-function signature="operator+(QVector&lt;QPointF&gt;)const" remove="all"/>
749 <modify-function signature="operator+(QVector&lt;QPointF&gt;)const" remove="all"/>
750 <modify-function signature="operator&lt;&lt;(QPointF)" remove="all"/>
750 <modify-function signature="operator&lt;&lt;(QPointF)" remove="all"/>
751 <modify-function signature="operator&lt;&lt;(QVector&lt;QPointF&gt;)" remove="all"/>
751 <modify-function signature="operator&lt;&lt;(QVector&lt;QPointF&gt;)" remove="all"/>
752 </value-type>
752 </value-type>
753
753
754 <value-type name="QIcon" delete-in-main-thread="yes">
754 <value-type name="QIcon" delete-in-main-thread="yes">
755 <modify-function signature="operator=(QIcon)" remove="all"/>
755 <modify-function signature="operator=(QIcon)" remove="all"/>
756 <modify-function signature="serialNumber()const" remove="all"/> <!--### Obsolete in 4.3-->
756 <modify-function signature="serialNumber()const" remove="all"/> <!--### Obsolete in 4.3-->
757 <modify-function signature="QIcon(QIconEngineV2 *)">
757 <modify-function signature="QIcon(QIconEngineV2 *)">
758 <modify-argument index="1">
758 <modify-argument index="1">
759 <define-ownership class="java" owner="c++"/>
759 <define-ownership class="java" owner="c++"/>
760 </modify-argument>
760 </modify-argument>
761 </modify-function>
761 </modify-function>
762 <modify-function signature="QIcon(QIconEngine *)">
762 <modify-function signature="QIcon(QIconEngine *)">
763 <modify-argument index="1">
763 <modify-argument index="1">
764 <define-ownership class="java" owner="c++"/>
764 <define-ownership class="java" owner="c++"/>
765 </modify-argument>
765 </modify-argument>
766 </modify-function>
766 </modify-function>
767 </value-type>
767 </value-type>
768
768
769 <value-type name="QTextFrame::iterator" delete-in-main-thread="yes">
769 <value-type name="QTextFrame::iterator" delete-in-main-thread="yes">
770 <include file-name="QTextFrame" location="global"/>
770 <include file-name="QTextFrame" location="global"/>
771 <modify-function signature="operator++(int)" remove="all"/>
771 <modify-function signature="operator++(int)" remove="all"/>
772 <modify-function signature="operator--(int)" remove="all"/>
772 <modify-function signature="operator--(int)" remove="all"/>
773 <modify-function signature="operator=(QTextFrame::iterator)" remove="all"/>
773 <modify-function signature="operator=(QTextFrame::iterator)" remove="all"/>
774 <modify-function signature="operator++()" access="private"/>
774 <modify-function signature="operator++()" access="private"/>
775 <modify-function signature="operator--()" access="private"/>
775 <modify-function signature="operator--()" access="private"/>
776 </value-type>
776 </value-type>
777
777
778 <value-type name="QTreeWidgetItemIterator" delete-in-main-thread="yes">
778 <value-type name="QTreeWidgetItemIterator" delete-in-main-thread="yes">
779 <custom-constructor>
779 <custom-constructor>
780 return new QTreeWidgetItemIterator(*copy);
780 return new QTreeWidgetItemIterator(*copy);
781 </custom-constructor>
781 </custom-constructor>
782 <custom-destructor>
782 <custom-destructor>
783 delete copy;
783 delete copy;
784 </custom-destructor>
784 </custom-destructor>
785 <modify-function signature="operator=(QTreeWidgetItemIterator)" remove="all"/>
785 <modify-function signature="operator=(QTreeWidgetItemIterator)" remove="all"/>
786 <modify-function signature="operator++(int)" remove="all"/>
786 <modify-function signature="operator++(int)" remove="all"/>
787 <modify-function signature="operator--(int)" remove="all"/>
787 <modify-function signature="operator--(int)" remove="all"/>
788 <modify-function signature="operator+=(int)" access="private"/>
788 <modify-function signature="operator+=(int)" access="private"/>
789 <modify-function signature="operator-=(int)" access="private"/>
789 <modify-function signature="operator-=(int)" access="private"/>
790 <modify-function signature="operator++()" access="private"/>
790 <modify-function signature="operator++()" access="private"/>
791 <modify-function signature="operator--()" access="private"/>
791 <modify-function signature="operator--()" access="private"/>
792 <modify-function signature="operator*()const" access="private"/>
792 <modify-function signature="operator*()const" access="private"/>
793 </value-type>
793 </value-type>
794
794
795 <value-type name="QTextBlock::iterator" delete-in-main-thread="yes">
795 <value-type name="QTextBlock::iterator" delete-in-main-thread="yes">
796 <include file-name="QTextBlock" location="global"/>
796 <include file-name="QTextBlock" location="global"/>
797
797
798 <modify-function signature="operator++()" access="private"/>
798 <modify-function signature="operator++()" access="private"/>
799 <modify-function signature="operator--()" access="private"/>
799 <modify-function signature="operator--()" access="private"/>
800 <modify-function signature="operator++(int)" remove="all"/>
800 <modify-function signature="operator++(int)" remove="all"/>
801 <modify-function signature="operator--(int)" remove="all"/>
801 <modify-function signature="operator--(int)" remove="all"/>
802 </value-type>
802 </value-type>
803
803
804 <value-type name="QAbstractTextDocumentLayout::PaintContext" delete-in-main-thread="yes">
804 <value-type name="QAbstractTextDocumentLayout::PaintContext" delete-in-main-thread="yes">
805 <include file-name="QAbstractTextDocumentLayout" location="global"/>
805 <include file-name="QAbstractTextDocumentLayout" location="global"/>
806 </value-type>
806 </value-type>
807 <value-type name="QAbstractTextDocumentLayout::Selection" delete-in-main-thread="yes"/>
807 <value-type name="QAbstractTextDocumentLayout::Selection" delete-in-main-thread="yes"/>
808
808
809 <value-type name="QPixmap" delete-in-main-thread="yes">
809 <value-type name="QPixmap" delete-in-main-thread="yes">
810 <modify-function signature="operator=(QPixmap)" remove="all"/>
810 <modify-function signature="operator=(QPixmap)" remove="all"/>
811 <modify-function signature="operator!()const" remove="all"/>
811 <modify-function signature="operator!()const" remove="all"/>
812 <modify-function signature="QPixmap(const char **)" access="private"/>
812 <modify-function signature="QPixmap(const char **)" access="private"/>
813 <modify-function signature="serialNumber()const" remove="all"/> <!--### Obsolete in 4.3-->
813 <modify-function signature="serialNumber()const" remove="all"/> <!--### Obsolete in 4.3-->
814
814
815 <modify-function signature="loadFromData(const uchar *,uint,const char *,QFlags&lt;Qt::ImageConversionFlag&gt;)" remove="all"/>
815 <modify-function signature="loadFromData(const uchar *,uint,const char *,QFlags&lt;Qt::ImageConversionFlag&gt;)" remove="all"/>
816
816
817 <modify-function signature="QPixmap(QString,const char*,QFlags&lt;Qt::ImageConversionFlag&gt;)">
817 <modify-function signature="QPixmap(QString,const char*,QFlags&lt;Qt::ImageConversionFlag&gt;)">
818 <modify-argument index="2">
818 <modify-argument index="2">
819 <replace-type modified-type="QString"/>
819 <replace-type modified-type="QString"/>
820 <conversion-rule class="native">
820 <conversion-rule class="native">
821 <insert-template name="core.convert_string_arg_to_char*"/>
821 <insert-template name="core.convert_string_arg_to_char*"/>
822 </conversion-rule>
822 </conversion-rule>
823 </modify-argument>
823 </modify-argument>
824 </modify-function>
824 </modify-function>
825
825
826 <modify-function signature="load(QString,const char*,QFlags&lt;Qt::ImageConversionFlag&gt;)">
826 <modify-function signature="load(QString,const char*,QFlags&lt;Qt::ImageConversionFlag&gt;)">
827 <modify-argument index="2">
827 <modify-argument index="2">
828 <replace-type modified-type="QString"/>
828 <replace-type modified-type="QString"/>
829 <conversion-rule class="native">
829 <conversion-rule class="native">
830 <insert-template name="core.convert_string_arg_to_char*"/>
830 <insert-template name="core.convert_string_arg_to_char*"/>
831 </conversion-rule>
831 </conversion-rule>
832 </modify-argument>
832 </modify-argument>
833 </modify-function>
833 </modify-function>
834
834
835 <modify-function signature="loadFromData(QByteArray,const char*,QFlags&lt;Qt::ImageConversionFlag&gt;)">
835 <modify-function signature="loadFromData(QByteArray,const char*,QFlags&lt;Qt::ImageConversionFlag&gt;)">
836 <modify-argument index="2">
836 <modify-argument index="2">
837 <replace-type modified-type="QString"/>
837 <replace-type modified-type="QString"/>
838 <conversion-rule class="native">
838 <conversion-rule class="native">
839 <insert-template name="core.convert_string_arg_to_char*"/>
839 <insert-template name="core.convert_string_arg_to_char*"/>
840 </conversion-rule>
840 </conversion-rule>
841 </modify-argument>
841 </modify-argument>
842 </modify-function>
842 </modify-function>
843
843
844 <modify-function signature="save(QIODevice*,const char*,int)const">
844 <modify-function signature="save(QIODevice*,const char*,int)const">
845 <modify-argument index="2">
845 <modify-argument index="2">
846 <replace-type modified-type="QString"/>
846 <replace-type modified-type="QString"/>
847 <conversion-rule class="native">
847 <conversion-rule class="native">
848 <insert-template name="core.convert_string_arg_to_char*"/>
848 <insert-template name="core.convert_string_arg_to_char*"/>
849 </conversion-rule>
849 </conversion-rule>
850 </modify-argument>
850 </modify-argument>
851 </modify-function>
851 </modify-function>
852
852
853 <modify-function signature="save(QString,const char*,int)const">
853 <modify-function signature="save(QString,const char*,int)const">
854 <modify-argument index="2">
854 <modify-argument index="2">
855 <replace-type modified-type="QString"/>
855 <replace-type modified-type="QString"/>
856 <conversion-rule class="native">
856 <conversion-rule class="native">
857 <insert-template name="core.convert_string_arg_to_char*"/>
857 <insert-template name="core.convert_string_arg_to_char*"/>
858 </conversion-rule>
858 </conversion-rule>
859 </modify-argument>
859 </modify-argument>
860 </modify-function>
860 </modify-function>
861 </value-type>
861 </value-type>
862
862
863 <value-type name="QTextCursor" delete-in-main-thread="yes">
863 <value-type name="QTextCursor" delete-in-main-thread="yes">
864 <extra-includes>
864 <extra-includes>
865 <include file-name="QTextBlock" location="global"/>
865 <include file-name="QTextBlock" location="global"/>
866 <include file-name="QTextDocumentFragment" location="global"/>
866 <include file-name="QTextDocumentFragment" location="global"/>
867 </extra-includes>
867 </extra-includes>
868 <modify-function signature="operator=(QTextCursor)" remove="all"/>
868 <modify-function signature="operator=(QTextCursor)" remove="all"/>
869 <modify-function signature="selectedTableCells(int*,int*,int*,int*)const">
869 <modify-function signature="selectedTableCells(int*,int*,int*,int*)const">
870 <access modifier="private"/>
870 <access modifier="private"/>
871 </modify-function>
871 </modify-function>
872 </value-type>
872 </value-type>
873
873
874 <value-type name="QTextLayout::FormatRange">
874 <value-type name="QTextLayout::FormatRange">
875 <include file-name="QTextLayout" location="global"/>
875 <include file-name="QTextLayout" location="global"/>
876 </value-type>
876 </value-type>
877
877
878 <value-type name="QInputMethodEvent::Attribute">
878 <value-type name="QInputMethodEvent::Attribute">
879 <include file-name="QInputMethodEvent" location="global"/>
879 <include file-name="QInputMethodEvent" location="global"/>
880 <custom-constructor>
880 <custom-constructor>
881 return new QInputMethodEvent::Attribute(copy-&gt;type, copy-&gt;start, copy-&gt;length, copy-&gt;value);
881 return new QInputMethodEvent::Attribute(copy-&gt;type, copy-&gt;start, copy-&gt;length, copy-&gt;value);
882 </custom-constructor>
882 </custom-constructor>
883 <custom-destructor>
883 <custom-destructor>
884 delete copy;
884 delete copy;
885 </custom-destructor>
885 </custom-destructor>
886 </value-type>
886 </value-type>
887
887
888 <value-type name="QItemSelection" delete-in-main-thread="yes">
888 <value-type name="QItemSelection" delete-in-main-thread="yes">
889
889
890 <modify-function signature="operator+(const QList&lt;QItemSelectionRange&gt;&amp;)const" remove="all"/>
890 <modify-function signature="operator+(const QList&lt;QItemSelectionRange&gt;&amp;)const" remove="all"/>
891 <modify-function signature="operator+=(const QList&lt;QItemSelectionRange&gt;&amp;)" remove="all"/>
891 <modify-function signature="operator+=(const QList&lt;QItemSelectionRange&gt;&amp;)" remove="all"/>
892 <modify-function signature="operator+=(const QItemSelectionRange&amp;)" remove="all"/>
892 <modify-function signature="operator+=(const QItemSelectionRange&amp;)" remove="all"/>
893 <modify-function signature="operator&lt;&lt;(const QList&lt;QItemSelectionRange&gt;&amp;)" remove="all"/>
893 <modify-function signature="operator&lt;&lt;(const QList&lt;QItemSelectionRange&gt;&amp;)" remove="all"/>
894 <modify-function signature="operator&lt;&lt;(QItemSelectionRange)" remove="all"/>
894 <modify-function signature="operator&lt;&lt;(QItemSelectionRange)" remove="all"/>
895 </value-type>
895 </value-type>
896
896
897 <value-type name="QMatrix">
897 <value-type name="QMatrix">
898 <extra-includes>
898 <extra-includes>
899 <include file-name="QPainterPath" location="global"/>
899 <include file-name="QPainterPath" location="global"/>
900 </extra-includes>
900 </extra-includes>
901
901
902 <modify-function signature="map(int,int,int*,int*)const" remove="all"/>
902 <modify-function signature="map(int,int,int*,int*)const" remove="all"/>
903 <modify-function signature="map(qreal,qreal,qreal*,qreal*)const" remove="all"/>
903 <modify-function signature="map(qreal,qreal,qreal*,qreal*)const" remove="all"/>
904 <modify-function signature="operator=(QMatrix)" remove="all"/>
904 <modify-function signature="operator=(QMatrix)" remove="all"/>
905
905
906 <modify-function signature="operator*(QMatrix)const" access="private"/>
906 <modify-function signature="operator*(QMatrix)const" access="private"/>
907 <modify-function signature="operator*=(QMatrix)" access="private"/>
907 <modify-function signature="operator*=(QMatrix)" access="private"/>
908 <modify-function signature="rotate(qreal)" access="private" rename="rotate_private"/>
908 <modify-function signature="rotate(qreal)" access="private" rename="rotate_private"/>
909 <modify-function signature="scale(qreal,qreal)" access="private" rename="scale_private"/>
909 <modify-function signature="scale(qreal,qreal)" access="private" rename="scale_private"/>
910 <modify-function signature="shear(qreal,qreal)" access="private" rename="shear_private"/>
910 <modify-function signature="shear(qreal,qreal)" access="private" rename="shear_private"/>
911 <modify-function signature="translate(qreal,qreal)" access="private" rename="translate_private"/>
911 <modify-function signature="translate(qreal,qreal)" access="private" rename="translate_private"/>
912
912
913 <modify-function signature="inverted(bool*)const">
913 <modify-function signature="inverted(bool*)const">
914 <access modifier="private"/>
914 <access modifier="private"/>
915 <modify-argument index="1">
915 <modify-argument index="1">
916 <!-- <remove-default-expression/> -->
916 <!-- <remove-default-expression/> -->
917 </modify-argument>
917 </modify-argument>
918 </modify-function>
918 </modify-function>
919
919
920 <inject-code>
920 <inject-code>
921 <insert-template name="core.unary_other_type">
921 <insert-template name="core.unary_other_type">
922 <replace from="%FUNCTION_NAME" to="rotate"/>
922 <replace from="%FUNCTION_NAME" to="rotate"/>
923 <replace from="%OUT_TYPE" to="QMatrix"/>
923 <replace from="%OUT_TYPE" to="QMatrix"/>
924 <replace from="%IN_TYPE" to="double"/>
924 <replace from="%IN_TYPE" to="double"/>
925 </insert-template>
925 </insert-template>
926
926
927 <insert-template name="core.private_function_return_self">
927 <insert-template name="core.private_function_return_self">
928 <replace from="%RETURN_TYPE" to="QMatrix"/>
928 <replace from="%RETURN_TYPE" to="QMatrix"/>
929 <replace from="%FUNCTION_NAME" to="scale"/>
929 <replace from="%FUNCTION_NAME" to="scale"/>
930 <replace from="%ARGUMENTS" to="double sx, double sy"/>
930 <replace from="%ARGUMENTS" to="double sx, double sy"/>
931 <replace from="%ARGUMENT_NAMES" to="sx, sy"/>
931 <replace from="%ARGUMENT_NAMES" to="sx, sy"/>
932 </insert-template>
932 </insert-template>
933
933
934 <insert-template name="core.private_function_return_self">
934 <insert-template name="core.private_function_return_self">
935 <replace from="%RETURN_TYPE" to="QMatrix"/>
935 <replace from="%RETURN_TYPE" to="QMatrix"/>
936 <replace from="%FUNCTION_NAME" to="shear"/>
936 <replace from="%FUNCTION_NAME" to="shear"/>
937 <replace from="%ARGUMENTS" to="double sh, double sv"/>
937 <replace from="%ARGUMENTS" to="double sh, double sv"/>
938 <replace from="%ARGUMENT_NAMES" to="sh, sv"/>
938 <replace from="%ARGUMENT_NAMES" to="sh, sv"/>
939 </insert-template>
939 </insert-template>
940
940
941 <insert-template name="core.private_function_return_self">
941 <insert-template name="core.private_function_return_self">
942 <replace from="%RETURN_TYPE" to="QMatrix"/>
942 <replace from="%RETURN_TYPE" to="QMatrix"/>
943 <replace from="%FUNCTION_NAME" to="translate"/>
943 <replace from="%FUNCTION_NAME" to="translate"/>
944 <replace from="%ARGUMENTS" to="double dx, double dy"/>
944 <replace from="%ARGUMENTS" to="double dx, double dy"/>
945 <replace from="%ARGUMENT_NAMES" to="dx, dy"/>
945 <replace from="%ARGUMENT_NAMES" to="dx, dy"/>
946 </insert-template>
946 </insert-template>
947 </inject-code>
947 </inject-code>
948
948
949 <modify-function signature="inverted(bool*)const">
949 <modify-function signature="inverted(bool*)const">
950 <modify-argument index="1">
950 <modify-argument index="1">
951 <remove-argument/>
951 <remove-argument/>
952 </modify-argument>
952 </modify-argument>
953 </modify-function>
953 </modify-function>
954 </value-type>
954 </value-type>
955
955
956 <value-type name="QConicalGradient" polymorphic-id-expression="%1-&gt;type() == QGradient::ConicalGradient">
956 <value-type name="QConicalGradient" polymorphic-id-expression="%1-&gt;type() == QGradient::ConicalGradient">
957 <custom-constructor>
957 <custom-constructor>
958 return new QConicalGradient(copy-&gt;center(), copy-&gt;angle());
958 return new QConicalGradient(copy-&gt;center(), copy-&gt;angle());
959 </custom-constructor>
959 </custom-constructor>
960 <custom-destructor>
960 <custom-destructor>
961 delete copy;
961 delete copy;
962 </custom-destructor>
962 </custom-destructor>
963 </value-type>
963 </value-type>
964
964
965 <value-type name="QFontInfo" delete-in-main-thread="yes">
965 <value-type name="QFontInfo" delete-in-main-thread="yes">
966 <custom-constructor>
966 <custom-constructor>
967 return new QFontInfo(*copy);
967 return new QFontInfo(*copy);
968 </custom-constructor>
968 </custom-constructor>
969 <custom-destructor>
969 <custom-destructor>
970 delete copy;
970 delete copy;
971 </custom-destructor>
971 </custom-destructor>
972 <modify-function signature="operator=(QFontInfo)" remove="all"/>
972 <modify-function signature="operator=(QFontInfo)" remove="all"/>
973
973
974
974
975 <modify-function signature="QFontInfo(QFontInfo)">
975 <modify-function signature="QFontInfo(QFontInfo)">
976 <modify-argument index="1">
976 <modify-argument index="1">
977 <replace-type modified-type="QFontInfo*"/>
977 <replace-type modified-type="QFontInfo*"/>
978 <conversion-rule class="native">
978 <conversion-rule class="native">
979 QFontInfo &amp; %out% = *qscriptvalue_cast&lt;QFontInfo*&gt;(%in%);
979 QFontInfo &amp; %out% = *qscriptvalue_cast&lt;QFontInfo*&gt;(%in%);
980 </conversion-rule>
980 </conversion-rule>
981 </modify-argument>
981 </modify-argument>
982 </modify-function>
982 </modify-function>
983 </value-type>
983 </value-type>
984
984
985 <value-type name="QRadialGradient" polymorphic-id-expression="%1-&gt;type() == QGradient::RadialGradient">
985 <value-type name="QRadialGradient" polymorphic-id-expression="%1-&gt;type() == QGradient::RadialGradient">
986 <custom-constructor>
986 <custom-constructor>
987 return new QRadialGradient(copy-&gt;center(), copy-&gt;radius(), copy-&gt;focalPoint());
987 return new QRadialGradient(copy-&gt;center(), copy-&gt;radius(), copy-&gt;focalPoint());
988 </custom-constructor>
988 </custom-constructor>
989 <custom-destructor>
989 <custom-destructor>
990 delete copy;
990 delete copy;
991 </custom-destructor>
991 </custom-destructor>
992 </value-type>
992 </value-type>
993
993
994 <value-type name="QPainterPath::Element">
994 <value-type name="QPainterPath::Element">
995 <modify-field name="x" write="false"/>
995 <modify-field name="x" write="false"/>
996 <modify-field name="y" write="false"/>
996 <modify-field name="y" write="false"/>
997 <modify-field name="type" write="false"/>
997 <modify-field name="type" write="false"/>
998 <include file-name="QPainterPath" location="global"/>
998 <include file-name="QPainterPath" location="global"/>
999 <modify-function signature="operator QPointF()const" access="private"/>
999 <modify-function signature="operator QPointF()const" access="private"/>
1000 </value-type>
1000 </value-type>
1001
1001
1002 <value-type name="QTextEdit::ExtraSelection" delete-in-main-thread="yes">
1002 <value-type name="QTextEdit::ExtraSelection" delete-in-main-thread="yes">
1003 <include file-name="QTextEdit" location="global"/>
1003 <include file-name="QTextEdit" location="global"/>
1004 </value-type>
1004 </value-type>
1005
1005
1006 <value-type name="QFont" delete-in-main-thread="yes">
1006 <value-type name="QFont" delete-in-main-thread="yes">
1007 <extra-includes>
1007 <extra-includes>
1008 <include file-name="QStringList" location="global"/>
1008 <include file-name="QStringList" location="global"/>
1009 </extra-includes>
1009 </extra-includes>
1010 <modify-function signature="operator=(QFont)" remove="all"/>
1010 <modify-function signature="operator=(QFont)" remove="all"/>
1011 </value-type>
1011 </value-type>
1012
1012
1013 <value-type name="QTextTableCell" delete-in-main-thread="yes">
1013 <value-type name="QTextTableCell" delete-in-main-thread="yes">
1014 <extra-includes>
1014 <extra-includes>
1015 <include file-name="QTextCursor" location="global"/>
1015 <include file-name="QTextCursor" location="global"/>
1016 </extra-includes>
1016 </extra-includes>
1017 <modify-function signature="operator=(QTextTableCell)" remove="all"/>
1017 <modify-function signature="operator=(QTextTableCell)" remove="all"/>
1018 </value-type>
1018 </value-type>
1019
1019
1020 <value-type name="QImage" expense-limit="67108864" expense-cost="height()*bytesPerLine()">
1020 <value-type name="QImage" expense-limit="67108864" expense-cost="height()*bytesPerLine()">
1021 <modify-function signature="QImage(const char *, const char *)">
1021 <modify-function signature="QImage(const char *, const char *)">
1022 <remove/>
1022 <remove/>
1023 </modify-function>
1023 </modify-function>
1024 <modify-function signature="QImage(const char **)">
1024 <modify-function signature="QImage(const char **)">
1025 <access modifier="private"/>
1025 <access modifier="private"/>
1026 </modify-function>
1026 </modify-function>
1027 <modify-function signature="QImage(const uchar*,int,int,int,QImage::Format)">
1027 <modify-function signature="QImage(const uchar*,int,int,int,QImage::Format)">
1028 <remove/>
1028 <remove/>
1029 </modify-function>
1029 </modify-function>
1030 <modify-function signature="bits()const">
1030 <modify-function signature="bits()const">
1031 <remove/>
1031 <remove/>
1032 </modify-function>
1032 </modify-function>
1033 <modify-function signature="scanLine(int)const">
1033 <modify-function signature="scanLine(int)const">
1034 <remove/>
1034 <remove/>
1035 </modify-function>
1035 </modify-function>
1036 <modify-function signature="QImage(const uchar *, int, int, QImage::Format)">
1036 <modify-function signature="QImage(const uchar *, int, int, QImage::Format)">
1037 <remove/>
1037 <remove/>
1038 </modify-function>
1038 </modify-function>
1039
1039
1040 <extra-includes>
1040 <extra-includes>
1041 <include file-name="QStringList" location="global"/>
1041 <include file-name="QStringList" location="global"/>
1042 <include file-name="QMatrix" location="global"/>
1042 <include file-name="QMatrix" location="global"/>
1043 </extra-includes>
1043 </extra-includes>
1044
1044
1045 <modify-function signature="QImage(uchar*,int,int,QImage::Format)">
1045 <modify-function signature="QImage(uchar*,int,int,QImage::Format)">
1046 <access modifier="private"/>
1046 <access modifier="private"/>
1047 </modify-function>
1047 </modify-function>
1048
1048
1049 <!--
1049 <!--
1050 <modify-function signature="QImage(QString,const char*)">
1050 <modify-function signature="QImage(QString,const char*)">
1051 <access modifier="private"/>
1051 <access modifier="private"/>
1052 <modify-argument index="2">
1052 <modify-argument index="2">
1053 <remove-default-expression/>
1053 <remove-default-expression/>
1054 </modify-argument>
1054 </modify-argument>
1055 </modify-function>
1055 </modify-function>
1056 -->
1056 -->
1057
1057
1058 <modify-function signature="load(QString,const char*)">
1058 <modify-function signature="load(QString,const char*)">
1059 <access modifier="private"/>
1059 <access modifier="private"/>
1060 <modify-argument index="2">
1060 <modify-argument index="2">
1061 <remove-default-expression/>
1061 <remove-default-expression/>
1062 </modify-argument>
1062 </modify-argument>
1063 </modify-function>
1063 </modify-function>
1064
1064
1065 <modify-function signature="load(QIODevice*,const char*)">
1065 <modify-function signature="load(QIODevice*,const char*)">
1066 <access modifier="private"/>
1066 <access modifier="private"/>
1067 </modify-function>
1067 </modify-function>
1068
1068
1069 <modify-function signature="loadFromData(const uchar*,int,const char*)">
1069 <modify-function signature="loadFromData(const uchar*,int,const char*)">
1070 <access modifier="private"/>
1070 <access modifier="private"/>
1071 <modify-argument index="2">
1071 <modify-argument index="2">
1072 <remove-default-expression/>
1072 <remove-default-expression/>
1073 </modify-argument>
1073 </modify-argument>
1074 <modify-argument index="3">
1074 <modify-argument index="3">
1075 <remove-default-expression/>
1075 <remove-default-expression/>
1076 </modify-argument>
1076 </modify-argument>
1077 </modify-function>
1077 </modify-function>
1078
1078
1079 <modify-function signature="loadFromData(QByteArray,const char*)">
1079 <modify-function signature="loadFromData(QByteArray,const char*)">
1080 <access modifier="private"/>
1080 <access modifier="private"/>
1081 <modify-argument index="2">
1081 <modify-argument index="2">
1082 <remove-default-expression/>
1082 <remove-default-expression/>
1083 </modify-argument>
1083 </modify-argument>
1084 </modify-function>
1084 </modify-function>
1085
1085
1086 <modify-function signature="operator=(QImage)" remove="all"/>
1086 <modify-function signature="operator=(QImage)" remove="all"/>
1087
1087
1088 <modify-function signature="setText(const char*,const char*,QString)">
1088 <modify-function signature="setText(const char*,const char*,QString)">
1089 <remove/>
1089 <remove/>
1090 </modify-function>
1090 </modify-function>
1091
1091
1092 <modify-function signature="text(const char*,const char*)const">
1092 <modify-function signature="text(const char*,const char*)const">
1093 <remove/>
1093 <remove/>
1094 </modify-function>
1094 </modify-function>
1095
1095
1096 <modify-function signature="fromData(QByteArray,const char*)">
1096 <modify-function signature="fromData(QByteArray,const char*)">
1097 <access modifier="private"/>
1097 <access modifier="private"/>
1098 <modify-argument index="2">
1098 <modify-argument index="2">
1099 <remove-default-expression/>
1099 <remove-default-expression/>
1100 </modify-argument>
1100 </modify-argument>
1101 </modify-function>
1101 </modify-function>
1102
1102
1103 <modify-function signature="fromData(const uchar*,int,const char*)">
1103 <modify-function signature="fromData(const uchar*,int,const char*)">
1104 <remove/>
1104 <remove/>
1105 </modify-function>
1105 </modify-function>
1106
1106
1107 <modify-function signature="serialNumber()const" remove="all"/> <!--### Obsolete in 4.3-->
1107 <modify-function signature="serialNumber()const" remove="all"/> <!--### Obsolete in 4.3-->
1108 <modify-function signature="textLanguages()const" remove="all"/> <!--### Obsolete in 4.3-->
1108 <modify-function signature="textLanguages()const" remove="all"/> <!--### Obsolete in 4.3-->
1109
1109
1110 <modify-function signature="QImage(const char**)" remove="all"/>
1110 <modify-function signature="QImage(const char**)" remove="all"/>
1111 <modify-function signature="QImage(const uchar *,int,int,QImage::Format)" remove="all"/>
1111 <modify-function signature="QImage(const uchar *,int,int,QImage::Format)" remove="all"/>
1112 <modify-function signature="QImage(const uchar *,int,int,int,QImage::Format)" remove="all"/>
1112 <modify-function signature="QImage(const uchar *,int,int,int,QImage::Format)" remove="all"/>
1113 <modify-function signature="QImage(uchar *,int,int,QImage::Format)" remove="all"/>
1113 <modify-function signature="QImage(uchar *,int,int,QImage::Format)" remove="all"/>
1114 <modify-function signature="QImage(uchar *,int,int,int,QImage::Format)" remove="all"/>
1114 <modify-function signature="QImage(uchar *,int,int,int,QImage::Format)" remove="all"/>
1115 <modify-function signature="setColorTable(const QVector&lt;uint&gt;)" remove="all"/>
1115 <modify-function signature="setColorTable(const QVector&lt;uint&gt;)" remove="all"/>
1116 <modify-function signature="loadFromData(const uchar *,int,const char *)" remove="all"/>
1116 <modify-function signature="loadFromData(const uchar *,int,const char *)" remove="all"/>
1117 <modify-function signature="fromData(const uchar *,int,const char *)" remove="all"/>
1117 <modify-function signature="fromData(const uchar *,int,const char *)" remove="all"/>
1118 <modify-function signature="bits()" remove="all"/>
1118 <modify-function signature="bits()" remove="all"/>
1119 <modify-function signature="scanLine(int)" remove="all"/>
1119 <modify-function signature="scanLine(int)" remove="all"/>
1120
1120
1121 <modify-function signature="QImage(QString,const char*)">
1121 <modify-function signature="QImage(QString,const char*)">
1122 <modify-argument index="2">
1122 <modify-argument index="2">
1123 <replace-type modified-type="QString"/>
1123 <replace-type modified-type="QString"/>
1124 <conversion-rule class="native">
1124 <conversion-rule class="native">
1125 <insert-template name="core.convert_string_arg_to_char*"/>
1125 <insert-template name="core.convert_string_arg_to_char*"/>
1126 </conversion-rule>
1126 </conversion-rule>
1127 </modify-argument>
1127 </modify-argument>
1128 </modify-function>
1128 </modify-function>
1129
1129
1130 <modify-function signature="fromData(QByteArray,const char*)">
1130 <modify-function signature="fromData(QByteArray,const char*)">
1131 <modify-argument index="2">
1131 <modify-argument index="2">
1132 <replace-type modified-type="QString"/>
1132 <replace-type modified-type="QString"/>
1133 <conversion-rule class="native">
1133 <conversion-rule class="native">
1134 <insert-template name="core.convert_string_arg_to_char*"/>
1134 <insert-template name="core.convert_string_arg_to_char*"/>
1135 </conversion-rule>
1135 </conversion-rule>
1136 </modify-argument>
1136 </modify-argument>
1137 </modify-function>
1137 </modify-function>
1138
1138
1139 <modify-function signature="load(QString,const char*)">
1139 <modify-function signature="load(QString,const char*)">
1140 <modify-argument index="2">
1140 <modify-argument index="2">
1141 <replace-type modified-type="QString"/>
1141 <replace-type modified-type="QString"/>
1142 <conversion-rule class="native">
1142 <conversion-rule class="native">
1143 <insert-template name="core.convert_string_arg_to_char*"/>
1143 <insert-template name="core.convert_string_arg_to_char*"/>
1144 </conversion-rule>
1144 </conversion-rule>
1145 </modify-argument>
1145 </modify-argument>
1146 </modify-function>
1146 </modify-function>
1147
1147
1148 <modify-function signature="load(QIODevice*,const char*)">
1148 <modify-function signature="load(QIODevice*,const char*)">
1149 <modify-argument index="2">
1149 <modify-argument index="2">
1150 <replace-type modified-type="QString"/>
1150 <replace-type modified-type="QString"/>
1151 <conversion-rule class="native">
1151 <conversion-rule class="native">
1152 <insert-template name="core.convert_string_arg_to_char*"/>
1152 <insert-template name="core.convert_string_arg_to_char*"/>
1153 </conversion-rule>
1153 </conversion-rule>
1154 </modify-argument>
1154 </modify-argument>
1155 </modify-function>
1155 </modify-function>
1156
1156
1157 <modify-function signature="loadFromData(QByteArray,const char*)">
1157 <modify-function signature="loadFromData(QByteArray,const char*)">
1158 <modify-argument index="2">
1158 <modify-argument index="2">
1159 <replace-type modified-type="QString"/>
1159 <replace-type modified-type="QString"/>
1160 <conversion-rule class="native">
1160 <conversion-rule class="native">
1161 <insert-template name="core.convert_string_arg_to_char*"/>
1161 <insert-template name="core.convert_string_arg_to_char*"/>
1162 </conversion-rule>
1162 </conversion-rule>
1163 </modify-argument>
1163 </modify-argument>
1164 </modify-function>
1164 </modify-function>
1165
1165
1166 <modify-function signature="save(QString,const char*,int)const">
1166 <modify-function signature="save(QString,const char*,int)const">
1167 <modify-argument index="2">
1167 <modify-argument index="2">
1168 <replace-type modified-type="QString"/>
1168 <replace-type modified-type="QString"/>
1169 <conversion-rule class="native">
1169 <conversion-rule class="native">
1170 <insert-template name="core.convert_string_arg_to_char*"/>
1170 <insert-template name="core.convert_string_arg_to_char*"/>
1171 </conversion-rule>
1171 </conversion-rule>
1172 </modify-argument>
1172 </modify-argument>
1173 </modify-function>
1173 </modify-function>
1174
1174
1175 <modify-function signature="save(QIODevice*,const char*,int)const">
1175 <modify-function signature="save(QIODevice*,const char*,int)const">
1176 <modify-argument index="2">
1176 <modify-argument index="2">
1177 <replace-type modified-type="QString"/>
1177 <replace-type modified-type="QString"/>
1178 <conversion-rule class="native">
1178 <conversion-rule class="native">
1179 <insert-template name="core.convert_string_arg_to_char*"/>
1179 <insert-template name="core.convert_string_arg_to_char*"/>
1180 </conversion-rule>
1180 </conversion-rule>
1181 </modify-argument>
1181 </modify-argument>
1182 </modify-function>
1182 </modify-function>
1183
1183
1184 </value-type>
1184 </value-type>
1185
1185
1186 <value-type name="QColormap" delete-in-main-thread="yes">
1186 <value-type name="QColormap" delete-in-main-thread="yes">
1187 <modify-function signature="operator=(QColormap)" remove="all"/>
1187 <modify-function signature="operator=(QColormap)" remove="all"/>
1188 <extra-includes>
1188 <extra-includes>
1189 <include file-name="QColor" location="global"/>
1189 <include file-name="QColor" location="global"/>
1190 </extra-includes>
1190 </extra-includes>
1191 <custom-constructor>
1191 <custom-constructor>
1192 return new QColormap(*copy);
1192 return new QColormap(*copy);
1193 </custom-constructor>
1193 </custom-constructor>
1194 <custom-destructor>
1194 <custom-destructor>
1195 delete copy;
1195 delete copy;
1196 </custom-destructor>
1196 </custom-destructor>
1197 </value-type>
1197 </value-type>
1198
1198
1199 <value-type name="QCursor" delete-in-main-thread="yes">
1199 <value-type name="QCursor" delete-in-main-thread="yes">
1200 <extra-includes>
1200 <extra-includes>
1201 <include file-name="QPixmap" location="global"/>
1201 <include file-name="QPixmap" location="global"/>
1202 </extra-includes>
1202 </extra-includes>
1203 <modify-function signature="operator=(QCursor)" remove="all"/>
1203 <modify-function signature="operator=(QCursor)" remove="all"/>
1204 </value-type>
1204 </value-type>
1205
1205
1206 <value-type name="QFontDatabase" delete-in-main-thread="yes">
1206 <value-type name="QFontDatabase" delete-in-main-thread="yes">
1207 <extra-includes>
1207 <extra-includes>
1208 <include file-name="QStringList" location="global"/>
1208 <include file-name="QStringList" location="global"/>
1209 </extra-includes>
1209 </extra-includes>
1210 </value-type>
1210 </value-type>
1211
1211
1212 <value-type name="QPen">
1212 <value-type name="QPen">
1213 <extra-includes>
1213 <extra-includes>
1214 <include file-name="QBrush" location="global"/>
1214 <include file-name="QBrush" location="global"/>
1215 </extra-includes>
1215 </extra-includes>
1216
1216
1217 <modify-function signature="operator=(QPen)" remove="all"/>
1217 <modify-function signature="operator=(QPen)" remove="all"/>
1218 </value-type>
1218 </value-type>
1219
1219
1220 <value-type name="QBrush">
1220 <value-type name="QBrush">
1221 <modify-function signature="QBrush(Qt::GlobalColor, Qt::BrushStyle)" remove="all"/>
1221 <modify-function signature="QBrush(Qt::GlobalColor, Qt::BrushStyle)" remove="all"/>
1222 <modify-function signature="operator=(const QBrush &amp;)" remove="all"/>
1222 <modify-function signature="operator=(const QBrush &amp;)" remove="all"/>
1223
1223
1224 <extra-includes>
1224 <extra-includes>
1225 <include file-name="QPixmap" location="global"/>
1225 <include file-name="QPixmap" location="global"/>
1226 </extra-includes>
1226 </extra-includes>
1227
1227
1228 <modify-function signature="QBrush(QGradient)">
1228 <modify-function signature="QBrush(QGradient)">
1229 <modify-argument index="1">
1229 <modify-argument index="1">
1230 <replace-type modified-type="QGradient*"/>
1230 <replace-type modified-type="QGradient*"/>
1231 <conversion-rule class="native">
1231 <conversion-rule class="native">
1232 QGradient &amp; %out% = *qscriptvalue_cast&lt;QGradient*&gt;(%in%);
1232 QGradient &amp; %out% = *qscriptvalue_cast&lt;QGradient*&gt;(%in%);
1233 </conversion-rule>
1233 </conversion-rule>
1234 </modify-argument>
1234 </modify-argument>
1235 </modify-function>
1235 </modify-function>
1236 </value-type>
1236 </value-type>
1237
1237
1238 <value-type name="QColor">
1238 <value-type name="QColor">
1239 <modify-function signature="QColor(QColor::Spec)" remove="all"/>
1239 <modify-function signature="QColor(QColor::Spec)" remove="all"/>
1240 <modify-function signature="operator=(QColor)" remove="all"/>
1240 <modify-function signature="operator=(QColor)" remove="all"/>
1241 <modify-function signature="operator=(Qt::GlobalColor)" remove="all"/>
1241 <modify-function signature="operator=(Qt::GlobalColor)" remove="all"/>
1242
1242
1243 <modify-function signature="QColor(const char*)">
1243 <modify-function signature="QColor(const char*)">
1244 <remove/>
1244 <remove/>
1245 </modify-function>
1245 </modify-function>
1246
1246
1247 <modify-function signature="getCmyk(int*,int*,int*,int*,int*)">
1247 <modify-function signature="getCmyk(int*,int*,int*,int*,int*)">
1248 <remove/>
1248 <remove/>
1249 </modify-function>
1249 </modify-function>
1250
1250
1251 <modify-function signature="getCmykF(qreal*,qreal*,qreal*,qreal*,qreal*)">
1251 <modify-function signature="getCmykF(qreal*,qreal*,qreal*,qreal*,qreal*)">
1252 <remove/>
1252 <remove/>
1253 </modify-function>
1253 </modify-function>
1254
1254
1255 <modify-function signature="getHsv(int*,int*,int*,int*)const">
1255 <modify-function signature="getHsv(int*,int*,int*,int*)const">
1256 <remove/>
1256 <remove/>
1257 </modify-function>
1257 </modify-function>
1258
1258
1259 <modify-function signature="getHsvF(qreal*,qreal*,qreal*,qreal*)const">
1259 <modify-function signature="getHsvF(qreal*,qreal*,qreal*,qreal*)const">
1260 <remove/>
1260 <remove/>
1261 </modify-function>
1261 </modify-function>
1262
1262
1263 <modify-function signature="getRgb(int*,int*,int*,int*)const">
1263 <modify-function signature="getRgb(int*,int*,int*,int*)const">
1264 <remove/>
1264 <remove/>
1265 </modify-function>
1265 </modify-function>
1266
1266
1267 <modify-function signature="getRgbF(qreal*,qreal*,qreal*,qreal*)const">
1267 <modify-function signature="getRgbF(qreal*,qreal*,qreal*,qreal*)const">
1268 <remove/>
1268 <remove/>
1269 </modify-function>
1269 </modify-function>
1270
1270
1271 <modify-function signature="dark(int)const" remove="all"/> <!--### Obsolete in 4.3-->
1271 <modify-function signature="dark(int)const" remove="all"/> <!--### Obsolete in 4.3-->
1272 <modify-function signature="light(int)const" remove="all"/> <!--### Obsolete in 4.3-->
1272 <modify-function signature="light(int)const" remove="all"/> <!--### Obsolete in 4.3-->
1273 </value-type>
1273 </value-type>
1274
1274
1275 <value-type name="QFontMetricsF" delete-in-main-thread="yes">
1275 <value-type name="QFontMetricsF" delete-in-main-thread="yes">
1276 <custom-constructor>
1276 <custom-constructor>
1277 return new QFontMetricsF(*copy);
1277 return new QFontMetricsF(*copy);
1278 </custom-constructor>
1278 </custom-constructor>
1279 <custom-destructor>
1279 <custom-destructor>
1280 delete copy;
1280 delete copy;
1281 </custom-destructor>
1281 </custom-destructor>
1282 <modify-function signature="operator!=(const QFontMetricsF &amp;)">
1282 <modify-function signature="operator!=(const QFontMetricsF &amp;)">
1283 <remove/>
1283 <remove/>
1284 </modify-function>
1284 </modify-function>
1285 <modify-function signature="operator==(const QFontMetricsF &amp;)">
1285 <modify-function signature="operator==(const QFontMetricsF &amp;)">
1286 <remove/>
1286 <remove/>
1287 </modify-function>
1287 </modify-function>
1288
1288
1289 <modify-function signature="boundingRect(QRectF,int,QString,int,int*)const">
1289 <modify-function signature="boundingRect(QRectF,int,QString,int,int*)const">
1290 <access modifier="private"/>
1290 <access modifier="private"/>
1291 <modify-argument index="4">
1291 <modify-argument index="4">
1292 <remove-default-expression/>
1292 <remove-default-expression/>
1293 </modify-argument>
1293 </modify-argument>
1294 <modify-argument index="5">
1294 <modify-argument index="5">
1295 <remove-default-expression/>
1295 <remove-default-expression/>
1296 </modify-argument>
1296 </modify-argument>
1297 </modify-function>
1297 </modify-function>
1298
1298
1299 <modify-function signature="operator=(QFontMetrics)" remove="all"/>
1299 <modify-function signature="operator=(QFontMetrics)" remove="all"/>
1300 <modify-function signature="operator=(QFontMetricsF)" remove="all"/>
1300 <modify-function signature="operator=(QFontMetricsF)" remove="all"/>
1301
1301
1302 <modify-function signature="size(int,QString,int,int*)const">
1302 <modify-function signature="size(int,QString,int,int*)const">
1303 <access modifier="private"/>
1303 <access modifier="private"/>
1304 <modify-argument index="3">
1304 <modify-argument index="3">
1305 <remove-default-expression/>
1305 <remove-default-expression/>
1306 </modify-argument>
1306 </modify-argument>
1307 <modify-argument index="4">
1307 <modify-argument index="4">
1308 <remove-default-expression/>
1308 <remove-default-expression/>
1309 </modify-argument>
1309 </modify-argument>
1310 </modify-function>
1310 </modify-function>
1311
1311
1312 <modify-function signature="QFontMetricsF(QFontMetricsF)" remove="all"/>
1312 <modify-function signature="QFontMetricsF(QFontMetricsF)" remove="all"/>
1313 <modify-function signature="QFontMetricsF(QFontMetrics)" remove="all"/>
1313 <modify-function signature="QFontMetricsF(QFontMetrics)" remove="all"/>
1314 <modify-function signature="operator==(QFontMetricsF)const" remove="all"/>
1314 <modify-function signature="operator==(QFontMetricsF)const" remove="all"/>
1315 <modify-function signature="operator!=(QFontMetricsF)const" remove="all"/>
1315 <modify-function signature="operator!=(QFontMetricsF)const" remove="all"/>
1316 </value-type>
1316 </value-type>
1317 <value-type name="QTextOption::Tab"/>
1317 <value-type name="QTextOption::Tab"/>
1318
1318
1319 <value-type name="QFontMetrics" delete-in-main-thread="yes">
1319 <value-type name="QFontMetrics" delete-in-main-thread="yes">
1320 <custom-constructor>
1320 <custom-constructor>
1321 return new QFontMetrics(*copy);
1321 return new QFontMetrics(*copy);
1322 </custom-constructor>
1322 </custom-constructor>
1323 <custom-destructor>
1323 <custom-destructor>
1324 delete copy;
1324 delete copy;
1325 </custom-destructor>
1325 </custom-destructor>
1326 <modify-function signature="operator!=(const QFontMetrics &amp;)">
1326 <modify-function signature="operator!=(const QFontMetrics &amp;)">
1327 <remove/>
1327 <remove/>
1328 </modify-function>
1328 </modify-function>
1329 <modify-function signature="operator==(const QFontMetrics &amp;)">
1329 <modify-function signature="operator==(const QFontMetrics &amp;)">
1330 <remove/>
1330 <remove/>
1331 </modify-function>
1331 </modify-function>
1332
1332
1333 <modify-function signature="boundingRect(int,int,int,int,int,QString,int,int*)const">
1333 <modify-function signature="boundingRect(int,int,int,int,int,QString,int,int*)const">
1334 <access modifier="private"/>
1334 <access modifier="private"/>
1335 <modify-argument index="7">
1335 <modify-argument index="7">
1336 <remove-default-expression/>
1336 <remove-default-expression/>
1337 </modify-argument>
1337 </modify-argument>
1338 <modify-argument index="8">
1338 <modify-argument index="8">
1339 <remove-default-expression/>
1339 <remove-default-expression/>
1340 </modify-argument>
1340 </modify-argument>
1341 </modify-function>
1341 </modify-function>
1342
1342
1343 <modify-function signature="boundingRect(QRect,int,QString,int,int*)const">
1343 <modify-function signature="boundingRect(QRect,int,QString,int,int*)const">
1344 <access modifier="private"/>
1344 <access modifier="private"/>
1345 <modify-argument index="4">
1345 <modify-argument index="4">
1346 <remove-default-expression/>
1346 <remove-default-expression/>
1347 </modify-argument>
1347 </modify-argument>
1348 <modify-argument index="5">
1348 <modify-argument index="5">
1349 <remove-default-expression/>
1349 <remove-default-expression/>
1350 </modify-argument>
1350 </modify-argument>
1351 </modify-function>
1351 </modify-function>
1352
1352
1353 <modify-function signature="operator=(QFontMetrics)" remove="all"/>
1353 <modify-function signature="operator=(QFontMetrics)" remove="all"/>
1354
1354
1355 <modify-function signature="size(int,QString,int,int*)const">
1355 <modify-function signature="size(int,QString,int,int*)const">
1356 <access modifier="private"/>
1356 <access modifier="private"/>
1357 <modify-argument index="3">
1357 <modify-argument index="3">
1358 <remove-default-expression/>
1358 <remove-default-expression/>
1359 </modify-argument>
1359 </modify-argument>
1360 <modify-argument index="4">
1360 <modify-argument index="4">
1361 <remove-default-expression/>
1361 <remove-default-expression/>
1362 </modify-argument>
1362 </modify-argument>
1363 </modify-function>
1363 </modify-function>
1364
1364
1365
1365
1366 <modify-function signature="QFontMetrics(QFontMetrics)" remove="all"/>
1366 <modify-function signature="QFontMetrics(QFontMetrics)" remove="all"/>
1367 <modify-function signature="operator==(QFontMetrics)const" remove="all"/>
1367 <modify-function signature="operator==(QFontMetrics)const" remove="all"/>
1368 <modify-function signature="operator!=(QFontMetrics)const" remove="all"/>
1368 <modify-function signature="operator!=(QFontMetrics)const" remove="all"/>
1369 </value-type>
1369 </value-type>
1370
1370
1371 <value-type name="QGradient" force-abstract="yes" polymorphic-base="yes" polymorphic-id-expression="%1-&gt;type() == QGradient::NoGradient">
1371 <value-type name="QGradient" force-abstract="yes" polymorphic-base="yes" polymorphic-id-expression="%1-&gt;type() == QGradient::NoGradient">
1372 <custom-constructor>
1372 <custom-constructor>
1373 Q_UNUSED(copy)
1373 Q_UNUSED(copy)
1374 qWarning("Copying empty QGradient object");
1374 qWarning("Copying empty QGradient object");
1375 return new QGradient();
1375 return new QGradient();
1376 </custom-constructor>
1376 </custom-constructor>
1377 <custom-destructor>
1377 <custom-destructor>
1378 delete copy;
1378 delete copy;
1379 </custom-destructor>
1379 </custom-destructor>
1380 <modify-function signature="operator==(const QGradient &amp;)">
1380 <modify-function signature="operator==(const QGradient &amp;)">
1381 <remove/>
1381 <remove/>
1382 </modify-function>
1382 </modify-function>
1383 </value-type>
1383 </value-type>
1384
1384
1385 <value-type name="QLinearGradient" polymorphic-id-expression="%1-&gt;type() == QGradient::LinearGradient">
1385 <value-type name="QLinearGradient" polymorphic-id-expression="%1-&gt;type() == QGradient::LinearGradient">
1386 <custom-constructor>
1386 <custom-constructor>
1387 QLinearGradient *lg = new QLinearGradient(copy-&gt;start(), copy-&gt;finalStop());
1387 QLinearGradient *lg = new QLinearGradient(copy-&gt;start(), copy-&gt;finalStop());
1388 lg-&gt;setSpread(copy-&gt;spread());
1388 lg-&gt;setSpread(copy-&gt;spread());
1389 lg-&gt;setStops(copy-&gt;stops());
1389 lg-&gt;setStops(copy-&gt;stops());
1390 return (void *) lg;
1390 return (void *) lg;
1391 </custom-constructor>
1391 </custom-constructor>
1392 <custom-destructor>
1392 <custom-destructor>
1393 delete copy;
1393 delete copy;
1394 </custom-destructor>
1394 </custom-destructor>
1395 </value-type>
1395 </value-type>
1396
1396
1397 <value-type name="QPrinterInfo">
1397 <value-type name="QPrinterInfo">
1398 <modify-function signature="operator=(const QPrinterInfo &amp;)" remove="all"/>
1398 <modify-function signature="operator=(const QPrinterInfo &amp;)" remove="all"/>
1399 </value-type>
1399 </value-type>
1400
1400
1401 <interface-type name="QLayoutItem"/>
1401 <interface-type name="QLayoutItem"/>
1402 <interface-type name="QPaintDevice"/>
1402 <interface-type name="QPaintDevice"/>
1403
1403
1404 <interface-type name="QGraphicsItem" delete-in-main-thread="yes">
1404 <interface-type name="QGraphicsItem" delete-in-main-thread="yes" polymorphic-base="yes">
1405 <modify-function signature="setMatrix(QMatrix, bool)" remove="all"/>
1405 <modify-function signature="setMatrix(QMatrix, bool)" remove="all"/>
1406
1406
1407 <modify-function signature="paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*)">
1407 <modify-function signature="paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*)">
1408 <modify-argument index="1" invalidate-after-use="yes"/>
1408 <modify-argument index="1" invalidate-after-use="yes"/>
1409 </modify-function>
1409 </modify-function>
1410 <modify-function signature="collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode)const">
1410 <modify-function signature="collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode)const">
1411 <modify-argument index="1" invalidate-after-use="yes"/>
1411 <modify-argument index="1" invalidate-after-use="yes"/>
1412 </modify-function>
1412 </modify-function>
1413
1413
1414 <modify-function signature="contextMenuEvent(QGraphicsSceneContextMenuEvent*)">
1414 <modify-function signature="contextMenuEvent(QGraphicsSceneContextMenuEvent*)">
1415 <modify-argument index="1" invalidate-after-use="yes"/>
1415 <modify-argument index="1" invalidate-after-use="yes"/>
1416 </modify-function>
1416 </modify-function>
1417 <modify-function signature="dragEnterEvent(QGraphicsSceneDragDropEvent*)">
1417 <modify-function signature="dragEnterEvent(QGraphicsSceneDragDropEvent*)">
1418 <modify-argument index="1" invalidate-after-use="yes"/>
1418 <modify-argument index="1" invalidate-after-use="yes"/>
1419 </modify-function>
1419 </modify-function>
1420 <modify-function signature="dragLeaveEvent(QGraphicsSceneDragDropEvent*)">
1420 <modify-function signature="dragLeaveEvent(QGraphicsSceneDragDropEvent*)">
1421 <modify-argument index="1" invalidate-after-use="yes"/>
1421 <modify-argument index="1" invalidate-after-use="yes"/>
1422 </modify-function>
1422 </modify-function>
1423 <modify-function signature="dragMoveEvent(QGraphicsSceneDragDropEvent*)">
1423 <modify-function signature="dragMoveEvent(QGraphicsSceneDragDropEvent*)">
1424 <modify-argument index="1" invalidate-after-use="yes"/>
1424 <modify-argument index="1" invalidate-after-use="yes"/>
1425 </modify-function>
1425 </modify-function>
1426 <modify-function signature="dropEvent(QGraphicsSceneDragDropEvent*)">
1426 <modify-function signature="dropEvent(QGraphicsSceneDragDropEvent*)">
1427 <modify-argument index="1" invalidate-after-use="yes"/>
1427 <modify-argument index="1" invalidate-after-use="yes"/>
1428 </modify-function>
1428 </modify-function>
1429 <modify-function signature="focusInEvent(QFocusEvent*)">
1429 <modify-function signature="focusInEvent(QFocusEvent*)">
1430 <modify-argument index="1" invalidate-after-use="yes"/>
1430 <modify-argument index="1" invalidate-after-use="yes"/>
1431 </modify-function>
1431 </modify-function>
1432 <modify-function signature="focusOutEvent(QFocusEvent*)">
1432 <modify-function signature="focusOutEvent(QFocusEvent*)">
1433 <modify-argument index="1" invalidate-after-use="yes"/>
1433 <modify-argument index="1" invalidate-after-use="yes"/>
1434 </modify-function>
1434 </modify-function>
1435 <modify-function signature="hoverEnterEvent(QGraphicsSceneHoverEvent*)">
1435 <modify-function signature="hoverEnterEvent(QGraphicsSceneHoverEvent*)">
1436 <modify-argument index="1" invalidate-after-use="yes"/>
1436 <modify-argument index="1" invalidate-after-use="yes"/>
1437 </modify-function>
1437 </modify-function>
1438 <modify-function signature="hoverLeaveEvent(QGraphicsSceneHoverEvent*)">
1438 <modify-function signature="hoverLeaveEvent(QGraphicsSceneHoverEvent*)">
1439 <modify-argument index="1" invalidate-after-use="yes"/>
1439 <modify-argument index="1" invalidate-after-use="yes"/>
1440 </modify-function>
1440 </modify-function>
1441 <modify-function signature="hoverMoveEvent(QGraphicsSceneHoverEvent*)">
1441 <modify-function signature="hoverMoveEvent(QGraphicsSceneHoverEvent*)">
1442 <modify-argument index="1" invalidate-after-use="yes"/>
1442 <modify-argument index="1" invalidate-after-use="yes"/>
1443 </modify-function>
1443 </modify-function>
1444 <modify-function signature="inputMethodEvent(QInputMethodEvent*)">
1444 <modify-function signature="inputMethodEvent(QInputMethodEvent*)">
1445 <modify-argument index="1" invalidate-after-use="yes"/>
1445 <modify-argument index="1" invalidate-after-use="yes"/>
1446 </modify-function>
1446 </modify-function>
1447 <modify-function signature="isObscuredBy(const QGraphicsItem*)const">
1447 <modify-function signature="isObscuredBy(const QGraphicsItem*)const">
1448 <modify-argument index="1" invalidate-after-use="yes"/>
1448 <modify-argument index="1" invalidate-after-use="yes"/>
1449 </modify-function>
1449 </modify-function>
1450 <modify-function signature="keyPressEvent(QKeyEvent*)">
1450 <modify-function signature="keyPressEvent(QKeyEvent*)">
1451 <modify-argument index="1" invalidate-after-use="yes"/>
1451 <modify-argument index="1" invalidate-after-use="yes"/>
1452 </modify-function>
1452 </modify-function>
1453 <modify-function signature="keyReleaseEvent(QKeyEvent*)">
1453 <modify-function signature="keyReleaseEvent(QKeyEvent*)">
1454 <modify-argument index="1" invalidate-after-use="yes"/>
1454 <modify-argument index="1" invalidate-after-use="yes"/>
1455 </modify-function>
1455 </modify-function>
1456 <modify-function signature="mouseDoubleClickEvent(QGraphicsSceneMouseEvent*)">
1456 <modify-function signature="mouseDoubleClickEvent(QGraphicsSceneMouseEvent*)">
1457 <modify-argument index="1" invalidate-after-use="yes"/>
1457 <modify-argument index="1" invalidate-after-use="yes"/>
1458 </modify-function>
1458 </modify-function>
1459 <modify-function signature="mouseMoveEvent(QGraphicsSceneMouseEvent*)">
1459 <modify-function signature="mouseMoveEvent(QGraphicsSceneMouseEvent*)">
1460 <modify-argument index="1" invalidate-after-use="yes"/>
1460 <modify-argument index="1" invalidate-after-use="yes"/>
1461 </modify-function>
1461 </modify-function>
1462 <modify-function signature="mousePressEvent(QGraphicsSceneMouseEvent*)">
1462 <modify-function signature="mousePressEvent(QGraphicsSceneMouseEvent*)">
1463 <modify-argument index="1" invalidate-after-use="yes"/>
1463 <modify-argument index="1" invalidate-after-use="yes"/>
1464 </modify-function>
1464 </modify-function>
1465 <modify-function signature="mouseReleaseEvent(QGraphicsSceneMouseEvent*)">
1465 <modify-function signature="mouseReleaseEvent(QGraphicsSceneMouseEvent*)">
1466 <modify-argument index="1" invalidate-after-use="yes"/>
1466 <modify-argument index="1" invalidate-after-use="yes"/>
1467 </modify-function>
1467 </modify-function>
1468 <modify-function signature="sceneEvent(QEvent*)">
1468 <modify-function signature="sceneEvent(QEvent*)">
1469 <modify-argument index="1" invalidate-after-use="yes"/>
1469 <modify-argument index="1" invalidate-after-use="yes"/>
1470 </modify-function>
1470 </modify-function>
1471 <modify-function signature="sceneEventFilter(QGraphicsItem*,QEvent*)">
1471 <modify-function signature="sceneEventFilter(QGraphicsItem*,QEvent*)">
1472 <modify-argument index="1" invalidate-after-use="yes"/>
1472 <modify-argument index="1" invalidate-after-use="yes"/>
1473 <modify-argument index="2" invalidate-after-use="yes"/>
1473 <modify-argument index="2" invalidate-after-use="yes"/>
1474 </modify-function>
1474 </modify-function>
1475 <modify-function signature="wheelEvent(QGraphicsSceneWheelEvent*)">
1475 <modify-function signature="wheelEvent(QGraphicsSceneWheelEvent*)">
1476 <modify-argument index="1" invalidate-after-use="yes"/>
1476 <modify-argument index="1" invalidate-after-use="yes"/>
1477 </modify-function>
1477 </modify-function>
1478
1478
1479 <modify-function signature="children()const" remove="all"/>
1479 <modify-function signature="children()const" remove="all"/>
1480 <modify-function signature="installSceneEventFilter(QGraphicsItem *)">
1480 <modify-function signature="installSceneEventFilter(QGraphicsItem *)">
1481 <modify-argument index="1">
1481 <modify-argument index="1">
1482 <!-- Safe to ignore because items in a scene are memory managed by the scene -->
1482 <!-- Safe to ignore because items in a scene are memory managed by the scene -->
1483 <reference-count action="ignore"/>
1483 <reference-count action="ignore"/>
1484 </modify-argument>
1484 </modify-argument>
1485 </modify-function>
1485 </modify-function>
1486 <modify-function signature="removeSceneEventFilter(QGraphicsItem *)">
1486 <modify-function signature="removeSceneEventFilter(QGraphicsItem *)">
1487 <modify-argument index="1">
1487 <modify-argument index="1">
1488 <!-- Safe to ignore because items in a scene are memory managed by the scene -->
1488 <!-- Safe to ignore because items in a scene are memory managed by the scene -->
1489 <reference-count action="ignore"/>
1489 <reference-count action="ignore"/>
1490 </modify-argument>
1490 </modify-argument>
1491 </modify-function>
1491 </modify-function>
1492
1492
1493 <modify-function signature="matrix()const" remove="all"/> <!--### Obsolete in 4.3-->
1493 <modify-function signature="matrix()const" remove="all"/> <!--### Obsolete in 4.3-->
1494 <modify-function signature="resetMatrix()" remove="all"/> <!--### Obsolete in 4.3-->
1494 <modify-function signature="resetMatrix()" remove="all"/> <!--### Obsolete in 4.3-->
1495 <modify-function signature="sceneMatrix()const" remove="all"/> <!--### Obsolete in 4.3-->
1495 <modify-function signature="sceneMatrix()const" remove="all"/> <!--### Obsolete in 4.3-->
1496 <modify-function signature="setMatrix(QMatrix, bool)" remove="all"/> <!--### Obsolete in 4.3-->
1496 <modify-function signature="setMatrix(QMatrix, bool)" remove="all"/> <!--### Obsolete in 4.3-->
1497
1497
1498 <modify-function signature="supportsExtension(QGraphicsItem::Extension)const" remove="all"/>
1498 <modify-function signature="supportsExtension(QGraphicsItem::Extension)const" remove="all"/>
1499 <modify-function signature="setExtension(QGraphicsItem::Extension,QVariant)" remove="all"/>
1499 <modify-function signature="setExtension(QGraphicsItem::Extension,QVariant)" remove="all"/>
1500 </interface-type>
1500 </interface-type>
1501
1501
1502 <object-type name="QAbstractGraphicsShapeItem" delete-in-main-thread="yes">
1502 <object-type name="QAbstractGraphicsShapeItem" delete-in-main-thread="yes">
1503 <modify-function signature="QAbstractGraphicsShapeItem(QGraphicsItem*,QGraphicsScene*)">
1503 <modify-function signature="QAbstractGraphicsShapeItem(QGraphicsItem*,QGraphicsScene*)">
1504 <inject-code position="end">
1504 <inject-code position="end">
1505 <argument-map index="1" meta-name="%1"/>
1505 <argument-map index="1" meta-name="%1"/>
1506 if (%1 != null) disableGarbageCollection();
1506 if (%1 != null) disableGarbageCollection();
1507 </inject-code>
1507 </inject-code>
1508 </modify-function>
1508 </modify-function>
1509
1509
1510 <modify-function signature="matrix()const" remove="all"/> <!--### Obsolete in 4.3-->
1510 <modify-function signature="matrix()const" remove="all"/> <!--### Obsolete in 4.3-->
1511 <modify-function signature="resetMatrix()" remove="all"/> <!--### Obsolete in 4.3-->
1511 <modify-function signature="resetMatrix()" remove="all"/> <!--### Obsolete in 4.3-->
1512 <modify-function signature="sceneMatrix()const" remove="all"/> <!--### Obsolete in 4.3-->
1512 <modify-function signature="sceneMatrix()const" remove="all"/> <!--### Obsolete in 4.3-->
1513 <modify-function signature="setMatrix(QMatrix, bool)" remove="all"/> <!--### Obsolete in 4.3-->
1513 <modify-function signature="setMatrix(QMatrix, bool)" remove="all"/> <!--### Obsolete in 4.3-->
1514 </object-type>
1514 </object-type>
1515
1515
1516 <object-type name="QAbstractItemView">
1516 <object-type name="QAbstractItemView">
1517 <modify-function signature="update()" remove="all"/>
1517 <modify-function signature="update()" remove="all"/>
1518 <modify-function signature="horizontalStepsPerItem()const" remove="all"/> <!--### Obsolete in 4.3-->
1518 <modify-function signature="horizontalStepsPerItem()const" remove="all"/> <!--### Obsolete in 4.3-->
1519 <modify-function signature="setHorizontalStepsPerItem(int)" remove="all"/> <!--### Obsolete in 4.3-->
1519 <modify-function signature="setHorizontalStepsPerItem(int)" remove="all"/> <!--### Obsolete in 4.3-->
1520 <modify-function signature="setVerticalStepsPerItem(int)" remove="all"/> <!--### Obsolete in 4.3-->
1520 <modify-function signature="setVerticalStepsPerItem(int)" remove="all"/> <!--### Obsolete in 4.3-->
1521 <modify-function signature="verticalStepsPerItem()const" remove="all"/> <!--### Obsolete in 4.3-->
1521 <modify-function signature="verticalStepsPerItem()const" remove="all"/> <!--### Obsolete in 4.3-->
1522
1522
1523 <modify-function signature="edit(QModelIndex,QAbstractItemView::EditTrigger,QEvent*)">
1523 <modify-function signature="edit(QModelIndex,QAbstractItemView::EditTrigger,QEvent*)">
1524 <modify-argument index="3" invalidate-after-use="yes"/>
1524 <modify-argument index="3" invalidate-after-use="yes"/>
1525 </modify-function>
1525 </modify-function>
1526 <modify-function signature="selectionCommand(QModelIndex,const QEvent*)const">
1526 <modify-function signature="selectionCommand(QModelIndex,const QEvent*)const">
1527 <modify-argument index="2" invalidate-after-use="yes"/>
1527 <modify-argument index="2" invalidate-after-use="yes"/>
1528 </modify-function>
1528 </modify-function>
1529
1529
1530
1530
1531 <!-- ### because the CursorAction enum is protected -->
1531 <!-- ### because the CursorAction enum is protected -->
1532 <modify-function signature="moveCursor(QAbstractItemView::CursorAction,QFlags&lt;Qt::KeyboardModifier&gt;)" remove="all"/>
1532 <modify-function signature="moveCursor(QAbstractItemView::CursorAction,QFlags&lt;Qt::KeyboardModifier&gt;)" remove="all"/>
1533 <inject-code class="shell-declaration">
1533 <inject-code class="shell-declaration">
1534 QModelIndex moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)
1534 QModelIndex moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)
1535 { return QModelIndex(); }
1535 { return QModelIndex(); }
1536 </inject-code>
1536 </inject-code>
1537 </object-type>
1537 </object-type>
1538
1538
1539 <object-type name="QAbstractPageSetupDialog"/>
1539 <object-type name="QAbstractPageSetupDialog"/>
1540 <object-type name="QAbstractPrintDialog"/>
1540 <object-type name="QAbstractPrintDialog"/>
1541 <object-type name="QAbstractSlider">
1541 <object-type name="QAbstractSlider">
1542 <modify-function signature="sliderChange(QAbstractSlider::SliderChange)" remove="all"/>
1542 <modify-function signature="sliderChange(QAbstractSlider::SliderChange)" remove="all"/>
1543 </object-type>
1543 </object-type>
1544 <object-type name="QAbstractTextDocumentLayout">
1544 <object-type name="QAbstractTextDocumentLayout">
1545 <modify-function signature="setPaintDevice(QPaintDevice*)">
1545 <modify-function signature="setPaintDevice(QPaintDevice*)">
1546 <modify-argument index="1">
1546 <modify-argument index="1">
1547 <reference-count action="set" variable-name="__rcPaintDevice"/>
1547 <reference-count action="set" variable-name="__rcPaintDevice"/>
1548 </modify-argument>
1548 </modify-argument>
1549 </modify-function>
1549 </modify-function>
1550
1550
1551 <modify-function signature="draw(QPainter*,QAbstractTextDocumentLayout::PaintContext)">
1551 <modify-function signature="draw(QPainter*,QAbstractTextDocumentLayout::PaintContext)">
1552 <modify-argument index="1" invalidate-after-use="yes"/>
1552 <modify-argument index="1" invalidate-after-use="yes"/>
1553 </modify-function>
1553 </modify-function>
1554 <modify-function signature="drawInlineObject(QPainter*,QRectF,QTextInlineObject,int,QTextFormat)">
1554 <modify-function signature="drawInlineObject(QPainter*,QRectF,QTextInlineObject,int,QTextFormat)">
1555 <modify-argument index="1" invalidate-after-use="yes"/>
1555 <modify-argument index="1" invalidate-after-use="yes"/>
1556 </modify-function>
1556 </modify-function>
1557
1557
1558 </object-type>
1558 </object-type>
1559 <object-type name="QAccessible">
1559 <object-type name="QAccessible">
1560 <modify-function signature="initialize()" remove="all"/>
1560 <modify-function signature="initialize()" remove="all"/>
1561 <modify-function signature="cleanup()" remove="all"/>
1561 <modify-function signature="cleanup()" remove="all"/>
1562 <modify-function signature="setRootObject(QObject *)">
1562 <modify-function signature="setRootObject(QObject *)">
1563 <modify-argument index="1">
1563 <modify-argument index="1">
1564 <reference-count action="ignore"/>
1564 <reference-count action="ignore"/>
1565 </modify-argument>
1565 </modify-argument>
1566 </modify-function>
1566 </modify-function>
1567 <modify-function signature="queryAccessibleInterface(QObject *)">
1567 <modify-function signature="queryAccessibleInterface(QObject *)">
1568 <modify-argument index="return">
1568 <modify-argument index="return">
1569 <define-ownership class="java" owner="java"/>
1569 <define-ownership class="java" owner="java"/>
1570 </modify-argument>
1570 </modify-argument>
1571 </modify-function>
1571 </modify-function>
1572 </object-type>
1572 </object-type>
1573 <object-type name="QAccessibleBridge">
1573 <object-type name="QAccessibleBridge">
1574 <modify-function signature="setRootObject(QAccessibleInterface *)">
1574 <modify-function signature="setRootObject(QAccessibleInterface *)">
1575 <modify-argument index="1">
1575 <modify-argument index="1">
1576 <define-ownership class="shell" owner="java"/>
1576 <define-ownership class="shell" owner="java"/>
1577 </modify-argument>
1577 </modify-argument>
1578 </modify-function>
1578 </modify-function>
1579 <modify-function signature="notifyAccessibilityUpdate(int,QAccessibleInterface*,int)">
1579 <modify-function signature="notifyAccessibilityUpdate(int,QAccessibleInterface*,int)">
1580 <modify-argument invalidate-after-use="yes" index="2"/>
1580 <modify-argument invalidate-after-use="yes" index="2"/>
1581 </modify-function>
1581 </modify-function>
1582 </object-type>
1582 </object-type>
1583 <object-type name="QAccessible2Interface"/>
1583 <object-type name="QAccessible2Interface"/>
1584 <object-type name="QAccessibleTableInterface">
1584 <object-type name="QAccessibleTableInterface">
1585 <modify-function signature="qAccessibleTableCastHelper()" remove="all"/>
1585 <modify-function signature="qAccessibleTableCastHelper()" remove="all"/>
1586 </object-type>
1586 </object-type>
1587
1587
1588 <object-type name="QAccessibleInterface">
1588 <object-type name="QAccessibleInterface">
1589 <modify-function signature="indexOfChild(const QAccessibleInterface*)const">
1589 <modify-function signature="indexOfChild(const QAccessibleInterface*)const">
1590 <modify-argument invalidate-after-use="yes" index="1"/>
1590 <modify-argument invalidate-after-use="yes" index="1"/>
1591 </modify-function>
1591 </modify-function>
1592 <modify-function signature="relationTo(int,const QAccessibleInterface*,int)const">
1592 <modify-function signature="relationTo(int,const QAccessibleInterface*,int)const">
1593 <modify-argument invalidate-after-use="yes" index="2"/>
1593 <modify-argument invalidate-after-use="yes" index="2"/>
1594 </modify-function>
1594 </modify-function>
1595 </object-type>
1595 </object-type>
1596 <object-type name="QAccessibleInterfaceEx"/>
1596 <object-type name="QAccessibleInterfaceEx"/>
1597 <object-type name="QAccessibleObject"/>
1597 <object-type name="QAccessibleObject"/>
1598 <object-type name="QAccessibleObjectEx"/>
1598 <object-type name="QAccessibleObjectEx"/>
1599 <object-type name="QAccessibleWidget"/>
1599 <object-type name="QAccessibleWidget"/>
1600 <object-type name="QAccessibleWidgetEx"/>
1600 <object-type name="QAccessibleWidgetEx"/>
1601 <object-type name="QActionGroup"/>
1601 <object-type name="QActionGroup"/>
1602 <object-type name="QCDEStyle">
1602 <object-type name="QCDEStyle">
1603 <modify-function signature="standardIconImplementation(QStyle::StandardPixmap, const QStyleOption *, const QWidget *)const" virtual-slot="yes"/>
1603 <modify-function signature="standardIconImplementation(QStyle::StandardPixmap, const QStyleOption *, const QWidget *)const" virtual-slot="yes"/>
1604 </object-type>
1604 </object-type>
1605 <object-type name="QCheckBox">
1605 <object-type name="QCheckBox">
1606 <modify-function signature="initStyleOption(QStyleOptionButton*)const">
1606 <modify-function signature="initStyleOption(QStyleOptionButton*)const">
1607 <access modifier="private"/>
1607 <access modifier="private"/>
1608 </modify-function>
1608 </modify-function>
1609 </object-type>
1609 </object-type>
1610 <object-type name="QCleanlooksStyle">
1610 <object-type name="QCleanlooksStyle">
1611 <modify-function signature="standardPixmap(QStyle::StandardPixmap,const QStyleOption*,const QWidget*)const" remove="all"/> <!--### Obsolete in 4.3-->
1611 <modify-function signature="standardPixmap(QStyle::StandardPixmap,const QStyleOption*,const QWidget*)const" remove="all"/> <!--### Obsolete in 4.3-->
1612 <modify-function signature="standardIconImplementation(QStyle::StandardPixmap, const QStyleOption *, const QWidget *)const" virtual-slot="yes"/>
1612 <modify-function signature="standardIconImplementation(QStyle::StandardPixmap, const QStyleOption *, const QWidget *)const" virtual-slot="yes"/>
1613 </object-type>
1613 </object-type>
1614 <object-type name="QCommonStyle">
1614 <object-type name="QCommonStyle">
1615 <modify-function signature="standardPixmap(QStyle::StandardPixmap, const QStyleOption*,const QWidget*)const" remove="all"/> <!--### Obsolete in 4.3-->
1615 <modify-function signature="standardPixmap(QStyle::StandardPixmap, const QStyleOption*,const QWidget*)const" remove="all"/> <!--### Obsolete in 4.3-->
1616 <modify-function signature="standardIconImplementation(QStyle::StandardPixmap, const QStyleOption *, const QWidget *)const" virtual-slot="yes"/>
1616 <modify-function signature="standardIconImplementation(QStyle::StandardPixmap, const QStyleOption *, const QWidget *)const" virtual-slot="yes"/>
1617 </object-type>
1617 </object-type>
1618 <object-type name="QDataWidgetMapper">
1618 <object-type name="QDataWidgetMapper">
1619 <modify-function signature="addMapping(QWidget*,int)">
1619 <modify-function signature="addMapping(QWidget*,int)">
1620 <modify-argument index="1">
1620 <modify-argument index="1">
1621 <reference-count action="add" variable-name="__rcMappings"/>
1621 <reference-count action="add" variable-name="__rcMappings"/>
1622 </modify-argument>
1622 </modify-argument>
1623 </modify-function>
1623 </modify-function>
1624 <modify-function signature="addMapping(QWidget*,int,QByteArray)">
1624 <modify-function signature="addMapping(QWidget*,int,QByteArray)">
1625 <modify-argument index="1">
1625 <modify-argument index="1">
1626 <reference-count action="add" variable-name="__rcMappings"/>
1626 <reference-count action="add" variable-name="__rcMappings"/>
1627 </modify-argument>
1627 </modify-argument>
1628 </modify-function>
1628 </modify-function>
1629 <modify-function signature="removeMapping(QWidget*)">
1629 <modify-function signature="removeMapping(QWidget*)">
1630 <modify-argument index="1">
1630 <modify-argument index="1">
1631 <reference-count action="remove" variable-name="__rcMappings"/>
1631 <reference-count action="remove" variable-name="__rcMappings"/>
1632 </modify-argument>
1632 </modify-argument>
1633 </modify-function>
1633 </modify-function>
1634 <modify-function signature="setItemDelegate(QAbstractItemDelegate*)">
1634 <modify-function signature="setItemDelegate(QAbstractItemDelegate*)">
1635 <modify-argument index="1">
1635 <modify-argument index="1">
1636 <reference-count action="set" variable-name="__rcItemDelegate"/>
1636 <reference-count action="set" variable-name="__rcItemDelegate"/>
1637 </modify-argument>
1637 </modify-argument>
1638 </modify-function>
1638 </modify-function>
1639 <modify-function signature="setModel(QAbstractItemModel*)">
1639 <modify-function signature="setModel(QAbstractItemModel*)">
1640 <modify-argument index="1">
1640 <modify-argument index="1">
1641 <reference-count action="set" variable-name="__rcModel"/>
1641 <reference-count action="set" variable-name="__rcModel"/>
1642 </modify-argument>
1642 </modify-argument>
1643 </modify-function>
1643 </modify-function>
1644 </object-type>
1644 </object-type>
1645 <object-type name="QDateEdit"/>
1645 <object-type name="QDateEdit"/>
1646 <object-type name="QDesktopServices">
1646 <object-type name="QDesktopServices">
1647 <modify-function signature="setUrlHandler(const QString &amp;, QObject *, const char *)" access="private">
1647 <modify-function signature="setUrlHandler(const QString &amp;, QObject *, const char *)" access="private">
1648 <modify-argument index="2">
1648 <modify-argument index="2">
1649 <reference-count action="ignore"/> <!-- Handled in injected code -->
1649 <reference-count action="ignore"/> <!-- Handled in injected code -->
1650 </modify-argument>
1650 </modify-argument>
1651 </modify-function>
1651 </modify-function>
1652 </object-type>
1652 </object-type>
1653 <object-type name="QDialog">
1653 <object-type name="QDialog">
1654 <modify-function signature="setExtension(QWidget*)" remove="all"/>
1654 <modify-function signature="setExtension(QWidget*)" remove="all"/>
1655 <modify-function signature="exec()" access="non-final"/>
1655 <modify-function signature="exec()" access="non-final"/>
1656 <modify-function signature="extension()const" remove="all"/> <!--### Obsolete in 4.3-->
1656 <modify-function signature="extension()const" remove="all"/> <!--### Obsolete in 4.3-->
1657 <modify-function signature="orientation()const" remove="all"/> <!--### Obsolete in 4.3-->
1657 <modify-function signature="orientation()const" remove="all"/> <!--### Obsolete in 4.3-->
1658 <modify-function signature="setOrientation(Qt::Orientation)" remove="all"/> <!--### Obsolete in 4.3-->
1658 <modify-function signature="setOrientation(Qt::Orientation)" remove="all"/> <!--### Obsolete in 4.3-->
1659 <modify-function signature="showExtension(bool)" remove="all"/> <!--### Obsolete in 4.3-->
1659 <modify-function signature="showExtension(bool)" remove="all"/> <!--### Obsolete in 4.3-->
1660 </object-type>
1660 </object-type>
1661 <object-type name="QDialogButtonBox">
1661 <object-type name="QDialogButtonBox">
1662 <modify-function signature="addButton(QAbstractButton*,QDialogButtonBox::ButtonRole)">
1662 <modify-function signature="addButton(QAbstractButton*,QDialogButtonBox::ButtonRole)">
1663 <modify-argument index="1">
1663 <modify-argument index="1">
1664 <reference-count action="ignore"/>
1664 <reference-count action="ignore"/>
1665 </modify-argument>
1665 </modify-argument>
1666 </modify-function>
1666 </modify-function>
1667 <modify-function signature="removeButton(QAbstractButton*)">
1667 <modify-function signature="removeButton(QAbstractButton*)">
1668 <modify-argument index="1">
1668 <modify-argument index="1">
1669 <reference-count action="ignore"/>
1669 <reference-count action="ignore"/>
1670 </modify-argument>
1670 </modify-argument>
1671 </modify-function>
1671 </modify-function>
1672 </object-type>
1672 </object-type>
1673 <object-type name="QDirModel">
1673 <object-type name="QDirModel">
1674 <modify-function signature="parent()const" remove="all"/>
1674 <modify-function signature="parent()const" remove="all"/>
1675 <modify-function signature="setIconProvider(QFileIconProvider*)">
1675 <modify-function signature="setIconProvider(QFileIconProvider*)">
1676 <modify-argument index="1">
1676 <modify-argument index="1">
1677 <reference-count action="set" variable-name="__rcIconProvider"/>
1677 <reference-count action="set" variable-name="__rcIconProvider"/>
1678 </modify-argument>
1678 </modify-argument>
1679 </modify-function>
1679 </modify-function>
1680 </object-type>
1680 </object-type>
1681 <object-type name="QDoubleValidator"/>
1681 <object-type name="QDoubleValidator"/>
1682 <object-type name="QFileIconProvider"/>
1682 <object-type name="QFileIconProvider"/>
1683 <object-type name="QWizard">
1683 <object-type name="QWizard">
1684 <!-- ### Requires correct class name in meta object -->
1684 <!-- ### Requires correct class name in meta object -->
1685 <modify-function signature="setDefaultProperty(const char *, const char *, const char *)" remove="all"/>
1685 <modify-function signature="setDefaultProperty(const char *, const char *, const char *)" remove="all"/>
1686 <modify-function signature="addPage(QWizardPage*)">
1686 <modify-function signature="addPage(QWizardPage*)">
1687 <modify-argument index="1">
1687 <modify-argument index="1">
1688 <no-null-pointer/>
1688 <no-null-pointer/>
1689 <reference-count action="ignore"/>
1689 <reference-count action="ignore"/>
1690 </modify-argument>
1690 </modify-argument>
1691 </modify-function>
1691 </modify-function>
1692 <modify-function signature="setButton(QWizard::WizardButton,QAbstractButton*)">
1692 <modify-function signature="setButton(QWizard::WizardButton,QAbstractButton*)">
1693 <modify-argument index="1">
1693 <modify-argument index="1">
1694 <reference-count action="ignore"/>
1694 <reference-count action="ignore"/>
1695 </modify-argument>
1695 </modify-argument>
1696 </modify-function>
1696 </modify-function>
1697 <modify-function signature="setPage(int,QWizardPage*)">
1697 <modify-function signature="setPage(int,QWizardPage*)">
1698 <modify-argument index="2">
1698 <modify-argument index="2">
1699 <no-null-pointer/>
1699 <no-null-pointer/>
1700 <reference-count action="ignore"/>
1700 <reference-count action="ignore"/>
1701 </modify-argument>
1701 </modify-argument>
1702 </modify-function>
1702 </modify-function>
1703
1703
1704 </object-type>
1704 </object-type>
1705 <object-type name="QWizardPage">
1705 <object-type name="QWizardPage">
1706 <!-- ### Reduced functionality due to meta object having missing information -->
1706 <!-- ### Reduced functionality due to meta object having missing information -->
1707 <modify-function signature="registerField(const QString &amp;, QWidget *, const char *, const char *)">
1707 <modify-function signature="registerField(const QString &amp;, QWidget *, const char *, const char *)">
1708 <access modifier="private"/>
1708 <access modifier="private"/>
1709 <modify-argument index="3">
1709 <modify-argument index="3">
1710 <remove-default-expression/>
1710 <remove-default-expression/>
1711 </modify-argument>
1711 </modify-argument>
1712 <modify-argument index="4">
1712 <modify-argument index="4">
1713 <remove-default-expression/>
1713 <remove-default-expression/>
1714 </modify-argument>
1714 </modify-argument>
1715 </modify-function>
1715 </modify-function>
1716
1716
1717 </object-type>
1717 </object-type>
1718 <object-type name="QFocusFrame">
1718 <object-type name="QFocusFrame">
1719 <modify-function signature="initStyleOption(QStyleOption*)const">
1719 <modify-function signature="initStyleOption(QStyleOption*)const">
1720 <access modifier="private"/>
1720 <access modifier="private"/>
1721 </modify-function>
1721 </modify-function>
1722 <modify-function signature="setWidget(QWidget*)">
1722 <modify-function signature="setWidget(QWidget*)">
1723 <modify-argument index="1">
1723 <modify-argument index="1">
1724 <reference-count action="set" variable-name="__rcWidget"/>
1724 <reference-count action="set" variable-name="__rcWidget"/>
1725 </modify-argument>
1725 </modify-argument>
1726 </modify-function>
1726 </modify-function>
1727 <inject-code>
1727 <inject-code>
1728 <insert-template name="gui.init_style_option">
1728 <insert-template name="gui.init_style_option">
1729 <replace from="%TYPE" to="QStyleOption"/>
1729 <replace from="%TYPE" to="QStyleOption"/>
1730 </insert-template>
1730 </insert-template>
1731 </inject-code>
1731 </inject-code>
1732 </object-type>
1732 </object-type>
1733 <object-type name="QFontComboBox"/>
1733 <object-type name="QFontComboBox"/>
1734 <object-type name="QFontDialog">
1734 <object-type name="QFontDialog">
1735 <inject-code class="native" position="beginning">
1735 <inject-code class="native" position="beginning">
1736 Q_DECLARE_METATYPE(QScriptValue)
1736 Q_DECLARE_METATYPE(QScriptValue)
1737 </inject-code>
1737 </inject-code>
1738 <modify-function signature="getFont(bool*,QWidget*)">
1738 <modify-function signature="getFont(bool*,QWidget*)">
1739 <modify-argument index="1">
1739 <modify-argument index="1">
1740 <remove-argument/>
1740 <remove-argument/>
1741 <conversion-rule class="native">
1741 <conversion-rule class="native">
1742 <insert-template name="core.prepare_removed_bool*_argument"/>
1742 <insert-template name="core.prepare_removed_bool*_argument"/>
1743 </conversion-rule>
1743 </conversion-rule>
1744 </modify-argument>
1744 </modify-argument>
1745 <modify-argument index="return">
1745 <modify-argument index="return">
1746 <conversion-rule class="native">
1746 <conversion-rule class="native">
1747 <insert-template name="core.convert_to_null_or_wrap"/>
1747 <insert-template name="core.convert_to_null_or_wrap"/>
1748 </conversion-rule>
1748 </conversion-rule>
1749 </modify-argument>
1749 </modify-argument>
1750 </modify-function>
1750 </modify-function>
1751
1751
1752 <modify-function signature="getFont(bool*,QFont,QWidget*)">
1752 <modify-function signature="getFont(bool*,QFont,QWidget*)">
1753 <modify-argument index="1">
1753 <modify-argument index="1">
1754 <remove-argument/>
1754 <remove-argument/>
1755 <conversion-rule class="native">
1755 <conversion-rule class="native">
1756 <insert-template name="core.prepare_removed_bool*_argument"/>
1756 <insert-template name="core.prepare_removed_bool*_argument"/>
1757 </conversion-rule>
1757 </conversion-rule>
1758 </modify-argument>
1758 </modify-argument>
1759 <modify-argument index="return">
1759 <modify-argument index="return">
1760 <conversion-rule class="native">
1760 <conversion-rule class="native">
1761 <insert-template name="core.convert_to_null_or_wrap"/>
1761 <insert-template name="core.convert_to_null_or_wrap"/>
1762 </conversion-rule>
1762 </conversion-rule>
1763 </modify-argument>
1763 </modify-argument>
1764 </modify-function>
1764 </modify-function>
1765
1765
1766 <modify-function signature="getFont(bool*,QFont,QWidget*,QString)">
1766 <modify-function signature="getFont(bool*,QFont,QWidget*,QString)">
1767 <modify-argument index="1">
1767 <modify-argument index="1">
1768 <remove-argument/>
1768 <remove-argument/>
1769 <conversion-rule class="native">
1769 <conversion-rule class="native">
1770 <insert-template name="core.prepare_removed_bool*_argument"/>
1770 <insert-template name="core.prepare_removed_bool*_argument"/>
1771 </conversion-rule>
1771 </conversion-rule>
1772 </modify-argument>
1772 </modify-argument>
1773 <modify-argument index="return">
1773 <modify-argument index="return">
1774 <conversion-rule class="native">
1774 <conversion-rule class="native">
1775 <insert-template name="core.convert_to_null_or_wrap"/>
1775 <insert-template name="core.convert_to_null_or_wrap"/>
1776 </conversion-rule>
1776 </conversion-rule>
1777 </modify-argument>
1777 </modify-argument>
1778 </modify-function>
1778 </modify-function>
1779 </object-type>
1779 </object-type>
1780 <object-type name="QGraphicsEllipseItem" delete-in-main-thread="yes"/>
1780 <object-type name="QGraphicsEllipseItem" delete-in-main-thread="yes"/>
1781 <object-type name="QGraphicsItemAnimation">
1781 <object-type name="QGraphicsItemAnimation">
1782 <modify-function signature="setItem(QGraphicsItem*)">
1782 <modify-function signature="setItem(QGraphicsItem*)">
1783 <modify-argument index="1">
1783 <modify-argument index="1">
1784 <reference-count action="set" variable-name="__rcItem"/>
1784 <reference-count action="set" variable-name="__rcItem"/>
1785 </modify-argument>
1785 </modify-argument>
1786 </modify-function>
1786 </modify-function>
1787 <modify-function signature="setTimeLine(QTimeLine*)">
1787 <modify-function signature="setTimeLine(QTimeLine*)">
1788 <modify-argument index="1">
1788 <modify-argument index="1">
1789 <reference-count action="set" variable-name="__rcTimeLine"/>
1789 <reference-count action="set" variable-name="__rcTimeLine"/>
1790 </modify-argument>
1790 </modify-argument>
1791 </modify-function>
1791 </modify-function>
1792
1792
1793 <extra-includes>
1793 <extra-includes>
1794 <include file-name="QPair" location="global"/>
1794 <include file-name="QPair" location="global"/>
1795 </extra-includes>
1795 </extra-includes>
1796 </object-type>
1796 </object-type>
1797 <object-type name="QGraphicsItemGroup" delete-in-main-thread="yes">
1797 <object-type name="QGraphicsItemGroup" delete-in-main-thread="yes">
1798 <modify-function signature="matrix()const" remove="all"/> <!--### Obsolete in 4.3-->
1798 <modify-function signature="matrix()const" remove="all"/> <!--### Obsolete in 4.3-->
1799 <modify-function signature="resetMatrix()" remove="all"/> <!--### Obsolete in 4.3-->
1799 <modify-function signature="resetMatrix()" remove="all"/> <!--### Obsolete in 4.3-->
1800 <modify-function signature="sceneMatrix()const" remove="all"/> <!--### Obsolete in 4.3-->
1800 <modify-function signature="sceneMatrix()const" remove="all"/> <!--### Obsolete in 4.3-->
1801 <modify-function signature="setMatrix(QMatrix, bool)" remove="all"/> <!--### Obsolete in 4.3-->
1801 <modify-function signature="setMatrix(QMatrix, bool)" remove="all"/> <!--### Obsolete in 4.3-->
1802 </object-type>
1802 </object-type>
1803 <object-type name="QGraphicsLineItem" delete-in-main-thread="yes">
1803 <object-type name="QGraphicsLineItem" delete-in-main-thread="yes">
1804 <modify-function signature="matrix()const" remove="all"/> <!--### Obsolete in 4.3-->
1804 <modify-function signature="matrix()const" remove="all"/> <!--### Obsolete in 4.3-->
1805 <modify-function signature="resetMatrix()" remove="all"/> <!--### Obsolete in 4.3-->
1805 <modify-function signature="resetMatrix()" remove="all"/> <!--### Obsolete in 4.3-->
1806 <modify-function signature="sceneMatrix()const" remove="all"/> <!--### Obsolete in 4.3-->
1806 <modify-function signature="sceneMatrix()const" remove="all"/> <!--### Obsolete in 4.3-->
1807 <modify-function signature="setMatrix(QMatrix, bool)" remove="all"/> <!--### Obsolete in 4.3-->
1807 <modify-function signature="setMatrix(QMatrix, bool)" remove="all"/> <!--### Obsolete in 4.3-->
1808 </object-type>
1808 </object-type>
1809 <object-type name="QGraphicsPathItem" delete-in-main-thread="yes"/>
1809 <object-type name="QGraphicsPathItem" delete-in-main-thread="yes"/>
1810
1810
1811 <object-type name="QGraphicsPixmapItem" delete-in-main-thread="yes">
1811 <object-type name="QGraphicsPixmapItem" delete-in-main-thread="yes">
1812 <modify-function signature="matrix()const" remove="all"/> <!--### Obsolete in 4.3-->
1812 <modify-function signature="matrix()const" remove="all"/> <!--### Obsolete in 4.3-->
1813 <modify-function signature="resetMatrix()" remove="all"/> <!--### Obsolete in 4.3-->
1813 <modify-function signature="resetMatrix()" remove="all"/> <!--### Obsolete in 4.3-->
1814 <modify-function signature="sceneMatrix()const" remove="all"/> <!--### Obsolete in 4.3-->
1814 <modify-function signature="sceneMatrix()const" remove="all"/> <!--### Obsolete in 4.3-->
1815 <modify-function signature="setMatrix(QMatrix, bool)" remove="all"/> <!--### Obsolete in 4.3-->
1815 <modify-function signature="setMatrix(QMatrix, bool)" remove="all"/> <!--### Obsolete in 4.3-->
1816 </object-type>
1816 </object-type>
1817 <object-type name="QGraphicsPolygonItem" delete-in-main-thread="yes"/>
1817 <object-type name="QGraphicsPolygonItem" delete-in-main-thread="yes"/>
1818 <object-type name="QGraphicsRectItem" delete-in-main-thread="yes"/>
1818 <object-type name="QGraphicsRectItem" delete-in-main-thread="yes"/>
1819 <object-type name="QGraphicsSimpleTextItem" delete-in-main-thread="yes"/>
1819 <object-type name="QGraphicsSimpleTextItem" delete-in-main-thread="yes"/>
1820 <object-type name="QHBoxLayout"/>
1820 <object-type name="QHBoxLayout"/>
1821 <object-type name="QHeaderView">
1821 <object-type name="QHeaderView">
1822 <modify-function signature="initStyleOption(QStyleOptionHeader*)const">
1822 <modify-function signature="initStyleOption(QStyleOptionHeader*)const">
1823 <access modifier="private"/>
1823 <access modifier="private"/>
1824 </modify-function>
1824 </modify-function>
1825
1825
1826 <modify-function signature="paintSection(QPainter*,QRect,int)const">
1826 <modify-function signature="paintSection(QPainter*,QRect,int)const">
1827 <modify-argument index="1" invalidate-after-use="yes"/>
1827 <modify-argument index="1" invalidate-after-use="yes"/>
1828 </modify-function>
1828 </modify-function>
1829
1829
1830 <inject-code>
1830 <inject-code>
1831 <insert-template name="gui.init_style_option">
1831 <insert-template name="gui.init_style_option">
1832 <replace from="%TYPE" to="QStyleOptionHeader"/>
1832 <replace from="%TYPE" to="QStyleOptionHeader"/>
1833 </insert-template>
1833 </insert-template>
1834 </inject-code>
1834 </inject-code>
1835 <modify-function signature="setModel(QAbstractItemModel*)">
1835 <modify-function signature="setModel(QAbstractItemModel*)">
1836 <modify-argument index="1">
1836 <modify-argument index="1">
1837 <reference-count declare-variable="QAbstractItemView" action="set" variable-name="__rcModel"/>
1837 <reference-count declare-variable="QAbstractItemView" action="set" variable-name="__rcModel"/>
1838 </modify-argument>
1838 </modify-argument>
1839 </modify-function>
1839 </modify-function>
1840 </object-type>
1840 </object-type>
1841 <object-type name="QIconEngine">
1841 <object-type name="QIconEngine">
1842 <modify-function signature="paint(QPainter*,QRect,QIcon::Mode,QIcon::State)">
1842 <modify-function signature="paint(QPainter*,QRect,QIcon::Mode,QIcon::State)">
1843 <modify-argument index="1" invalidate-after-use="yes"/>
1843 <modify-argument index="1" invalidate-after-use="yes"/>
1844 </modify-function>
1844 </modify-function>
1845 </object-type>
1845 </object-type>
1846 <object-type name="QIconEngineV2">
1846 <object-type name="QIconEngineV2">
1847 <modify-function signature="read(QDataStream&amp;)">
1847 <modify-function signature="read(QDataStream&amp;)">
1848 <modify-argument index="1" invalidate-after-use="yes"/>
1848 <modify-argument index="1" invalidate-after-use="yes"/>
1849 </modify-function>
1849 </modify-function>
1850 <modify-function signature="write(QDataStream&amp;)const">
1850 <modify-function signature="write(QDataStream&amp;)const">
1851 <modify-argument index="1" invalidate-after-use="yes"/>
1851 <modify-argument index="1" invalidate-after-use="yes"/>
1852 </modify-function>
1852 </modify-function>
1853
1853
1854 <modify-function signature="virtual_hook(int,void*)" remove="all"/>
1854 <modify-function signature="virtual_hook(int,void*)" remove="all"/>
1855 <modify-function signature="clone()const">
1855 <modify-function signature="clone()const">
1856 <modify-argument index="return">
1856 <modify-argument index="return">
1857 <define-ownership class="shell" owner="c++"/>
1857 <define-ownership class="shell" owner="c++"/>
1858 </modify-argument>
1858 </modify-argument>
1859 </modify-function>
1859 </modify-function>
1860 </object-type>
1860 </object-type>
1861 <object-type name="QImageWriter">
1861 <object-type name="QImageWriter">
1862 <modify-function signature="setDevice(QIODevice*)">
1862 <modify-function signature="setDevice(QIODevice*)">
1863 <modify-argument index="1">
1863 <modify-argument index="1">
1864 <reference-count action="set" variable-name="__rcDevice"/>
1864 <reference-count action="set" variable-name="__rcDevice"/>
1865 </modify-argument>
1865 </modify-argument>
1866 </modify-function>
1866 </modify-function>
1867 <modify-function signature="description()const" remove="all"/> <!--### Obsolete in 4.3-->
1867 <modify-function signature="description()const" remove="all"/> <!--### Obsolete in 4.3-->
1868 <modify-function signature="setDescription(QString)" remove="all"/> <!--### Obsolete in 4.3-->
1868 <modify-function signature="setDescription(QString)" remove="all"/> <!--### Obsolete in 4.3-->
1869 </object-type>
1869 </object-type>
1870 <object-type name="QInputContextFactory"/>
1870 <object-type name="QInputContextFactory"/>
1871 <object-type name="QIntValidator"/>
1871 <object-type name="QIntValidator"/>
1872 <object-type name="QItemDelegate">
1872 <object-type name="QItemDelegate">
1873 <modify-function signature="doLayout(QStyleOptionViewItem,QRect*,QRect*,QRect*,bool)const">
1873 <modify-function signature="doLayout(QStyleOptionViewItem,QRect*,QRect*,QRect*,bool)const">
1874 <remove/>
1874 <remove/>
1875 </modify-function>
1875 </modify-function>
1876
1876
1877 <modify-function signature="drawCheck(QPainter*,QStyleOptionViewItem,QRect,Qt::CheckState)const">
1877 <modify-function signature="drawCheck(QPainter*,QStyleOptionViewItem,QRect,Qt::CheckState)const">
1878 <modify-argument index="1" invalidate-after-use="yes"/>
1878 <modify-argument index="1" invalidate-after-use="yes"/>
1879 </modify-function>
1879 </modify-function>
1880 <modify-function signature="drawDecoration(QPainter*,QStyleOptionViewItem,QRect,QPixmap)const">
1880 <modify-function signature="drawDecoration(QPainter*,QStyleOptionViewItem,QRect,QPixmap)const">
1881 <modify-argument index="1" invalidate-after-use="yes"/>
1881 <modify-argument index="1" invalidate-after-use="yes"/>
1882 </modify-function>
1882 </modify-function>
1883 <modify-function signature="drawDisplay(QPainter*,QStyleOptionViewItem,QRect,QString)const">
1883 <modify-function signature="drawDisplay(QPainter*,QStyleOptionViewItem,QRect,QString)const">
1884 <modify-argument index="1" invalidate-after-use="yes"/>
1884 <modify-argument index="1" invalidate-after-use="yes"/>
1885 </modify-function>
1885 </modify-function>
1886 <modify-function signature="drawFocus(QPainter*,QStyleOptionViewItem,QRect)const">
1886 <modify-function signature="drawFocus(QPainter*,QStyleOptionViewItem,QRect)const">
1887 <modify-argument index="1" invalidate-after-use="yes"/>
1887 <modify-argument index="1" invalidate-after-use="yes"/>
1888 </modify-function>
1888 </modify-function>
1889
1889
1890
1890
1891 <modify-function signature="selected(QPixmap,QPalette,bool)const">
1891 <modify-function signature="selected(QPixmap,QPalette,bool)const">
1892 <remove/>
1892 <remove/>
1893 </modify-function>
1893 </modify-function>
1894 <modify-function signature="setItemEditorFactory(QItemEditorFactory*)">
1894 <modify-function signature="setItemEditorFactory(QItemEditorFactory*)">
1895 <modify-argument index="1">
1895 <modify-argument index="1">
1896 <reference-count action="set" variable-name="__rcItemEditorFactory"/>
1896 <reference-count action="set" variable-name="__rcItemEditorFactory"/>
1897 </modify-argument>
1897 </modify-argument>
1898 </modify-function>
1898 </modify-function>
1899 <modify-function signature="setEditorData(QWidget*,QModelIndex)const">
1899 <modify-function signature="setEditorData(QWidget*,QModelIndex)const">
1900 <modify-argument index="1">
1900 <modify-argument index="1">
1901 <reference-count action="ignore"/>
1901 <reference-count action="ignore"/>
1902 </modify-argument>
1902 </modify-argument>
1903 </modify-function>
1903 </modify-function>
1904 <modify-function signature="setModelData(QWidget*,QAbstractItemModel*,QModelIndex)const">
1904 <modify-function signature="setModelData(QWidget*,QAbstractItemModel*,QModelIndex)const">
1905 <modify-argument index="1">
1905 <modify-argument index="1">
1906 <reference-count action="ignore"/>
1906 <reference-count action="ignore"/>
1907 </modify-argument>
1907 </modify-argument>
1908 </modify-function>
1908 </modify-function>
1909
1909
1910 </object-type>
1910 </object-type>
1911 <object-type name="QItemEditorCreatorBase"/>
1911 <object-type name="QItemEditorCreatorBase"/>
1912 <object-type name="QItemEditorFactory">
1912 <object-type name="QItemEditorFactory">
1913 <modify-function signature="registerEditor(QVariant::Type, QItemEditorCreatorBase *)">
1913 <modify-function signature="registerEditor(QVariant::Type, QItemEditorCreatorBase *)">
1914 <modify-argument index="2">
1914 <modify-argument index="2">
1915 <define-ownership class="java" owner="c++"/>
1915 <define-ownership class="java" owner="c++"/>
1916 </modify-argument>
1916 </modify-argument>
1917 </modify-function>
1917 </modify-function>
1918 <modify-function signature="setDefaultFactory(QItemEditorFactory *)">
1918 <modify-function signature="setDefaultFactory(QItemEditorFactory *)">
1919 <modify-argument index="1">
1919 <modify-argument index="1">
1920 <reference-count action="set" variable-name="__rcDefaultItemEditorFactory"/>
1920 <reference-count action="set" variable-name="__rcDefaultItemEditorFactory"/>
1921 </modify-argument>
1921 </modify-argument>
1922 </modify-function>
1922 </modify-function>
1923 </object-type>
1923 </object-type>
1924 <object-type name="QItemSelectionModel"/>
1924 <object-type name="QItemSelectionModel"/>
1925 <object-type name="QTreeModel"/>
1925 <object-type name="QTreeModel"/>
1926 <object-type name="QListView"/>
1926 <object-type name="QListView"/>
1927 <object-type name="QColumnView">
1927 <object-type name="QColumnView">
1928 <modify-function signature="setPreviewWidget(QWidget*)">
1928 <modify-function signature="setPreviewWidget(QWidget*)">
1929 <modify-argument index="1">
1929 <modify-argument index="1">
1930 <reference-count action="ignore"/>
1930 <reference-count action="ignore"/>
1931 </modify-argument>
1931 </modify-argument>
1932 </modify-function>
1932 </modify-function>
1933 <modify-function signature="setModel(QAbstractItemModel*)">
1933 <modify-function signature="setModel(QAbstractItemModel*)">
1934 <modify-argument index="1">
1934 <modify-argument index="1">
1935 <reference-count declare-variable="QAbstractItemView" action="set" variable-name="__rcItemModel"/>
1935 <reference-count declare-variable="QAbstractItemView" action="set" variable-name="__rcItemModel"/>
1936 </modify-argument>
1936 </modify-argument>
1937 </modify-function>
1937 </modify-function>
1938 <modify-function signature="setSelectionModel(QItemSelectionModel*)">
1938 <modify-function signature="setSelectionModel(QItemSelectionModel*)">
1939 <modify-argument index="1">
1939 <modify-argument index="1">
1940 <no-null-pointer/>
1940 <no-null-pointer/>
1941 <reference-count declare-variable="QAbstractItemView" action="set" variable-name="__rcItemSelectionModel"/>
1941 <reference-count declare-variable="QAbstractItemView" action="set" variable-name="__rcItemSelectionModel"/>
1942 </modify-argument>
1942 </modify-argument>
1943 </modify-function>
1943 </modify-function>
1944 </object-type>
1944 </object-type>
1945 <object-type name="QMainWindow">
1945 <object-type name="QMainWindow">
1946 <modify-function signature="addDockWidget(Qt::DockWidgetArea,QDockWidget*,Qt::Orientation)">
1946 <modify-function signature="addDockWidget(Qt::DockWidgetArea,QDockWidget*,Qt::Orientation)">
1947 <modify-argument index="2">
1947 <modify-argument index="2">
1948 <reference-count action="ignore"/>
1948 <reference-count action="ignore"/>
1949 </modify-argument>
1949 </modify-argument>
1950 </modify-function>
1950 </modify-function>
1951 <modify-function signature="addDockWidget(Qt::DockWidgetArea,QDockWidget*)">
1951 <modify-function signature="addDockWidget(Qt::DockWidgetArea,QDockWidget*)">
1952 <modify-argument index="2">
1952 <modify-argument index="2">
1953 <reference-count action="ignore"/>
1953 <reference-count action="ignore"/>
1954 </modify-argument>
1954 </modify-argument>
1955 </modify-function>
1955 </modify-function>
1956 <modify-function signature="addToolBar(QToolBar*)">
1956 <modify-function signature="addToolBar(QToolBar*)">
1957 <modify-argument index="1">
1957 <modify-argument index="1">
1958 <reference-count action="ignore"/>
1958 <reference-count action="ignore"/>
1959 </modify-argument>
1959 </modify-argument>
1960 </modify-function>
1960 </modify-function>
1961 <modify-function signature="addToolBar(Qt::ToolBarArea,QToolBar*)">
1961 <modify-function signature="addToolBar(Qt::ToolBarArea,QToolBar*)">
1962 <modify-argument index="2">
1962 <modify-argument index="2">
1963 <reference-count action="ignore"/>
1963 <reference-count action="ignore"/>
1964 </modify-argument>
1964 </modify-argument>
1965 </modify-function>
1965 </modify-function>
1966 <modify-function signature="insertToolBar(QToolBar*,QToolBar*)">
1966 <modify-function signature="insertToolBar(QToolBar*,QToolBar*)">
1967 <modify-argument index="2">
1967 <modify-argument index="2">
1968 <reference-count action="ignore"/>
1968 <reference-count action="ignore"/>
1969 </modify-argument>
1969 </modify-argument>
1970 <modify-argument index="2">
1970 <modify-argument index="2">
1971 <reference-count action="ignore"/>
1971 <reference-count action="ignore"/>
1972 </modify-argument>
1972 </modify-argument>
1973 </modify-function>
1973 </modify-function>
1974 <modify-function signature="insertToolBarBreak(QToolBar*)">
1974 <modify-function signature="insertToolBarBreak(QToolBar*)">
1975 <modify-argument index="1">
1975 <modify-argument index="1">
1976 <reference-count action="ignore"/>
1976 <reference-count action="ignore"/>
1977 </modify-argument>
1977 </modify-argument>
1978 </modify-function>
1978 </modify-function>
1979 <modify-function signature="removeDockWidget(QDockWidget*)">
1979 <modify-function signature="removeDockWidget(QDockWidget*)">
1980 <modify-argument index="1">
1980 <modify-argument index="1">
1981 <reference-count action="ignore"/>
1981 <reference-count action="ignore"/>
1982 </modify-argument>
1982 </modify-argument>
1983 </modify-function>
1983 </modify-function>
1984 <modify-function signature="removeToolBar(QToolBar*)">
1984 <modify-function signature="removeToolBar(QToolBar*)">
1985 <modify-argument index="1">
1985 <modify-argument index="1">
1986 <reference-count action="ignore"/>
1986 <reference-count action="ignore"/>
1987 </modify-argument>
1987 </modify-argument>
1988 </modify-function>
1988 </modify-function>
1989 <modify-function signature="removeToolBarBreak(QToolBar*)">
1989 <modify-function signature="removeToolBarBreak(QToolBar*)">
1990 <modify-argument index="1">
1990 <modify-argument index="1">
1991 <reference-count action="ignore"/>
1991 <reference-count action="ignore"/>
1992 </modify-argument>
1992 </modify-argument>
1993 </modify-function>
1993 </modify-function>
1994 <modify-function signature="setCentralWidget(QWidget*)">
1994 <modify-function signature="setCentralWidget(QWidget*)">
1995 <modify-argument index="1">
1995 <modify-argument index="1">
1996 <reference-count action="ignore"/>
1996 <reference-count action="ignore"/>
1997 </modify-argument>
1997 </modify-argument>
1998 </modify-function>
1998 </modify-function>
1999 <modify-function signature="setMenuBar(QMenuBar*)">
1999 <modify-function signature="setMenuBar(QMenuBar*)">
2000 <modify-argument index="1">
2000 <modify-argument index="1">
2001 <reference-count action="ignore"/>
2001 <reference-count action="ignore"/>
2002 </modify-argument>
2002 </modify-argument>
2003 </modify-function>
2003 </modify-function>
2004 <modify-function signature="setMenuWidget(QWidget*)">
2004 <modify-function signature="setMenuWidget(QWidget*)">
2005 <modify-argument index="1">
2005 <modify-argument index="1">
2006 <reference-count action="ignore"/>
2006 <reference-count action="ignore"/>
2007 </modify-argument>
2007 </modify-argument>
2008 </modify-function>
2008 </modify-function>
2009 <modify-function signature="setStatusBar(QStatusBar*)">
2009 <modify-function signature="setStatusBar(QStatusBar*)">
2010 <modify-argument index="1">
2010 <modify-argument index="1">
2011 <reference-count action="ignore"/>
2011 <reference-count action="ignore"/>
2012 </modify-argument>
2012 </modify-argument>
2013 </modify-function>
2013 </modify-function>
2014
2014
2015 </object-type>
2015 </object-type>
2016 <object-type name="QMdiArea">
2016 <object-type name="QMdiArea">
2017 <modify-function signature="addSubWindow(QWidget*,QFlags&lt;Qt::WindowType&gt;)">
2017 <modify-function signature="addSubWindow(QWidget*,QFlags&lt;Qt::WindowType&gt;)">
2018 <modify-argument index="1">
2018 <modify-argument index="1">
2019 <reference-count action="ignore"/>
2019 <reference-count action="ignore"/>
2020 </modify-argument>
2020 </modify-argument>
2021 </modify-function>
2021 </modify-function>
2022
2022
2023 <modify-function signature="removeSubWindow(QWidget*)">
2023 <modify-function signature="removeSubWindow(QWidget*)">
2024 <modify-argument index="1">
2024 <modify-argument index="1">
2025 <reference-count action="ignore"/>
2025 <reference-count action="ignore"/>
2026 </modify-argument>
2026 </modify-argument>
2027 </modify-function>
2027 </modify-function>
2028
2028
2029 <modify-function signature="setActiveSubWindow(QMdiSubWindow*)">
2029 <modify-function signature="setActiveSubWindow(QMdiSubWindow*)">
2030 <modify-argument index="1">
2030 <modify-argument index="1">
2031 <reference-count action="ignore"/>
2031 <reference-count action="ignore"/>
2032 </modify-argument>
2032 </modify-argument>
2033 </modify-function>
2033 </modify-function>
2034
2034
2035 <modify-function signature="setupViewport(QWidget*)">
2035 <modify-function signature="setupViewport(QWidget*)">
2036 <modify-argument index="1">
2036 <modify-argument index="1">
2037 <reference-count action="ignore"/>
2037 <reference-count action="ignore"/>
2038 </modify-argument>
2038 </modify-argument>
2039 </modify-function>
2039 </modify-function>
2040
2040
2041 </object-type>
2041 </object-type>
2042 <object-type name="QMdiSubWindow">
2042 <object-type name="QMdiSubWindow">
2043 <modify-function signature="setSystemMenu(QMenu*)">
2043 <modify-function signature="setSystemMenu(QMenu*)">
2044 <modify-argument index="1">
2044 <modify-argument index="1">
2045 <reference-count action="ignore"/>
2045 <reference-count action="ignore"/>
2046 </modify-argument>
2046 </modify-argument>
2047 </modify-function>
2047 </modify-function>
2048 <modify-function signature="setWidget(QWidget*)">
2048 <modify-function signature="setWidget(QWidget*)">
2049 <modify-argument index="1">
2049 <modify-argument index="1">
2050 <reference-count action="ignore"/>
2050 <reference-count action="ignore"/>
2051 </modify-argument>
2051 </modify-argument>
2052 </modify-function>
2052 </modify-function>
2053 </object-type>
2053 </object-type>
2054 <object-type name="QMenu">
2054 <object-type name="QMenu">
2055 <modify-function signature="addAction(QAction *)" remove="all"/>
2055 <modify-function signature="addAction(QAction *)" remove="all"/>
2056 <modify-function signature="addMenu(QMenu*)">
2056 <modify-function signature="addMenu(QMenu*)">
2057 <modify-argument index="1">
2057 <modify-argument index="1">
2058 <reference-count action="add" variable-name="__rcMenus"/>
2058 <reference-count action="add" variable-name="__rcMenus"/>
2059 </modify-argument>
2059 </modify-argument>
2060 </modify-function>
2060 </modify-function>
2061 <modify-function signature="insertMenu(QAction*,QMenu*)">
2061 <modify-function signature="insertMenu(QAction*,QMenu*)">
2062 <modify-argument index="2">
2062 <modify-argument index="2">
2063 <reference-count action="add" variable-name="__rcMenus"/>
2063 <reference-count action="add" variable-name="__rcMenus"/>
2064 </modify-argument>
2064 </modify-argument>
2065 </modify-function>
2065 </modify-function>
2066 <modify-function signature="insertSeparator(QAction*)">
2066 <modify-function signature="insertSeparator(QAction*)">
2067 <modify-argument index="1">
2067 <modify-argument index="1">
2068 <reference-count action="ignore"/>
2068 <reference-count action="ignore"/>
2069 </modify-argument>
2069 </modify-argument>
2070 </modify-function>
2070 </modify-function>
2071 <modify-function signature="setActiveAction(QAction*)">
2071 <modify-function signature="setActiveAction(QAction*)">
2072 <modify-argument index="1">
2072 <modify-argument index="1">
2073 <reference-count action="ignore"/>
2073 <reference-count action="ignore"/>
2074 </modify-argument>
2074 </modify-argument>
2075 </modify-function>
2075 </modify-function>
2076 <modify-function signature="setDefaultAction(QAction*)">
2076 <modify-function signature="setDefaultAction(QAction*)">
2077 <modify-argument index="1">
2077 <modify-argument index="1">
2078 <reference-count action="ignore"/>
2078 <reference-count action="ignore"/>
2079 </modify-argument>
2079 </modify-argument>
2080 </modify-function>
2080 </modify-function>
2081 <modify-function signature="setNoReplayFor(QWidget*)">
2081 <modify-function signature="setNoReplayFor(QWidget*)">
2082 <remove/>
2082 <remove/>
2083 </modify-function>
2083 </modify-function>
2084 <modify-function signature="initStyleOption(QStyleOptionMenuItem*,const QAction*)const">
2084 <modify-function signature="initStyleOption(QStyleOptionMenuItem*,const QAction*)const">
2085 <access modifier="private"/>
2085 <access modifier="private"/>
2086 </modify-function>
2086 </modify-function>
2087
2087
2088 <modify-function signature="addAction(QString,const QObject*,const char*,QKeySequence)">
2088 <modify-function signature="addAction(QString,const QObject*,const char*,QKeySequence)">
2089 <remove/>
2089 <remove/>
2090 </modify-function>
2090 </modify-function>
2091
2091
2092 <modify-function signature="addAction(QIcon,QString,const QObject*,const char*,QKeySequence)">
2092 <modify-function signature="addAction(QIcon,QString,const QObject*,const char*,QKeySequence)">
2093 <remove/>
2093 <remove/>
2094 </modify-function>
2094 </modify-function>
2095 </object-type>
2095 </object-type>
2096
2096
2097 <object-type name="QMenuBar">
2097 <object-type name="QMenuBar">
2098 <modify-function signature="addAction(QAction *)" remove="all"/>
2098 <modify-function signature="addAction(QAction *)" remove="all"/>
2099 <modify-function signature="addAction(QString,const QObject*,const char*)">
2099 <modify-function signature="addAction(QString,const QObject*,const char*)">
2100 <remove/>
2100 <remove/>
2101 </modify-function>
2101 </modify-function>
2102
2102
2103 <modify-function signature="initStyleOption(QStyleOptionMenuItem*,const QAction*)const">
2103 <modify-function signature="initStyleOption(QStyleOptionMenuItem*,const QAction*)const">
2104 <access modifier="private"/>
2104 <access modifier="private"/>
2105 </modify-function>
2105 </modify-function>
2106
2106
2107 <modify-function signature="addMenu(QMenu*)">
2107 <modify-function signature="addMenu(QMenu*)">
2108 <modify-argument index="1">
2108 <modify-argument index="1">
2109 <reference-count action="add" variable-name="__rcMenus"/>
2109 <reference-count action="add" variable-name="__rcMenus"/>
2110 </modify-argument>
2110 </modify-argument>
2111 </modify-function>
2111 </modify-function>
2112 <modify-function signature="insertMenu(QAction*,QMenu*)">
2112 <modify-function signature="insertMenu(QAction*,QMenu*)">
2113 <modify-argument index="1">
2113 <modify-argument index="1">
2114 <reference-count action="ignore"/>
2114 <reference-count action="ignore"/>
2115 </modify-argument>
2115 </modify-argument>
2116 <modify-argument index="2">
2116 <modify-argument index="2">
2117 <reference-count action="add" variable-name="__rcMenus"/>
2117 <reference-count action="add" variable-name="__rcMenus"/>
2118 </modify-argument>
2118 </modify-argument>
2119 </modify-function>
2119 </modify-function>
2120 <modify-function signature="insertSeparator(QAction*)">
2120 <modify-function signature="insertSeparator(QAction*)">
2121 <modify-argument index="1">
2121 <modify-argument index="1">
2122 <reference-count action="ignore"/>
2122 <reference-count action="ignore"/>
2123 </modify-argument>
2123 </modify-argument>
2124 </modify-function>
2124 </modify-function>
2125 <modify-function signature="setActiveAction(QAction*)">
2125 <modify-function signature="setActiveAction(QAction*)">
2126 <modify-argument index="1">
2126 <modify-argument index="1">
2127 <reference-count action="ignore"/>
2127 <reference-count action="ignore"/>
2128 </modify-argument>
2128 </modify-argument>
2129 </modify-function>
2129 </modify-function>
2130 <modify-function signature="setCornerWidget(QWidget*,Qt::Corner) ">
2130 <modify-function signature="setCornerWidget(QWidget*,Qt::Corner) ">
2131 <modify-argument index="1">
2131 <modify-argument index="1">
2132 <reference-count action="ignore"/>
2132 <reference-count action="ignore"/>
2133 </modify-argument>
2133 </modify-argument>
2134 </modify-function>
2134 </modify-function>
2135 </object-type>
2135 </object-type>
2136 <object-type name="QMotifStyle">
2136 <object-type name="QMotifStyle">
2137 <modify-function signature="standardPixmap(QStyle::StandardPixmap, const QStyleOption*, const QWidget*)const" remove="all"/> <!--### Obsolete in 4.3-->
2137 <modify-function signature="standardPixmap(QStyle::StandardPixmap, const QStyleOption*, const QWidget*)const" remove="all"/> <!--### Obsolete in 4.3-->
2138 <modify-function signature="standardIconImplementation(QStyle::StandardPixmap, const QStyleOption *, const QWidget *)const" virtual-slot="yes"/>
2138 <modify-function signature="standardIconImplementation(QStyle::StandardPixmap, const QStyleOption *, const QWidget *)const" virtual-slot="yes"/>
2139 </object-type>
2139 </object-type>
2140 <object-type name="QPainterPathStroker"/>
2140 <object-type name="QPainterPathStroker"/>
2141
2141
2142 <object-type name="QPictureIO">
2142 <object-type name="QPictureIO">
2143 <modify-function signature="QPictureIO(QIODevice*,const char*)">
2143 <modify-function signature="QPictureIO(QIODevice*,const char*)">
2144 <access modifier="private"/>
2144 <access modifier="private"/>
2145 <modify-argument index="1">
2145 <modify-argument index="1">
2146 <reference-count action="set" variable-name="__rcDevice"/>
2146 <reference-count action="set" variable-name="__rcDevice"/>
2147 </modify-argument>
2147 </modify-argument>
2148 </modify-function>
2148 </modify-function>
2149
2149
2150 <modify-function signature="setIODevice(QIODevice*)">
2150 <modify-function signature="setIODevice(QIODevice*)">
2151 <modify-argument index="1">
2151 <modify-argument index="1">
2152 <reference-count action="set" variable-name="__rcDevice"/>
2152 <reference-count action="set" variable-name="__rcDevice"/>
2153 </modify-argument>
2153 </modify-argument>
2154 </modify-function>
2154 </modify-function>
2155
2155
2156 <modify-function signature="QPictureIO(QString,const char*)">
2156 <modify-function signature="QPictureIO(QString,const char*)">
2157 <access modifier="private"/>
2157 <access modifier="private"/>
2158 </modify-function>
2158 </modify-function>
2159
2159
2160 <modify-function signature="format()const">
2160 <modify-function signature="format()const">
2161 <access modifier="private"/>
2161 <access modifier="private"/>
2162 <rename to="format_private"/>
2162 <rename to="format_private"/>
2163 </modify-function>
2163 </modify-function>
2164
2164
2165 <modify-function signature="parameters()const">
2165 <modify-function signature="parameters()const">
2166 <access modifier="private"/>
2166 <access modifier="private"/>
2167 <rename to="parameters_private"/>
2167 <rename to="parameters_private"/>
2168 </modify-function>
2168 </modify-function>
2169
2169
2170 <modify-function signature="setFormat(const char*)">
2170 <modify-function signature="setFormat(const char*)">
2171 <access modifier="private"/>
2171 <access modifier="private"/>
2172 </modify-function>
2172 </modify-function>
2173
2173
2174 <modify-function signature="setParameters(const char*)">
2174 <modify-function signature="setParameters(const char*)">
2175 <access modifier="private"/>
2175 <access modifier="private"/>
2176 </modify-function>
2176 </modify-function>
2177
2177
2178
2178
2179 <modify-function signature="QPictureIO(QIODevice*,const char*)">
2179 <modify-function signature="QPictureIO(QIODevice*,const char*)">
2180 <modify-argument index="2">
2180 <modify-argument index="2">
2181 <replace-type modified-type="QString"/>
2181 <replace-type modified-type="QString"/>
2182 <conversion-rule class="native">
2182 <conversion-rule class="native">
2183 <insert-template name="core.convert_string_arg_to_char*"/>
2183 <insert-template name="core.convert_string_arg_to_char*"/>
2184 </conversion-rule>
2184 </conversion-rule>
2185 </modify-argument>
2185 </modify-argument>
2186 </modify-function>
2186 </modify-function>
2187
2187
2188 <modify-function signature="QPictureIO(QString,const char*)">
2188 <modify-function signature="QPictureIO(QString,const char*)">
2189 <modify-argument index="2">
2189 <modify-argument index="2">
2190 <replace-type modified-type="QString"/>
2190 <replace-type modified-type="QString"/>
2191 <conversion-rule class="native">
2191 <conversion-rule class="native">
2192 <insert-template name="core.convert_string_arg_to_char*"/>
2192 <insert-template name="core.convert_string_arg_to_char*"/>
2193 </conversion-rule>
2193 </conversion-rule>
2194 </modify-argument>
2194 </modify-argument>
2195 </modify-function>
2195 </modify-function>
2196
2196
2197 <modify-function signature="setFormat(const char*)">
2197 <modify-function signature="setFormat(const char*)">
2198 <modify-argument index="1">
2198 <modify-argument index="1">
2199 <replace-type modified-type="QString"/>
2199 <replace-type modified-type="QString"/>
2200 <conversion-rule class="native">
2200 <conversion-rule class="native">
2201 <insert-template name="core.convert_string_arg_to_char*"/>
2201 <insert-template name="core.convert_string_arg_to_char*"/>
2202 </conversion-rule>
2202 </conversion-rule>
2203 </modify-argument>
2203 </modify-argument>
2204 </modify-function>
2204 </modify-function>
2205
2205
2206 <modify-function signature="setParameters(const char*)">
2206 <modify-function signature="setParameters(const char*)">
2207 <modify-argument index="1">
2207 <modify-argument index="1">
2208 <replace-type modified-type="QString"/>
2208 <replace-type modified-type="QString"/>
2209 <conversion-rule class="native">
2209 <conversion-rule class="native">
2210 <insert-template name="core.convert_string_arg_to_char*"/>
2210 <insert-template name="core.convert_string_arg_to_char*"/>
2211 </conversion-rule>
2211 </conversion-rule>
2212 </modify-argument>
2212 </modify-argument>
2213 </modify-function>
2213 </modify-function>
2214 </object-type>
2214 </object-type>
2215
2215
2216 <object-type name="QPixmapCache">
2216 <object-type name="QPixmapCache">
2217 <modify-function signature="find(QString)">
2217 <modify-function signature="find(QString)">
2218 <remove/>
2218 <remove/>
2219 </modify-function>
2219 </modify-function>
2220
2220
2221 <modify-function signature="find(QString,QPixmap&amp;)">
2221 <modify-function signature="find(QString,QPixmap&amp;)">
2222 <access modifier="private"/>
2222 <access modifier="private"/>
2223 </modify-function>
2223 </modify-function>
2224 </object-type>
2224 </object-type>
2225 <object-type name="QPlastiqueStyle">
2225 <object-type name="QPlastiqueStyle">
2226 <modify-function signature="standardPixmap(QStyle::StandardPixmap, const QStyleOption*, const QWidget*)const" remove="all"/> <!--### Obsolete in 4.3-->
2226 <modify-function signature="standardPixmap(QStyle::StandardPixmap, const QStyleOption*, const QWidget*)const" remove="all"/> <!--### Obsolete in 4.3-->
2227 <modify-function signature="standardIconImplementation(QStyle::StandardPixmap, const QStyleOption *, const QWidget *)const" virtual-slot="yes"/>
2227 <modify-function signature="standardIconImplementation(QStyle::StandardPixmap, const QStyleOption *, const QWidget *)const" virtual-slot="yes"/>
2228 <modify-function signature="layoutSpacingImplementation(QSizePolicy::ControlType, QSizePolicy::ControlType, Qt::Orientation, const QStyleOption *, const QWidget *) const" virtual-slot="yes"/>
2228 <modify-function signature="layoutSpacingImplementation(QSizePolicy::ControlType, QSizePolicy::ControlType, Qt::Orientation, const QStyleOption *, const QWidget *) const" virtual-slot="yes"/>
2229 </object-type>
2229 </object-type>
2230 <object-type name="QPrintDialog"/>
2230 <object-type name="QPrintDialog"/>
2231 <object-type name="QPrintEngine"/>
2231 <object-type name="QPrintEngine"/>
2232 <object-type name="QProgressBar">
2232 <object-type name="QProgressBar">
2233 <modify-function signature="initStyleOption(QStyleOptionProgressBar*)const">
2233 <modify-function signature="initStyleOption(QStyleOptionProgressBar*)const">
2234 <access modifier="private"/>
2234 <access modifier="private"/>
2235 </modify-function>
2235 </modify-function>
2236 </object-type>
2236 </object-type>
2237 <object-type name="QPushButton">
2237 <object-type name="QPushButton">
2238 <modify-function signature="initStyleOption(QStyleOptionButton*)const">
2238 <modify-function signature="initStyleOption(QStyleOptionButton*)const">
2239 <access modifier="private"/>
2239 <access modifier="private"/>
2240 </modify-function>
2240 </modify-function>
2241
2241
2242 <modify-function signature="setMenu(QMenu*)">
2242 <modify-function signature="setMenu(QMenu*)">
2243 <modify-argument index="1">
2243 <modify-argument index="1">
2244 <reference-count action="set" variable-name="__rcMenu"/>
2244 <reference-count action="set" variable-name="__rcMenu"/>
2245 </modify-argument>
2245 </modify-argument>
2246 </modify-function>
2246 </modify-function>
2247 </object-type>
2247 </object-type>
2248 <object-type name="QReadWriteLock"/>
2248 <object-type name="QReadWriteLock"/>
2249 <object-type name="QRegExpValidator"/>
2249 <object-type name="QRegExpValidator"/>
2250 <object-type name="QScrollArea">
2250 <object-type name="QScrollArea">
2251 <modify-function signature="setWidget(QWidget*)">
2251 <modify-function signature="setWidget(QWidget*)">
2252 <modify-argument index="1">
2252 <modify-argument index="1">
2253 <reference-count action="ignore"/>
2253 <reference-count action="ignore"/>
2254 </modify-argument>
2254 </modify-argument>
2255 </modify-function>
2255 </modify-function>
2256 </object-type>
2256 </object-type>
2257 <object-type name="QSessionManager"/>
2257 <object-type name="QSessionManager"/>
2258 <object-type name="QShortcut">
2258 <object-type name="QShortcut">
2259 <modify-function signature="QShortcut(QKeySequence,QWidget*,const char*,const char*,Qt::ShortcutContext)">
2259 <modify-function signature="QShortcut(QKeySequence,QWidget*,const char*,const char*,Qt::ShortcutContext)">
2260 <access modifier="private"/>
2260 <access modifier="private"/>
2261 <modify-argument index="3">
2261 <modify-argument index="3">
2262 <remove-default-expression/>
2262 <remove-default-expression/>
2263 </modify-argument>
2263 </modify-argument>
2264 <modify-argument index="4">
2264 <modify-argument index="4">
2265 <remove-default-expression/>
2265 <remove-default-expression/>
2266 </modify-argument>
2266 </modify-argument>
2267 <modify-argument index="5">
2267 <modify-argument index="5">
2268 <remove-default-expression/>
2268 <remove-default-expression/>
2269 </modify-argument>
2269 </modify-argument>
2270 </modify-function>
2270 </modify-function>
2271 </object-type>
2271 </object-type>
2272 <object-type name="QSizeGrip"/>
2272 <object-type name="QSizeGrip"/>
2273 <object-type name="QSound"/>
2273 <object-type name="QSound"/>
2274 <object-type name="QSpacerItem"/>
2274 <object-type name="QSpacerItem"/>
2275 <object-type name="QStandardItem">
2275 <object-type name="QStandardItem">
2276 <modify-function signature="operator=(QStandardItem)" remove="all"/>
2276 <modify-function signature="operator=(QStandardItem)" remove="all"/>
2277 <modify-function signature="operator&lt;(QStandardItem)const">
2277 <modify-function signature="operator&lt;(QStandardItem)const">
2278 <modify-argument index="1" invalidate-after-use="yes"/>
2278 <modify-argument index="1" invalidate-after-use="yes"/>
2279 </modify-function>
2279 </modify-function>
2280 <modify-function signature="read(QDataStream&amp;)">
2280 <modify-function signature="read(QDataStream&amp;)">
2281 <modify-argument index="1" invalidate-after-use="yes"/>
2281 <modify-argument index="1" invalidate-after-use="yes"/>
2282 </modify-function>
2282 </modify-function>
2283 <modify-function signature="write(QDataStream&amp;)const">
2283 <modify-function signature="write(QDataStream&amp;)const">
2284 <modify-argument index="1" invalidate-after-use="yes"/>
2284 <modify-argument index="1" invalidate-after-use="yes"/>
2285 </modify-function>
2285 </modify-function>
2286
2286
2287
2287
2288 <modify-function signature="read(QDataStream &amp;)" remove="all"/>
2288 <modify-function signature="read(QDataStream &amp;)" remove="all"/>
2289 <modify-function signature="write(QDataStream &amp;)const" remove="all"/>
2289 <modify-function signature="write(QDataStream &amp;)const" remove="all"/>
2290 <modify-function signature="operator=(QStandardItem)" remove="all"/>
2290 <modify-function signature="operator=(QStandardItem)" remove="all"/>
2291 <modify-function signature="operator&lt;(QStandardItem)const" remove="all"/>
2291 <modify-function signature="operator&lt;(QStandardItem)const" remove="all"/>
2292 </object-type>
2292 </object-type>
2293 <object-type name="QStatusBar">
2293 <object-type name="QStatusBar">
2294 <modify-function signature="addPermanentWidget(QWidget *, int)">
2294 <modify-function signature="addPermanentWidget(QWidget *, int)">
2295 <modify-argument index="1">
2295 <modify-argument index="1">
2296 <reference-count action="ignore"/>
2296 <reference-count action="ignore"/>
2297 </modify-argument>
2297 </modify-argument>
2298 </modify-function>
2298 </modify-function>
2299 <modify-function signature="addWidget(QWidget *, int)">
2299 <modify-function signature="addWidget(QWidget *, int)">
2300 <modify-argument index="1">
2300 <modify-argument index="1">
2301 <reference-count action="ignore"/>
2301 <reference-count action="ignore"/>
2302 </modify-argument>
2302 </modify-argument>
2303 </modify-function>
2303 </modify-function>
2304 <modify-function signature="removeWidget(QWidget *)">
2304 <modify-function signature="removeWidget(QWidget *)">
2305 <modify-argument index="1">
2305 <modify-argument index="1">
2306 <reference-count action="ignore"/>
2306 <reference-count action="ignore"/>
2307 </modify-argument>
2307 </modify-argument>
2308 </modify-function>
2308 </modify-function>
2309 <modify-function signature="insertPermanentWidget(int, QWidget *, int)">
2309 <modify-function signature="insertPermanentWidget(int, QWidget *, int)">
2310 <modify-argument index="2">
2310 <modify-argument index="2">
2311 <reference-count action="ignore"/>
2311 <reference-count action="ignore"/>
2312 </modify-argument>
2312 </modify-argument>
2313 </modify-function>
2313 </modify-function>
2314 <modify-function signature="insertWidget(int, QWidget *, int)">
2314 <modify-function signature="insertWidget(int, QWidget *, int)">
2315 <modify-argument index="2">
2315 <modify-argument index="2">
2316 <reference-count action="ignore"/>
2316 <reference-count action="ignore"/>
2317 </modify-argument>
2317 </modify-argument>
2318 </modify-function>
2318 </modify-function>
2319 </object-type>
2319 </object-type>
2320 <object-type name="QStringListModel"/>
2320 <object-type name="QStringListModel"/>
2321 <object-type name="QStyleFactory"/>
2321 <object-type name="QStyleFactory"/>
2322 <object-type name="QStyleHintReturn"/>
2322 <object-type name="QStyleHintReturn"/>
2323 <object-type name="QStyleHintReturnVariant"/>
2323 <object-type name="QStyleHintReturnVariant"/>
2324 <object-type name="QStyleHintReturnMask"/>
2324 <object-type name="QStyleHintReturnMask"/>
2325 <object-type name="QStylePainter" delete-in-main-thread="yes"/>
2325 <object-type name="QStylePainter" delete-in-main-thread="yes"/>
2326 <object-type name="QSyntaxHighlighter">
2326 <object-type name="QSyntaxHighlighter">
2327 <modify-function signature="setCurrentBlockUserData(QTextBlockUserData*)">
2327 <modify-function signature="setCurrentBlockUserData(QTextBlockUserData*)">
2328 <modify-argument index="1">
2328 <modify-argument index="1">
2329 <define-ownership class="java" owner="c++"/>
2329 <define-ownership class="java" owner="c++"/>
2330 </modify-argument>
2330 </modify-argument>
2331 </modify-function>
2331 </modify-function>
2332 <modify-function signature="setDocument(QTextDocument*)">
2332 <modify-function signature="setDocument(QTextDocument*)">
2333 <modify-argument index="1">
2333 <modify-argument index="1">
2334 <reference-count action="set" variable-name="__rcDocument"/>
2334 <reference-count action="set" variable-name="__rcDocument"/>
2335 </modify-argument>
2335 </modify-argument>
2336 </modify-function>
2336 </modify-function>
2337
2337
2338 </object-type>
2338 </object-type>
2339 <object-type name="QSystemTrayIcon">
2339 <object-type name="QSystemTrayIcon">
2340 <modify-function signature="setContextMenu(QMenu*)">
2340 <modify-function signature="setContextMenu(QMenu*)">
2341 <modify-argument index="1">
2341 <modify-argument index="1">
2342 <reference-count action="set" variable-name="__rcContextMenu"/>
2342 <reference-count action="set" variable-name="__rcContextMenu"/>
2343 </modify-argument>
2343 </modify-argument>
2344 </modify-function>
2344 </modify-function>
2345 </object-type>
2345 </object-type>
2346 <object-type name="QTableView">
2346 <object-type name="QTableView">
2347 <modify-function signature="setHorizontalHeader(QHeaderView*)">
2347 <modify-function signature="setHorizontalHeader(QHeaderView*)">
2348 <modify-argument index="1">
2348 <modify-argument index="1">
2349 <reference-count action="ignore"/>
2349 <reference-count action="ignore"/>
2350 </modify-argument>
2350 </modify-argument>
2351 </modify-function>
2351 </modify-function>
2352 <modify-function signature="setVerticalHeader(QHeaderView*)">
2352 <modify-function signature="setVerticalHeader(QHeaderView*)">
2353 <modify-argument index="1">
2353 <modify-argument index="1">
2354 <reference-count action="ignore"/>
2354 <reference-count action="ignore"/>
2355 </modify-argument>
2355 </modify-argument>
2356 </modify-function>
2356 </modify-function>
2357 <modify-function signature="setModel(QAbstractItemModel*)">
2357 <modify-function signature="setModel(QAbstractItemModel*)">
2358 <modify-argument index="1">
2358 <modify-argument index="1">
2359 <reference-count declare-variable="QAbstractItemView" action="set" variable-name="__rcItemModel"/>
2359 <reference-count declare-variable="QAbstractItemView" action="set" variable-name="__rcItemModel"/>
2360 </modify-argument>
2360 </modify-argument>
2361 </modify-function>
2361 </modify-function>
2362 <modify-function signature="setSelectionModel(QItemSelectionModel*)">
2362 <modify-function signature="setSelectionModel(QItemSelectionModel*)">
2363 <modify-argument index="1">
2363 <modify-argument index="1">
2364 <no-null-pointer/>
2364 <no-null-pointer/>
2365 <reference-count declare-variable="QAbstractItemView" action="set" variable-name="__rcItemSelectionModel"/>
2365 <reference-count declare-variable="QAbstractItemView" action="set" variable-name="__rcItemSelectionModel"/>
2366 </modify-argument>
2366 </modify-argument>
2367 </modify-function>
2367 </modify-function>
2368
2368
2369 <modify-function signature="sortByColumn(int)" remove="all"/> <!--### Obsolete in 4.3-->
2369 <modify-function signature="sortByColumn(int)" remove="all"/> <!--### Obsolete in 4.3-->
2370 </object-type>
2370 </object-type>
2371 <object-type name="QTextBlockGroup" delete-in-main-thread="yes"/>
2371 <object-type name="QTextBlockGroup" delete-in-main-thread="yes"/>
2372 <object-type name="QTextBlockUserData" delete-in-main-thread="yes"/>
2372 <object-type name="QTextBlockUserData" delete-in-main-thread="yes"/>
2373 <object-type name="QTextItem" delete-in-main-thread="yes"/>
2373 <object-type name="QTextItem" delete-in-main-thread="yes"/>
2374 <object-type name="QTextList" delete-in-main-thread="yes">
2374 <object-type name="QTextList" delete-in-main-thread="yes">
2375 <modify-function signature="format()const" rename="textListFormat"/>
2375 <modify-function signature="format()const" rename="textListFormat"/>
2376
2376
2377 <modify-function signature="isEmpty()const" remove="all"/> <!--### Obsolete in 4.3-->
2377 <modify-function signature="isEmpty()const" remove="all"/> <!--### Obsolete in 4.3-->
2378 </object-type>
2378 </object-type>
2379 <object-type name="QTextObject" delete-in-main-thread="yes"/>
2379 <object-type name="QTextObject" delete-in-main-thread="yes"/>
2380 <object-type name="QTextObjectInterface" delete-in-main-thread="yes">
2380 <object-type name="QTextObjectInterface" delete-in-main-thread="yes">
2381 <modify-function signature="drawObject(QPainter*,QRectF,QTextDocument*,int,QTextFormat)">
2381 <modify-function signature="drawObject(QPainter*,QRectF,QTextDocument*,int,QTextFormat)">
2382 <modify-argument index="1" invalidate-after-use="yes"/>
2382 <modify-argument index="1" invalidate-after-use="yes"/>
2383 </modify-function>
2383 </modify-function>
2384 </object-type>
2384 </object-type>
2385 <object-type name="QTimeEdit"/>
2385 <object-type name="QTimeEdit"/>
2386 <object-type name="QToolBox">
2386 <object-type name="QToolBox">
2387 <modify-function signature="addItem(QWidget*,QString)">
2387 <modify-function signature="addItem(QWidget*,QString)">
2388 <modify-argument index="1">
2388 <modify-argument index="1">
2389 <reference-count action="ignore"/>
2389 <reference-count action="ignore"/>
2390 </modify-argument>
2390 </modify-argument>
2391 </modify-function>
2391 </modify-function>
2392 <modify-function signature="addItem(QWidget*,QIcon,QString)">
2392 <modify-function signature="addItem(QWidget*,QIcon,QString)">
2393 <modify-argument index="1">
2393 <modify-argument index="1">
2394 <reference-count action="ignore"/>
2394 <reference-count action="ignore"/>
2395 </modify-argument>
2395 </modify-argument>
2396 </modify-function>
2396 </modify-function>
2397 <modify-function signature="insertItem(int,QWidget*,QIcon,QString)">
2397 <modify-function signature="insertItem(int,QWidget*,QIcon,QString)">
2398 <modify-argument index="2">
2398 <modify-argument index="2">
2399 <reference-count action="ignore"/>
2399 <reference-count action="ignore"/>
2400 </modify-argument>
2400 </modify-argument>
2401 </modify-function>
2401 </modify-function>
2402 <modify-function signature="insertItem(int,QWidget*,QString)">
2402 <modify-function signature="insertItem(int,QWidget*,QString)">
2403 <modify-argument index="2">
2403 <modify-argument index="2">
2404 <reference-count action="ignore"/>
2404 <reference-count action="ignore"/>
2405 </modify-argument>
2405 </modify-argument>
2406 </modify-function>
2406 </modify-function>
2407 <modify-function signature="setCurrentWidget(QWidget*) ">
2407 <modify-function signature="setCurrentWidget(QWidget*) ">
2408 <modify-argument index="1">
2408 <modify-argument index="1">
2409 <reference-count action="ignore"/>
2409 <reference-count action="ignore"/>
2410 </modify-argument>
2410 </modify-argument>
2411 </modify-function>
2411 </modify-function>
2412 </object-type>
2412 </object-type>
2413 <object-type name="QToolButton">
2413 <object-type name="QToolButton">
2414 <modify-function signature="initStyleOption(QStyleOptionToolButton*)const">
2414 <modify-function signature="initStyleOption(QStyleOptionToolButton*)const">
2415 <access modifier="private"/>
2415 <access modifier="private"/>
2416 </modify-function>
2416 </modify-function>
2417
2417
2418 <modify-function signature="setDefaultAction(QAction *)">
2418 <modify-function signature="setDefaultAction(QAction *)">
2419 <modify-argument index="1">
2419 <modify-argument index="1">
2420 <reference-count action="set" variable-name="__rcDefaultAction"/>
2420 <reference-count action="set" variable-name="__rcDefaultAction"/>
2421 </modify-argument>
2421 </modify-argument>
2422 </modify-function>
2422 </modify-function>
2423 <modify-function signature="setMenu(QMenu *)">
2423 <modify-function signature="setMenu(QMenu *)">
2424 <modify-argument index="1">
2424 <modify-argument index="1">
2425 <reference-count action="set" variable-name="__rcMenu"/>
2425 <reference-count action="set" variable-name="__rcMenu"/>
2426 </modify-argument>
2426 </modify-argument>
2427 </modify-function>
2427 </modify-function>
2428 </object-type>
2428 </object-type>
2429 <object-type name="QToolTip"/>
2429 <object-type name="QToolTip"/>
2430 <object-type name="QTreeView">
2430 <object-type name="QTreeView">
2431
2431
2432 <modify-function signature="drawBranches(QPainter*,QRect,QModelIndex)const">
2432 <modify-function signature="drawBranches(QPainter*,QRect,QModelIndex)const">
2433 <modify-argument index="1" invalidate-after-use="yes"/>
2433 <modify-argument index="1" invalidate-after-use="yes"/>
2434 </modify-function>
2434 </modify-function>
2435 <modify-function signature="drawRow(QPainter*,QStyleOptionViewItem,QModelIndex)const">
2435 <modify-function signature="drawRow(QPainter*,QStyleOptionViewItem,QModelIndex)const">
2436 <modify-argument index="1" invalidate-after-use="yes"/>
2436 <modify-argument index="1" invalidate-after-use="yes"/>
2437 </modify-function>
2437 </modify-function>
2438
2438
2439 <modify-function signature="setHeader(QHeaderView*)">
2439 <modify-function signature="setHeader(QHeaderView*)">
2440 <modify-argument index="1">
2440 <modify-argument index="1">
2441 <reference-count action="ignore"/>
2441 <reference-count action="ignore"/>
2442 </modify-argument>
2442 </modify-argument>
2443 </modify-function>
2443 </modify-function>
2444 <modify-function signature="setModel(QAbstractItemModel*)">
2444 <modify-function signature="setModel(QAbstractItemModel*)">
2445 <modify-argument index="1">
2445 <modify-argument index="1">
2446 <reference-count declare-variable="QAbstractItemView" action="set" variable-name="__rcItemModel"/>
2446 <reference-count declare-variable="QAbstractItemView" action="set" variable-name="__rcItemModel"/>
2447 </modify-argument>
2447 </modify-argument>
2448 </modify-function>
2448 </modify-function>
2449 <modify-function signature="setSelectionModel(QItemSelectionModel*)">
2449 <modify-function signature="setSelectionModel(QItemSelectionModel*)">
2450 <modify-argument index="1">
2450 <modify-argument index="1">
2451 <no-null-pointer/>
2451 <no-null-pointer/>
2452 <reference-count declare-variable="QAbstractItemView" action="set" variable-name="__rcItemSelectionModel"/>
2452 <reference-count declare-variable="QAbstractItemView" action="set" variable-name="__rcItemSelectionModel"/>
2453 </modify-argument>
2453 </modify-argument>
2454 </modify-function>
2454 </modify-function>
2455
2455
2456 <modify-function signature="sortByColumn(int)" remove="all"/> <!--### Obsolete in 4.3-->
2456 <modify-function signature="sortByColumn(int)" remove="all"/> <!--### Obsolete in 4.3-->
2457 </object-type>
2457 </object-type>
2458 <object-type name="QUndoCommand">
2458 <object-type name="QUndoCommand">
2459 <modify-function signature="mergeWith(const QUndoCommand*)">
2459 <modify-function signature="mergeWith(const QUndoCommand*)">
2460 <modify-argument index="1" invalidate-after-use="yes"/>
2460 <modify-argument index="1" invalidate-after-use="yes"/>
2461 </modify-function>
2461 </modify-function>
2462 </object-type>
2462 </object-type>
2463 <object-type name="QUndoGroup">
2463 <object-type name="QUndoGroup">
2464 <modify-function signature="addStack(QUndoStack*)">
2464 <modify-function signature="addStack(QUndoStack*)">
2465 <modify-argument index="1">
2465 <modify-argument index="1">
2466 <reference-count action="add" variable-name="__rcStacks"/>
2466 <reference-count action="add" variable-name="__rcStacks"/>
2467 </modify-argument>
2467 </modify-argument>
2468 </modify-function>
2468 </modify-function>
2469 <modify-function signature="removeStack(QUndoStack*)">
2469 <modify-function signature="removeStack(QUndoStack*)">
2470 <modify-argument index="1">
2470 <modify-argument index="1">
2471 <reference-count action="remove" variable-name="__rcStacks"/>
2471 <reference-count action="remove" variable-name="__rcStacks"/>
2472 </modify-argument>
2472 </modify-argument>
2473 </modify-function>
2473 </modify-function>
2474 <modify-function signature="setActiveStack(QUndoStack*)">
2474 <modify-function signature="setActiveStack(QUndoStack*)">
2475 <modify-argument index="1">
2475 <modify-argument index="1">
2476 <reference-count action="ignore"/>
2476 <reference-count action="ignore"/>
2477 </modify-argument>
2477 </modify-argument>
2478 </modify-function>
2478 </modify-function>
2479 </object-type>
2479 </object-type>
2480
2480
2481 <object-type name="QUndoStack"/>
2481 <object-type name="QUndoStack"/>
2482
2482
2483 <object-type name="QUndoView">
2483 <object-type name="QUndoView">
2484 <modify-function signature="setGroup(QUndoGroup *)">
2484 <modify-function signature="setGroup(QUndoGroup *)">
2485 <modify-argument index="1">
2485 <modify-argument index="1">
2486 <reference-count action="set" variable-name="__rcGroupOrStack"/>
2486 <reference-count action="set" variable-name="__rcGroupOrStack"/>
2487 </modify-argument>
2487 </modify-argument>
2488 </modify-function>
2488 </modify-function>
2489 <modify-function signature="setStack(QUndoStack *)">
2489 <modify-function signature="setStack(QUndoStack *)">
2490 <modify-argument index="1">
2490 <modify-argument index="1">
2491 <reference-count action="set" variable-name="__rcGroupOrStack"/>
2491 <reference-count action="set" variable-name="__rcGroupOrStack"/>
2492 </modify-argument>
2492 </modify-argument>
2493 </modify-function>
2493 </modify-function>
2494 <modify-function signature="QUndoView(QUndoGroup *,QWidget *)">
2494 <modify-function signature="QUndoView(QUndoGroup *,QWidget *)">
2495 <modify-argument index="1">
2495 <modify-argument index="1">
2496 <reference-count action="set" variable-name="__rcGroupOrStack"/>
2496 <reference-count action="set" variable-name="__rcGroupOrStack"/>
2497 </modify-argument>
2497 </modify-argument>
2498 </modify-function>
2498 </modify-function>
2499 <modify-function signature="QUndoView(QUndoStack *,QWidget *)">
2499 <modify-function signature="QUndoView(QUndoStack *,QWidget *)">
2500 <modify-argument index="1">
2500 <modify-argument index="1">
2501 <reference-count action="set" variable-name="__rcGroupOrStack"/>
2501 <reference-count action="set" variable-name="__rcGroupOrStack"/>
2502 </modify-argument>
2502 </modify-argument>
2503 </modify-function>
2503 </modify-function>
2504 </object-type>
2504 </object-type>
2505 <object-type name="QVBoxLayout"/>
2505 <object-type name="QVBoxLayout"/>
2506 <object-type name="QValidator"/>
2506 <object-type name="QValidator"/>
2507 <object-type name="QWhatsThis"/>
2507 <object-type name="QWhatsThis"/>
2508 <object-type name="QWidgetAction">
2508 <object-type name="QWidgetAction">
2509 <modify-function signature="createWidget(QWidget*)">
2509 <modify-function signature="createWidget(QWidget*)">
2510 <modify-argument index="return">
2510 <modify-argument index="return">
2511 <define-ownership class="shell" owner="c++"/>
2511 <define-ownership class="shell" owner="c++"/>
2512 </modify-argument>
2512 </modify-argument>
2513 </modify-function>
2513 </modify-function>
2514 </object-type>
2514 </object-type>
2515 <object-type name="QWidgetItem"/>
2515 <object-type name="QWidgetItem"/>
2516 <object-type name="QWindowsStyle">
2516 <object-type name="QWindowsStyle">
2517 <modify-function signature="standardPixmap(QStyle::StandardPixmap, const QStyleOption*, const QWidget*)const" remove="all"/> <!--### Obsolete in 4.3-->
2517 <modify-function signature="standardPixmap(QStyle::StandardPixmap, const QStyleOption*, const QWidget*)const" remove="all"/> <!--### Obsolete in 4.3-->
2518 <modify-function signature="standardIconImplementation(QStyle::StandardPixmap, const QStyleOption *, const QWidget *)const" virtual-slot="yes"/>
2518 <modify-function signature="standardIconImplementation(QStyle::StandardPixmap, const QStyleOption *, const QWidget *)const" virtual-slot="yes"/>
2519 </object-type>
2519 </object-type>
2520 <object-type name="QWorkspace">
2520 <object-type name="QWorkspace">
2521 <modify-function signature="addWindow(QWidget*,QFlags&lt;Qt::WindowType&gt;)">
2521 <modify-function signature="addWindow(QWidget*,QFlags&lt;Qt::WindowType&gt;)">
2522 <modify-argument index="1">
2522 <modify-argument index="1">
2523 <reference-count action="ignore"/>
2523 <reference-count action="ignore"/>
2524 </modify-argument>
2524 </modify-argument>
2525 </modify-function>
2525 </modify-function>
2526 <modify-function signature="setActiveWindow(QWidget*)">
2526 <modify-function signature="setActiveWindow(QWidget*)">
2527 <modify-argument index="1">
2527 <modify-argument index="1">
2528 <reference-count action="ignore"/>
2528 <reference-count action="ignore"/>
2529 </modify-argument>
2529 </modify-argument>
2530 </modify-function>
2530 </modify-function>
2531 </object-type>
2531 </object-type>
2532
2532
2533 <object-type name="QActionEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::ActionAdded || %1-&gt;type() == QEvent::ActionRemoved || %1-&gt;type() == QEvent::ActionChanged"/>
2533 <object-type name="QActionEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::ActionAdded || %1-&gt;type() == QEvent::ActionRemoved || %1-&gt;type() == QEvent::ActionChanged"/>
2534 <object-type name="QClipboardEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::Clipboard"/>
2534 <object-type name="QClipboardEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::Clipboard"/>
2535 <object-type name="QCloseEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::Close"/>
2535 <object-type name="QCloseEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::Close"/>
2536 <object-type name="QContextMenuEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::ContextMenu"/>
2536 <object-type name="QContextMenuEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::ContextMenu"/>
2537 <object-type name="QDragEnterEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::DragEnter"/>
2537 <object-type name="QDragEnterEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::DragEnter"/>
2538 <object-type name="QDragLeaveEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::DragLeave"/>
2538 <object-type name="QDragLeaveEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::DragLeave"/>
2539 <object-type name="QDragMoveEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::DragMove">
2539 <object-type name="QDragMoveEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::DragMove">
2540 <modify-function signature="accept()" remove="all"/>
2540 <modify-function signature="accept()" remove="all"/>
2541 <modify-function signature="ignore()" remove="all"/>
2541 <modify-function signature="ignore()" remove="all"/>
2542 </object-type>
2542 </object-type>
2543 <object-type name="QDropEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::Drop">
2543 <object-type name="QDropEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::Drop">
2544 <modify-function signature="encodedData(const char*)const">
2544 <modify-function signature="encodedData(const char*)const">
2545 <remove/>
2545 <remove/>
2546 </modify-function>
2546 </modify-function>
2547
2547
2548 <modify-function signature="format(int)const">
2548 <modify-function signature="format(int)const">
2549 <remove/>
2549 <remove/>
2550 </modify-function>
2550 </modify-function>
2551
2551
2552 <modify-function signature="provides(const char*)const">
2552 <modify-function signature="provides(const char*)const">
2553 <remove/>
2553 <remove/>
2554 </modify-function>
2554 </modify-function>
2555
2555
2556
2556
2557 </object-type>
2557 </object-type>
2558 <object-type name="QFileOpenEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::FileOpen"/>
2558 <object-type name="QFileOpenEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::FileOpen"/>
2559 <object-type name="QFocusEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::FocusIn || %1-&gt;type() == QEvent::FocusOut">
2559 <object-type name="QFocusEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::FocusIn || %1-&gt;type() == QEvent::FocusOut">
2560 <modify-function signature="reason()const">
2560 <modify-function signature="reason()const">
2561 <remove/>
2561 <remove/>
2562 </modify-function>
2562 </modify-function>
2563 </object-type>
2563 </object-type>
2564
2564
2565 <object-type name="QGraphicsSceneContextMenuEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::GraphicsSceneContextMenu"/>
2565 <object-type name="QGraphicsSceneContextMenuEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::GraphicsSceneContextMenu"/>
2566 <object-type name="QGraphicsSceneDragDropEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::GraphicsSceneDragEnter || %1-&gt;type() == QEvent::GraphicsSceneDragLeave || %1-&gt;type() == QEvent::GraphicsSceneDragMove || %1-&gt;type() == QEvent::GraphicsSceneDrop">
2566 <object-type name="QGraphicsSceneDragDropEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::GraphicsSceneDragEnter || %1-&gt;type() == QEvent::GraphicsSceneDragLeave || %1-&gt;type() == QEvent::GraphicsSceneDragMove || %1-&gt;type() == QEvent::GraphicsSceneDrop">
2567 <modify-function signature="setMimeData(const QMimeData *)">
2567 <modify-function signature="setMimeData(const QMimeData *)">
2568 <remove/>
2568 <remove/>
2569 </modify-function>
2569 </modify-function>
2570 <modify-function signature="setSource(QWidget *)">
2570 <modify-function signature="setSource(QWidget *)">
2571 <remove/>
2571 <remove/>
2572 </modify-function>
2572 </modify-function>
2573 </object-type>
2573 </object-type>
2574 <object-type name="QGraphicsSceneEvent">
2574 <object-type name="QGraphicsSceneEvent">
2575 <modify-function signature="setWidget(QWidget *)">
2575 <modify-function signature="setWidget(QWidget *)">
2576 <remove/>
2576 <remove/>
2577 </modify-function>
2577 </modify-function>
2578 </object-type>
2578 </object-type>
2579 <object-type name="QGraphicsSceneMoveEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::GraphicsSceneMove"/>
2579 <object-type name="QGraphicsSceneMoveEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::GraphicsSceneMove"/>
2580 <object-type name="QGraphicsSceneResizeEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::GraphicsSceneResize"/>
2580 <object-type name="QGraphicsSceneResizeEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::GraphicsSceneResize"/>
2581 <object-type name="QGraphicsSceneHelpEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::GraphicsSceneHelp"/>
2581 <object-type name="QGraphicsSceneHelpEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::GraphicsSceneHelp"/>
2582 <object-type name="QGraphicsSceneHoverEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::GraphicsSceneHoverEnter || %1-&gt;type() == QEvent::GraphicsSceneHoverLeave || %1-&gt;type() == QEvent::GraphicsSceneHoverMove"/>
2582 <object-type name="QGraphicsSceneHoverEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::GraphicsSceneHoverEnter || %1-&gt;type() == QEvent::GraphicsSceneHoverLeave || %1-&gt;type() == QEvent::GraphicsSceneHoverMove"/>
2583 <object-type name="QGraphicsSceneMouseEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::GraphicsSceneMouseDoubleClick || %1-&gt;type() == QEvent::GraphicsSceneMouseMove || %1-&gt;type() == QEvent::GraphicsSceneMousePress || %1-&gt;type() == QEvent::GraphicsSceneMouseRelease"/>
2583 <object-type name="QGraphicsSceneMouseEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::GraphicsSceneMouseDoubleClick || %1-&gt;type() == QEvent::GraphicsSceneMouseMove || %1-&gt;type() == QEvent::GraphicsSceneMousePress || %1-&gt;type() == QEvent::GraphicsSceneMouseRelease"/>
2584 <object-type name="QGraphicsSceneWheelEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::GraphicsSceneWheel"/>
2584 <object-type name="QGraphicsSceneWheelEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::GraphicsSceneWheel"/>
2585 <object-type name="QHelpEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::ToolTip || %1-&gt;type() == QEvent::WhatsThis"/>
2585 <object-type name="QHelpEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::ToolTip || %1-&gt;type() == QEvent::WhatsThis"/>
2586 <object-type name="QHideEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::Hide"/>
2586 <object-type name="QHideEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::Hide"/>
2587 <object-type name="QHoverEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::HoverEnter || %1-&gt;type() == QEvent::HoverLeave || %1-&gt;type() == QEvent::HoverMove"/>
2587 <object-type name="QHoverEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::HoverEnter || %1-&gt;type() == QEvent::HoverLeave || %1-&gt;type() == QEvent::HoverMove"/>
2588 <object-type name="QIconDragEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::IconDrag"/>
2588 <object-type name="QIconDragEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::IconDrag"/>
2589 <object-type name="QInputMethodEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::InputMethod"/>
2589 <object-type name="QInputMethodEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::InputMethod"/>
2590 <object-type name="QMoveEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::Move"/>
2590 <object-type name="QMoveEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::Move"/>
2591 <object-type name="QResizeEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::Resize"/>
2591 <object-type name="QResizeEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::Resize"/>
2592 <object-type name="QShortcutEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::Shortcut">
2592 <object-type name="QShortcutEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::Shortcut">
2593 <!-- All these have const overloads that are used instead -->
2593 <!-- All these have const overloads that are used instead -->
2594 <modify-function signature="isAmbiguous()">
2594 <modify-function signature="isAmbiguous()">
2595 <remove/>
2595 <remove/>
2596 </modify-function>
2596 </modify-function>
2597 <modify-function signature="shortcutId()">
2597 <modify-function signature="shortcutId()">
2598 <remove/>
2598 <remove/>
2599 </modify-function>
2599 </modify-function>
2600 <modify-function signature="key()">
2600 <modify-function signature="key()">
2601 <remove/>
2601 <remove/>
2602 </modify-function>
2602 </modify-function>
2603 </object-type>
2603 </object-type>
2604 <object-type name="QShowEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::Show"/>
2604 <object-type name="QShowEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::Show"/>
2605 <object-type name="QStatusTipEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::StatusTip"/>
2605 <object-type name="QStatusTipEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::StatusTip"/>
2606 <object-type name="QTabletEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::TabletMove || %1-&gt;type() == QEvent::TabletPress || %1-&gt;type() == QEvent::TabletRelease"/>
2606 <object-type name="QTabletEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::TabletMove || %1-&gt;type() == QEvent::TabletPress || %1-&gt;type() == QEvent::TabletRelease"/>
2607 <object-type name="QToolBarChangeEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::ToolBarChange"/>
2607 <object-type name="QToolBarChangeEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::ToolBarChange"/>
2608 <object-type name="QWhatsThisClickedEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::WhatsThisClicked"/>
2608 <object-type name="QWhatsThisClickedEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::WhatsThisClicked"/>
2609 <object-type name="QWheelEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::Wheel"/>
2609 <object-type name="QWheelEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::Wheel"/>
2610 <object-type name="QWindowStateChangeEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::WindowStateChange"/>
2610 <object-type name="QWindowStateChangeEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::WindowStateChange"/>
2611 <object-type name="QDragResponseEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::DragResponse"/>
2611 <object-type name="QDragResponseEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::DragResponse"/>
2612 <object-type name="QInputEvent">
2612 <object-type name="QInputEvent">
2613 <modify-function signature="modifiers()const" access="non-final"/>
2613 <modify-function signature="modifiers()const" access="non-final"/>
2614 </object-type>
2614 </object-type>
2615 <object-type name="QKeyEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::KeyPress || %1-&gt;type() == QEvent::KeyRelease"/>
2615 <object-type name="QKeyEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::KeyPress || %1-&gt;type() == QEvent::KeyRelease"/>
2616 <object-type name="QMouseEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::MouseButtonDblClick || %1-&gt;type() == QEvent::MouseButtonPress || %1-&gt;type() == QEvent::MouseButtonRelease || %1-&gt;type() == QEvent::MouseMove"/>
2616 <object-type name="QMouseEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::MouseButtonDblClick || %1-&gt;type() == QEvent::MouseButtonPress || %1-&gt;type() == QEvent::MouseButtonRelease || %1-&gt;type() == QEvent::MouseMove"/>
2617 <object-type name="QPaintEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::Paint"/>
2617 <object-type name="QPaintEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::Paint"/>
2618 <object-type name="QAccessibleEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::AccessibilityDescription || %1-&gt;type() == QEvent::AccessibilityHelp"/>
2618 <object-type name="QAccessibleEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::AccessibilityDescription || %1-&gt;type() == QEvent::AccessibilityHelp"/>
2619
2619
2620 <object-type name="QAbstractButton"/>
2620 <object-type name="QAbstractButton"/>
2621
2621
2622 <object-type name="QStyle">
2622 <object-type name="QStyle">
2623 <modify-function signature="standardIconImplementation(QStyle::StandardPixmap, const QStyleOption *, const QWidget *)const" virtual-slot="yes"/>
2623 <modify-function signature="standardIconImplementation(QStyle::StandardPixmap, const QStyleOption *, const QWidget *)const" virtual-slot="yes"/>
2624 <modify-function signature="layoutSpacingImplementation(QSizePolicy::ControlType, QSizePolicy::ControlType, Qt::Orientation, const QStyleOption *, const QWidget *) const" virtual-slot="yes"/>
2624 <modify-function signature="layoutSpacingImplementation(QSizePolicy::ControlType, QSizePolicy::ControlType, Qt::Orientation, const QStyleOption *, const QWidget *) const" virtual-slot="yes"/>
2625
2625
2626 <modify-function signature="drawComplexControl(QStyle::ComplexControl,const QStyleOptionComplex*,QPainter*,const QWidget*)const">
2626 <modify-function signature="drawComplexControl(QStyle::ComplexControl,const QStyleOptionComplex*,QPainter*,const QWidget*)const">
2627 <modify-argument index="3" invalidate-after-use="yes"/>
2627 <modify-argument index="3" invalidate-after-use="yes"/>
2628 </modify-function>
2628 </modify-function>
2629 <modify-function signature="drawControl(QStyle::ControlElement,const QStyleOption*,QPainter*,const QWidget*)const">
2629 <modify-function signature="drawControl(QStyle::ControlElement,const QStyleOption*,QPainter*,const QWidget*)const">
2630 <modify-argument index="3" invalidate-after-use="yes"/>
2630 <modify-argument index="3" invalidate-after-use="yes"/>
2631 </modify-function>
2631 </modify-function>
2632 <modify-function signature="drawPrimitive(QStyle::PrimitiveElement,const QStyleOption*,QPainter*,const QWidget*)const">
2632 <modify-function signature="drawPrimitive(QStyle::PrimitiveElement,const QStyleOption*,QPainter*,const QWidget*)const">
2633 <modify-argument index="3" invalidate-after-use="yes"/>
2633 <modify-argument index="3" invalidate-after-use="yes"/>
2634 </modify-function>
2634 </modify-function>
2635 <modify-function signature="styleHint(QStyle::StyleHint,const QStyleOption*,const QWidget*,QStyleHintReturn*)const">
2635 <modify-function signature="styleHint(QStyle::StyleHint,const QStyleOption*,const QWidget*,QStyleHintReturn*)const">
2636 <modify-argument index="4" invalidate-after-use="yes"/>
2636 <modify-argument index="4" invalidate-after-use="yes"/>
2637 </modify-function>
2637 </modify-function>
2638 <modify-function signature="drawItemPixmap(QPainter*,QRect,int,QPixmap)const">
2638 <modify-function signature="drawItemPixmap(QPainter*,QRect,int,QPixmap)const">
2639 <modify-argument index="1" invalidate-after-use="yes"/>
2639 <modify-argument index="1" invalidate-after-use="yes"/>
2640 </modify-function>
2640 </modify-function>
2641 <modify-function signature="drawItemText(QPainter*,QRect,int,QPalette,bool,QString,QPalette::ColorRole)const">
2641 <modify-function signature="drawItemText(QPainter*,QRect,int,QPalette,bool,QString,QPalette::ColorRole)const">
2642 <modify-argument index="1" invalidate-after-use="yes"/>
2642 <modify-argument index="1" invalidate-after-use="yes"/>
2643 </modify-function>
2643 </modify-function>
2644
2644
2645
2645
2646 <modify-function signature="itemTextRect(QFontMetrics,QRect,int,bool,QString)const" remove="all"/>
2646 <modify-function signature="itemTextRect(QFontMetrics,QRect,int,bool,QString)const" remove="all"/>
2647 </object-type>
2647 </object-type>
2648
2648
2649 <object-type name="QColorDialog">
2649 <object-type name="QColorDialog">
2650 <modify-function signature="getColor(const QColor &amp;, QWidget *)">
2650 <modify-function signature="getColor(const QColor &amp;, QWidget *)">
2651 <modify-argument index="1">
2651 <modify-argument index="1">
2652 <replace-default-expression with="QColor.white"/>
2652 <replace-default-expression with="QColor.white"/>
2653 </modify-argument>
2653 </modify-argument>
2654 </modify-function>
2654 </modify-function>
2655 <modify-function signature="getRgba(uint,bool*,QWidget*)">
2655 <modify-function signature="getRgba(uint,bool*,QWidget*)">
2656 <remove/>
2656 <remove/>
2657 </modify-function>
2657 </modify-function>
2658 </object-type>
2658 </object-type>
2659
2659
2660 <object-type name="QLayout">
2660 <object-type name="QLayout">
2661 <modify-function signature="addItem(QLayoutItem*)">
2661 <modify-function signature="addItem(QLayoutItem*)">
2662 <modify-argument index="1" invalidate-after-use="yes"/>
2662 <modify-argument index="1" invalidate-after-use="yes"/>
2663 </modify-function>
2663 </modify-function>
2664
2664
2665 <modify-function signature="setSpacing(int)" rename="setWidgetSpacing"/>
2665 <modify-function signature="setSpacing(int)" rename="setWidgetSpacing"/>
2666 <modify-function signature="spacing()const" rename="widgetSpacing"/>
2666 <modify-function signature="spacing()const" rename="widgetSpacing"/>
2667 <modify-function signature="addWidget(QWidget *)">
2667 <modify-function signature="addWidget(QWidget *)">
2668 <modify-argument index="1">
2668 <modify-argument index="1">
2669 <no-null-pointer/>
2669 <no-null-pointer/>
2670 <reference-count variable-name="__rcWidgets" action="add"/>
2670 <reference-count variable-name="__rcWidgets" action="add"/>
2671 </modify-argument>
2671 </modify-argument>
2672 </modify-function>
2672 </modify-function>
2673 <modify-function signature="addChildWidget(QWidget *)">
2673 <modify-function signature="addChildWidget(QWidget *)">
2674 <modify-argument index="1">
2674 <modify-argument index="1">
2675 <no-null-pointer/>
2675 <no-null-pointer/>
2676 <reference-count variable-name="__rcWidgets" action="add"/>
2676 <reference-count variable-name="__rcWidgets" action="add"/>
2677 </modify-argument>
2677 </modify-argument>
2678 </modify-function>
2678 </modify-function>
2679 <modify-function signature="removeWidget(QWidget *)">
2679 <modify-function signature="removeWidget(QWidget *)">
2680 <modify-argument index="1">
2680 <modify-argument index="1">
2681 <no-null-pointer/>
2681 <no-null-pointer/>
2682 <reference-count variable-name="__rcWidgets" action="remove"/>
2682 <reference-count variable-name="__rcWidgets" action="remove"/>
2683 </modify-argument>
2683 </modify-argument>
2684 </modify-function>
2684 </modify-function>
2685
2685
2686 <modify-function signature="setAlignment(QWidget*,QFlags&lt;Qt::AlignmentFlag&gt;)">
2686 <modify-function signature="setAlignment(QWidget*,QFlags&lt;Qt::AlignmentFlag&gt;)">
2687 <modify-argument index="1">
2687 <modify-argument index="1">
2688 <reference-count action="ignore"/>
2688 <reference-count action="ignore"/>
2689 </modify-argument>
2689 </modify-argument>
2690 </modify-function>
2690 </modify-function>
2691 <modify-function signature="setAlignment(QLayout*,QFlags&lt;Qt::AlignmentFlag&gt;)">
2691 <modify-function signature="setAlignment(QLayout*,QFlags&lt;Qt::AlignmentFlag&gt;)">
2692 <modify-argument index="1">
2692 <modify-argument index="1">
2693 <reference-count action="ignore"/>
2693 <reference-count action="ignore"/>
2694 </modify-argument>
2694 </modify-argument>
2695 </modify-function>
2695 </modify-function>
2696 <modify-function signature="setMenuBar(QWidget*)">
2696 <modify-function signature="setMenuBar(QWidget*)">
2697 <modify-argument index="1">
2697 <modify-argument index="1">
2698 <reference-count action="set" variable-name="__rcMenuBar"/>
2698 <reference-count action="set" variable-name="__rcMenuBar"/>
2699 </modify-argument>
2699 </modify-argument>
2700 </modify-function>
2700 </modify-function>
2701 <modify-function signature="getContentsMargins(int*,int*,int*,int*)const">
2701 <modify-function signature="getContentsMargins(int*,int*,int*,int*)const">
2702 <access modifier="private"/>
2702 <access modifier="private"/>
2703 </modify-function>
2703 </modify-function>
2704
2704
2705 <modify-function signature="margin()const" remove="all"/> <!--### Obsolete in 4.3-->
2705 <modify-function signature="margin()const" remove="all"/> <!--### Obsolete in 4.3-->
2706 <!-- <modify-function signature="setMargin(int)" remove="all"/> --> <!--### Obsolete in 4.3-->
2706 <!-- <modify-function signature="setMargin(int)" remove="all"/> --> <!--### Obsolete in 4.3-->
2707 </object-type>
2707 </object-type>
2708
2708
2709 <object-type name="QStackedLayout">
2709 <object-type name="QStackedLayout">
2710 <modify-function signature="addItem(QLayoutItem *)">
2710 <modify-function signature="addItem(QLayoutItem *)">
2711 <modify-argument index="1">
2711 <modify-argument index="1">
2712 <define-ownership class="java" owner="c++"/>
2712 <define-ownership class="java" owner="c++"/>
2713 </modify-argument>
2713 </modify-argument>
2714 </modify-function>
2714 </modify-function>
2715 <modify-function signature="itemAt(int) const">
2715 <modify-function signature="itemAt(int) const">
2716 <modify-argument index="return">
2716 <modify-argument index="return">
2717 <define-ownership class="java" owner="c++"/>
2717 <define-ownership class="java" owner="c++"/>
2718 </modify-argument>
2718 </modify-argument>
2719 </modify-function>
2719 </modify-function>
2720 <modify-function signature="addWidget(QWidget *)">
2720 <modify-function signature="addWidget(QWidget *)">
2721 <rename to="addStackedWidget"/>
2721 <rename to="addStackedWidget"/>
2722 <modify-argument index="1">
2722 <modify-argument index="1">
2723 <no-null-pointer/>
2723 <no-null-pointer/>
2724 <reference-count action="add" declare-variable="QLayout" variable-name="__rcWidgets"/>
2724 <reference-count action="add" declare-variable="QLayout" variable-name="__rcWidgets"/>
2725 </modify-argument>
2725 </modify-argument>
2726 </modify-function>
2726 </modify-function>
2727 <modify-function signature="insertWidget(int,QWidget*)">
2727 <modify-function signature="insertWidget(int,QWidget*)">
2728 <modify-argument index="2">
2728 <modify-argument index="2">
2729 <no-null-pointer/>
2729 <no-null-pointer/>
2730 <reference-count action="add" declare-variable="QLayout" variable-name="__rcWidgets"/>
2730 <reference-count action="add" declare-variable="QLayout" variable-name="__rcWidgets"/>
2731 </modify-argument>
2731 </modify-argument>
2732 </modify-function>
2732 </modify-function>
2733 <modify-function signature="setCurrentWidget(QWidget*)">
2733 <modify-function signature="setCurrentWidget(QWidget*)">
2734 <modify-argument index="1">
2734 <modify-argument index="1">
2735 <!-- Safe to ignore because current widget must have been added to layout already -->
2735 <!-- Safe to ignore because current widget must have been added to layout already -->
2736 <reference-count action="ignore"/>
2736 <reference-count action="ignore"/>
2737 </modify-argument>
2737 </modify-argument>
2738 </modify-function>
2738 </modify-function>
2739 </object-type>
2739 </object-type>
2740
2740
2741 <object-type name="QBoxLayout">
2741 <object-type name="QBoxLayout">
2742 <modify-function signature="addWidget(QWidget *, int, QFlags&lt;Qt::AlignmentFlag&gt;)">
2742 <modify-function signature="addWidget(QWidget *, int, QFlags&lt;Qt::AlignmentFlag&gt;)">
2743 <modify-argument index="1">
2743 <modify-argument index="1">
2744 <no-null-pointer/>
2744 <no-null-pointer/>
2745 </modify-argument>
2745 </modify-argument>
2746 </modify-function>
2746 </modify-function>
2747 <modify-function signature="addItem(QLayoutItem *)">
2747 <modify-function signature="addItem(QLayoutItem *)">
2748 <modify-argument index="1">
2748 <modify-argument index="1">
2749 <define-ownership class="java" owner="c++"/>
2749 <define-ownership class="java" owner="c++"/>
2750 </modify-argument>
2750 </modify-argument>
2751 </modify-function>
2751 </modify-function>
2752 <modify-function signature="insertLayout(int, QLayout *, int)">
2752 <modify-function signature="insertLayout(int, QLayout *, int)">
2753 <modify-argument index="2">
2753 <modify-argument index="2">
2754 <define-ownership class="java" owner="c++"/>
2754 <define-ownership class="java" owner="c++"/>
2755 </modify-argument>
2755 </modify-argument>
2756 </modify-function>
2756 </modify-function>
2757 <modify-function signature="insertItem(int, QLayoutItem *)">
2757 <modify-function signature="insertItem(int, QLayoutItem *)">
2758 <modify-argument index="2">
2758 <modify-argument index="2">
2759 <define-ownership class="java" owner="c++"/>
2759 <define-ownership class="java" owner="c++"/>
2760 </modify-argument>
2760 </modify-argument>
2761 </modify-function>
2761 </modify-function>
2762 <modify-function signature="addSpacerItem(QSpacerItem*)">
2762 <modify-function signature="addSpacerItem(QSpacerItem*)">
2763 <modify-argument index="1">
2763 <modify-argument index="1">
2764 <define-ownership class="java" owner="c++"/>
2764 <define-ownership class="java" owner="c++"/>
2765 </modify-argument>
2765 </modify-argument>
2766 </modify-function>
2766 </modify-function>
2767 <modify-function signature="insertSpacerItem(int,QSpacerItem*)">
2767 <modify-function signature="insertSpacerItem(int,QSpacerItem*)">
2768 <modify-argument index="2">
2768 <modify-argument index="2">
2769 <define-ownership class="java" owner="c++"/>
2769 <define-ownership class="java" owner="c++"/>
2770 </modify-argument>
2770 </modify-argument>
2771 </modify-function>
2771 </modify-function>
2772
2772
2773 <modify-function signature="addLayout(QLayout *, int)">
2773 <modify-function signature="addLayout(QLayout *, int)">
2774 <modify-argument index="1">
2774 <modify-argument index="1">
2775 <define-ownership class="java" owner="c++"/>
2775 <define-ownership class="java" owner="c++"/>
2776 </modify-argument>
2776 </modify-argument>
2777 </modify-function>
2777 </modify-function>
2778 <modify-function signature="addWidget(QWidget*,int,QFlags&lt;Qt::AlignmentFlag&gt;)">
2778 <modify-function signature="addWidget(QWidget*,int,QFlags&lt;Qt::AlignmentFlag&gt;)">
2779 <modify-argument index="1">
2779 <modify-argument index="1">
2780 <reference-count declare-variable="QLayout" action="add" variable-name="__rcWidgets"/>
2780 <reference-count declare-variable="QLayout" action="add" variable-name="__rcWidgets"/>
2781 </modify-argument>
2781 </modify-argument>
2782 </modify-function>
2782 </modify-function>
2783 <modify-function signature="insertWidget(int,QWidget*,int,QFlags&lt;Qt::AlignmentFlag&gt;)">
2783 <modify-function signature="insertWidget(int,QWidget*,int,QFlags&lt;Qt::AlignmentFlag&gt;)">
2784 <modify-argument index="2">
2784 <modify-argument index="2">
2785 <reference-count declare-variable="QLayout" action="add" variable-name="__rcWidgets"/>
2785 <reference-count declare-variable="QLayout" action="add" variable-name="__rcWidgets"/>
2786 </modify-argument>
2786 </modify-argument>
2787 </modify-function>
2787 </modify-function>
2788 <modify-function signature="setStretchFactor(QWidget*,int)">
2788 <modify-function signature="setStretchFactor(QWidget*,int)">
2789 <modify-argument index="1">
2789 <modify-argument index="1">
2790 <reference-count action="ignore"/>
2790 <reference-count action="ignore"/>
2791 </modify-argument>
2791 </modify-argument>
2792 </modify-function>
2792 </modify-function>
2793 <modify-function signature="setStretchFactor(QLayout*,int)">
2793 <modify-function signature="setStretchFactor(QLayout*,int)">
2794 <modify-argument index="1">
2794 <modify-argument index="1">
2795 <reference-count action="ignore"/>
2795 <reference-count action="ignore"/>
2796 </modify-argument>
2796 </modify-argument>
2797 </modify-function>
2797 </modify-function>
2798 </object-type>
2798 </object-type>
2799
2799
2800 <object-type name="QGridLayout">
2800 <object-type name="QGridLayout">
2801 <modify-function signature="addWidget(QWidget *)" remove="all"/>
2801 <modify-function signature="addWidget(QWidget *)" remove="all"/>
2802 <modify-function signature="addItem(QLayoutItem *)">
2802 <modify-function signature="addItem(QLayoutItem *)">
2803 <modify-argument index="1">
2803 <modify-argument index="1">
2804 <define-ownership class="java" owner="c++"/>
2804 <define-ownership class="java" owner="c++"/>
2805 </modify-argument>
2805 </modify-argument>
2806 </modify-function>
2806 </modify-function>
2807 <modify-function signature="addItem(QLayoutItem *, int, int, int, int, QFlags&lt;Qt::AlignmentFlag&gt;)">
2807 <modify-function signature="addItem(QLayoutItem *, int, int, int, int, QFlags&lt;Qt::AlignmentFlag&gt;)">
2808 <modify-argument index="1">
2808 <modify-argument index="1">
2809 <define-ownership class="java" owner="c++"/>
2809 <define-ownership class="java" owner="c++"/>
2810 </modify-argument>
2810 </modify-argument>
2811 </modify-function>
2811 </modify-function>
2812 <modify-function signature="addLayout(QLayout *, int, int, QFlags&lt;Qt::AlignmentFlag&gt;)">
2812 <modify-function signature="addLayout(QLayout *, int, int, QFlags&lt;Qt::AlignmentFlag&gt;)">
2813 <modify-argument index="1">
2813 <modify-argument index="1">
2814 <define-ownership class="java" owner="c++"/>
2814 <define-ownership class="java" owner="c++"/>
2815 </modify-argument>
2815 </modify-argument>
2816 </modify-function>
2816 </modify-function>
2817 <modify-function signature="addLayout(QLayout *, int, int, int, int, QFlags&lt;Qt::AlignmentFlag&gt;)">
2817 <modify-function signature="addLayout(QLayout *, int, int, int, int, QFlags&lt;Qt::AlignmentFlag&gt;)">
2818 <modify-argument index="1">
2818 <modify-argument index="1">
2819 <define-ownership class="java" owner="c++"/>
2819 <define-ownership class="java" owner="c++"/>
2820 </modify-argument>
2820 </modify-argument>
2821 </modify-function>
2821 </modify-function>
2822 <modify-function signature="addWidget(QWidget*,int,int,QFlags&lt;Qt::AlignmentFlag&gt;)">
2822 <modify-function signature="addWidget(QWidget*,int,int,QFlags&lt;Qt::AlignmentFlag&gt;)">
2823 <modify-argument index="1">
2823 <modify-argument index="1">
2824 <reference-count declare-variable="QLayout" action="add" variable-name="__rcWidgets"/>
2824 <reference-count declare-variable="QLayout" action="add" variable-name="__rcWidgets"/>
2825 </modify-argument>
2825 </modify-argument>
2826 </modify-function>
2826 </modify-function>
2827 <modify-function signature="addWidget(QWidget*,int,int,int,int,QFlags&lt;Qt::AlignmentFlag&gt;)">
2827 <modify-function signature="addWidget(QWidget*,int,int,int,int,QFlags&lt;Qt::AlignmentFlag&gt;)">
2828 <modify-argument index="1">
2828 <modify-argument index="1">
2829 <reference-count declare-variable="QLayout" action="add" variable-name="__rcWidgets"/>
2829 <reference-count declare-variable="QLayout" action="add" variable-name="__rcWidgets"/>
2830 </modify-argument>
2830 </modify-argument>
2831 </modify-function>
2831 </modify-function>
2832 <modify-function signature="addWidget(QWidget*)">
2832 <modify-function signature="addWidget(QWidget*)">
2833 <modify-argument index="1">
2833 <modify-argument index="1">
2834 <reference-count declare-variable="QLayout" action="add" variable-name="__rcWidgets"/>
2834 <reference-count declare-variable="QLayout" action="add" variable-name="__rcWidgets"/>
2835 </modify-argument>
2835 </modify-argument>
2836 </modify-function>
2836 </modify-function>
2837 <modify-function signature="getItemPosition(int,int*,int*,int*,int*)">
2837 <modify-function signature="getItemPosition(int,int*,int*,int*,int*)">
2838 <access modifier="private"/>
2838 <access modifier="private"/>
2839 </modify-function>
2839 </modify-function>
2840 </object-type>
2840 </object-type>
2841
2841
2842 <object-type name="QGraphicsView">
2842 <object-type name="QGraphicsView">
2843 <extra-includes>
2843 <extra-includes>
2844 <include file-name="QPainterPath" location="global"/>
2844 <include file-name="QPainterPath" location="global"/>
2845 <include file-name="QVarLengthArray" location="global"/>
2845 <include file-name="QVarLengthArray" location="global"/>
2846 </extra-includes>
2846 </extra-includes>
2847 <modify-function signature="setupViewport(QWidget *)" access="non-final"/>
2847 <modify-function signature="setupViewport(QWidget *)" access="non-final"/>
2848 <modify-function signature="setScene(QGraphicsScene*)">
2848 <modify-function signature="setScene(QGraphicsScene*)">
2849 <modify-argument index="1">
2849 <modify-argument index="1">
2850 <reference-count action="set" variable-name="__rcScene"/>
2850 <reference-count action="set" variable-name="__rcScene"/>
2851 </modify-argument>
2851 </modify-argument>
2852 </modify-function>
2852 </modify-function>
2853 <modify-function signature="setupViewport(QWidget*)">
2853 <modify-function signature="setupViewport(QWidget*)">
2854 <modify-argument index="1">
2854 <modify-argument index="1">
2855 <reference-count action="ignore"/>
2855 <reference-count action="ignore"/>
2856 </modify-argument>
2856 </modify-argument>
2857 </modify-function>
2857 </modify-function>
2858
2858
2859 <modify-function signature="drawBackground(QPainter*,QRectF)">
2859 <modify-function signature="drawBackground(QPainter*,QRectF)">
2860 <modify-argument index="1" invalidate-after-use="yes"/>
2860 <modify-argument index="1" invalidate-after-use="yes"/>
2861 </modify-function>
2861 </modify-function>
2862 <modify-function signature="drawForeground(QPainter*,QRectF)">
2862 <modify-function signature="drawForeground(QPainter*,QRectF)">
2863 <modify-argument index="1" invalidate-after-use="yes"/>
2863 <modify-argument index="1" invalidate-after-use="yes"/>
2864 </modify-function>
2864 </modify-function>
2865 <modify-function signature="drawItems(QPainter*,int,QGraphicsItem**,const QStyleOptionGraphicsItem*)">
2865 <modify-function signature="drawItems(QPainter*,int,QGraphicsItem**,const QStyleOptionGraphicsItem*)">
2866 <modify-argument index="1" invalidate-after-use="yes"/>
2866 <modify-argument index="1" invalidate-after-use="yes"/>
2867 </modify-function>
2867 </modify-function>
2868
2868
2869 <!--
2869 <!--
2870 <modify-function signature="drawItems(QPainter*,int,QGraphicsItem**,const QStyleOptionGraphicsItem*)">
2870 <modify-function signature="drawItems(QPainter*,int,QGraphicsItem**,const QStyleOptionGraphicsItem*)">
2871 <modify-argument index="2">
2871 <modify-argument index="2">
2872 <remove-argument/>
2872 <remove-argument/>
2873 <conversion-rule class="shell">
2873 <conversion-rule class="shell">
2874 // nothing
2874 // nothing
2875 </conversion-rule>
2875 </conversion-rule>
2876 <conversion-rule class="native">
2876 <conversion-rule class="native">
2877 <insert-template name="core.get_array_length">
2877 <insert-template name="core.get_array_length">
2878 <replace from="%ARRAY" to="%3"/>
2878 <replace from="%ARRAY" to="%3"/>
2879 </insert-template>
2879 </insert-template>
2880 int __length = %out;
2880 int __length = %out;
2881 </conversion-rule>
2881 </conversion-rule>
2882 </modify-argument>
2882 </modify-argument>
2883
2883
2884 <modify-argument index="3">
2884 <modify-argument index="3">
2885 <replace-type modified-type="com.trolltech.qt.gui.QGraphicsItemInterface[]"/>
2885 <replace-type modified-type="com.trolltech.qt.gui.QGraphicsItemInterface[]"/>
2886 <conversion-rule class="shell">
2886 <conversion-rule class="shell">
2887 <insert-template name="gui.convert_graphicsitem_array_to_java">
2887 <insert-template name="gui.convert_graphicsitem_array_to_java">
2888 <replace from="%LENGTH" to="%2"/>
2888 <replace from="%LENGTH" to="%2"/>
2889 </insert-template>
2889 </insert-template>
2890 </conversion-rule>
2890 </conversion-rule>
2891 <conversion-rule class="native">
2891 <conversion-rule class="native">
2892 <insert-template name="gui.convert_graphicsitem_array_from_java"/>
2892 <insert-template name="gui.convert_graphicsitem_array_from_java"/>
2893 </conversion-rule>
2893 </conversion-rule>
2894 </modify-argument>
2894 </modify-argument>
2895
2895
2896 <modify-argument index="4">
2896 <modify-argument index="4">
2897 <replace-type modified-type="com.trolltech.qt.gui.QStyleOptionGraphicsItem[]"/>
2897 <replace-type modified-type="com.trolltech.qt.gui.QStyleOptionGraphicsItem[]"/>
2898 <conversion-rule class="shell">
2898 <conversion-rule class="shell">
2899 <insert-template name="gui.convert_styleoptiongraphicsitem_array_to_java">
2899 <insert-template name="gui.convert_styleoptiongraphicsitem_array_to_java">
2900 <replace from="%LENGTH" to="%2"/>
2900 <replace from="%LENGTH" to="%2"/>
2901 </insert-template>
2901 </insert-template>
2902 </conversion-rule>
2902 </conversion-rule>
2903 <conversion-rule class="native">
2903 <conversion-rule class="native">
2904 <insert-template name="gui.convert_styleoptiongraphicsitem_array_from_java"/>
2904 <insert-template name="gui.convert_styleoptiongraphicsitem_array_from_java"/>
2905 </conversion-rule>
2905 </conversion-rule>
2906 </modify-argument>
2906 </modify-argument>
2907 </modify-function>
2907 </modify-function>
2908 -->
2908 -->
2909 </object-type>
2909 </object-type>
2910
2910
2911 <object-type name="QInputDialog">
2911 <object-type name="QInputDialog">
2912 <modify-function signature="getDouble(QWidget *, const QString &amp;, const QString &amp;, double, double, double, int, bool *, QFlags&lt;Qt::WindowType&gt;)">
2912 <modify-function signature="getDouble(QWidget *, const QString &amp;, const QString &amp;, double, double, double, int, bool *, QFlags&lt;Qt::WindowType&gt;)">
2913 <!--
2913 <!--
2914 <rename to="getDouble_internal"/>
2914 <rename to="getDouble_internal"/>
2915 <access modifier="private"/>
2915 <access modifier="private"/>
2916 -->
2916 -->
2917 <modify-argument index="4">
2917 <modify-argument index="4">
2918 <remove-default-expression/>
2918 <remove-default-expression/>
2919 </modify-argument>
2919 </modify-argument>
2920 <modify-argument index="5">
2920 <modify-argument index="5">
2921 <remove-default-expression/>
2921 <remove-default-expression/>
2922 </modify-argument>
2922 </modify-argument>
2923 <modify-argument index="6">
2923 <modify-argument index="6">
2924 <remove-default-expression/>
2924 <remove-default-expression/>
2925 </modify-argument>
2925 </modify-argument>
2926 <modify-argument index="7">
2926 <modify-argument index="7">
2927 <remove-default-expression/>
2927 <remove-default-expression/>
2928 </modify-argument>
2928 </modify-argument>
2929 <modify-argument index="8">
2929 <modify-argument index="8">
2930 <remove-default-expression/>
2930 <remove-default-expression/>
2931 </modify-argument>
2931 </modify-argument>
2932 <modify-argument index="9">
2932 <modify-argument index="9">
2933 <remove-default-expression/>
2933 <remove-default-expression/>
2934 </modify-argument>
2934 </modify-argument>
2935 </modify-function>
2935 </modify-function>
2936
2936
2937 <modify-function signature="getInteger(QWidget *, const QString &amp;, const QString &amp;, int, int, int, int, bool *, QFlags&lt;Qt::WindowType&gt;)">
2937 <modify-function signature="getInteger(QWidget *, const QString &amp;, const QString &amp;, int, int, int, int, bool *, QFlags&lt;Qt::WindowType&gt;)">
2938 <!--
2938 <!--
2939 <rename to="getInteger_internal"/>
2939 <rename to="getInteger_internal"/>
2940 <access modifier="private"/>
2940 <access modifier="private"/>
2941 -->
2941 -->
2942 <modify-argument index="4">
2942 <modify-argument index="4">
2943 <remove-default-expression/>
2943 <remove-default-expression/>
2944 </modify-argument>
2944 </modify-argument>
2945 <modify-argument index="5">
2945 <modify-argument index="5">
2946 <remove-default-expression/>
2946 <remove-default-expression/>
2947 </modify-argument>
2947 </modify-argument>
2948 <modify-argument index="6">
2948 <modify-argument index="6">
2949 <remove-default-expression/>
2949 <remove-default-expression/>
2950 </modify-argument>
2950 </modify-argument>
2951 <modify-argument index="7">
2951 <modify-argument index="7">
2952 <remove-default-expression/>
2952 <remove-default-expression/>
2953 </modify-argument>
2953 </modify-argument>
2954 <modify-argument index="8">
2954 <modify-argument index="8">
2955 <remove-default-expression/>
2955 <remove-default-expression/>
2956 </modify-argument>
2956 </modify-argument>
2957 <modify-argument index="9">
2957 <modify-argument index="9">
2958 <remove-default-expression/>
2958 <remove-default-expression/>
2959 </modify-argument>
2959 </modify-argument>
2960 </modify-function>
2960 </modify-function>
2961
2961
2962 <modify-function signature="getItem(QWidget *, const QString &amp;, const QString &amp;, const QStringList&lt;QString&gt; &amp;, int, bool, bool *, QFlags&lt;Qt::WindowType&gt;)">
2962 <modify-function signature="getItem(QWidget *, const QString &amp;, const QString &amp;, const QStringList&lt;QString&gt; &amp;, int, bool, bool *, QFlags&lt;Qt::WindowType&gt;)">
2963 <!--
2963 <!--
2964 <rename to="getItem_internal"/>
2964 <rename to="getItem_internal"/>
2965 <access modifier="private"/>
2965 <access modifier="private"/>
2966 -->
2966 -->
2967 <modify-argument index="4">
2967 <modify-argument index="4">
2968 <remove-default-expression/>
2968 <remove-default-expression/>
2969 </modify-argument>
2969 </modify-argument>
2970 <modify-argument index="5">
2970 <modify-argument index="5">
2971 <remove-default-expression/>
2971 <remove-default-expression/>
2972 </modify-argument>
2972 </modify-argument>
2973 <modify-argument index="6">
2973 <modify-argument index="6">
2974 <remove-default-expression/>
2974 <remove-default-expression/>
2975 </modify-argument>
2975 </modify-argument>
2976 <modify-argument index="7">
2976 <modify-argument index="7">
2977 <remove-default-expression/>
2977 <remove-default-expression/>
2978 </modify-argument>
2978 </modify-argument>
2979 <modify-argument index="8">
2979 <modify-argument index="8">
2980 <remove-default-expression/>
2980 <remove-default-expression/>
2981 </modify-argument>
2981 </modify-argument>
2982 </modify-function>
2982 </modify-function>
2983
2983
2984 <modify-function signature="getText(QWidget *, const QString &amp;, const QString &amp;, QLineEdit::EchoMode, const QString &amp;, bool *, QFlags&lt;Qt::WindowType&gt;)">
2984 <modify-function signature="getText(QWidget *, const QString &amp;, const QString &amp;, QLineEdit::EchoMode, const QString &amp;, bool *, QFlags&lt;Qt::WindowType&gt;)">
2985 <!--
2985 <!--
2986 <rename to="getText_internal"/>
2986 <rename to="getText_internal"/>
2987 <access modifier="private"/>
2987 <access modifier="private"/>
2988 -->
2988 -->
2989 <modify-argument index="4">
2989 <modify-argument index="4">
2990 <remove-default-expression/>
2990 <remove-default-expression/>
2991 </modify-argument>
2991 </modify-argument>
2992 <modify-argument index="5">
2992 <modify-argument index="5">
2993 <remove-default-expression/>
2993 <remove-default-expression/>
2994 </modify-argument>
2994 </modify-argument>
2995 <modify-argument index="6">
2995 <modify-argument index="6">
2996 <remove-default-expression/>
2996 <remove-default-expression/>
2997 </modify-argument>
2997 </modify-argument>
2998 <modify-argument index="7">
2998 <modify-argument index="7">
2999 <remove-default-expression/>
2999 <remove-default-expression/>
3000 </modify-argument>
3000 </modify-argument>
3001 </modify-function>
3001 </modify-function>
3002
3002
3003 <inject-code class="native" position="beginning">
3003 <inject-code class="native" position="beginning">
3004 Q_DECLARE_METATYPE(QScriptValue)
3004 Q_DECLARE_METATYPE(QScriptValue)
3005 </inject-code>
3005 </inject-code>
3006 <modify-function signature="getDouble(QWidget *, const QString &amp;, const QString &amp;, double, double, double, int, bool *, QFlags&lt;Qt::WindowType&gt;)">
3006 <modify-function signature="getDouble(QWidget *, const QString &amp;, const QString &amp;, double, double, double, int, bool *, QFlags&lt;Qt::WindowType&gt;)">
3007 <modify-argument index="8">
3007 <modify-argument index="8">
3008 <remove-argument/>
3008 <remove-argument/>
3009 <conversion-rule class="native">
3009 <conversion-rule class="native">
3010 <insert-template name="core.prepare_removed_bool*_argument"/>
3010 <insert-template name="core.prepare_removed_bool*_argument"/>
3011 </conversion-rule>
3011 </conversion-rule>
3012 </modify-argument>
3012 </modify-argument>
3013 <modify-argument index="return">
3013 <modify-argument index="return">
3014 <conversion-rule class="native">
3014 <conversion-rule class="native">
3015 <insert-template name="core.convert_to_null_or_primitive"/>
3015 <insert-template name="core.convert_to_null_or_primitive"/>
3016 </conversion-rule>
3016 </conversion-rule>
3017 </modify-argument>
3017 </modify-argument>
3018 </modify-function>
3018 </modify-function>
3019
3019
3020 <modify-function signature="getInteger(QWidget *, const QString &amp;, const QString &amp;, int, int, int, int, bool *, QFlags&lt;Qt::WindowType&gt;)">
3020 <modify-function signature="getInteger(QWidget *, const QString &amp;, const QString &amp;, int, int, int, int, bool *, QFlags&lt;Qt::WindowType&gt;)">
3021 <modify-argument index="8">
3021 <modify-argument index="8">
3022 <remove-argument/>
3022 <remove-argument/>
3023 <conversion-rule class="native">
3023 <conversion-rule class="native">
3024 <insert-template name="core.prepare_removed_bool*_argument"/>
3024 <insert-template name="core.prepare_removed_bool*_argument"/>
3025 </conversion-rule>
3025 </conversion-rule>
3026 </modify-argument>
3026 </modify-argument>
3027 <modify-argument index="return">
3027 <modify-argument index="return">
3028 <conversion-rule class="native">
3028 <conversion-rule class="native">
3029 <insert-template name="core.convert_to_null_or_primitive"/>
3029 <insert-template name="core.convert_to_null_or_primitive"/>
3030 </conversion-rule>
3030 </conversion-rule>
3031 </modify-argument>
3031 </modify-argument>
3032 </modify-function>
3032 </modify-function>
3033
3033
3034 <modify-function signature="getItem(QWidget *, const QString &amp;, const QString &amp;, const QStringList&lt;QString&gt; &amp;, int, bool, bool *, QFlags&lt;Qt::WindowType&gt;)">
3034 <modify-function signature="getItem(QWidget *, const QString &amp;, const QString &amp;, const QStringList&lt;QString&gt; &amp;, int, bool, bool *, QFlags&lt;Qt::WindowType&gt;)">
3035 <modify-argument index="7">
3035 <modify-argument index="7">
3036 <remove-argument/>
3036 <remove-argument/>
3037 <conversion-rule class="native">
3037 <conversion-rule class="native">
3038 <insert-template name="core.prepare_removed_bool*_argument"/>
3038 <insert-template name="core.prepare_removed_bool*_argument"/>
3039 </conversion-rule>
3039 </conversion-rule>
3040 </modify-argument>
3040 </modify-argument>
3041 <modify-argument index="return">
3041 <modify-argument index="return">
3042 <conversion-rule class="native">
3042 <conversion-rule class="native">
3043 <insert-template name="core.convert_to_null_or_primitive"/>
3043 <insert-template name="core.convert_to_null_or_primitive"/>
3044 </conversion-rule>
3044 </conversion-rule>
3045 </modify-argument>
3045 </modify-argument>
3046 </modify-function>
3046 </modify-function>
3047
3047
3048 <modify-function signature="getText(QWidget *, const QString &amp;, const QString &amp;, QLineEdit::EchoMode, const QString &amp;, bool *, QFlags&lt;Qt::WindowType&gt;)">
3048 <modify-function signature="getText(QWidget *, const QString &amp;, const QString &amp;, QLineEdit::EchoMode, const QString &amp;, bool *, QFlags&lt;Qt::WindowType&gt;)">
3049 <modify-argument index="6">
3049 <modify-argument index="6">
3050 <remove-argument/>
3050 <remove-argument/>
3051 <conversion-rule class="native">
3051 <conversion-rule class="native">
3052 <insert-template name="core.prepare_removed_bool*_argument"/>
3052 <insert-template name="core.prepare_removed_bool*_argument"/>
3053 </conversion-rule>
3053 </conversion-rule>
3054 </modify-argument>
3054 </modify-argument>
3055 <modify-argument index="return">
3055 <modify-argument index="return">
3056 <conversion-rule class="native">
3056 <conversion-rule class="native">
3057 <insert-template name="core.convert_to_null_or_primitive"/>
3057 <insert-template name="core.convert_to_null_or_primitive"/>
3058 </conversion-rule>
3058 </conversion-rule>
3059 </modify-argument>
3059 </modify-argument>
3060 </modify-function>
3060 </modify-function>
3061 </object-type>
3061 </object-type>
3062
3062
3063
3063
3064 <object-type name="QGraphicsScene">
3064 <object-type name="QGraphicsScene">
3065 <extra-includes>
3065 <extra-includes>
3066 <include file-name="QVarLengthArray" location="global"/>
3066 <include file-name="QVarLengthArray" location="global"/>
3067 </extra-includes>
3067 </extra-includes>
3068
3068
3069 <modify-function signature="contextMenuEvent(QGraphicsSceneContextMenuEvent*)">
3069 <modify-function signature="contextMenuEvent(QGraphicsSceneContextMenuEvent*)">
3070 <modify-argument index="1" invalidate-after-use="yes"/>
3070 <modify-argument index="1" invalidate-after-use="yes"/>
3071 </modify-function>
3071 </modify-function>
3072 <modify-function signature="dragEnterEvent(QGraphicsSceneDragDropEvent*)">
3072 <modify-function signature="dragEnterEvent(QGraphicsSceneDragDropEvent*)">
3073 <modify-argument index="1" invalidate-after-use="yes"/>
3073 <modify-argument index="1" invalidate-after-use="yes"/>
3074 </modify-function>
3074 </modify-function>
3075 <modify-function signature="dragLeaveEvent(QGraphicsSceneDragDropEvent*)">
3075 <modify-function signature="dragLeaveEvent(QGraphicsSceneDragDropEvent*)">
3076 <modify-argument index="1" invalidate-after-use="yes"/>
3076 <modify-argument index="1" invalidate-after-use="yes"/>
3077 </modify-function>
3077 </modify-function>
3078 <modify-function signature="dragMoveEvent(QGraphicsSceneDragDropEvent*)">
3078 <modify-function signature="dragMoveEvent(QGraphicsSceneDragDropEvent*)">
3079 <modify-argument index="1" invalidate-after-use="yes"/>
3079 <modify-argument index="1" invalidate-after-use="yes"/>
3080 </modify-function>
3080 </modify-function>
3081 <modify-function signature="drawBackground(QPainter*,QRectF)">
3081 <modify-function signature="drawBackground(QPainter*,QRectF)">
3082 <modify-argument index="1" invalidate-after-use="yes"/>
3082 <modify-argument index="1" invalidate-after-use="yes"/>
3083 </modify-function>
3083 </modify-function>
3084 <modify-function signature="drawForeground(QPainter*,QRectF)">
3084 <modify-function signature="drawForeground(QPainter*,QRectF)">
3085 <modify-argument index="1" invalidate-after-use="yes"/>
3085 <modify-argument index="1" invalidate-after-use="yes"/>
3086 </modify-function>
3086 </modify-function>
3087 <modify-function signature="drawItems(QPainter*,int,QGraphicsItem**,const QStyleOptionGraphicsItem*,QWidget*)">
3087 <modify-function signature="drawItems(QPainter*,int,QGraphicsItem**,const QStyleOptionGraphicsItem*,QWidget*)">
3088 <modify-argument index="1" invalidate-after-use="yes"/>
3088 <modify-argument index="1" invalidate-after-use="yes"/>
3089 </modify-function>
3089 </modify-function>
3090 <modify-function signature="dropEvent(QGraphicsSceneDragDropEvent*)">
3090 <modify-function signature="dropEvent(QGraphicsSceneDragDropEvent*)">
3091 <modify-argument index="1" invalidate-after-use="yes"/>
3091 <modify-argument index="1" invalidate-after-use="yes"/>
3092 </modify-function>
3092 </modify-function>
3093 <modify-function signature="focusInEvent(QFocusEvent*)">
3093 <modify-function signature="focusInEvent(QFocusEvent*)">
3094 <modify-argument index="1" invalidate-after-use="yes"/>
3094 <modify-argument index="1" invalidate-after-use="yes"/>
3095 </modify-function>
3095 </modify-function>
3096 <modify-function signature="focusOutEvent(QFocusEvent*)">
3096 <modify-function signature="focusOutEvent(QFocusEvent*)">
3097 <modify-argument index="1" invalidate-after-use="yes"/>
3097 <modify-argument index="1" invalidate-after-use="yes"/>
3098 </modify-function>
3098 </modify-function>
3099 <modify-function signature="helpEvent(QGraphicsSceneHelpEvent*)">
3099 <modify-function signature="helpEvent(QGraphicsSceneHelpEvent*)">
3100 <modify-argument index="1" invalidate-after-use="yes"/>
3100 <modify-argument index="1" invalidate-after-use="yes"/>
3101 </modify-function>
3101 </modify-function>
3102 <modify-function signature="inputMethodEvent(QInputMethodEvent*)">
3102 <modify-function signature="inputMethodEvent(QInputMethodEvent*)">
3103 <modify-argument index="1" invalidate-after-use="yes"/>
3103 <modify-argument index="1" invalidate-after-use="yes"/>
3104 </modify-function>
3104 </modify-function>
3105 <modify-function signature="keyPressEvent(QKeyEvent*)">
3105 <modify-function signature="keyPressEvent(QKeyEvent*)">
3106 <modify-argument index="1" invalidate-after-use="yes"/>
3106 <modify-argument index="1" invalidate-after-use="yes"/>
3107 </modify-function>
3107 </modify-function>
3108 <modify-function signature="keyReleaseEvent(QKeyEvent*)">
3108 <modify-function signature="keyReleaseEvent(QKeyEvent*)">
3109 <modify-argument index="1" invalidate-after-use="yes"/>
3109 <modify-argument index="1" invalidate-after-use="yes"/>
3110 </modify-function>
3110 </modify-function>
3111 <modify-function signature="mouseDoubleClickEvent(QGraphicsSceneMouseEvent*)">
3111 <modify-function signature="mouseDoubleClickEvent(QGraphicsSceneMouseEvent*)">
3112 <modify-argument index="1" invalidate-after-use="yes"/>
3112 <modify-argument index="1" invalidate-after-use="yes"/>
3113 </modify-function>
3113 </modify-function>
3114 <modify-function signature="mouseMoveEvent(QGraphicsSceneMouseEvent*)">
3114 <modify-function signature="mouseMoveEvent(QGraphicsSceneMouseEvent*)">
3115 <modify-argument index="1" invalidate-after-use="yes"/>
3115 <modify-argument index="1" invalidate-after-use="yes"/>
3116 </modify-function>
3116 </modify-function>
3117 <modify-function signature="mousePressEvent(QGraphicsSceneMouseEvent*)">
3117 <modify-function signature="mousePressEvent(QGraphicsSceneMouseEvent*)">
3118 <modify-argument index="1" invalidate-after-use="yes"/>
3118 <modify-argument index="1" invalidate-after-use="yes"/>
3119 </modify-function>
3119 </modify-function>
3120 <modify-function signature="mouseReleaseEvent(QGraphicsSceneMouseEvent*)">
3120 <modify-function signature="mouseReleaseEvent(QGraphicsSceneMouseEvent*)">
3121 <modify-argument index="1" invalidate-after-use="yes"/>
3121 <modify-argument index="1" invalidate-after-use="yes"/>
3122 </modify-function>
3122 </modify-function>
3123 <modify-function signature="wheelEvent(QGraphicsSceneWheelEvent*)">
3123 <modify-function signature="wheelEvent(QGraphicsSceneWheelEvent*)">
3124 <modify-argument index="1" invalidate-after-use="yes"/>
3124 <modify-argument index="1" invalidate-after-use="yes"/>
3125 </modify-function>
3125 </modify-function>
3126
3126
3127 <modify-function signature="setActiveWindow(QGraphicsWidget*)">
3127 <modify-function signature="setActiveWindow(QGraphicsWidget*)">
3128 <modify-argument index="1">
3128 <modify-argument index="1">
3129 <reference-count action="ignore"/>
3129 <reference-count action="ignore"/>
3130 </modify-argument>
3130 </modify-argument>
3131 </modify-function>
3131 </modify-function>
3132 <modify-function signature="setStyle(QStyle*)">
3132 <modify-function signature="setStyle(QStyle*)">
3133 <modify-argument index="1">
3133 <modify-argument index="1">
3134 <reference-count action="ignore"/>
3134 <reference-count action="ignore"/>
3135 </modify-argument>
3135 </modify-argument>
3136 </modify-function>
3136 </modify-function>
3137
3137
3138 <modify-function signature="addItem(QGraphicsItem *)">
3138 <modify-function signature="addItem(QGraphicsItem *)">
3139 <modify-argument index="1">
3139 <modify-argument index="1">
3140 <define-ownership class="java" owner="c++"/>
3140 <define-ownership class="java" owner="c++"/>
3141 </modify-argument>
3141 </modify-argument>
3142 </modify-function>
3142 </modify-function>
3143 <modify-function signature="addEllipse(const QRectF &amp;, const QPen &amp;, const QBrush &amp;)">
3143 <modify-function signature="addEllipse(const QRectF &amp;, const QPen &amp;, const QBrush &amp;)">
3144 <modify-argument index="return">
3144 <modify-argument index="return">
3145 <define-ownership class="java" owner="c++"/>
3145 <define-ownership class="java" owner="c++"/>
3146 </modify-argument>
3146 </modify-argument>
3147 </modify-function>
3147 </modify-function>
3148 <modify-function signature="addLine(const QLineF &amp;, const QPen &amp;)">
3148 <modify-function signature="addLine(const QLineF &amp;, const QPen &amp;)">
3149 <modify-argument index="return">
3149 <modify-argument index="return">
3150 <define-ownership class="java" owner="c++"/>
3150 <define-ownership class="java" owner="c++"/>
3151 </modify-argument>
3151 </modify-argument>
3152 </modify-function>
3152 </modify-function>
3153 <modify-function signature="addPath(const QPainterPath &amp;, const QPen &amp;, const QBrush &amp;)">
3153 <modify-function signature="addPath(const QPainterPath &amp;, const QPen &amp;, const QBrush &amp;)">
3154 <modify-argument index="return">
3154 <modify-argument index="return">
3155 <define-ownership class="java" owner="c++"/>
3155 <define-ownership class="java" owner="c++"/>
3156 </modify-argument>
3156 </modify-argument>
3157 </modify-function>
3157 </modify-function>
3158 <modify-function signature="addPixmap(const QPixmap &amp;)">
3158 <modify-function signature="addPixmap(const QPixmap &amp;)">
3159 <modify-argument index="return">
3159 <modify-argument index="return">
3160 <define-ownership class="java" owner="c++"/>
3160 <define-ownership class="java" owner="c++"/>
3161 </modify-argument>
3161 </modify-argument>
3162 </modify-function>
3162 </modify-function>
3163 <modify-function signature="addPolygon(const QPolygonF &amp;, const QPen &amp;, const QBrush &amp;)">
3163 <modify-function signature="addPolygon(const QPolygonF &amp;, const QPen &amp;, const QBrush &amp;)">
3164 <modify-argument index="return">
3164 <modify-argument index="return">
3165 <define-ownership class="java" owner="c++"/>
3165 <define-ownership class="java" owner="c++"/>
3166 </modify-argument>
3166 </modify-argument>
3167 </modify-function>
3167 </modify-function>
3168 <modify-function signature="addRect(const QRectF &amp;, const QPen &amp;, const QBrush &amp;)">
3168 <modify-function signature="addRect(const QRectF &amp;, const QPen &amp;, const QBrush &amp;)">
3169 <modify-argument index="return">
3169 <modify-argument index="return">
3170 <define-ownership class="java" owner="c++"/>
3170 <define-ownership class="java" owner="c++"/>
3171 </modify-argument>
3171 </modify-argument>
3172 </modify-function>
3172 </modify-function>
3173 <modify-function signature="addText(const QString &amp;, const QFont &amp;)">
3173 <modify-function signature="addText(const QString &amp;, const QFont &amp;)">
3174 <modify-argument index="return">
3174 <modify-argument index="return">
3175 <define-ownership class="java" owner="c++"/>
3175 <define-ownership class="java" owner="c++"/>
3176 </modify-argument>
3176 </modify-argument>
3177 </modify-function>
3177 </modify-function>
3178 <modify-function signature="addWidget(QWidget*,QFlags&lt;Qt::WindowType&gt;)">
3178 <modify-function signature="addWidget(QWidget*,QFlags&lt;Qt::WindowType&gt;)">
3179 <modify-argument index="return">
3179 <modify-argument index="return">
3180 <define-ownership class="java" owner="c++"/>
3180 <define-ownership class="java" owner="c++"/>
3181 </modify-argument>
3181 </modify-argument>
3182 <modify-argument index="1">
3182 <modify-argument index="1">
3183 <define-ownership class="java" owner="c++"/>
3183 <define-ownership class="java" owner="c++"/>
3184 </modify-argument>
3184 </modify-argument>
3185 </modify-function>
3185 </modify-function>
3186 <modify-function signature="removeItem(QGraphicsItem*)">
3186 <modify-function signature="removeItem(QGraphicsItem*)">
3187 <modify-argument index="1">
3187 <modify-argument index="1">
3188 <define-ownership class="java" owner="default"/>
3188 <define-ownership class="java" owner="default"/>
3189 </modify-argument>
3189 </modify-argument>
3190 </modify-function>
3190 </modify-function>
3191 <modify-function signature="setFocusItem(QGraphicsItem*,Qt::FocusReason)">
3191 <modify-function signature="setFocusItem(QGraphicsItem*,Qt::FocusReason)">
3192 <modify-argument index="1">
3192 <modify-argument index="1">
3193 <reference-count action="set" variable-name="__rcFocusItem"/>
3193 <reference-count action="set" variable-name="__rcFocusItem"/>
3194 </modify-argument>
3194 </modify-argument>
3195 </modify-function>
3195 </modify-function>
3196 </object-type>
3196 </object-type>
3197
3197
3198
3198
3199 <object-type name="QCalendarWidget">
3199 <object-type name="QCalendarWidget">
3200 <extra-includes>
3200 <extra-includes>
3201 <include file-name="QTextCharFormat" location="global"/>
3201 <include file-name="QTextCharFormat" location="global"/>
3202 </extra-includes>
3202 </extra-includes>
3203
3203
3204 <modify-function signature="isHeaderVisible()const" remove="all"/> <!--### Obsolete in 4.3-->
3204 <modify-function signature="isHeaderVisible()const" remove="all"/> <!--### Obsolete in 4.3-->
3205 <modify-function signature="setHeaderVisible(bool)" remove="all"/> <!--### Obsolete in 4.3-->
3205 <modify-function signature="setHeaderVisible(bool)" remove="all"/> <!--### Obsolete in 4.3-->
3206
3206
3207 <modify-function signature="paintCell(QPainter*,QRect,QDate)const">
3207 <modify-function signature="paintCell(QPainter*,QRect,QDate)const">
3208 <modify-argument invalidate-after-use="yes" index="1"/>
3208 <modify-argument invalidate-after-use="yes" index="1"/>
3209 </modify-function>
3209 </modify-function>
3210
3210
3211 <modify-function signature="sizeHint()const" rename="getSizeHint"/>
3211 <modify-function signature="sizeHint()const" rename="getSizeHint"/>
3212 <modify-function signature="minimumSizeHint()const" rename="getMinimumSizeHint"/>
3212 <modify-function signature="minimumSizeHint()const" rename="getMinimumSizeHint"/>
3213 </object-type>
3213 </object-type>
3214
3214
3215 <object-type name="QTreeWidget">
3215 <object-type name="QTreeWidget">
3216 <modify-function signature="dropMimeData(QTreeWidgetItem*,int,const QMimeData*,Qt::DropAction)">
3216 <modify-function signature="dropMimeData(QTreeWidgetItem*,int,const QMimeData*,Qt::DropAction)">
3217 <modify-argument index="1" invalidate-after-use="yes"/>
3217 <modify-argument index="1" invalidate-after-use="yes"/>
3218 </modify-function>
3218 </modify-function>
3219 <modify-function signature="isSortingEnabled()const" remove="all"/>
3219 <modify-function signature="isSortingEnabled()const" remove="all"/>
3220 <modify-function signature="setSortingEnabled(bool)" remove="all"/>
3220 <modify-function signature="setSortingEnabled(bool)" remove="all"/>
3221 <modify-function signature="indexOfTopLevelItem(QTreeWidgetItem *)">
3221 <modify-function signature="indexOfTopLevelItem(QTreeWidgetItem *)">
3222 <remove/>
3222 <remove/>
3223 </modify-function>
3223 </modify-function>
3224 <modify-function signature="addTopLevelItem(QTreeWidgetItem *)">
3224 <modify-function signature="addTopLevelItem(QTreeWidgetItem *)">
3225 <modify-argument index="1">
3225 <modify-argument index="1">
3226 <define-ownership class="java" owner="c++"/>
3226 <define-ownership class="java" owner="c++"/>
3227 </modify-argument>
3227 </modify-argument>
3228 </modify-function>
3228 </modify-function>
3229 <modify-function signature="takeTopLevelItem(int)">
3229 <modify-function signature="takeTopLevelItem(int)">
3230 <modify-argument index="return">
3230 <modify-argument index="return">
3231 <define-ownership class="java" owner="default"/>
3231 <define-ownership class="java" owner="default"/>
3232 </modify-argument>
3232 </modify-argument>
3233 </modify-function>
3233 </modify-function>
3234 <modify-function signature="addTopLevelItems(const QList&lt;QTreeWidgetItem*&gt; &amp;)">
3234 <modify-function signature="addTopLevelItems(const QList&lt;QTreeWidgetItem*&gt; &amp;)">
3235 <modify-argument index="1">
3235 <modify-argument index="1">
3236 <define-ownership class="java" owner="c++"/>
3236 <define-ownership class="java" owner="c++"/>
3237 </modify-argument>
3237 </modify-argument>
3238 </modify-function>
3238 </modify-function>
3239 <modify-function signature="insertTopLevelItem(int, QTreeWidgetItem *)">
3239 <modify-function signature="insertTopLevelItem(int, QTreeWidgetItem *)">
3240 <modify-argument index="2">
3240 <modify-argument index="2">
3241 <define-ownership class="java" owner="c++"/>
3241 <define-ownership class="java" owner="c++"/>
3242 </modify-argument>
3242 </modify-argument>
3243 </modify-function>
3243 </modify-function>
3244 <modify-function signature="insertTopLevelItems(int, const QList&lt;QTreeWidgetItem*&gt; &amp;)">
3244 <modify-function signature="insertTopLevelItems(int, const QList&lt;QTreeWidgetItem*&gt; &amp;)">
3245 <modify-argument index="2">
3245 <modify-argument index="2">
3246 <define-ownership class="java" owner="c++"/>
3246 <define-ownership class="java" owner="c++"/>
3247 </modify-argument>
3247 </modify-argument>
3248 </modify-function>
3248 </modify-function>
3249 <modify-function signature="setHeaderItem(QTreeWidgetItem *)">
3249 <modify-function signature="setHeaderItem(QTreeWidgetItem *)">
3250 <modify-argument index="1">
3250 <modify-argument index="1">
3251 <define-ownership class="java" owner="c++"/>
3251 <define-ownership class="java" owner="c++"/>
3252 </modify-argument>
3252 </modify-argument>
3253 </modify-function>
3253 </modify-function>
3254 <modify-function signature="takeTopLevelItem(int)">
3254 <modify-function signature="takeTopLevelItem(int)">
3255 <modify-argument index="return">
3255 <modify-argument index="return">
3256 <define-ownership class="java" owner="default"/>
3256 <define-ownership class="java" owner="default"/>
3257 </modify-argument>
3257 </modify-argument>
3258 </modify-function>
3258 </modify-function>
3259 <modify-function signature="removeItemWidget(QTreeWidgetItem*,int)">
3259 <modify-function signature="removeItemWidget(QTreeWidgetItem*,int)">
3260 <modify-argument index="1">
3260 <modify-argument index="1">
3261 <define-ownership class="java" owner="default"/>
3261 <define-ownership class="java" owner="default"/>
3262 </modify-argument>
3262 </modify-argument>
3263 </modify-function>
3263 </modify-function>
3264 <modify-function signature="setCurrentItem(QTreeWidgetItem*,int,QFlags&lt;QItemSelectionModel::SelectionFlag&gt;)">
3264 <modify-function signature="setCurrentItem(QTreeWidgetItem*,int,QFlags&lt;QItemSelectionModel::SelectionFlag&gt;)">
3265 <modify-argument index="1">
3265 <modify-argument index="1">
3266 <reference-count action="ignore"/>
3266 <reference-count action="ignore"/>
3267 </modify-argument>
3267 </modify-argument>
3268 </modify-function>
3268 </modify-function>
3269 <modify-function signature="setFirstItemColumnSpanned(const QTreeWidgetItem*,bool)">
3269 <modify-function signature="setFirstItemColumnSpanned(const QTreeWidgetItem*,bool)">
3270 <modify-argument index="1">
3270 <modify-argument index="1">
3271 <reference-count action="ignore"/>
3271 <reference-count action="ignore"/>
3272 </modify-argument>
3272 </modify-argument>
3273 </modify-function>
3273 </modify-function>
3274 <modify-function signature="setCurrentItem(QTreeWidgetItem*)">
3274 <modify-function signature="setCurrentItem(QTreeWidgetItem*)">
3275 <modify-argument index="1">
3275 <modify-argument index="1">
3276 <reference-count action="ignore"/>
3276 <reference-count action="ignore"/>
3277 </modify-argument>
3277 </modify-argument>
3278 </modify-function>
3278 </modify-function>
3279 <modify-function signature="setCurrentItem(QTreeWidgetItem*,int)">
3279 <modify-function signature="setCurrentItem(QTreeWidgetItem*,int)">
3280 <modify-argument index="1">
3280 <modify-argument index="1">
3281 <reference-count action="ignore"/>
3281 <reference-count action="ignore"/>
3282 </modify-argument>
3282 </modify-argument>
3283 </modify-function>
3283 </modify-function>
3284 <modify-function signature="setItemExpanded(const QTreeWidgetItem*,bool)">
3284 <modify-function signature="setItemExpanded(const QTreeWidgetItem*,bool)">
3285 <remove/>
3285 <remove/>
3286 </modify-function>
3286 </modify-function>
3287 <modify-function signature="isItemExpanded(const QTreeWidgetItem*)const">
3287 <modify-function signature="isItemExpanded(const QTreeWidgetItem*)const">
3288 <remove/>
3288 <remove/>
3289 </modify-function>
3289 </modify-function>
3290 <modify-function signature="setItemHidden(const QTreeWidgetItem*,bool)">
3290 <modify-function signature="setItemHidden(const QTreeWidgetItem*,bool)">
3291 <remove/>
3291 <remove/>
3292 </modify-function>
3292 </modify-function>
3293 <modify-function signature="isItemHidden(const QTreeWidgetItem*)const">
3293 <modify-function signature="isItemHidden(const QTreeWidgetItem*)const">
3294 <remove/>
3294 <remove/>
3295 </modify-function>
3295 </modify-function>
3296 <modify-function signature="isItemSelected(const QTreeWidgetItem*)const">
3296 <modify-function signature="isItemSelected(const QTreeWidgetItem*)const">
3297 <remove/>
3297 <remove/>
3298 </modify-function>
3298 </modify-function>
3299 <modify-function signature="setItemSelected(const QTreeWidgetItem*,bool)">
3299 <modify-function signature="setItemSelected(const QTreeWidgetItem*,bool)">
3300 <remove/>
3300 <remove/>
3301 </modify-function>
3301 </modify-function>
3302 <modify-function signature="setItemWidget(QTreeWidgetItem*,int,QWidget*)">
3302 <modify-function signature="setItemWidget(QTreeWidgetItem*,int,QWidget*)">
3303 <modify-argument index="1">
3303 <modify-argument index="1">
3304 <reference-count action="ignore"/>
3304 <reference-count action="ignore"/>
3305 </modify-argument>
3305 </modify-argument>
3306 <modify-argument index="3">
3306 <modify-argument index="3">
3307 <reference-count action="ignore"/>
3307 <reference-count action="ignore"/>
3308 </modify-argument>
3308 </modify-argument>
3309 </modify-function>
3309 </modify-function>
3310 <modify-function signature="setModel(QAbstractItemModel*)">
3310 <modify-function signature="setModel(QAbstractItemModel*)">
3311 <modify-argument index="1">
3311 <modify-argument index="1">
3312 <reference-count action="ignore"/>
3312 <reference-count action="ignore"/>
3313 </modify-argument>
3313 </modify-argument>
3314 </modify-function>
3314 </modify-function>
3315
3315
3316 <modify-function signature="items(const QMimeData*)const" remove="all"/> <!--### Obsolete in 4.3-->
3316 <modify-function signature="items(const QMimeData*)const" remove="all"/> <!--### Obsolete in 4.3-->
3317
3317
3318 <modify-function signature="mimeData(const QList&lt;QTreeWidgetItem*&gt;)const" remove="all"/>
3318 <modify-function signature="mimeData(const QList&lt;QTreeWidgetItem*&gt;)const" remove="all"/>
3319 </object-type>
3319 </object-type>
3320
3320
3321 <object-type name="QAbstractItemDelegate">
3321 <object-type name="QAbstractItemDelegate">
3322 <modify-function signature="setEditorData(QWidget*,QModelIndex)const">
3322 <modify-function signature="setEditorData(QWidget*,QModelIndex)const">
3323 <modify-argument index="1">
3323 <modify-argument index="1">
3324 <!-- Safe to ignore because this implementation is documented to do nothing -->
3324 <!-- Safe to ignore because this implementation is documented to do nothing -->
3325 <reference-count action="ignore"/>
3325 <reference-count action="ignore"/>
3326 </modify-argument>
3326 </modify-argument>
3327 </modify-function>
3327 </modify-function>
3328 <modify-function signature="setModelData(QWidget*,QAbstractItemModel*,QModelIndex)const">
3328 <modify-function signature="setModelData(QWidget*,QAbstractItemModel*,QModelIndex)const">
3329 <modify-argument index="1">
3329 <modify-argument index="1">
3330 <reference-count action="ignore"/>
3330 <reference-count action="ignore"/>
3331 </modify-argument>
3331 </modify-argument>
3332 <modify-argument index="2">
3332 <modify-argument index="2">
3333 <reference-count action="ignore"/>
3333 <reference-count action="ignore"/>
3334 </modify-argument>
3334 </modify-argument>
3335 </modify-function>
3335 </modify-function>
3336
3336
3337 <modify-function signature="paint(QPainter*,QStyleOptionViewItem,QModelIndex)const">
3337 <modify-function signature="paint(QPainter*,QStyleOptionViewItem,QModelIndex)const">
3338 <modify-argument index="1" invalidate-after-use="yes"/>
3338 <modify-argument index="1" invalidate-after-use="yes"/>
3339 </modify-function>
3339 </modify-function>
3340 <modify-function signature="editorEvent(QEvent*,QAbstractItemModel*,QStyleOptionViewItem,QModelIndex)">
3340 <modify-function signature="editorEvent(QEvent*,QAbstractItemModel*,QStyleOptionViewItem,QModelIndex)">
3341 <modify-argument index="1" invalidate-after-use="yes"/>
3341 <modify-argument index="1" invalidate-after-use="yes"/>
3342 </modify-function>
3342 </modify-function>
3343
3343
3344 <modify-function signature="elidedText(QFontMetrics, int, Qt::TextElideMode, QString)" remove="all"/> <!--### Obsolete in 4.3-->
3344 <modify-function signature="elidedText(QFontMetrics, int, Qt::TextElideMode, QString)" remove="all"/> <!--### Obsolete in 4.3-->
3345 </object-type>
3345 </object-type>
3346
3346
3347 <object-type name="QTableWidgetItem" delete-in-main-thread="yes">
3347 <object-type name="QTableWidgetItem" delete-in-main-thread="yes">
3348 <modify-function signature="operator=(const QTableWidgetItem&amp;)" remove="all"/>
3348 <modify-function signature="operator=(const QTableWidgetItem&amp;)" remove="all"/>
3349 <modify-function signature="clone() const">
3349 <modify-function signature="clone() const">
3350 <modify-argument index="return">
3350 <modify-argument index="return">
3351 <define-ownership class="shell" owner="c++"/>
3351 <define-ownership class="shell" owner="c++"/>
3352 </modify-argument>
3352 </modify-argument>
3353 </modify-function>
3353 </modify-function>
3354
3354
3355 <modify-function signature="backgroundColor()const" remove="all"/> <!--### Obsolete in 4.3-->
3355 <modify-function signature="backgroundColor()const" remove="all"/> <!--### Obsolete in 4.3-->
3356 <modify-function signature="setBackgroundColor(QColor)" remove="all"/> <!--### Obsolete in 4.3-->
3356 <modify-function signature="setBackgroundColor(QColor)" remove="all"/> <!--### Obsolete in 4.3-->
3357 <modify-function signature="setTextColor(QColor)" remove="all"/> <!--### Obsolete in 4.3-->
3357 <modify-function signature="setTextColor(QColor)" remove="all"/> <!--### Obsolete in 4.3-->
3358 <modify-function signature="textColor()const" remove="all"/> <!--### Obsolete in 4.3-->
3358 <modify-function signature="textColor()const" remove="all"/> <!--### Obsolete in 4.3-->
3359
3359
3360 <modify-function signature="operator&lt;(QTableWidgetItem)const">
3360 <modify-function signature="operator&lt;(QTableWidgetItem)const">
3361 <modify-argument index="1" invalidate-after-use="yes"/>
3361 <modify-argument index="1" invalidate-after-use="yes"/>
3362 </modify-function>
3362 </modify-function>
3363 <modify-function signature="read(QDataStream&amp;)">
3363 <modify-function signature="read(QDataStream&amp;)">
3364 <modify-argument index="1" invalidate-after-use="yes"/>
3364 <modify-argument index="1" invalidate-after-use="yes"/>
3365 </modify-function>
3365 </modify-function>
3366 <modify-function signature="write(QDataStream&amp;)const">
3366 <modify-function signature="write(QDataStream&amp;)const">
3367 <modify-argument index="1" invalidate-after-use="yes"/>
3367 <modify-argument index="1" invalidate-after-use="yes"/>
3368 </modify-function>
3368 </modify-function>
3369
3369
3370
3370
3371 <modify-function signature="read(QDataStream &amp;)" remove="all"/>
3371 <modify-function signature="read(QDataStream &amp;)" remove="all"/>
3372 <modify-function signature="write(QDataStream &amp;)const" remove="all"/>
3372 <modify-function signature="write(QDataStream &amp;)const" remove="all"/>
3373 <modify-function signature="QTableWidgetItem(QTableWidgetItem)" remove="all"/>
3373 <modify-function signature="QTableWidgetItem(QTableWidgetItem)" remove="all"/>
3374 <modify-function signature="operator=(QTableWidgetItem)" remove="all"/>
3374 <modify-function signature="operator=(QTableWidgetItem)" remove="all"/>
3375 <modify-function signature="operator&lt;(QTableWidgetItem)const" remove="all"/>
3375 <modify-function signature="operator&lt;(QTableWidgetItem)const" remove="all"/>
3376 </object-type>
3376 </object-type>
3377
3377
3378 <object-type name="QListWidgetItem" delete-in-main-thread="yes">
3378 <object-type name="QListWidgetItem" delete-in-main-thread="yes">
3379
3379
3380 <modify-function signature="operator&lt;(QListWidgetItem)const">
3380 <modify-function signature="operator&lt;(QListWidgetItem)const">
3381 <modify-argument index="1" invalidate-after-use="yes"/>
3381 <modify-argument index="1" invalidate-after-use="yes"/>
3382 </modify-function>
3382 </modify-function>
3383 <modify-function signature="read(QDataStream&amp;)">
3383 <modify-function signature="read(QDataStream&amp;)">
3384 <modify-argument index="1" invalidate-after-use="yes"/>
3384 <modify-argument index="1" invalidate-after-use="yes"/>
3385 </modify-function>
3385 </modify-function>
3386 <modify-function signature="write(QDataStream&amp;)const">
3386 <modify-function signature="write(QDataStream&amp;)const">
3387 <modify-argument index="1" invalidate-after-use="yes"/>
3387 <modify-argument index="1" invalidate-after-use="yes"/>
3388 </modify-function>
3388 </modify-function>
3389
3389
3390
3390
3391 <modify-function signature="operator=(const QListWidgetItem&amp;)" remove="all"/>
3391 <modify-function signature="operator=(const QListWidgetItem&amp;)" remove="all"/>
3392 <modify-function signature="QListWidgetItem(QListWidget *, int)">
3392 <modify-function signature="QListWidgetItem(QListWidget *, int)">
3393 <modify-argument index="this">
3393 <modify-argument index="this">
3394 <define-ownership class="java" owner="c++"/>
3394 <define-ownership class="java" owner="c++"/>
3395 </modify-argument>
3395 </modify-argument>
3396 </modify-function>
3396 </modify-function>
3397 <modify-function signature="QListWidgetItem(const QString &amp;, QListWidget *, int)">
3397 <modify-function signature="QListWidgetItem(const QString &amp;, QListWidget *, int)">
3398 <modify-argument index="this">
3398 <modify-argument index="this">
3399 <define-ownership class="java" owner="c++"/>
3399 <define-ownership class="java" owner="c++"/>
3400 </modify-argument>
3400 </modify-argument>
3401 </modify-function>
3401 </modify-function>
3402 <modify-function signature="QListWidgetItem(const QIcon &amp;, const QString &amp;, QListWidget *, int)">
3402 <modify-function signature="QListWidgetItem(const QIcon &amp;, const QString &amp;, QListWidget *, int)">
3403 <modify-argument index="this">
3403 <modify-argument index="this">
3404 <define-ownership class="java" owner="c++"/>
3404 <define-ownership class="java" owner="c++"/>
3405 </modify-argument>
3405 </modify-argument>
3406 </modify-function>
3406 </modify-function>
3407 <modify-function signature="clone() const">
3407 <modify-function signature="clone() const">
3408 <modify-argument index="return">
3408 <modify-argument index="return">
3409 <define-ownership class="shell" owner="c++"/>
3409 <define-ownership class="shell" owner="c++"/>
3410 </modify-argument>
3410 </modify-argument>
3411 </modify-function>
3411 </modify-function>
3412
3412
3413 <modify-function signature="backgroundColor()const" remove="all"/> <!--### Obsolete in 4.3-->
3413 <modify-function signature="backgroundColor()const" remove="all"/> <!--### Obsolete in 4.3-->
3414 <modify-function signature="setBackgroundColor(QColor)" remove="all"/> <!--### Obsolete in 4.3-->
3414 <modify-function signature="setBackgroundColor(QColor)" remove="all"/> <!--### Obsolete in 4.3-->
3415 <modify-function signature="setTextColor(QColor)" remove="all"/> <!--### Obsolete in 4.3-->
3415 <modify-function signature="setTextColor(QColor)" remove="all"/> <!--### Obsolete in 4.3-->
3416 <modify-function signature="textColor()const" remove="all"/> <!--### Obsolete in 4.3-->
3416 <modify-function signature="textColor()const" remove="all"/> <!--### Obsolete in 4.3-->
3417
3417
3418 <modify-function signature="read(QDataStream &amp;)" remove="all"/>
3418 <modify-function signature="read(QDataStream &amp;)" remove="all"/>
3419 <modify-function signature="write(QDataStream &amp;)const" remove="all"/>
3419 <modify-function signature="write(QDataStream &amp;)const" remove="all"/>
3420 <modify-function signature="QListWidgetItem(QListWidgetItem)" remove="all"/>
3420 <modify-function signature="QListWidgetItem(QListWidgetItem)" remove="all"/>
3421 <modify-function signature="operator=(QListWidgetItem)" remove="all"/>
3421 <modify-function signature="operator=(QListWidgetItem)" remove="all"/>
3422 <modify-function signature="operator&lt;(QListWidgetItem)const" remove="all"/>
3422 <modify-function signature="operator&lt;(QListWidgetItem)const" remove="all"/>
3423 </object-type>
3423 </object-type>
3424
3424
3425 <object-type name="QGraphicsTextItem"> <!-- a QObject so main-thread delete redundant -->
3425 <object-type name="QGraphicsTextItem"> <!-- a QObject so main-thread delete redundant -->
3426 <extra-includes>
3426 <extra-includes>
3427 <include file-name="QTextCursor" location="global"/>
3427 <include file-name="QTextCursor" location="global"/>
3428 </extra-includes>
3428 </extra-includes>
3429 <modify-function signature="QGraphicsTextItem(QGraphicsItem*,QGraphicsScene*)">
3429 <modify-function signature="QGraphicsTextItem(QGraphicsItem*,QGraphicsScene*)">
3430 <inject-code position="end">
3430 <inject-code position="end">
3431 <argument-map index="1" meta-name="%1"/>
3431 <argument-map index="1" meta-name="%1"/>
3432 if (%1 != null) disableGarbageCollection();
3432 if (%1 != null) disableGarbageCollection();
3433 </inject-code>
3433 </inject-code>
3434 </modify-function>
3434 </modify-function>
3435 <modify-function signature="QGraphicsTextItem(const QString &amp;,QGraphicsItem*,QGraphicsScene*)">
3435 <modify-function signature="QGraphicsTextItem(const QString &amp;,QGraphicsItem*,QGraphicsScene*)">
3436 <inject-code position="end">
3436 <inject-code position="end">
3437 <argument-map index="2" meta-name="%2"/>
3437 <argument-map index="2" meta-name="%2"/>
3438 if (%2 != null) disableGarbageCollection();
3438 if (%2 != null) disableGarbageCollection();
3439 </inject-code>
3439 </inject-code>
3440 </modify-function>
3440 </modify-function>
3441 <modify-function signature="setDocument(QTextDocument*)">
3441 <modify-function signature="setDocument(QTextDocument*)">
3442 <modify-argument index="1">
3442 <modify-argument index="1">
3443 <reference-count action="set" variable-name="__rcDocument"/>
3443 <reference-count action="set" variable-name="__rcDocument"/>
3444 </modify-argument>
3444 </modify-argument>
3445 </modify-function>
3445 </modify-function>
3446
3446
3447 <modify-function signature="matrix()const" remove="all"/> <!--### Obsolete in 4.3-->
3447 <modify-function signature="matrix()const" remove="all"/> <!--### Obsolete in 4.3-->
3448 <modify-function signature="resetMatrix()" remove="all"/> <!--### Obsolete in 4.3-->
3448 <modify-function signature="resetMatrix()" remove="all"/> <!--### Obsolete in 4.3-->
3449 <modify-function signature="sceneMatrix()const" remove="all"/> <!--### Obsolete in 4.3-->
3449 <modify-function signature="sceneMatrix()const" remove="all"/> <!--### Obsolete in 4.3-->
3450 <modify-function signature="setMatrix(QMatrix, bool)" remove="all"/> <!--### Obsolete in 4.3-->
3450 <modify-function signature="setMatrix(QMatrix, bool)" remove="all"/> <!--### Obsolete in 4.3-->
3451 </object-type>
3451 </object-type>
3452
3452
3453 <object-type name="QCompleter">
3453 <object-type name="QCompleter">
3454 <modify-function signature="activated(const QModelIndex &amp;)">
3454 <modify-function signature="activated(const QModelIndex &amp;)">
3455 <rename to="activatedIndex"/>
3455 <rename to="activatedIndex"/>
3456 </modify-function>
3456 </modify-function>
3457 <modify-function signature="highlighted(const QModelIndex &amp;)">
3457 <modify-function signature="highlighted(const QModelIndex &amp;)">
3458 <rename to="highlightedIndex"/>
3458 <rename to="highlightedIndex"/>
3459 </modify-function>
3459 </modify-function>
3460 <modify-function signature="setModel(QAbstractItemModel *)">
3460 <modify-function signature="setModel(QAbstractItemModel *)">
3461 <modify-argument index="1">
3461 <modify-argument index="1">
3462 <reference-count action="set" variable-name="__rcModel"/>
3462 <reference-count action="set" variable-name="__rcModel"/>
3463 </modify-argument>
3463 </modify-argument>
3464 </modify-function>
3464 </modify-function>
3465 <modify-function signature="setPopup(QAbstractItemView *)">
3465 <modify-function signature="setPopup(QAbstractItemView *)">
3466 <modify-argument index="1">
3466 <modify-argument index="1">
3467 <no-null-pointer/>
3467 <no-null-pointer/>
3468 <define-ownership class="java" owner="c++"/>
3468 <define-ownership class="java" owner="c++"/>
3469 </modify-argument>
3469 </modify-argument>
3470 </modify-function>
3470 </modify-function>
3471 <modify-function signature="setWidget(QWidget *)">
3471 <modify-function signature="setWidget(QWidget *)">
3472 <modify-argument index="1">
3472 <modify-argument index="1">
3473 <reference-count action="set" variable-name="__rcWidget"/>
3473 <reference-count action="set" variable-name="__rcWidget"/>
3474 </modify-argument>
3474 </modify-argument>
3475 </modify-function>
3475 </modify-function>
3476 </object-type>
3476 </object-type>
3477
3477
3478
3478
3479 <object-type name="QTreeWidgetItem" delete-in-main-thread="yes">
3479 <object-type name="QTreeWidgetItem" delete-in-main-thread="yes">
3480
3480
3481 <modify-function signature="operator&lt;(QTreeWidgetItem)const">
3481 <modify-function signature="operator&lt;(QTreeWidgetItem)const">
3482 <modify-argument index="1" invalidate-after-use="yes"/>
3482 <modify-argument index="1" invalidate-after-use="yes"/>
3483 </modify-function>
3483 </modify-function>
3484 <modify-function signature="read(QDataStream&amp;)">
3484 <modify-function signature="read(QDataStream&amp;)">
3485 <modify-argument index="1" invalidate-after-use="yes"/>
3485 <modify-argument index="1" invalidate-after-use="yes"/>
3486 </modify-function>
3486 </modify-function>
3487 <modify-function signature="write(QDataStream&amp;)const">
3487 <modify-function signature="write(QDataStream&amp;)const">
3488 <modify-argument index="1" invalidate-after-use="yes"/>
3488 <modify-argument index="1" invalidate-after-use="yes"/>
3489 </modify-function>
3489 </modify-function>
3490
3490
3491 <modify-function signature="QTreeWidgetItem(const QTreeWidgetItem &amp;)" remove="all"/>
3491 <modify-function signature="QTreeWidgetItem(const QTreeWidgetItem &amp;)" remove="all"/>
3492 <modify-function signature="operator=(const QTreeWidgetItem&amp;)" remove="all"/>
3492 <modify-function signature="operator=(const QTreeWidgetItem&amp;)" remove="all"/>
3493
3493
3494 <modify-function signature="QTreeWidgetItem(QTreeWidget *,int)">
3494 <modify-function signature="QTreeWidgetItem(QTreeWidget *,int)">
3495 <modify-argument index="this">
3495 <modify-argument index="this">
3496 <define-ownership class="java" owner="c++"/>
3496 <define-ownership class="java" owner="c++"/>
3497 </modify-argument>
3497 </modify-argument>
3498 </modify-function>
3498 </modify-function>
3499 <modify-function signature="QTreeWidgetItem(QTreeWidget *,const QStringList&lt;QString&gt; &amp;,int)">
3499 <modify-function signature="QTreeWidgetItem(QTreeWidget *,const QStringList&lt;QString&gt; &amp;,int)">
3500 <modify-argument index="this">
3500 <modify-argument index="this">
3501 <define-ownership class="java" owner="c++"/>
3501 <define-ownership class="java" owner="c++"/>
3502 </modify-argument>
3502 </modify-argument>
3503 </modify-function>
3503 </modify-function>
3504 <modify-function signature="QTreeWidgetItem(QTreeWidget *,QTreeWidgetItem *,int)">
3504 <modify-function signature="QTreeWidgetItem(QTreeWidget *,QTreeWidgetItem *,int)">
3505 <modify-argument index="this">
3505 <modify-argument index="this">
3506 <define-ownership class="java" owner="c++"/>
3506 <define-ownership class="java" owner="c++"/>
3507 </modify-argument>
3507 </modify-argument>
3508 </modify-function>
3508 </modify-function>
3509 <modify-function signature="QTreeWidgetItem(QTreeWidgetItem *,int)">
3509 <modify-function signature="QTreeWidgetItem(QTreeWidgetItem *,int)">
3510 <modify-argument index="this">
3510 <modify-argument index="this">
3511 <define-ownership class="java" owner="c++"/>
3511 <define-ownership class="java" owner="c++"/>
3512 </modify-argument>
3512 </modify-argument>
3513 </modify-function>
3513 </modify-function>
3514 <modify-function signature="QTreeWidgetItem(QTreeWidgetItem *,const QStringList&lt;QString&gt; &amp;,int)">
3514 <modify-function signature="QTreeWidgetItem(QTreeWidgetItem *,const QStringList&lt;QString&gt; &amp;,int)">
3515 <modify-argument index="this">
3515 <modify-argument index="this">
3516 <define-ownership class="java" owner="c++"/>
3516 <define-ownership class="java" owner="c++"/>
3517 </modify-argument>
3517 </modify-argument>
3518 </modify-function>
3518 </modify-function>
3519 <modify-function signature="QTreeWidgetItem(QTreeWidgetItem *,QTreeWidgetItem *,int)">
3519 <modify-function signature="QTreeWidgetItem(QTreeWidgetItem *,QTreeWidgetItem *,int)">
3520 <modify-argument index="this">
3520 <modify-argument index="this">
3521 <define-ownership class="java" owner="c++"/>
3521 <define-ownership class="java" owner="c++"/>
3522 </modify-argument>
3522 </modify-argument>
3523 </modify-function>
3523 </modify-function>
3524 <modify-function signature="clone() const">
3524 <modify-function signature="clone() const">
3525 <modify-argument index="return">
3525 <modify-argument index="return">
3526 <define-ownership class="shell" owner="c++"/>
3526 <define-ownership class="shell" owner="c++"/>
3527 </modify-argument>
3527 </modify-argument>
3528 </modify-function>
3528 </modify-function>
3529 <modify-function signature="addChild(QTreeWidgetItem *)">
3529 <modify-function signature="addChild(QTreeWidgetItem *)">
3530 <modify-argument index="1">
3530 <modify-argument index="1">
3531 <define-ownership class="java" owner="c++"/>
3531 <define-ownership class="java" owner="c++"/>
3532 </modify-argument>
3532 </modify-argument>
3533 </modify-function>
3533 </modify-function>
3534 <modify-function signature="addChildren(const QList&lt;QTreeWidgetItem*&gt; &amp;)">
3534 <modify-function signature="addChildren(const QList&lt;QTreeWidgetItem*&gt; &amp;)">
3535 <modify-argument index="1">
3535 <modify-argument index="1">
3536 <define-ownership class="java" owner="c++"/>
3536 <define-ownership class="java" owner="c++"/>
3537 </modify-argument>
3537 </modify-argument>
3538 </modify-function>
3538 </modify-function>
3539 <modify-function signature="insertChild(int, QTreeWidgetItem *)">
3539 <modify-function signature="insertChild(int, QTreeWidgetItem *)">
3540 <modify-argument index="2">
3540 <modify-argument index="2">
3541 <define-ownership class="java" owner="c++"/>
3541 <define-ownership class="java" owner="c++"/>
3542 </modify-argument>
3542 </modify-argument>
3543 </modify-function>
3543 </modify-function>
3544 <modify-function signature="insertChildren(int, const QList&lt;QTreeWidgetItem*&gt; &amp;)">
3544 <modify-function signature="insertChildren(int, const QList&lt;QTreeWidgetItem*&gt; &amp;)">
3545 <modify-argument index="2">
3545 <modify-argument index="2">
3546 <define-ownership class="java" owner="c++"/>
3546 <define-ownership class="java" owner="c++"/>
3547 </modify-argument>
3547 </modify-argument>
3548 </modify-function>
3548 </modify-function>
3549 <modify-function signature="removeChild(QTreeWidgetItem*)">
3549 <modify-function signature="removeChild(QTreeWidgetItem*)">
3550 <modify-argument index="1">
3550 <modify-argument index="1">
3551 <define-ownership class="java" owner="default"/>
3551 <define-ownership class="java" owner="default"/>
3552 </modify-argument>
3552 </modify-argument>
3553 </modify-function>
3553 </modify-function>
3554 <modify-function signature="takeChild(int)">
3554 <modify-function signature="takeChild(int)">
3555 <modify-argument index="return">
3555 <modify-argument index="return">
3556 <define-ownership class="java" owner="default"/>
3556 <define-ownership class="java" owner="default"/>
3557 </modify-argument>
3557 </modify-argument>
3558 </modify-function>
3558 </modify-function>
3559 <modify-function signature="takeChildren()">
3559 <modify-function signature="takeChildren()">
3560 <modify-argument index="return">
3560 <modify-argument index="return">
3561 <define-ownership class="java" owner="default"/>
3561 <define-ownership class="java" owner="default"/>
3562 </modify-argument>
3562 </modify-argument>
3563 </modify-function>
3563 </modify-function>
3564
3564
3565 <modify-function signature="backgroundColor(int)const" remove="all"/> <!--### Obsolete in 4.3-->
3565 <modify-function signature="backgroundColor(int)const" remove="all"/> <!--### Obsolete in 4.3-->
3566 <modify-function signature="setBackgroundColor(int, QColor)" remove="all"/> <!--### Obsolete in 4.3-->
3566 <modify-function signature="setBackgroundColor(int, QColor)" remove="all"/> <!--### Obsolete in 4.3-->
3567 <modify-function signature="setTextColor(int, QColor)" remove="all"/> <!--### Obsolete in 4.3-->
3567 <modify-function signature="setTextColor(int, QColor)" remove="all"/> <!--### Obsolete in 4.3-->
3568 <modify-function signature="textColor(int)const" remove="all"/> <!--### Obsolete in 4.3-->
3568 <modify-function signature="textColor(int)const" remove="all"/> <!--### Obsolete in 4.3-->
3569
3569
3570 <modify-function signature="read(QDataStream &amp;)" remove="all"/>
3570 <modify-function signature="read(QDataStream &amp;)" remove="all"/>
3571 <modify-function signature="write(QDataStream &amp;)const" remove="all"/>
3571 <modify-function signature="write(QDataStream &amp;)const" remove="all"/>
3572 <modify-function signature="QTreeWidgetItem(QTreeWidgetItem)" remove="all"/>
3572 <modify-function signature="QTreeWidgetItem(QTreeWidgetItem)" remove="all"/>
3573 <modify-function signature="operator=(QTreeWidgetItem)" remove="all"/>
3573 <modify-function signature="operator=(QTreeWidgetItem)" remove="all"/>
3574 <modify-function signature="operator&lt;(QTreeWidgetItem)const" remove="all"/>
3574 <modify-function signature="operator&lt;(QTreeWidgetItem)const" remove="all"/>
3575 </object-type>
3575 </object-type>
3576
3576
3577 <object-type name="QListWidget">
3577 <object-type name="QListWidget">
3578 <modify-function signature="addItem(QListWidgetItem *)">
3578 <modify-function signature="addItem(QListWidgetItem *)">
3579 <modify-argument index="1">
3579 <modify-argument index="1">
3580 <define-ownership class="java" owner="c++"/>
3580 <define-ownership class="java" owner="c++"/>
3581 </modify-argument>
3581 </modify-argument>
3582 </modify-function>
3582 </modify-function>
3583 <modify-function signature="insertItem(int, QListWidgetItem *)">
3583 <modify-function signature="insertItem(int, QListWidgetItem *)">
3584 <modify-argument index="2">
3584 <modify-argument index="2">
3585 <define-ownership class="java" owner="c++"/>
3585 <define-ownership class="java" owner="c++"/>
3586 </modify-argument>
3586 </modify-argument>
3587 </modify-function>
3587 </modify-function>
3588 <modify-function signature="removeItemWidget(QListWidgetItem*)">
3588 <modify-function signature="removeItemWidget(QListWidgetItem*)">
3589 <modify-argument index="1">
3589 <modify-argument index="1">
3590 <define-ownership class="java" owner="default"/>
3590 <define-ownership class="java" owner="default"/>
3591 </modify-argument>
3591 </modify-argument>
3592 </modify-function>
3592 </modify-function>
3593 <modify-function signature="setCurrentItem(QListWidgetItem*)">
3593 <modify-function signature="setCurrentItem(QListWidgetItem*)">
3594 <modify-argument index="1">
3594 <modify-argument index="1">
3595 <reference-count action="ignore"/>
3595 <reference-count action="ignore"/>
3596 </modify-argument>
3596 </modify-argument>
3597 </modify-function>
3597 </modify-function>
3598 <modify-function signature="setCurrentItem(QListWidgetItem*,QFlags&lt;QItemSelectionModel::SelectionFlag&gt;)">
3598 <modify-function signature="setCurrentItem(QListWidgetItem*,QFlags&lt;QItemSelectionModel::SelectionFlag&gt;)">
3599 <modify-argument index="1">
3599 <modify-argument index="1">
3600 <reference-count action="ignore"/>
3600 <reference-count action="ignore"/>
3601 </modify-argument>
3601 </modify-argument>
3602 </modify-function>
3602 </modify-function>
3603 <modify-function signature="setItemHidden(const QListWidgetItem*,bool)">
3603 <modify-function signature="setItemHidden(const QListWidgetItem*,bool)">
3604 <remove/>
3604 <remove/>
3605 </modify-function>
3605 </modify-function>
3606 <modify-function signature="isItemHidden(const QListWidgetItem*)const">
3606 <modify-function signature="isItemHidden(const QListWidgetItem*)const">
3607 <remove/>
3607 <remove/>
3608 </modify-function>
3608 </modify-function>
3609 <modify-function signature="setItemSelected(const QListWidgetItem*,bool)">
3609 <modify-function signature="setItemSelected(const QListWidgetItem*,bool)">
3610 <remove/>
3610 <remove/>
3611 </modify-function>
3611 </modify-function>
3612 <modify-function signature="isItemSelected(const QListWidgetItem*)const">
3612 <modify-function signature="isItemSelected(const QListWidgetItem*)const">
3613 <remove/>
3613 <remove/>
3614 </modify-function>
3614 </modify-function>
3615 <modify-function signature="takeItem(int)">
3615 <modify-function signature="takeItem(int)">
3616 <modify-argument index="return">
3616 <modify-argument index="return">
3617 <define-ownership class="java" owner="default"/>
3617 <define-ownership class="java" owner="default"/>
3618 </modify-argument>
3618 </modify-argument>
3619 </modify-function>
3619 </modify-function>
3620 <modify-function signature="setItemWidget(QListWidgetItem*,QWidget*)">
3620 <modify-function signature="setItemWidget(QListWidgetItem*,QWidget*)">
3621 <modify-argument index="1">
3621 <modify-argument index="1">
3622 <reference-count action="ignore"/>
3622 <reference-count action="ignore"/>
3623 </modify-argument>
3623 </modify-argument>
3624 <modify-argument index="2">
3624 <modify-argument index="2">
3625 <reference-count action="ignore"/>
3625 <reference-count action="ignore"/>
3626 </modify-argument>
3626 </modify-argument>
3627 </modify-function>
3627 </modify-function>
3628 <modify-function signature="setModel(QAbstractItemModel*)">
3628 <modify-function signature="setModel(QAbstractItemModel*)">
3629 <modify-argument index="1">
3629 <modify-argument index="1">
3630 <reference-count action="ignore"/>
3630 <reference-count action="ignore"/>
3631 </modify-argument>
3631 </modify-argument>
3632 </modify-function>
3632 </modify-function>
3633
3633
3634
3634
3635 <modify-function signature="mimeData(const QList&lt;QListWidgetItem*&gt;)const" remove="all"/>
3635 <modify-function signature="mimeData(const QList&lt;QListWidgetItem*&gt;)const" remove="all"/>
3636 </object-type>
3636 </object-type>
3637
3637
3638 <object-type name="QWidget">
3638 <object-type name="QWidget">
3639 <extra-includes>
3639 <extra-includes>
3640 <include file-name="QIcon" location="global"/>
3640 <include file-name="QIcon" location="global"/>
3641 <include file-name="QMessageBox" location="global"/>
3641 <include file-name="QMessageBox" location="global"/>
3642 </extra-includes>
3642 </extra-includes>
3643
3643
3644 <modify-function signature="actionEvent(QActionEvent*)">
3644 <modify-function signature="actionEvent(QActionEvent*)">
3645 <modify-argument index="1" invalidate-after-use="yes"/>
3645 <modify-argument index="1" invalidate-after-use="yes"/>
3646 </modify-function>
3646 </modify-function>
3647 <modify-function signature="changeEvent(QEvent*)">
3647 <modify-function signature="changeEvent(QEvent*)">
3648 <modify-argument index="1" invalidate-after-use="yes"/>
3648 <modify-argument index="1" invalidate-after-use="yes"/>
3649 </modify-function>
3649 </modify-function>
3650 <modify-function signature="closeEvent(QCloseEvent*)">
3650 <modify-function signature="closeEvent(QCloseEvent*)">
3651 <modify-argument index="1" invalidate-after-use="yes"/>
3651 <modify-argument index="1" invalidate-after-use="yes"/>
3652 </modify-function>
3652 </modify-function>
3653 <modify-function signature="contextMenuEvent(QContextMenuEvent*)">
3653 <modify-function signature="contextMenuEvent(QContextMenuEvent*)">
3654 <modify-argument index="1" invalidate-after-use="yes"/>
3654 <modify-argument index="1" invalidate-after-use="yes"/>
3655 </modify-function>
3655 </modify-function>
3656 <modify-function signature="dragEnterEvent(QDragEnterEvent*)">
3656 <modify-function signature="dragEnterEvent(QDragEnterEvent*)">
3657 <modify-argument index="1" invalidate-after-use="yes"/>
3657 <modify-argument index="1" invalidate-after-use="yes"/>
3658 </modify-function>
3658 </modify-function>
3659 <modify-function signature="dragLeaveEvent(QDragLeaveEvent*)">
3659 <modify-function signature="dragLeaveEvent(QDragLeaveEvent*)">
3660 <modify-argument index="1" invalidate-after-use="yes"/>
3660 <modify-argument index="1" invalidate-after-use="yes"/>
3661 </modify-function>
3661 </modify-function>
3662 <modify-function signature="dragMoveEvent(QDragMoveEvent*)">
3662 <modify-function signature="dragMoveEvent(QDragMoveEvent*)">
3663 <modify-argument index="1" invalidate-after-use="yes"/>
3663 <modify-argument index="1" invalidate-after-use="yes"/>
3664 </modify-function>
3664 </modify-function>
3665 <modify-function signature="dropEvent(QDropEvent*)">
3665 <modify-function signature="dropEvent(QDropEvent*)">
3666 <modify-argument index="1" invalidate-after-use="yes"/>
3666 <modify-argument index="1" invalidate-after-use="yes"/>
3667 </modify-function>
3667 </modify-function>
3668 <modify-function signature="enterEvent(QEvent*)">
3668 <modify-function signature="enterEvent(QEvent*)">
3669 <modify-argument index="1" invalidate-after-use="yes"/>
3669 <modify-argument index="1" invalidate-after-use="yes"/>
3670 </modify-function>
3670 </modify-function>
3671 <modify-function signature="focusInEvent(QFocusEvent*)">
3671 <modify-function signature="focusInEvent(QFocusEvent*)">
3672 <modify-argument index="1" invalidate-after-use="yes"/>
3672 <modify-argument index="1" invalidate-after-use="yes"/>
3673 </modify-function>
3673 </modify-function>
3674 <modify-function signature="focusOutEvent(QFocusEvent*)">
3674 <modify-function signature="focusOutEvent(QFocusEvent*)">
3675 <modify-argument index="1" invalidate-after-use="yes"/>
3675 <modify-argument index="1" invalidate-after-use="yes"/>
3676 </modify-function>
3676 </modify-function>
3677 <modify-function signature="hideEvent(QHideEvent*)">
3677 <modify-function signature="hideEvent(QHideEvent*)">
3678 <modify-argument index="1" invalidate-after-use="yes"/>
3678 <modify-argument index="1" invalidate-after-use="yes"/>
3679 </modify-function>
3679 </modify-function>
3680 <modify-function signature="inputMethodEvent(QInputMethodEvent*)">
3680 <modify-function signature="inputMethodEvent(QInputMethodEvent*)">
3681 <modify-argument index="1" invalidate-after-use="yes"/>
3681 <modify-argument index="1" invalidate-after-use="yes"/>
3682 </modify-function>
3682 </modify-function>
3683 <modify-function signature="keyPressEvent(QKeyEvent*)">
3683 <modify-function signature="keyPressEvent(QKeyEvent*)">
3684 <modify-argument index="1" invalidate-after-use="yes"/>
3684 <modify-argument index="1" invalidate-after-use="yes"/>
3685 </modify-function>
3685 </modify-function>
3686 <modify-function signature="keyReleaseEvent(QKeyEvent*)">
3686 <modify-function signature="keyReleaseEvent(QKeyEvent*)">
3687 <modify-argument index="1" invalidate-after-use="yes"/>
3687 <modify-argument index="1" invalidate-after-use="yes"/>
3688 </modify-function>
3688 </modify-function>
3689 <modify-function signature="leaveEvent(QEvent*)">
3689 <modify-function signature="leaveEvent(QEvent*)">
3690 <modify-argument index="1" invalidate-after-use="yes"/>
3690 <modify-argument index="1" invalidate-after-use="yes"/>
3691 </modify-function>
3691 </modify-function>
3692 <modify-function signature="mouseDoubleClickEvent(QMouseEvent*)">
3692 <modify-function signature="mouseDoubleClickEvent(QMouseEvent*)">
3693 <modify-argument index="1" invalidate-after-use="yes"/>
3693 <modify-argument index="1" invalidate-after-use="yes"/>
3694 </modify-function>
3694 </modify-function>
3695 <modify-function signature="mouseMoveEvent(QMouseEvent*)">
3695 <modify-function signature="mouseMoveEvent(QMouseEvent*)">
3696 <modify-argument index="1" invalidate-after-use="yes"/>
3696 <modify-argument index="1" invalidate-after-use="yes"/>
3697 </modify-function>
3697 </modify-function>
3698 <modify-function signature="mousePressEvent(QMouseEvent*)">
3698 <modify-function signature="mousePressEvent(QMouseEvent*)">
3699 <modify-argument index="1" invalidate-after-use="yes"/>
3699 <modify-argument index="1" invalidate-after-use="yes"/>
3700 </modify-function>
3700 </modify-function>
3701 <modify-function signature="mouseReleaseEvent(QMouseEvent*)">
3701 <modify-function signature="mouseReleaseEvent(QMouseEvent*)">
3702 <modify-argument index="1" invalidate-after-use="yes"/>
3702 <modify-argument index="1" invalidate-after-use="yes"/>
3703 </modify-function>
3703 </modify-function>
3704 <modify-function signature="moveEvent(QMoveEvent*)">
3704 <modify-function signature="moveEvent(QMoveEvent*)">
3705 <modify-argument index="1" invalidate-after-use="yes"/>
3705 <modify-argument index="1" invalidate-after-use="yes"/>
3706 </modify-function>
3706 </modify-function>
3707 <modify-function signature="paintEvent(QPaintEvent*)">
3707 <modify-function signature="paintEvent(QPaintEvent*)">
3708 <modify-argument index="1" invalidate-after-use="yes"/>
3708 <modify-argument index="1" invalidate-after-use="yes"/>
3709 </modify-function>
3709 </modify-function>
3710 <modify-function signature="resizeEvent(QResizeEvent*)">
3710 <modify-function signature="resizeEvent(QResizeEvent*)">
3711 <modify-argument index="1" invalidate-after-use="yes"/>
3711 <modify-argument index="1" invalidate-after-use="yes"/>
3712 </modify-function>
3712 </modify-function>
3713 <modify-function signature="showEvent(QShowEvent*)">
3713 <modify-function signature="showEvent(QShowEvent*)">
3714 <modify-argument index="1" invalidate-after-use="yes"/>
3714 <modify-argument index="1" invalidate-after-use="yes"/>
3715 </modify-function>
3715 </modify-function>
3716 <modify-function signature="tabletEvent(QTabletEvent*)">
3716 <modify-function signature="tabletEvent(QTabletEvent*)">
3717 <modify-argument index="1" invalidate-after-use="yes"/>
3717 <modify-argument index="1" invalidate-after-use="yes"/>
3718 </modify-function>
3718 </modify-function>
3719 <modify-function signature="wheelEvent(QWheelEvent*)">
3719 <modify-function signature="wheelEvent(QWheelEvent*)">
3720 <modify-argument index="1" invalidate-after-use="yes"/>
3720 <modify-argument index="1" invalidate-after-use="yes"/>
3721 </modify-function>
3721 </modify-function>
3722
3722
3723 <modify-function signature="render(QPainter*,QPoint,QRegion,QFlags&lt;QWidget::RenderFlag&gt;)">
3723 <modify-function signature="render(QPainter*,QPoint,QRegion,QFlags&lt;QWidget::RenderFlag&gt;)">
3724 <modify-argument index="2">
3724 <modify-argument index="2">
3725 <!-- Removed because the render(QPainter*) overload conflicts with the identical function in QGraphicsView -->
3725 <!-- Removed because the render(QPainter*) overload conflicts with the identical function in QGraphicsView -->
3726 <remove-default-expression/>
3726 <remove-default-expression/>
3727 </modify-argument>
3727 </modify-argument>
3728 </modify-function>
3728 </modify-function>
3729
3729
3730 <!--
3730 <!--
3731 <inject-code class="native">
3731 <inject-code class="native">
3732 extern "C" JNIEXPORT void JNICALL QTJAMBI_FUNCTION_PREFIX(Java_com_trolltech_qt_gui_QWidget__1_1qt_1QMessageBox_1setWindowTitle)
3732 extern "C" JNIEXPORT void JNICALL QTJAMBI_FUNCTION_PREFIX(Java_com_trolltech_qt_gui_QWidget__1_1qt_1QMessageBox_1setWindowTitle)
3733 (JNIEnv *__jni_env,
3733 (JNIEnv *__jni_env,
3734 jclass,
3734 jclass,
3735 jlong __this_nativeId,
3735 jlong __this_nativeId,
3736 jobject title0)
3736 jobject title0)
3737 {
3737 {
3738 QTJAMBI_DEBUG_TRACE("(native) entering: QMessageBox::setWindowTitle(const QString &amp; title)");
3738 QTJAMBI_DEBUG_TRACE("(native) entering: QMessageBox::setWindowTitle(const QString &amp; title)");
3739 QString __qt_title0 = qtjambi_to_qstring(__jni_env, (jstring) title0);
3739 QString __qt_title0 = qtjambi_to_qstring(__jni_env, (jstring) title0);
3740 QTJAMBI_EXCEPTION_CHECK(__jni_env);
3740 QTJAMBI_EXCEPTION_CHECK(__jni_env);
3741 QMessageBox *__qt_this = (QMessageBox *) qtjambi_from_jlong(__this_nativeId);
3741 QMessageBox *__qt_this = (QMessageBox *) qtjambi_from_jlong(__this_nativeId);
3742 QTJAMBI_EXCEPTION_CHECK(__jni_env);
3742 QTJAMBI_EXCEPTION_CHECK(__jni_env);
3743 Q_ASSERT(__qt_this);
3743 Q_ASSERT(__qt_this);
3744 __qt_this-&gt;setWindowTitle((const QString&amp; )__qt_title0);
3744 __qt_this-&gt;setWindowTitle((const QString&amp; )__qt_title0);
3745 QTJAMBI_DEBUG_TRACE("(native) -&gt; leaving: QMessageBox::setWindowTitle(const QString &amp; title)");
3745 QTJAMBI_DEBUG_TRACE("(native) -&gt; leaving: QMessageBox::setWindowTitle(const QString &amp; title)");
3746 }
3746 }
3747 </inject-code>
3747 </inject-code>
3748
3748
3749 <inject-code class="native">
3749 <inject-code class="native">
3750 extern "C" JNIEXPORT void JNICALL QTJAMBI_FUNCTION_PREFIX(Java_com_trolltech_qt_gui_QWidget__1_1qt_1QMessageBox_1setWindowModality)
3750 extern "C" JNIEXPORT void JNICALL QTJAMBI_FUNCTION_PREFIX(Java_com_trolltech_qt_gui_QWidget__1_1qt_1QMessageBox_1setWindowModality)
3751 (JNIEnv *__jni_env,
3751 (JNIEnv *__jni_env,
3752 jclass,
3752 jclass,
3753 jlong __this_nativeId,
3753 jlong __this_nativeId,
3754 jint windowModality0)
3754 jint windowModality0)
3755 {
3755 {
3756 Q_UNUSED(__jni_env);
3756 Q_UNUSED(__jni_env);
3757 QTJAMBI_DEBUG_TRACE("(native) entering: QMessageBox::setWindowModality(Qt::WindowModality modality)");
3757 QTJAMBI_DEBUG_TRACE("(native) entering: QMessageBox::setWindowModality(Qt::WindowModality modality)");
3758 Qt::WindowModality __qt_windowModality0 = (Qt::WindowModality) windowModality0;
3758 Qt::WindowModality __qt_windowModality0 = (Qt::WindowModality) windowModality0;
3759 QTJAMBI_EXCEPTION_CHECK(__jni_env);
3759 QTJAMBI_EXCEPTION_CHECK(__jni_env);
3760 QMessageBox *__qt_this = (QMessageBox *) qtjambi_from_jlong(__this_nativeId);
3760 QMessageBox *__qt_this = (QMessageBox *) qtjambi_from_jlong(__this_nativeId);
3761 QTJAMBI_EXCEPTION_CHECK(__jni_env);
3761 QTJAMBI_EXCEPTION_CHECK(__jni_env);
3762 Q_ASSERT(__qt_this);
3762 Q_ASSERT(__qt_this);
3763 __qt_this-&gt;setWindowModality((Qt::WindowModality )__qt_windowModality0);
3763 __qt_this-&gt;setWindowModality((Qt::WindowModality )__qt_windowModality0);
3764 QTJAMBI_DEBUG_TRACE("(native) -&gt; leaving: QMessageBox::setWindowModality(Qt::WindowModality modality)");
3764 QTJAMBI_DEBUG_TRACE("(native) -&gt; leaving: QMessageBox::setWindowModality(Qt::WindowModality modality)");
3765 }
3765 }
3766 </inject-code>
3766 </inject-code>
3767 -->
3767 -->
3768
3768
3769 <modify-function signature="render(QPaintDevice *, const QPoint &amp;, const QRegion &amp;, QFlags&lt;QWidget::RenderFlag&gt;)">
3769 <modify-function signature="render(QPaintDevice *, const QPoint &amp;, const QRegion &amp;, QFlags&lt;QWidget::RenderFlag&gt;)">
3770 <modify-argument index="4">
3770 <modify-argument index="4">
3771 <replace-default-expression with="RenderFlag.DrawWindowBackground, RenderFlag.DrawChildren"/>
3771 <replace-default-expression with="RenderFlag.DrawWindowBackground, RenderFlag.DrawChildren"/>
3772 </modify-argument>
3772 </modify-argument>
3773 </modify-function>
3773 </modify-function>
3774 <modify-function signature="render(QPainter *, const QPoint &amp;, const QRegion &amp;, QFlags&lt;QWidget::RenderFlag&gt;)">
3774 <modify-function signature="render(QPainter *, const QPoint &amp;, const QRegion &amp;, QFlags&lt;QWidget::RenderFlag&gt;)">
3775 <modify-argument index="4">
3775 <modify-argument index="4">
3776 <replace-default-expression with="RenderFlag.DrawWindowBackground, RenderFlag.DrawChildren"/>
3776 <replace-default-expression with="RenderFlag.DrawWindowBackground, RenderFlag.DrawChildren"/>
3777 </modify-argument>
3777 </modify-argument>
3778 </modify-function>
3778 </modify-function>
3779 <modify-function signature="setFocusProxy(QWidget*)">
3779 <modify-function signature="setFocusProxy(QWidget*)">
3780 <modify-argument index="1">
3780 <modify-argument index="1">
3781 <reference-count action="set" variable-name="__rcFocusProxy"/>
3781 <reference-count action="set" variable-name="__rcFocusProxy"/>
3782 </modify-argument>
3782 </modify-argument>
3783 </modify-function>
3783 </modify-function>
3784 <modify-function signature="setInputContext(QInputContext*)">
3784 <modify-function signature="setInputContext(QInputContext*)">
3785 <modify-argument index="1">
3785 <modify-argument index="1">
3786 <define-ownership class="java" owner="c++"/>
3786 <define-ownership class="java" owner="c++"/>
3787 </modify-argument>
3787 </modify-argument>
3788 </modify-function>
3788 </modify-function>
3789 <modify-function signature="setLayout(QLayout*)">
3789 <modify-function signature="setLayout(QLayout*)">
3790 <modify-argument index="1">
3790 <modify-argument index="1">
3791 <no-null-pointer/>
3791 <no-null-pointer/>
3792 <reference-count action="ignore"/>
3792 <reference-count action="ignore"/>
3793 </modify-argument>
3793 </modify-argument>
3794 </modify-function>
3794 </modify-function>
3795 <modify-function signature="setParent(QWidget*,QFlags&lt;Qt::WindowType&gt;)">
3795 <modify-function signature="setParent(QWidget*,QFlags&lt;Qt::WindowType&gt;)">
3796 <modify-argument index="1">
3796 <modify-argument index="1">
3797 <reference-count action="ignore"/>
3797 <reference-count action="ignore"/>
3798 </modify-argument>
3798 </modify-argument>
3799 </modify-function>
3799 </modify-function>
3800 <modify-function signature="setParent(QWidget*)">
3800 <modify-function signature="setParent(QWidget*)">
3801 <modify-argument index="1">
3801 <modify-argument index="1">
3802 <reference-count action="ignore"/>
3802 <reference-count action="ignore"/>
3803 </modify-argument>
3803 </modify-argument>
3804 </modify-function>
3804 </modify-function>
3805 <modify-function signature="setStyle(QStyle*)">
3805 <modify-function signature="setStyle(QStyle*)">
3806 <modify-argument index="1">
3806 <modify-argument index="1">
3807 <reference-count action="set" variable-name="__rcStyle"/>
3807 <reference-count action="set" variable-name="__rcStyle"/>
3808 </modify-argument>
3808 </modify-argument>
3809 </modify-function>
3809 </modify-function>
3810 <modify-function signature="setTabOrder(QWidget*,QWidget*)">
3810 <modify-function signature="setTabOrder(QWidget*,QWidget*)">
3811 <modify-argument index="1">
3811 <modify-argument index="1">
3812 <reference-count action="ignore"/>
3812 <reference-count action="ignore"/>
3813 </modify-argument>
3813 </modify-argument>
3814 <modify-argument index="2">
3814 <modify-argument index="2">
3815 <reference-count action="ignore"/>
3815 <reference-count action="ignore"/>
3816 </modify-argument>
3816 </modify-argument>
3817 </modify-function>
3817 </modify-function>
3818 <modify-function signature="getContentsMargins(int*,int*,int*,int*)const">
3818 <modify-function signature="getContentsMargins(int*,int*,int*,int*)const">
3819 <access modifier="private"/>
3819 <access modifier="private"/>
3820 </modify-function>
3820 </modify-function>
3821
3821
3822 <modify-function signature="addAction(QAction *)">
3822 <modify-function signature="addAction(QAction *)">
3823 <modify-argument index="1">
3823 <modify-argument index="1">
3824 <reference-count action="add" variable-name="__rcActions"/>
3824 <reference-count action="add" variable-name="__rcActions"/>
3825 </modify-argument>
3825 </modify-argument>
3826 </modify-function>
3826 </modify-function>
3827
3827
3828 <modify-function signature="insertAction(QAction *, QAction *)">
3828 <modify-function signature="insertAction(QAction *, QAction *)">
3829 <modify-argument index="2">
3829 <modify-argument index="2">
3830 <reference-count action="add" variable-name="__rcActions"/>
3830 <reference-count action="add" variable-name="__rcActions"/>
3831 </modify-argument>
3831 </modify-argument>
3832 </modify-function>
3832 </modify-function>
3833
3833
3834 <modify-function signature="addActions(const QList&lt;QAction *&gt; &amp;)">
3834 <modify-function signature="addActions(const QList&lt;QAction *&gt; &amp;)">
3835 <modify-argument index="1">
3835 <modify-argument index="1">
3836 <reference-count action="add-all" variable-name="__rcActions"/>
3836 <reference-count action="add-all" variable-name="__rcActions"/>
3837 </modify-argument>
3837 </modify-argument>
3838 </modify-function>
3838 </modify-function>
3839
3839
3840 <modify-function signature="insertActions(QAction *, const QList&lt;QAction *&gt; &amp;)">
3840 <modify-function signature="insertActions(QAction *, const QList&lt;QAction *&gt; &amp;)">
3841 <modify-argument index="2">
3841 <modify-argument index="2">
3842 <reference-count action="add-all" variable-name="__rcActions"/>
3842 <reference-count action="add-all" variable-name="__rcActions"/>
3843 </modify-argument>
3843 </modify-argument>
3844 </modify-function>
3844 </modify-function>
3845
3845
3846 <modify-function signature="removeAction(QAction *)">
3846 <modify-function signature="removeAction(QAction *)">
3847 <modify-argument index="1">
3847 <modify-argument index="1">
3848 <reference-count action="remove" variable-name="__rcActions"/>
3848 <reference-count action="remove" variable-name="__rcActions"/>
3849 </modify-argument>
3849 </modify-argument>
3850 </modify-function>
3850 </modify-function>
3851 <modify-function signature="enabledChange(bool)" remove="all"/> <!--### Obsolete in 4.3-->
3851 <modify-function signature="enabledChange(bool)" remove="all"/> <!--### Obsolete in 4.3-->
3852 <modify-function signature="fontChange(QFont)" remove="all"/> <!--### Obsolete in 4.3-->
3852 <modify-function signature="fontChange(QFont)" remove="all"/> <!--### Obsolete in 4.3-->
3853 <modify-function signature="isEnabledToTLW()const" remove="all"/> <!--### Obsolete in 4.3-->
3853 <modify-function signature="isEnabledToTLW()const" remove="all"/> <!--### Obsolete in 4.3-->
3854 <modify-function signature="isTopLevel()const" remove="all"/> <!--### Obsolete in 4.3-->
3854 <modify-function signature="isTopLevel()const" remove="all"/> <!--### Obsolete in 4.3-->
3855 <modify-function signature="paletteChange(QPalette)" remove="all"/> <!--### Obsolete in 4.3-->
3855 <modify-function signature="paletteChange(QPalette)" remove="all"/> <!--### Obsolete in 4.3-->
3856 <modify-function signature="setShown(bool)" remove="all"/> <!--### Obsolete in 4.3-->
3856 <modify-function signature="setShown(bool)" remove="all"/> <!--### Obsolete in 4.3-->
3857 <modify-function signature="topLevelWidget()const" remove="all"/> <!--### Obsolete in 4.3-->
3857 <modify-function signature="topLevelWidget()const" remove="all"/> <!--### Obsolete in 4.3-->
3858 <modify-function signature="windowActivationChange(bool)" remove="all"/> <!--### Obsolete in 4.3-->
3858 <modify-function signature="windowActivationChange(bool)" remove="all"/> <!--### Obsolete in 4.3-->
3859
3859
3860 <modify-function signature="fontInfo()const" remove="all"/>
3860 <modify-function signature="fontInfo()const" remove="all"/>
3861 <modify-function signature="fontMetrics()const" remove="all"/>
3861 <modify-function signature="fontMetrics()const" remove="all"/>
3862 <modify-function signature="sizeHint()const" rename="getSizeHint"/>
3862 <modify-function signature="sizeHint()const" rename="getSizeHint"/>
3863 <modify-function signature="minimumSizeHint()const" rename="getMinimumSizeHint"/>
3863 <modify-function signature="minimumSizeHint()const" rename="getMinimumSizeHint"/>
3864 <modify-function signature="setVisible(bool)" remove="all"/>
3864 <modify-function signature="setVisible(bool)" remove="all"/>
3865 </object-type>
3865 </object-type>
3866
3866
3867 <object-type name="QMessageBox">
3867 <object-type name="QMessageBox">
3868 <modify-function signature="setWindowTitle(const QString &amp;)" remove="all"/>
3868 <modify-function signature="setWindowTitle(const QString &amp;)" remove="all"/>
3869 <modify-function signature="setWindowModality(Qt::WindowModality)" remove="all"/>
3869 <modify-function signature="setWindowModality(Qt::WindowModality)" remove="all"/>
3870 <extra-includes>
3870 <extra-includes>
3871 <include file-name="QPixmap" location="global"/>
3871 <include file-name="QPixmap" location="global"/>
3872 </extra-includes>
3872 </extra-includes>
3873 <modify-function signature="addButton(QAbstractButton*,QMessageBox::ButtonRole)">
3873 <modify-function signature="addButton(QAbstractButton*,QMessageBox::ButtonRole)">
3874 <modify-argument index="1">
3874 <modify-argument index="1">
3875 <reference-count action="ignore"/>
3875 <reference-count action="ignore"/>
3876 </modify-argument>
3876 </modify-argument>
3877 </modify-function>
3877 </modify-function>
3878 <modify-function signature="removeButton(QAbstractButton*)">
3878 <modify-function signature="removeButton(QAbstractButton*)">
3879 <modify-argument index="1">
3879 <modify-argument index="1">
3880 <reference-count action="ignore"/>
3880 <reference-count action="ignore"/>
3881 </modify-argument>
3881 </modify-argument>
3882 </modify-function>
3882 </modify-function>
3883 <modify-function signature="setDefaultButton(QPushButton*)">
3883 <modify-function signature="setDefaultButton(QPushButton*)">
3884 <modify-argument index="1">
3884 <modify-argument index="1">
3885 <reference-count action="ignore"/>
3885 <reference-count action="ignore"/>
3886 </modify-argument>
3886 </modify-argument>
3887 </modify-function>
3887 </modify-function>
3888 <modify-function signature="setEscapeButton(QAbstractButton*)">
3888 <modify-function signature="setEscapeButton(QAbstractButton*)">
3889 <modify-argument index="1">
3889 <modify-argument index="1">
3890 <reference-count action="ignore"/>
3890 <reference-count action="ignore"/>
3891 </modify-argument>
3891 </modify-argument>
3892 </modify-function>
3892 </modify-function>
3893
3893
3894 <modify-function signature="QMessageBox(QString,QString,QMessageBox::Icon,int,int,int,QWidget*,QFlags&lt;Qt::WindowType&gt;)" remove="all"/> <!--### Obsolete in 4.3-->
3894 <modify-function signature="QMessageBox(QString,QString,QMessageBox::Icon,int,int,int,QWidget*,QFlags&lt;Qt::WindowType&gt;)" remove="all"/> <!--### Obsolete in 4.3-->
3895 <modify-function signature="buttonText(int)const" remove="all"/> <!--### Obsolete in 4.3-->
3895 <modify-function signature="buttonText(int)const" remove="all"/> <!--### Obsolete in 4.3-->
3896 <modify-function signature="setButtonText(int, QString)" remove="all"/> <!--### Obsolete in 4.3-->
3896 <modify-function signature="setButtonText(int, QString)" remove="all"/> <!--### Obsolete in 4.3-->
3897 <modify-function signature="standardIcon(QMessageBox::Icon)" remove="all"/> <!--### Obsolete in 4.3-->
3897 <modify-function signature="standardIcon(QMessageBox::Icon)" remove="all"/> <!--### Obsolete in 4.3-->
3898
3898
3899 <modify-function signature="critical(QWidget*,QString,QString,int,int,int)" remove="all"/> <!--### Obsolete in 4.3-->
3899 <modify-function signature="critical(QWidget*,QString,QString,int,int,int)" remove="all"/> <!--### Obsolete in 4.3-->
3900 <modify-function signature="critical(QWidget*,QString,QString,QString,QString,QString,int,int)" remove="all"/> <!--### Obsolete in 4.3-->
3900 <modify-function signature="critical(QWidget*,QString,QString,QString,QString,QString,int,int)" remove="all"/> <!--### Obsolete in 4.3-->
3901 <modify-function signature="information(QWidget*,QString,QString,int,int,int)" remove="all"/> <!--### Obsolete in 4.3-->
3901 <modify-function signature="information(QWidget*,QString,QString,int,int,int)" remove="all"/> <!--### Obsolete in 4.3-->
3902 <modify-function signature="information(QWidget*,QString,QString,QString,QString,QString,int,int)" remove="all"/> <!--### Obsolete in 4.3-->
3902 <modify-function signature="information(QWidget*,QString,QString,QString,QString,QString,int,int)" remove="all"/> <!--### Obsolete in 4.3-->
3903 <modify-function signature="question(QWidget*, QString, QString, int, int, int)" remove="all"/> <!--### Obsolete in 4.3-->
3903 <modify-function signature="question(QWidget*, QString, QString, int, int, int)" remove="all"/> <!--### Obsolete in 4.3-->
3904 <modify-function signature="question(QWidget*, QString, QString, QString, QString, QString, int, int)" remove="all"/> <!--### Obsolete in 4.3-->
3904 <modify-function signature="question(QWidget*, QString, QString, QString, QString, QString, int, int)" remove="all"/> <!--### Obsolete in 4.3-->
3905 <modify-function signature="warning(QWidget*, QString, QString, int, int, int)" remove="all"/> <!--### Obsolete in 4.3-->
3905 <modify-function signature="warning(QWidget*, QString, QString, int, int, int)" remove="all"/> <!--### Obsolete in 4.3-->
3906 <modify-function signature="warning(QWidget*, QString, QString, QString, QString, QString, int, int)" remove="all"/> <!--### Obsolete in 4.3-->
3906 <modify-function signature="warning(QWidget*, QString, QString, QString, QString, QString, int, int)" remove="all"/> <!--### Obsolete in 4.3-->
3907 </object-type>
3907 </object-type>
3908
3908
3909 <object-type name="QAbstractSpinBox">
3909 <object-type name="QAbstractSpinBox">
3910 <modify-function signature="initStyleOption(QStyleOptionSpinBox*)const">
3910 <modify-function signature="initStyleOption(QStyleOptionSpinBox*)const">
3911 <access modifier="private"/>
3911 <access modifier="private"/>
3912 </modify-function>
3912 </modify-function>
3913 <modify-function signature="setLineEdit(QLineEdit*)">
3913 <modify-function signature="setLineEdit(QLineEdit*)">
3914 <modify-argument index="1">
3914 <modify-argument index="1">
3915 <!-- Safe to ignore because the spinbox reparents the line edit -->
3915 <!-- Safe to ignore because the spinbox reparents the line edit -->
3916 <reference-count action="ignore"/>
3916 <reference-count action="ignore"/>
3917 <no-null-pointer/>
3917 <no-null-pointer/>
3918 </modify-argument>
3918 </modify-argument>
3919 </modify-function>
3919 </modify-function>
3920 </object-type>
3920 </object-type>
3921
3921
3922 <object-type name="QTextFrame" delete-in-main-thread="yes">
3922 <object-type name="QTextFrame" delete-in-main-thread="yes">
3923 <extra-includes>
3923 <extra-includes>
3924 <include file-name="QTextCursor" location="global"/>
3924 <include file-name="QTextCursor" location="global"/>
3925 </extra-includes>
3925 </extra-includes>
3926 </object-type>
3926 </object-type>
3927
3927
3928 <object-type name="QImageIOHandler">
3928 <object-type name="QImageIOHandler">
3929 <extra-includes>
3929 <extra-includes>
3930 <include file-name="QRect" location="global"/>
3930 <include file-name="QRect" location="global"/>
3931 </extra-includes>
3931 </extra-includes>
3932 <modify-function signature="setFormat(const QByteArray &amp;)const">
3932 <modify-function signature="setFormat(const QByteArray &amp;)const">
3933 <remove/>
3933 <remove/>
3934 </modify-function>
3934 </modify-function>
3935 <modify-function signature="setDevice(QIODevice*)">
3935 <modify-function signature="setDevice(QIODevice*)">
3936 <modify-argument index="1">
3936 <modify-argument index="1">
3937 <reference-count action="set" variable-name="__rcDevice"/>
3937 <reference-count action="set" variable-name="__rcDevice"/>
3938 </modify-argument>
3938 </modify-argument>
3939 </modify-function>
3939 </modify-function>
3940 <!--
3940 <!--
3941 <modify-function signature="read(QImage*)">
3941 <modify-function signature="read(QImage*)">
3942 <modify-argument index="1">
3942 <modify-argument index="1">
3943 <replace-type modified-type="com.trolltech.qt.gui.QImage"/>
3943 <replace-type modified-type="com.trolltech.qt.gui.QImage"/>
3944 <conversion-rule class="shell">
3944 <conversion-rule class="shell">
3945 jobject %out = qtjambi_from_object(__jni_env, %in, "QImage", "com/trolltech/qt/gui/", false);
3945 jobject %out = qtjambi_from_object(__jni_env, %in, "QImage", "com/trolltech/qt/gui/", false);
3946
3946
3947 QtJambiLink *__link = %out != 0 ? QtJambiLink::findLink(__jni_env, %out) : 0;
3947 QtJambiLink *__link = %out != 0 ? QtJambiLink::findLink(__jni_env, %out) : 0;
3948 </conversion-rule>
3948 </conversion-rule>
3949 <conversion-rule class="native">
3949 <conversion-rule class="native">
3950 QImage *%out = (QImage *) qtjambi_to_object(__jni_env, %in);
3950 QImage *%out = (QImage *) qtjambi_to_object(__jni_env, %in);
3951 </conversion-rule>
3951 </conversion-rule>
3952 </modify-argument>
3952 </modify-argument>
3953 <modify-argument index="0">
3953 <modify-argument index="0">
3954 <conversion-rule class="shell">
3954 <conversion-rule class="shell">
3955 // Invalidate object
3955 // Invalidate object
3956 if (__link != 0) __link-&gt;resetObject(__jni_env);
3956 if (__link != 0) __link-&gt;resetObject(__jni_env);
3957 bool %out = (bool) %in;
3957 bool %out = (bool) %in;
3958 </conversion-rule>
3958 </conversion-rule>
3959 </modify-argument>
3959 </modify-argument>
3960 </modify-function>
3960 </modify-function>
3961 -->
3961 -->
3962
3962
3963 <modify-function signature="name()const" remove="all"/> <!--### Obsolete in 4.3-->
3963 <modify-function signature="name()const" remove="all"/> <!--### Obsolete in 4.3-->
3964 </object-type>
3964 </object-type>
3965
3965
3966 <object-type name="QProxyModel">
3966 <object-type name="QProxyModel">
3967 <modify-function signature="parent()const" remove="all"/>
3967 <modify-function signature="parent()const" remove="all"/>
3968 <extra-includes>
3968 <extra-includes>
3969 <include file-name="QPixmap" location="global"/>
3969 <include file-name="QPixmap" location="global"/>
3970 <include file-name="QStringList" location="global"/>
3970 <include file-name="QStringList" location="global"/>
3971 <include file-name="QSize" location="global"/>
3971 <include file-name="QSize" location="global"/>
3972 </extra-includes>
3972 </extra-includes>
3973 <modify-function signature="setModel(QAbstractItemModel*)">
3973 <modify-function signature="setModel(QAbstractItemModel*)">
3974 <modify-argument index="1">
3974 <modify-argument index="1">
3975 <reference-count action="set" variable-name="__rcModel"/>
3975 <reference-count action="set" variable-name="__rcModel"/>
3976 </modify-argument>
3976 </modify-argument>
3977 </modify-function>
3977 </modify-function>
3978 </object-type>
3978 </object-type>
3979
3979
3980 <object-type name="QImageReader">
3980 <object-type name="QImageReader">
3981 <extra-includes>
3981 <extra-includes>
3982 <include file-name="QColor" location="global"/>
3982 <include file-name="QColor" location="global"/>
3983 <include file-name="QRect" location="global"/>
3983 <include file-name="QRect" location="global"/>
3984 <include file-name="QSize" location="global"/>
3984 <include file-name="QSize" location="global"/>
3985 <include file-name="QStringList" location="global"/>
3985 <include file-name="QStringList" location="global"/>
3986 <include file-name="QImage" location="global"/>
3986 <include file-name="QImage" location="global"/>
3987 </extra-includes>
3987 </extra-includes>
3988 <modify-function signature="read(QImage*) ">
3988 <modify-function signature="read(QImage*) ">
3989 <remove/>
3989 <remove/>
3990 </modify-function>
3990 </modify-function>
3991 <modify-function signature="setDevice(QIODevice*)">
3991 <modify-function signature="setDevice(QIODevice*)">
3992 <modify-argument index="1">
3992 <modify-argument index="1">
3993 <reference-count action="set" variable-name="__rcDevice"/>
3993 <reference-count action="set" variable-name="__rcDevice"/>
3994 </modify-argument>
3994 </modify-argument>
3995 </modify-function>
3995 </modify-function>
3996 </object-type>
3996 </object-type>
3997
3997
3998 <object-type name="QMovie">
3998 <object-type name="QMovie">
3999 <extra-includes>
3999 <extra-includes>
4000 <include file-name="QColor" location="global"/>
4000 <include file-name="QColor" location="global"/>
4001 <include file-name="QImage" location="global"/>
4001 <include file-name="QImage" location="global"/>
4002 <include file-name="QPixmap" location="global"/>
4002 <include file-name="QPixmap" location="global"/>
4003 <include file-name="QRect" location="global"/>
4003 <include file-name="QRect" location="global"/>
4004 <include file-name="QSize" location="global"/>
4004 <include file-name="QSize" location="global"/>
4005 </extra-includes>
4005 </extra-includes>
4006 <modify-function signature="cacheMode()">
4006 <modify-function signature="cacheMode()">
4007 <remove/>
4007 <remove/>
4008 </modify-function>
4008 </modify-function>
4009 <modify-function signature="setDevice(QIODevice*)">
4009 <modify-function signature="setDevice(QIODevice*)">
4010 <modify-argument index="1">
4010 <modify-argument index="1">
4011 <reference-count action="set" variable-name="__rcDevice"/>
4011 <reference-count action="set" variable-name="__rcDevice"/>
4012 </modify-argument>
4012 </modify-argument>
4013 </modify-function>
4013 </modify-function>
4014 </object-type>
4014 </object-type>
4015
4015
4016 <object-type name="QPageSetupDialog">
4016 <object-type name="QPageSetupDialog">
4017 </object-type>
4017 </object-type>
4018
4018
4019 <object-type name="QTabWidget">
4019 <object-type name="QTabWidget">
4020 <modify-function signature="initStyleOption(QStyleOptionTabWidgetFrame*)const">
4020 <modify-function signature="initStyleOption(QStyleOptionTabWidgetFrame*)const">
4021 <access modifier="private"/>
4021 <access modifier="private"/>
4022 </modify-function>
4022 </modify-function>
4023 <inject-code>
4023 <inject-code>
4024 <insert-template name="gui.init_style_option">
4024 <insert-template name="gui.init_style_option">
4025 <replace from="%TYPE" to="QStyleOptionTabWidgetFrame"/>
4025 <replace from="%TYPE" to="QStyleOptionTabWidgetFrame"/>
4026 </insert-template>
4026 </insert-template>
4027 </inject-code>
4027 </inject-code>
4028 <modify-function signature="addTab(QWidget*,QIcon,QString)">
4028 <modify-function signature="addTab(QWidget*,QIcon,QString)">
4029 <modify-argument index="1">
4029 <modify-argument index="1">
4030 <reference-count action="ignore"/>
4030 <reference-count action="ignore"/>
4031 </modify-argument>
4031 </modify-argument>
4032 </modify-function>
4032 </modify-function>
4033 <modify-function signature="addTab(QWidget*,QString)">
4033 <modify-function signature="addTab(QWidget*,QString)">
4034 <modify-argument index="1">
4034 <modify-argument index="1">
4035 <reference-count action="ignore"/>
4035 <reference-count action="ignore"/>
4036 </modify-argument>
4036 </modify-argument>
4037 </modify-function>
4037 </modify-function>
4038 <modify-function signature="insertTab(int,QWidget*,QString)">
4038 <modify-function signature="insertTab(int,QWidget*,QString)">
4039 <modify-argument index="2">
4039 <modify-argument index="2">
4040 <reference-count action="ignore"/>
4040 <reference-count action="ignore"/>
4041 </modify-argument>
4041 </modify-argument>
4042 </modify-function>
4042 </modify-function>
4043 <modify-function signature="insertTab(int,QWidget*,QIcon,QString)">
4043 <modify-function signature="insertTab(int,QWidget*,QIcon,QString)">
4044 <modify-argument index="2">
4044 <modify-argument index="2">
4045 <reference-count action="ignore"/>
4045 <reference-count action="ignore"/>
4046 </modify-argument>
4046 </modify-argument>
4047 </modify-function>
4047 </modify-function>
4048 <modify-function signature="setCornerWidget(QWidget*,Qt::Corner)">
4048 <modify-function signature="setCornerWidget(QWidget*,Qt::Corner)">
4049 <modify-argument index="1">
4049 <modify-argument index="1">
4050 <reference-count action="ignore"/>
4050 <reference-count action="ignore"/>
4051 </modify-argument>
4051 </modify-argument>
4052 </modify-function>
4052 </modify-function>
4053 <modify-function signature="setCurrentWidget(QWidget*)">
4053 <modify-function signature="setCurrentWidget(QWidget*)">
4054 <modify-argument index="1">
4054 <modify-argument index="1">
4055 <reference-count action="ignore"/>
4055 <reference-count action="ignore"/>
4056 </modify-argument>
4056 </modify-argument>
4057 </modify-function>
4057 </modify-function>
4058 <modify-function signature="setTabBar(QTabBar*)">
4058 <modify-function signature="setTabBar(QTabBar*)">
4059 <modify-argument index="1">
4059 <modify-argument index="1">
4060 <reference-count action="ignore"/>
4060 <reference-count action="ignore"/>
4061 </modify-argument>
4061 </modify-argument>
4062 </modify-function>
4062 </modify-function>
4063 </object-type>
4063 </object-type>
4064 <object-type name="QDrag">
4064 <object-type name="QDrag">
4065 <extra-includes>
4065 <extra-includes>
4066 <include file-name="QPoint" location="global"/>
4066 <include file-name="QPoint" location="global"/>
4067 <include file-name="QPixmap" location="global"/>
4067 <include file-name="QPixmap" location="global"/>
4068 </extra-includes>
4068 </extra-includes>
4069 <modify-function signature="setMimeData(QMimeData*)">
4069 <modify-function signature="setMimeData(QMimeData*)">
4070 <modify-argument index="1">
4070 <modify-argument index="1">
4071 <define-ownership class="java" owner="c++"/>
4071 <define-ownership class="java" owner="c++"/>
4072 </modify-argument>
4072 </modify-argument>
4073 </modify-function>
4073 </modify-function>
4074
4074
4075 <modify-function signature="start(QFlags&lt;Qt::DropAction&gt;)" remove="all"/> <!--### Obsolete in 4.3-->
4075 <modify-function signature="start(QFlags&lt;Qt::DropAction&gt;)" remove="all"/> <!--### Obsolete in 4.3-->
4076 </object-type>
4076 </object-type>
4077
4077
4078 <object-type name="QDateTimeEdit">
4078 <object-type name="QDateTimeEdit">
4079 <modify-function signature="initStyleOption(QStyleOptionSpinBox*)const" access="private" rename="initDateTimeEditStyleOption"/>
4079 <modify-function signature="initStyleOption(QStyleOptionSpinBox*)const" access="private" rename="initDateTimeEditStyleOption"/>
4080 <modify-function signature="setCalendarWidget(QCalendarWidget*)">
4080 <modify-function signature="setCalendarWidget(QCalendarWidget*)">
4081 <modify-argument index="1">
4081 <modify-argument index="1">
4082 <!-- Safe to ignore because widget is reparented -->
4082 <!-- Safe to ignore because widget is reparented -->
4083 <reference-count action="ignore"/>
4083 <reference-count action="ignore"/>
4084 </modify-argument>
4084 </modify-argument>
4085 </modify-function>
4085 </modify-function>
4086
4086
4087 </object-type>
4087 </object-type>
4088
4088
4089 <object-type name="QSortFilterProxyModel">
4089 <object-type name="QSortFilterProxyModel">
4090 <modify-function signature="parent()const" remove="all"/>
4090 <modify-function signature="parent()const" remove="all"/>
4091 <extra-includes>
4091 <extra-includes>
4092 <include file-name="QItemSelection" location="global"/>
4092 <include file-name="QItemSelection" location="global"/>
4093 <include file-name="QStringList" location="global"/>
4093 <include file-name="QStringList" location="global"/>
4094 <include file-name="QSize" location="global"/>
4094 <include file-name="QSize" location="global"/>
4095 </extra-includes>
4095 </extra-includes>
4096
4096
4097 <modify-function signature="setSourceModel(QAbstractItemModel *)">
4097 <modify-function signature="setSourceModel(QAbstractItemModel *)">
4098 <modify-argument index="1">
4098 <modify-argument index="1">
4099 <reference-count action="set" variable-name="__rcSourceModel"/>
4099 <reference-count action="set" variable-name="__rcSourceModel"/>
4100 </modify-argument>
4100 </modify-argument>
4101 </modify-function>
4101 </modify-function>
4102
4102
4103 <modify-function signature="clear()" remove="all"/> <!--### Obsolete in 4.3-->
4103 <modify-function signature="clear()" remove="all"/> <!--### Obsolete in 4.3-->
4104 <modify-function signature="filterChanged()" remove="all"/> <!--### Obsolete in 4.3-->
4104 <modify-function signature="filterChanged()" remove="all"/> <!--### Obsolete in 4.3-->
4105 </object-type>
4105 </object-type>
4106
4106
4107 <object-type name="QSlider">
4107 <object-type name="QSlider">
4108 <modify-function signature="initStyleOption(QStyleOptionSlider*)const">
4108 <modify-function signature="initStyleOption(QStyleOptionSlider*)const">
4109 <access modifier="private"/>
4109 <access modifier="private"/>
4110 </modify-function>
4110 </modify-function>
4111 </object-type>
4111 </object-type>
4112
4112
4113 <object-type name="QInputContext">
4113 <object-type name="QInputContext">
4114 <extra-includes>
4114 <extra-includes>
4115 <include file-name="QTextFormat" location="global"/>
4115 <include file-name="QTextFormat" location="global"/>
4116 </extra-includes>
4116 </extra-includes>
4117 <modify-function signature="setFocusWidget(QWidget*)">
4117 <modify-function signature="setFocusWidget(QWidget*)">
4118 <remove/>
4118 <remove/>
4119 </modify-function>
4119 </modify-function>
4120 <modify-function signature="filterEvent(const QEvent*)">
4120 <modify-function signature="filterEvent(const QEvent*)">
4121 <modify-argument index="1" invalidate-after-use="yes"/>
4121 <modify-argument index="1" invalidate-after-use="yes"/>
4122 </modify-function>
4122 </modify-function>
4123 <modify-function signature="mouseHandler(int,QMouseEvent*)">
4123 <modify-function signature="mouseHandler(int,QMouseEvent*)">
4124 <modify-argument index="2" invalidate-after-use="yes"/>
4124 <modify-argument index="2" invalidate-after-use="yes"/>
4125 </modify-function>
4125 </modify-function>
4126
4126
4127 </object-type>
4127 </object-type>
4128
4128
4129 <object-type name="QProgressDialog">
4129 <object-type name="QProgressDialog">
4130 <modify-function signature="setBar(QProgressBar*)">
4130 <modify-function signature="setBar(QProgressBar*)">
4131 <modify-argument index="1">
4131 <modify-argument index="1">
4132 <define-ownership class="java" owner="c++"/>
4132 <define-ownership class="java" owner="c++"/>
4133 </modify-argument>
4133 </modify-argument>
4134 </modify-function>
4134 </modify-function>
4135 <modify-function signature="setCancelButton(QPushButton*)">
4135 <modify-function signature="setCancelButton(QPushButton*)">
4136 <modify-argument index="1">
4136 <modify-argument index="1">
4137 <!-- Safe to ignore because button is reparented -->
4137 <!-- Safe to ignore because button is reparented -->
4138 <reference-count action="ignore"/>
4138 <reference-count action="ignore"/>
4139 </modify-argument>
4139 </modify-argument>
4140 </modify-function>
4140 </modify-function>
4141 <modify-function signature="setLabel(QLabel*)">
4141 <modify-function signature="setLabel(QLabel*)">
4142 <modify-argument index="1">
4142 <modify-argument index="1">
4143 <!-- Safe to ignore because label is reparented -->
4143 <!-- Safe to ignore because label is reparented -->
4144 <reference-count action="ignore"/>
4144 <reference-count action="ignore"/>
4145 </modify-argument>
4145 </modify-argument>
4146 </modify-function>
4146 </modify-function>
4147
4147
4148 </object-type>
4148 </object-type>
4149
4149
4150 <object-type name="QLabel">
4150 <object-type name="QLabel">
4151 <modify-function signature="picture()const">
4151 <modify-function signature="picture()const">
4152 <access modifier="private"/>
4152 <access modifier="private"/>
4153 <rename to="picture_private"/>
4153 <rename to="picture_private"/>
4154 </modify-function>
4154 </modify-function>
4155
4155
4156 <modify-function signature="setBuddy(QWidget *)">
4156 <modify-function signature="setBuddy(QWidget *)">
4157 <modify-argument index="1">
4157 <modify-argument index="1">
4158 <reference-count action="set" variable-name="__rcBuddy"/>
4158 <reference-count action="set" variable-name="__rcBuddy"/>
4159 </modify-argument>
4159 </modify-argument>
4160 </modify-function>
4160 </modify-function>
4161 <modify-function signature="setMovie(QMovie *)">
4161 <modify-function signature="setMovie(QMovie *)">
4162 <modify-argument index="1">
4162 <modify-argument index="1">
4163 <reference-count action="set" variable-name="__rcMovie"/>
4163 <reference-count action="set" variable-name="__rcMovie"/>
4164 </modify-argument>
4164 </modify-argument>
4165 </modify-function>
4165 </modify-function>
4166 <modify-function signature="pixmap()const">
4166 <modify-function signature="pixmap()const">
4167 <access modifier="private"/>
4167 <access modifier="private"/>
4168 <rename to="pixmap_private"/>
4168 <rename to="pixmap_private"/>
4169 </modify-function>
4169 </modify-function>
4170 </object-type>
4170 </object-type>
4171
4171
4172 <object-type name="QFileDialog">
4172 <object-type name="QFileDialog">
4173 <extra-includes>
4173 <extra-includes>
4174 <include file-name="QUrl" location="global"/>
4174 <include file-name="QUrl" location="global"/>
4175 </extra-includes>
4175 </extra-includes>
4176 <!--
4176 <!--
4177 <modify-function signature="getOpenFileName(QWidget*,QString,QString,QString,QString*,QFlags&lt;QFileDialog::Option&gt;)">
4177 <modify-function signature="getOpenFileName(QWidget*,QString,QString,QString,QString*,QFlags&lt;QFileDialog::Option&gt;)">
4178 <access modifier="private"/>
4178 <access modifier="private"/>
4179 <modify-argument index="1">
4179 <modify-argument index="1">
4180 <remove-default-expression/>
4180 <remove-default-expression/>
4181 </modify-argument>
4181 </modify-argument>
4182 <modify-argument index="2">
4182 <modify-argument index="2">
4183 <remove-default-expression/>
4183 <remove-default-expression/>
4184 </modify-argument>
4184 </modify-argument>
4185 <modify-argument index="3">
4185 <modify-argument index="3">
4186 <remove-default-expression/>
4186 <remove-default-expression/>
4187 </modify-argument>
4187 </modify-argument>
4188 <modify-argument index="4">
4188 <modify-argument index="4">
4189 <remove-default-expression/>
4189 <remove-default-expression/>
4190 </modify-argument>
4190 </modify-argument>
4191 <modify-argument index="5">
4191 <modify-argument index="5">
4192 <remove-default-expression/>
4192 <remove-default-expression/>
4193 </modify-argument>
4193 </modify-argument>
4194 <modify-argument index="6">
4194 <modify-argument index="6">
4195 <remove-default-expression/>
4195 <remove-default-expression/>
4196 </modify-argument>
4196 </modify-argument>
4197 </modify-function>
4197 </modify-function>
4198
4198
4199 <modify-function signature="getOpenFileNames(QWidget*,QString,QString,QString,QString*,QFlags&lt;QFileDialog::Option&gt;)">
4199 <modify-function signature="getOpenFileNames(QWidget*,QString,QString,QString,QString*,QFlags&lt;QFileDialog::Option&gt;)">
4200 <access modifier="private"/>
4200 <access modifier="private"/>
4201 <modify-argument index="1">
4201 <modify-argument index="1">
4202 <remove-default-expression/>
4202 <remove-default-expression/>
4203 </modify-argument>
4203 </modify-argument>
4204 <modify-argument index="2">
4204 <modify-argument index="2">
4205 <remove-default-expression/>
4205 <remove-default-expression/>
4206 </modify-argument>
4206 </modify-argument>
4207 <modify-argument index="3">
4207 <modify-argument index="3">
4208 <remove-default-expression/>
4208 <remove-default-expression/>
4209 </modify-argument>
4209 </modify-argument>
4210 <modify-argument index="4">
4210 <modify-argument index="4">
4211 <remove-default-expression/>
4211 <remove-default-expression/>
4212 </modify-argument>
4212 </modify-argument>
4213 <modify-argument index="5">
4213 <modify-argument index="5">
4214 <remove-default-expression/>
4214 <remove-default-expression/>
4215 </modify-argument>
4215 </modify-argument>
4216 <modify-argument index="6">
4216 <modify-argument index="6">
4217 <remove-default-expression/>
4217 <remove-default-expression/>
4218 </modify-argument>
4218 </modify-argument>
4219 </modify-function>
4219 </modify-function>
4220
4220
4221 <modify-function signature="getSaveFileName(QWidget*,QString,QString,QString,QString*,QFlags&lt;QFileDialog::Option&gt;)">
4221 <modify-function signature="getSaveFileName(QWidget*,QString,QString,QString,QString*,QFlags&lt;QFileDialog::Option&gt;)">
4222 <access modifier="private"/>
4222 <access modifier="private"/>
4223 <modify-argument index="1">
4223 <modify-argument index="1">
4224 <remove-default-expression/>
4224 <remove-default-expression/>
4225 </modify-argument>
4225 </modify-argument>
4226 <modify-argument index="2">
4226 <modify-argument index="2">
4227 <remove-default-expression/>
4227 <remove-default-expression/>
4228 </modify-argument>
4228 </modify-argument>
4229 <modify-argument index="3">
4229 <modify-argument index="3">
4230 <remove-default-expression/>
4230 <remove-default-expression/>
4231 </modify-argument>
4231 </modify-argument>
4232 <modify-argument index="4">
4232 <modify-argument index="4">
4233 <remove-default-expression/>
4233 <remove-default-expression/>
4234 </modify-argument>
4234 </modify-argument>
4235 <modify-argument index="5">
4235 <modify-argument index="5">
4236 <remove-default-expression/>
4236 <remove-default-expression/>
4237 </modify-argument>
4237 </modify-argument>
4238 <modify-argument index="6">
4238 <modify-argument index="6">
4239 <remove-default-expression/>
4239 <remove-default-expression/>
4240 </modify-argument>
4240 </modify-argument>
4241 </modify-function>
4241 </modify-function>
4242 -->
4242 -->
4243
4243
4244 <modify-function signature="setIconProvider(QFileIconProvider*)">
4244 <modify-function signature="setIconProvider(QFileIconProvider*)">
4245 <modify-argument index="1">
4245 <modify-argument index="1">
4246 <reference-count action="set" variable-name="__rcIconProvider"/>
4246 <reference-count action="set" variable-name="__rcIconProvider"/>
4247 </modify-argument>
4247 </modify-argument>
4248 </modify-function>
4248 </modify-function>
4249
4249
4250 <modify-function signature="setItemDelegate(QAbstractItemDelegate*)">
4250 <modify-function signature="setItemDelegate(QAbstractItemDelegate*)">
4251 <modify-argument index="1">
4251 <modify-argument index="1">
4252 <reference-count action="set" variable-name="__rcItemDelegate"/>
4252 <reference-count action="set" variable-name="__rcItemDelegate"/>
4253 </modify-argument>
4253 </modify-argument>
4254 </modify-function>
4254 </modify-function>
4255
4255
4256 <modify-function signature="setProxyModel(QAbstractProxyModel*)">
4256 <modify-function signature="setProxyModel(QAbstractProxyModel*)">
4257 <modify-argument index="1">
4257 <modify-argument index="1">
4258 <!-- Reparented -->
4258 <!-- Reparented -->
4259 <reference-count action="ignore"/>
4259 <reference-count action="ignore"/>
4260 </modify-argument>
4260 </modify-argument>
4261 </modify-function>
4261 </modify-function>
4262
4262
4263 </object-type>
4263 </object-type>
4264
4264
4265 <object-type name="QErrorMessage"/>
4265 <object-type name="QErrorMessage"/>
4266
4266
4267 <object-type name="QTabBar">
4267 <object-type name="QTabBar">
4268 <extra-includes>
4268 <extra-includes>
4269 <include file-name="QIcon" location="global"/>
4269 <include file-name="QIcon" location="global"/>
4270 </extra-includes>
4270 </extra-includes>
4271 <modify-function signature="initStyleOption(QStyleOptionTab*,int)const">
4271 <modify-function signature="initStyleOption(QStyleOptionTab*,int)const">
4272 <access modifier="private"/>
4272 <access modifier="private"/>
4273 </modify-function>
4273 </modify-function>
4274 </object-type>
4274 </object-type>
4275
4275
4276 <object-type name="QStandardItemModel">
4276 <object-type name="QStandardItemModel">
4277 <modify-function signature="insertColumn(int,const QModelIndex &amp;)" remove="all"/>
4277 <modify-function signature="insertColumn(int,const QModelIndex &amp;)" remove="all"/>
4278 <modify-function signature="insertRow(int,const QModelIndex &amp;)" remove="all"/>
4278 <modify-function signature="insertRow(int,const QModelIndex &amp;)" remove="all"/>
4279 <modify-function signature="parent()const" remove="all"/>
4279 <modify-function signature="parent()const" remove="all"/>
4280 <extra-includes>
4280 <extra-includes>
4281 <include file-name="QStringList" location="global"/>
4281 <include file-name="QStringList" location="global"/>
4282 <include file-name="QSize" location="global"/>
4282 <include file-name="QSize" location="global"/>
4283 </extra-includes>
4283 </extra-includes>
4284
4284
4285 <modify-function signature="appendColumn(const QList&lt;QStandardItem *&gt;&amp;)">
4285 <modify-function signature="appendColumn(const QList&lt;QStandardItem *&gt;&amp;)">
4286 <modify-argument index="1">
4286 <modify-argument index="1">
4287 <define-ownership class="java" owner="c++"/>
4287 <define-ownership class="java" owner="c++"/>
4288 </modify-argument>
4288 </modify-argument>
4289 </modify-function>
4289 </modify-function>
4290 <modify-function signature="takeColumn(int)">
4290 <modify-function signature="takeColumn(int)">
4291 <modify-argument index="return">
4291 <modify-argument index="return">
4292 <define-ownership class="java" owner="default"/>
4292 <define-ownership class="java" owner="default"/>
4293 </modify-argument>
4293 </modify-argument>
4294 </modify-function>
4294 </modify-function>
4295 <modify-function signature="takeRow(int)">
4295 <modify-function signature="takeRow(int)">
4296 <modify-argument index="return">
4296 <modify-argument index="return">
4297 <define-ownership class="java" owner="default"/>
4297 <define-ownership class="java" owner="default"/>
4298 </modify-argument>
4298 </modify-argument>
4299 </modify-function>
4299 </modify-function>
4300 <modify-function signature="takeHorizontalHeaderItem(int)">
4300 <modify-function signature="takeHorizontalHeaderItem(int)">
4301 <modify-argument index="return">
4301 <modify-argument index="return">
4302 <define-ownership class="java" owner="default"/>
4302 <define-ownership class="java" owner="default"/>
4303 </modify-argument>
4303 </modify-argument>
4304 </modify-function>
4304 </modify-function>
4305 <modify-function signature="takeVerticalHeaderItem(int)">
4305 <modify-function signature="takeVerticalHeaderItem(int)">
4306 <modify-argument index="return">
4306 <modify-argument index="return">
4307 <define-ownership class="java" owner="default"/>
4307 <define-ownership class="java" owner="default"/>
4308 </modify-argument>
4308 </modify-argument>
4309 </modify-function>
4309 </modify-function>
4310 <modify-function signature="takeItem(int,int)">
4310 <modify-function signature="takeItem(int,int)">
4311 <modify-argument index="return">
4311 <modify-argument index="return">
4312 <define-ownership class="java" owner="default"/>
4312 <define-ownership class="java" owner="default"/>
4313 </modify-argument>
4313 </modify-argument>
4314 </modify-function>
4314 </modify-function>
4315 <modify-function signature="appendRow(const QList&lt;QStandardItem *&gt;&amp;)">
4315 <modify-function signature="appendRow(const QList&lt;QStandardItem *&gt;&amp;)">
4316 <modify-argument index="1">
4316 <modify-argument index="1">
4317 <define-ownership class="java" owner="c++"/>
4317 <define-ownership class="java" owner="c++"/>
4318 </modify-argument>
4318 </modify-argument>
4319 </modify-function>
4319 </modify-function>
4320 <modify-function signature="appendRow(QStandardItem *)">
4320 <modify-function signature="appendRow(QStandardItem *)">
4321 <modify-argument index="1">
4321 <modify-argument index="1">
4322 <define-ownership class="java" owner="c++"/>
4322 <define-ownership class="java" owner="c++"/>
4323 </modify-argument>
4323 </modify-argument>
4324 </modify-function>
4324 </modify-function>
4325 <modify-function signature="insertColumn(int, const QList&lt;QStandardItem *&gt;&amp;)">
4325 <modify-function signature="insertColumn(int, const QList&lt;QStandardItem *&gt;&amp;)">
4326 <modify-argument index="2">
4326 <modify-argument index="2">
4327 <define-ownership class="java" owner="c++"/>
4327 <define-ownership class="java" owner="c++"/>
4328 </modify-argument>
4328 </modify-argument>
4329 </modify-function>
4329 </modify-function>
4330 <modify-function signature="insertRow(int, const QList&lt;QStandardItem *&gt;&amp;)">
4330 <modify-function signature="insertRow(int, const QList&lt;QStandardItem *&gt;&amp;)">
4331 <modify-argument index="2">
4331 <modify-argument index="2">
4332 <define-ownership class="java" owner="c++"/>
4332 <define-ownership class="java" owner="c++"/>
4333 </modify-argument>
4333 </modify-argument>
4334 </modify-function>
4334 </modify-function>
4335 <modify-function signature="insertRow(int, QStandardItem *)">
4335 <modify-function signature="insertRow(int, QStandardItem *)">
4336 <modify-argument index="2">
4336 <modify-argument index="2">
4337 <define-ownership class="java" owner="c++"/>
4337 <define-ownership class="java" owner="c++"/>
4338 </modify-argument>
4338 </modify-argument>
4339 </modify-function>
4339 </modify-function>
4340 <modify-function signature="setHorizontalHeaderItem(int, QStandardItem *)">
4340 <modify-function signature="setHorizontalHeaderItem(int, QStandardItem *)">
4341 <modify-argument index="2">
4341 <modify-argument index="2">
4342 <define-ownership class="java" owner="c++"/>
4342 <define-ownership class="java" owner="c++"/>
4343 </modify-argument>
4343 </modify-argument>
4344 </modify-function>
4344 </modify-function>
4345 <modify-function signature="setItem(int, int, QStandardItem *)">
4345 <modify-function signature="setItem(int, int, QStandardItem *)">
4346 <modify-argument index="3">
4346 <modify-argument index="3">
4347 <define-ownership class="java" owner="c++"/>
4347 <define-ownership class="java" owner="c++"/>
4348 </modify-argument>
4348 </modify-argument>
4349 </modify-function>
4349 </modify-function>
4350 <modify-function signature="setItem(int, QStandardItem *)">
4350 <modify-function signature="setItem(int, QStandardItem *)">
4351 <modify-argument index="2">
4351 <modify-argument index="2">
4352 <define-ownership class="java" owner="c++"/>
4352 <define-ownership class="java" owner="c++"/>
4353 </modify-argument>
4353 </modify-argument>
4354 </modify-function>
4354 </modify-function>
4355 <modify-function signature="setItemPrototype(const QStandardItem *)">
4355 <modify-function signature="setItemPrototype(const QStandardItem *)">
4356 <modify-argument index="1">
4356 <modify-argument index="1">
4357 <define-ownership class="java" owner="c++"/>
4357 <define-ownership class="java" owner="c++"/>
4358 </modify-argument>
4358 </modify-argument>
4359 </modify-function>
4359 </modify-function>
4360 <modify-function signature="setVerticalHeaderItem(int, QStandardItem *)">
4360 <modify-function signature="setVerticalHeaderItem(int, QStandardItem *)">
4361 <modify-argument index="2">
4361 <modify-argument index="2">
4362 <define-ownership class="java" owner="c++"/>
4362 <define-ownership class="java" owner="c++"/>
4363 </modify-argument>
4363 </modify-argument>
4364 </modify-function>
4364 </modify-function>
4365 </object-type>
4365 </object-type>
4366
4366
4367 <object-type name="QRadioButton">
4367 <object-type name="QRadioButton">
4368 <modify-function signature="initStyleOption(QStyleOptionButton*)const">
4368 <modify-function signature="initStyleOption(QStyleOptionButton*)const">
4369 <access modifier="private"/>
4369 <access modifier="private"/>
4370 </modify-function>
4370 </modify-function>
4371 </object-type>
4371 </object-type>
4372
4372
4373 <object-type name="QScrollBar">
4373 <object-type name="QScrollBar">
4374 <modify-function signature="initStyleOption(QStyleOptionSlider*)const">
4374 <modify-function signature="initStyleOption(QStyleOptionSlider*)const">
4375 <access modifier="private"/>
4375 <access modifier="private"/>
4376 </modify-function>
4376 </modify-function>
4377 </object-type>
4377 </object-type>
4378
4378
4379 <object-type name="QClipboard">
4379 <object-type name="QClipboard">
4380 <extra-includes>
4380 <extra-includes>
4381 <include file-name="QImage" location="global"/>
4381 <include file-name="QImage" location="global"/>
4382 <include file-name="QPixmap" location="global"/>
4382 <include file-name="QPixmap" location="global"/>
4383 </extra-includes>
4383 </extra-includes>
4384 <modify-function signature="setMimeData(QMimeData *, QClipboard::Mode)">
4384 <modify-function signature="setMimeData(QMimeData *, QClipboard::Mode)">
4385 <modify-argument index="1">
4385 <modify-argument index="1">
4386 <define-ownership class="java" owner="c++"/>
4386 <define-ownership class="java" owner="c++"/>
4387 </modify-argument>
4387 </modify-argument>
4388 </modify-function>
4388 </modify-function>
4389 <modify-function signature="text(QString&amp;,QClipboard::Mode)const">
4389 <modify-function signature="text(QString&amp;,QClipboard::Mode)const">
4390 <access modifier="private"/>
4390 <access modifier="private"/>
4391 <modify-argument index="2">
4391 <modify-argument index="2">
4392 <remove-default-expression/>
4392 <remove-default-expression/>
4393 </modify-argument>
4393 </modify-argument>
4394 </modify-function>
4394 </modify-function>
4395
4395
4396 </object-type>
4396 </object-type>
4397
4397
4398 <object-type name="QAbstractScrollArea">
4398 <object-type name="QAbstractScrollArea">
4399 <modify-function signature="setupViewport(QWidget *)" access="non-final"/>
4399 <modify-function signature="setupViewport(QWidget *)" access="non-final"/>
4400 <modify-function signature="addScrollBarWidget(QWidget*,QFlags&lt;Qt::AlignmentFlag&gt;)">
4400 <modify-function signature="addScrollBarWidget(QWidget*,QFlags&lt;Qt::AlignmentFlag&gt;)">
4401 <modify-argument index="1">
4401 <modify-argument index="1">
4402 <reference-count action="ignore"/>
4402 <reference-count action="ignore"/>
4403 </modify-argument>
4403 </modify-argument>
4404 </modify-function>
4404 </modify-function>
4405 <modify-function signature="setCornerWidget(QWidget*)">
4405 <modify-function signature="setCornerWidget(QWidget*)">
4406 <modify-argument index="1">
4406 <modify-argument index="1">
4407 <reference-count action="ignore"/>
4407 <reference-count action="ignore"/>
4408 </modify-argument>
4408 </modify-argument>
4409 </modify-function>
4409 </modify-function>
4410 <modify-function signature="setHorizontalScrollBar(QScrollBar*)">
4410 <modify-function signature="setHorizontalScrollBar(QScrollBar*)">
4411 <modify-argument index="1">
4411 <modify-argument index="1">
4412 <reference-count action="ignore"/>
4412 <reference-count action="ignore"/>
4413 </modify-argument>
4413 </modify-argument>
4414 </modify-function>
4414 </modify-function>
4415
4415
4416 <modify-function signature="setVerticalScrollBar(QScrollBar*)">
4416 <modify-function signature="setVerticalScrollBar(QScrollBar*)">
4417 <modify-argument index="1">
4417 <modify-argument index="1">
4418 <reference-count action="ignore"/>
4418 <reference-count action="ignore"/>
4419 </modify-argument>
4419 </modify-argument>
4420 </modify-function>
4420 </modify-function>
4421
4421
4422 <modify-function signature="setViewport(QWidget*)">
4422 <modify-function signature="setViewport(QWidget*)">
4423 <modify-argument index="1">
4423 <modify-argument index="1">
4424 <reference-count action="ignore"/>
4424 <reference-count action="ignore"/>
4425 </modify-argument>
4425 </modify-argument>
4426 </modify-function>
4426 </modify-function>
4427
4427
4428 <modify-function signature="setupViewport(QWidget*)">
4428 <modify-function signature="setupViewport(QWidget*)">
4429 <modify-argument index="1">
4429 <modify-argument index="1">
4430 <reference-count action="ignore"/>
4430 <reference-count action="ignore"/>
4431 </modify-argument>
4431 </modify-argument>
4432 </modify-function>
4432 </modify-function>
4433
4433
4434 <modify-function signature="viewportEvent(QEvent*)">
4434 <modify-function signature="viewportEvent(QEvent*)">
4435 <modify-argument index="1" invalidate-after-use="yes"/>
4435 <modify-argument index="1" invalidate-after-use="yes"/>
4436 </modify-function>
4436 </modify-function>
4437
4437
4438 </object-type>
4438 </object-type>
4439
4439
4440 <object-type name="QPaintEngineState">
4440 <object-type name="QPaintEngineState">
4441 <extra-includes>
4441 <extra-includes>
4442 <include file-name="QPainterPath" location="global"/>
4442 <include file-name="QPainterPath" location="global"/>
4443 </extra-includes>
4443 </extra-includes>
4444 </object-type>
4444 </object-type>
4445
4445
4446 <object-type name="QRubberBand">
4446 <object-type name="QRubberBand">
4447 <modify-function signature="initStyleOption(QStyleOptionRubberBand*)const">
4447 <modify-function signature="initStyleOption(QStyleOptionRubberBand*)const">
4448 <access modifier="private"/>
4448 <access modifier="private"/>
4449 </modify-function>
4449 </modify-function>
4450 <modify-function signature="move(int,int)" rename="moveRubberBand"/>
4450 <modify-function signature="move(int,int)" rename="moveRubberBand"/>
4451 <modify-function signature="move(const QPoint &amp;)" rename="moveRubberBand"/>
4451 <modify-function signature="move(const QPoint &amp;)" rename="moveRubberBand"/>
4452 <modify-function signature="resize(int,int)" rename="resizeRubberBand"/>
4452 <modify-function signature="resize(int,int)" rename="resizeRubberBand"/>
4453 <modify-function signature="resize(const QSize &amp;)" rename="resizeRubberBand"/>
4453 <modify-function signature="resize(const QSize &amp;)" rename="resizeRubberBand"/>
4454 <modify-function signature="setGeometry(int,int,int,int)" rename="setRubberBandGeometry"/>
4454 <modify-function signature="setGeometry(int,int,int,int)" rename="setRubberBandGeometry"/>
4455 <modify-function signature="setGeometry(const QRect &amp;)" rename="setRubberBandGeometry"/>
4455 <modify-function signature="setGeometry(const QRect &amp;)" rename="setRubberBandGeometry"/>
4456 </object-type>
4456 </object-type>
4457
4457
4458 <object-type name="QTextLayout">
4458 <object-type name="QTextLayout">
4459 <extra-includes>
4459 <extra-includes>
4460 <include file-name="QTextOption" location="global"/>
4460 <include file-name="QTextOption" location="global"/>
4461 </extra-includes>
4461 </extra-includes>
4462 </object-type>
4462 </object-type>
4463
4463
4464 <object-type name="QTableWidget">
4464 <object-type name="QTableWidget">
4465 <modify-function signature="isSortingEnabled()const" remove="all"/>
4465 <modify-function signature="isSortingEnabled()const" remove="all"/>
4466 <modify-function signature="setSortingEnabled(bool)" remove="all"/>
4466 <modify-function signature="setSortingEnabled(bool)" remove="all"/>
4467 <modify-function signature="setHorizontalHeaderItem(int, QTableWidgetItem *)">
4467 <modify-function signature="setHorizontalHeaderItem(int, QTableWidgetItem *)">
4468 <modify-argument index="2">
4468 <modify-argument index="2">
4469 <define-ownership class="java" owner="c++"/>
4469 <define-ownership class="java" owner="c++"/>
4470 </modify-argument>
4470 </modify-argument>
4471 </modify-function>
4471 </modify-function>
4472 <modify-function signature="setItem(int, int, QTableWidgetItem *)">
4472 <modify-function signature="setItem(int, int, QTableWidgetItem *)">
4473 <modify-argument index="3">
4473 <modify-argument index="3">
4474 <define-ownership class="java" owner="c++"/>
4474 <define-ownership class="java" owner="c++"/>
4475 </modify-argument>
4475 </modify-argument>
4476 </modify-function>
4476 </modify-function>
4477 <modify-function signature="takeHorizontalHeaderItem(int)">
4477 <modify-function signature="takeHorizontalHeaderItem(int)">
4478 <modify-argument index="return">
4478 <modify-argument index="return">
4479 <define-ownership class="java" owner="default"/>
4479 <define-ownership class="java" owner="default"/>
4480 </modify-argument>
4480 </modify-argument>
4481 </modify-function>
4481 </modify-function>
4482 <modify-function signature="takeVerticalHeaderItem(int)">
4482 <modify-function signature="takeVerticalHeaderItem(int)">
4483 <modify-argument index="return">
4483 <modify-argument index="return">
4484 <define-ownership class="java" owner="default"/>
4484 <define-ownership class="java" owner="default"/>
4485 </modify-argument>
4485 </modify-argument>
4486 </modify-function>
4486 </modify-function>
4487 <modify-function signature="takeItem(int,int)">
4487 <modify-function signature="takeItem(int,int)">
4488 <modify-argument index="return">
4488 <modify-argument index="return">
4489 <define-ownership class="java" owner="default"/>
4489 <define-ownership class="java" owner="default"/>
4490 </modify-argument>
4490 </modify-argument>
4491 </modify-function>
4491 </modify-function>
4492 <modify-function signature="setItemPrototype(const QTableWidgetItem *)">
4492 <modify-function signature="setItemPrototype(const QTableWidgetItem *)">
4493 <modify-argument index="1">
4493 <modify-argument index="1">
4494 <define-ownership class="java" owner="c++"/>
4494 <define-ownership class="java" owner="c++"/>
4495 </modify-argument>
4495 </modify-argument>
4496 </modify-function>
4496 </modify-function>
4497 <modify-function signature="setVerticalHeaderItem(int, QTableWidgetItem *)">
4497 <modify-function signature="setVerticalHeaderItem(int, QTableWidgetItem *)">
4498 <modify-argument index="2">
4498 <modify-argument index="2">
4499 <define-ownership class="java" owner="c++"/>
4499 <define-ownership class="java" owner="c++"/>
4500 </modify-argument>
4500 </modify-argument>
4501 </modify-function>
4501 </modify-function>
4502 <modify-function signature="setCellWidget(int,int,QWidget*)">
4502 <modify-function signature="setCellWidget(int,int,QWidget*)">
4503 <modify-argument index="3">
4503 <modify-argument index="3">
4504 <reference-count action="ignore"/>
4504 <reference-count action="ignore"/>
4505 </modify-argument>
4505 </modify-argument>
4506 </modify-function>
4506 </modify-function>
4507 <modify-function signature="setCurrentItem(QTableWidgetItem*)">
4507 <modify-function signature="setCurrentItem(QTableWidgetItem*)">
4508 <modify-argument index="1">
4508 <modify-argument index="1">
4509 <reference-count action="ignore"/>
4509 <reference-count action="ignore"/>
4510 </modify-argument>
4510 </modify-argument>
4511 </modify-function>
4511 </modify-function>
4512 <modify-function signature="setCurrentItem(QTableWidgetItem*,QFlags&lt;QItemSelectionModel::SelectionFlag&gt;)">
4512 <modify-function signature="setCurrentItem(QTableWidgetItem*,QFlags&lt;QItemSelectionModel::SelectionFlag&gt;)">
4513 <modify-argument index="1">
4513 <modify-argument index="1">
4514 <reference-count action="ignore"/>
4514 <reference-count action="ignore"/>
4515 </modify-argument>
4515 </modify-argument>
4516 </modify-function>
4516 </modify-function>
4517 <modify-function signature="setItemSelected(const QTableWidgetItem*,bool)">
4517 <modify-function signature="setItemSelected(const QTableWidgetItem*,bool)">
4518 <remove/>
4518 <remove/>
4519 </modify-function>
4519 </modify-function>
4520 <modify-function signature="isItemSelected(const QTableWidgetItem*)const">
4520 <modify-function signature="isItemSelected(const QTableWidgetItem*)const">
4521 <remove/>
4521 <remove/>
4522 </modify-function>
4522 </modify-function>
4523 <modify-function signature="setModel(QAbstractItemModel*)">
4523 <modify-function signature="setModel(QAbstractItemModel*)">
4524 <modify-argument index="1">
4524 <modify-argument index="1">
4525 <reference-count action="ignore"/>
4525 <reference-count action="ignore"/>
4526 </modify-argument>
4526 </modify-argument>
4527 </modify-function>
4527 </modify-function>
4528
4528
4529 <modify-function signature="mimeData(const QList&lt;QTableWidgetItem*&gt;)const" remove="all"/>
4529 <modify-function signature="mimeData(const QList&lt;QTableWidgetItem*&gt;)const" remove="all"/>
4530 </object-type>
4530 </object-type>
4531 <object-type name="QTextDocument">
4531 <object-type name="QTextDocument">
4532 <extra-includes>
4532 <extra-includes>
4533 <include file-name="QTextBlock" location="global"/>
4533 <include file-name="QTextBlock" location="global"/>
4534 <include file-name="QTextFormat" location="global"/>
4534 <include file-name="QTextFormat" location="global"/>
4535 <include file-name="QTextCursor" location="global"/>
4535 <include file-name="QTextCursor" location="global"/>
4536 </extra-includes>
4536 </extra-includes>
4537 <modify-function signature="redo(QTextCursor*)">
4537 <modify-function signature="redo(QTextCursor*)">
4538 <access modifier="private"/>
4538 <access modifier="private"/>
4539 </modify-function>
4539 </modify-function>
4540 <modify-function signature="setDocumentLayout(QAbstractTextDocumentLayout*)">
4540 <modify-function signature="setDocumentLayout(QAbstractTextDocumentLayout*)">
4541 <modify-argument index="1">
4541 <modify-argument index="1">
4542 <define-ownership class="java" owner="c++"/>
4542 <define-ownership class="java" owner="c++"/>
4543 </modify-argument>
4543 </modify-argument>
4544 </modify-function>
4544 </modify-function>
4545
4545
4546 <modify-function signature="undo(QTextCursor*)">
4546 <modify-function signature="undo(QTextCursor*)">
4547 <access modifier="private"/>
4547 <access modifier="private"/>
4548 </modify-function>
4548 </modify-function>
4549 </object-type>
4549 </object-type>
4550
4550
4551 <object-type name="QSplitter">
4551 <object-type name="QSplitter">
4552
4552
4553 <modify-function signature="getRange(int,int*,int*)const">
4553 <modify-function signature="getRange(int,int*,int*)const">
4554 <access modifier="private"/>
4554 <access modifier="private"/>
4555 </modify-function>
4555 </modify-function>
4556 <modify-function signature="addWidget(QWidget *)">
4556 <modify-function signature="addWidget(QWidget *)">
4557 <modify-argument index="1">
4557 <modify-argument index="1">
4558 <reference-count action="ignore"/>
4558 <reference-count action="ignore"/>
4559 </modify-argument>
4559 </modify-argument>
4560 </modify-function>
4560 </modify-function>
4561 <modify-function signature="insertWidget(int, QWidget *)">
4561 <modify-function signature="insertWidget(int, QWidget *)">
4562 <modify-argument index="2">
4562 <modify-argument index="2">
4563 <reference-count action="ignore"/>
4563 <reference-count action="ignore"/>
4564 </modify-argument>
4564 </modify-argument>
4565 </modify-function>
4565 </modify-function>
4566 </object-type>
4566 </object-type>
4567
4567
4568 <object-type name="QGroupBox">
4568 <object-type name="QGroupBox">
4569 <modify-function signature="initStyleOption(QStyleOptionGroupBox*)const">
4569 <modify-function signature="initStyleOption(QStyleOptionGroupBox*)const">
4570 <access modifier="private"/>
4570 <access modifier="private"/>
4571 </modify-function>
4571 </modify-function>
4572 </object-type>
4572 </object-type>
4573
4573
4574 <object-type name="QStackedWidget">
4574 <object-type name="QStackedWidget">
4575 <modify-function signature="addWidget(QWidget*)">
4575 <modify-function signature="addWidget(QWidget*)">
4576 <modify-argument index="1">
4576 <modify-argument index="1">
4577 <reference-count action="ignore"/>
4577 <reference-count action="ignore"/>
4578 </modify-argument>
4578 </modify-argument>
4579 </modify-function>
4579 </modify-function>
4580 <modify-function signature="insertWidget(int,QWidget*)">
4580 <modify-function signature="insertWidget(int,QWidget*)">
4581 <modify-argument index="2">
4581 <modify-argument index="2">
4582 <reference-count action="ignore"/>
4582 <reference-count action="ignore"/>
4583 </modify-argument>
4583 </modify-argument>
4584 </modify-function>
4584 </modify-function>
4585 <modify-function signature="removeWidget(QWidget*)">
4585 <modify-function signature="removeWidget(QWidget*)">
4586 <modify-argument index="1">
4586 <modify-argument index="1">
4587 <reference-count action="ignore"/>
4587 <reference-count action="ignore"/>
4588 </modify-argument>
4588 </modify-argument>
4589 </modify-function>
4589 </modify-function>
4590 <modify-function signature="setCurrentWidget(QWidget*)">
4590 <modify-function signature="setCurrentWidget(QWidget*)">
4591 <modify-argument index="1">
4591 <modify-argument index="1">
4592 <reference-count action="ignore"/>
4592 <reference-count action="ignore"/>
4593 </modify-argument>
4593 </modify-argument>
4594 </modify-function>
4594 </modify-function>
4595 </object-type>
4595 </object-type>
4596
4596
4597 <object-type name="QSplitterHandle">
4597 <object-type name="QSplitterHandle">
4598 </object-type>
4598 </object-type>
4599
4599
4600 <object-type name="QDial">
4600 <object-type name="QDial">
4601 <modify-function signature="initStyleOption(QStyleOptionSlider*)const">
4601 <modify-function signature="initStyleOption(QStyleOptionSlider*)const">
4602 <access modifier="private"/>
4602 <access modifier="private"/>
4603 </modify-function>
4603 </modify-function>
4604 </object-type>
4604 </object-type>
4605
4605
4606 <object-type name="QLineEdit">
4606 <object-type name="QLineEdit">
4607 <modify-function signature="initStyleOption(QStyleOptionFrame*)const">
4607 <modify-function signature="initStyleOption(QStyleOptionFrame*)const">
4608 <access modifier="private"/>
4608 <access modifier="private"/>
4609 </modify-function>
4609 </modify-function>
4610 <modify-function signature="setCompleter(QCompleter *)">
4610 <modify-function signature="setCompleter(QCompleter *)">
4611 <modify-argument index="1">
4611 <modify-argument index="1">
4612 <reference-count action="set" variable-name="__rcCompleter"/>
4612 <reference-count action="set" variable-name="__rcCompleter"/>
4613 </modify-argument>
4613 </modify-argument>
4614 </modify-function>
4614 </modify-function>
4615 <modify-function signature="setValidator(const QValidator *)">
4615 <modify-function signature="setValidator(const QValidator *)">
4616 <modify-argument index="1">
4616 <modify-argument index="1">
4617 <reference-count action="set" variable-name="__rcValidator"/>
4617 <reference-count action="set" variable-name="__rcValidator"/>
4618 </modify-argument>
4618 </modify-argument>
4619 </modify-function>
4619 </modify-function>
4620 </object-type>
4620 </object-type>
4621
4621
4622 <object-type name="QLCDNumber"/>
4622 <object-type name="QLCDNumber"/>
4623
4623
4624 <object-type name="QSplashScreen">
4624 <object-type name="QSplashScreen">
4625 <modify-function signature="showMessage(const QString &amp;, int, const QColor &amp;)">
4625 <modify-function signature="showMessage(const QString &amp;, int, const QColor &amp;)">
4626 <modify-argument index="3">
4626 <modify-argument index="3">
4627 <replace-default-expression with="QColor.black"/>
4627 <replace-default-expression with="QColor.black"/>
4628 </modify-argument>
4628 </modify-argument>
4629 </modify-function>
4629 </modify-function>
4630 <modify-function signature="repaint()" remove="all"/>
4630 <modify-function signature="repaint()" remove="all"/>
4631 <modify-function signature="drawContents(QPainter*)">
4631 <modify-function signature="drawContents(QPainter*)">
4632 <modify-argument index="1" invalidate-after-use="yes"/>
4632 <modify-argument index="1" invalidate-after-use="yes"/>
4633 </modify-function>
4633 </modify-function>
4634 </object-type>
4634 </object-type>
4635
4635
4636 <object-type name="QDockWidget">
4636 <object-type name="QDockWidget">
4637 <modify-function signature="initStyleOption(QStyleOptionDockWidget*)const">
4637 <modify-function signature="initStyleOption(QStyleOptionDockWidget*)const">
4638 <access modifier="private"/>
4638 <access modifier="private"/>
4639 </modify-function>
4639 </modify-function>
4640 <inject-code>
4640 <inject-code>
4641 <insert-template name="gui.init_style_option">
4641 <insert-template name="gui.init_style_option">
4642 <replace from="%TYPE" to="QStyleOptionDockWidget"/>
4642 <replace from="%TYPE" to="QStyleOptionDockWidget"/>
4643 </insert-template>
4643 </insert-template>
4644 </inject-code>
4644 </inject-code>
4645 <modify-function signature="setTitleBarWidget(QWidget*)">
4645 <modify-function signature="setTitleBarWidget(QWidget*)">
4646 <modify-argument index="1">
4646 <modify-argument index="1">
4647 <reference-count action="ignore"/>
4647 <reference-count action="ignore"/>
4648 </modify-argument>
4648 </modify-argument>
4649 </modify-function>
4649 </modify-function>
4650 <modify-function signature="setWidget(QWidget*)">
4650 <modify-function signature="setWidget(QWidget*)">
4651 <modify-argument index="1">
4651 <modify-argument index="1">
4652 <reference-count action="ignore"/>
4652 <reference-count action="ignore"/>
4653 </modify-argument>
4653 </modify-argument>
4654 </modify-function>
4654 </modify-function>
4655 </object-type>
4655 </object-type>
4656
4656
4657 <object-type name="QAbstractProxyModel">
4657 <object-type name="QAbstractProxyModel">
4658 <extra-includes>
4658 <extra-includes>
4659 <include file-name="QItemSelection" location="global"/>
4659 <include file-name="QItemSelection" location="global"/>
4660 <include file-name="QStringList" location="global"/>
4660 <include file-name="QStringList" location="global"/>
4661 <include file-name="QSize" location="global"/>
4661 <include file-name="QSize" location="global"/>
4662 </extra-includes>
4662 </extra-includes>
4663
4663
4664 <modify-function signature="setSourceModel(QAbstractItemModel *)">
4664 <modify-function signature="setSourceModel(QAbstractItemModel *)">
4665 <modify-argument index="1">
4665 <modify-argument index="1">
4666 <reference-count action="set" variable-name="__rcSourceModel"/>
4666 <reference-count action="set" variable-name="__rcSourceModel"/>
4667 </modify-argument>
4667 </modify-argument>
4668 </modify-function>
4668 </modify-function>
4669
4669
4670 </object-type>
4670 </object-type>
4671
4671
4672 <object-type name="QDesktopWidget">
4672 <object-type name="QDesktopWidget">
4673 </object-type>
4673 </object-type>
4674
4674
4675 <object-type name="QFrame">
4675 <object-type name="QFrame">
4676 </object-type>
4676 </object-type>
4677
4677
4678 <object-type name="QTextTable">
4678 <object-type name="QTextTable">
4679 <modify-function signature="format() const">
4679 <modify-function signature="format() const">
4680 <rename to="tableFormat"/>
4680 <rename to="tableFormat"/>
4681 </modify-function>
4681 </modify-function>
4682 <extra-includes>
4682 <extra-includes>
4683 <include file-name="QTextCursor" location="global"/>
4683 <include file-name="QTextCursor" location="global"/>
4684 </extra-includes>
4684 </extra-includes>
4685 </object-type>
4685 </object-type>
4686
4686
4687 <object-type name="QSpinBox">
4687 <object-type name="QSpinBox">
4688 <modify-function signature="valueChanged(const QString &amp;)">
4688 <modify-function signature="valueChanged(const QString &amp;)">
4689 <rename to="valueStringChanged"/>
4689 <rename to="valueStringChanged"/>
4690 </modify-function>
4690 </modify-function>
4691 </object-type>
4691 </object-type>
4692
4692
4693 <object-type name="QTextBrowser">
4693 <object-type name="QTextBrowser">
4694 <modify-function signature="highlighted(const QString &amp;)">
4694 <modify-function signature="highlighted(const QString &amp;)">
4695 <rename to="highlightedString"/>
4695 <rename to="highlightedString"/>
4696 </modify-function>
4696 </modify-function>
4697 </object-type>
4697 </object-type>
4698
4698
4699 <object-type name="QDoubleSpinBox">
4699 <object-type name="QDoubleSpinBox">
4700 <modify-function signature="valueChanged(const QString &amp;)">
4700 <modify-function signature="valueChanged(const QString &amp;)">
4701 <rename to="valueStringChanged"/>
4701 <rename to="valueStringChanged"/>
4702 </modify-function>
4702 </modify-function>
4703 </object-type>
4703 </object-type>
4704
4704
4705 <object-type name="QButtonGroup">
4705 <object-type name="QButtonGroup">
4706 <modify-function signature="buttonClicked(int)">
4706 <modify-function signature="buttonClicked(int)">
4707 <rename to="buttonIdClicked"/>
4707 <rename to="buttonIdClicked"/>
4708 </modify-function>
4708 </modify-function>
4709 <modify-function signature="buttonPressed(int)">
4709 <modify-function signature="buttonPressed(int)">
4710 <rename to="buttonIdPressed"/>
4710 <rename to="buttonIdPressed"/>
4711 </modify-function>
4711 </modify-function>
4712 <modify-function signature="buttonReleased(int)">
4712 <modify-function signature="buttonReleased(int)">
4713 <rename to="buttonIdReleased"/>
4713 <rename to="buttonIdReleased"/>
4714 </modify-function>
4714 </modify-function>
4715 <modify-function signature="addButton(QAbstractButton *)">
4715 <modify-function signature="addButton(QAbstractButton *)">
4716 <modify-argument index="1">
4716 <modify-argument index="1">
4717 <reference-count action="add" variable-name="__rcButtons"/>
4717 <reference-count action="add" variable-name="__rcButtons"/>
4718 <no-null-pointer/>
4718 <no-null-pointer/>
4719 </modify-argument>
4719 </modify-argument>
4720 </modify-function>
4720 </modify-function>
4721 <modify-function signature="addButton(QAbstractButton *, int)">
4721 <modify-function signature="addButton(QAbstractButton *, int)">
4722 <modify-argument index="1">
4722 <modify-argument index="1">
4723 <reference-count action="add" variable-name="__rcButtons"/>
4723 <reference-count action="add" variable-name="__rcButtons"/>
4724 <no-null-pointer/>
4724 <no-null-pointer/>
4725 </modify-argument>
4725 </modify-argument>
4726 </modify-function>
4726 </modify-function>
4727 <modify-function signature="removeButton(QAbstractButton *)">
4727 <modify-function signature="removeButton(QAbstractButton *)">
4728 <modify-argument index="1">
4728 <modify-argument index="1">
4729 <reference-count action="remove" variable-name="__rcButtons"/>
4729 <reference-count action="remove" variable-name="__rcButtons"/>
4730 <no-null-pointer/>
4730 <no-null-pointer/>
4731 </modify-argument>
4731 </modify-argument>
4732 </modify-function>
4732 </modify-function>
4733 <modify-function signature="setId(QAbstractButton *,int)">
4733 <modify-function signature="setId(QAbstractButton *,int)">
4734 <modify-argument index="1">
4734 <modify-argument index="1">
4735 <reference-count action="ignore"/>
4735 <reference-count action="ignore"/>
4736 </modify-argument>
4736 </modify-argument>
4737 </modify-function>
4737 </modify-function>
4738 </object-type>
4738 </object-type>
4739
4739
4740 <object-type name="QToolBar">
4740 <object-type name="QToolBar">
4741 <modify-function signature="addAction(QAction *)" remove="all"/>
4741 <modify-function signature="addAction(QAction *)" remove="all"/>
4742 <modify-function signature="initStyleOption(QStyleOptionToolBar*)const">
4742 <modify-function signature="initStyleOption(QStyleOptionToolBar*)const">
4743 <access modifier="private"/>
4743 <access modifier="private"/>
4744 </modify-function>
4744 </modify-function>
4745 <modify-function signature="addAction(QIcon,QString,const QObject*,const char*)">
4745 <modify-function signature="addAction(QIcon,QString,const QObject*,const char*)">
4746 <remove/>
4746 <remove/>
4747 </modify-function>
4747 </modify-function>
4748 <modify-function signature="addAction(QString,const QObject*,const char*)">
4748 <modify-function signature="addAction(QString,const QObject*,const char*)">
4749 <remove/>
4749 <remove/>
4750 </modify-function>
4750 </modify-function>
4751 <modify-function signature="addWidget(QWidget*)">
4751 <modify-function signature="addWidget(QWidget*)">
4752 <modify-argument index="1">
4752 <modify-argument index="1">
4753 <define-ownership class="java" owner="c++"/>
4753 <define-ownership class="java" owner="c++"/>
4754 </modify-argument>
4754 </modify-argument>
4755 </modify-function>
4755 </modify-function>
4756 <modify-function signature="insertWidget(QAction*,QWidget*)">
4756 <modify-function signature="insertWidget(QAction*,QWidget*)">
4757 <modify-argument index="1">
4757 <modify-argument index="1">
4758 <reference-count action="ignore"/>
4758 <reference-count action="ignore"/>
4759 </modify-argument>
4759 </modify-argument>
4760 <modify-argument index="2">
4760 <modify-argument index="2">
4761 <define-ownership class="java" owner="c++"/>
4761 <define-ownership class="java" owner="c++"/>
4762 </modify-argument>
4762 </modify-argument>
4763 </modify-function>
4763 </modify-function>
4764 <modify-function signature="insertSeparator(QAction*)">
4764 <modify-function signature="insertSeparator(QAction*)">
4765 <modify-argument index="1">
4765 <modify-argument index="1">
4766 <reference-count action="ignore"/>
4766 <reference-count action="ignore"/>
4767 </modify-argument>
4767 </modify-argument>
4768 </modify-function>
4768 </modify-function>
4769 </object-type>
4769 </object-type>
4770
4770
4771 <object-type name="QPaintEngine">
4771 <object-type name="QPaintEngine">
4772
4772
4773 <modify-function signature="begin(QPaintDevice*)">
4773 <modify-function signature="begin(QPaintDevice*)">
4774 <modify-argument index="1" invalidate-after-use="yes"/>
4774 <modify-argument index="1" invalidate-after-use="yes"/>
4775 </modify-function>
4775 </modify-function>
4776 <modify-function signature="updateState(QPaintEngineState)">
4776 <modify-function signature="updateState(QPaintEngineState)">
4777 <modify-argument index="1" invalidate-after-use="yes"/>
4777 <modify-argument index="1" invalidate-after-use="yes"/>
4778 </modify-function>
4778 </modify-function>
4779 <modify-function signature="drawTextItem(QPointF,QTextItem)">
4779 <modify-function signature="drawTextItem(QPointF,QTextItem)">
4780 <modify-argument index="2" invalidate-after-use="yes"/>
4780 <modify-argument index="2" invalidate-after-use="yes"/>
4781 </modify-function>
4781 </modify-function>
4782
4782
4783 <extra-includes>
4783 <extra-includes>
4784 <include file-name="QVarLengthArray" location="global"/>
4784 <include file-name="QVarLengthArray" location="global"/>
4785 </extra-includes>
4785 </extra-includes>
4786 <modify-function signature="setPaintDevice(QPaintDevice*)">
4786 <modify-function signature="setPaintDevice(QPaintDevice*)">
4787 <remove/>
4787 <remove/>
4788 </modify-function>
4788 </modify-function>
4789 <modify-field name="state" read="false" write="false"/>
4789 <modify-field name="state" read="false" write="false"/>
4790 </object-type>
4790 </object-type>
4791
4791
4792 <object-type name="QGuiSignalMapper"/>
4792 <object-type name="QGuiSignalMapper"/>
4793
4793
4794 <object-type name="QComboBox">
4794 <object-type name="QComboBox">
4795 <modify-function signature="initStyleOption(QStyleOptionComboBox*)const">
4795 <modify-function signature="initStyleOption(QStyleOptionComboBox*)const">
4796 <access modifier="private"/>
4796 <access modifier="private"/>
4797 </modify-function>
4797 </modify-function>
4798 <modify-function signature="setCompleter(QCompleter*)">
4798 <modify-function signature="setCompleter(QCompleter*)">
4799 <modify-argument index="1">
4799 <modify-argument index="1">
4800 <reference-count variable-name="__rcCompleter" action="set"/>
4800 <reference-count variable-name="__rcCompleter" action="set"/>
4801 </modify-argument>
4801 </modify-argument>
4802 </modify-function>
4802 </modify-function>
4803 <modify-function signature="setValidator(const QValidator*)">
4803 <modify-function signature="setValidator(const QValidator*)">
4804 <modify-argument index="1">
4804 <modify-argument index="1">
4805 <reference-count variable-name="__rcValidator" action="set"/>
4805 <reference-count variable-name="__rcValidator" action="set"/>
4806 </modify-argument>
4806 </modify-argument>
4807 </modify-function>
4807 </modify-function>
4808 <modify-function signature="setItemDelegate(QAbstractItemDelegate *)">
4808 <modify-function signature="setItemDelegate(QAbstractItemDelegate *)">
4809 <modify-argument index="1">
4809 <modify-argument index="1">
4810 <define-ownership class="java" owner="c++"/>
4810 <define-ownership class="java" owner="c++"/>
4811 <no-null-pointer/>
4811 <no-null-pointer/>
4812 </modify-argument>
4812 </modify-argument>
4813 </modify-function>
4813 </modify-function>
4814 <modify-function signature="setView(QAbstractItemView *)">
4814 <modify-function signature="setView(QAbstractItemView *)">
4815 <modify-argument index="1">
4815 <modify-argument index="1">
4816 <no-null-pointer/>
4816 <no-null-pointer/>
4817 <!-- Safe to ignore because combo box reparents view -->
4817 <!-- Safe to ignore because combo box reparents view -->
4818 <reference-count action="ignore"/>
4818 <reference-count action="ignore"/>
4819 </modify-argument>
4819 </modify-argument>
4820 </modify-function>
4820 </modify-function>
4821 <modify-function signature="setLineEdit(QLineEdit *)">
4821 <modify-function signature="setLineEdit(QLineEdit *)">
4822 <modify-argument index="1">
4822 <modify-argument index="1">
4823 <no-null-pointer/>
4823 <no-null-pointer/>
4824 <!-- Safe to ignore because combo box reparents line edit -->
4824 <!-- Safe to ignore because combo box reparents line edit -->
4825 <reference-count action="ignore"/>
4825 <reference-count action="ignore"/>
4826 </modify-argument>
4826 </modify-argument>
4827 </modify-function>
4827 </modify-function>
4828 <modify-function signature="setModel(QAbstractItemModel *)">
4828 <modify-function signature="setModel(QAbstractItemModel *)">
4829 <modify-argument index="1">
4829 <modify-argument index="1">
4830 <no-null-pointer/>
4830 <no-null-pointer/>
4831 <reference-count action="set" variable-name="__rcModel"/>
4831 <reference-count action="set" variable-name="__rcModel"/>
4832 </modify-argument>
4832 </modify-argument>
4833 </modify-function>
4833 </modify-function>
4834 <inject-code>
4834 <inject-code>
4835 <insert-template name="gui.init_style_option">
4835 <insert-template name="gui.init_style_option">
4836 <replace from="%TYPE" to="QStyleOptionComboBox"/>
4836 <replace from="%TYPE" to="QStyleOptionComboBox"/>
4837 </insert-template>
4837 </insert-template>
4838 </inject-code>
4838 </inject-code>
4839 <modify-function signature="activated(int)">&gt;
4839 <modify-function signature="activated(int)">&gt;
4840 <rename to="activatedIndex"/>
4840 <rename to="activatedIndex"/>
4841 </modify-function>
4841 </modify-function>
4842 <modify-function signature="currentIndexChanged(const QString &amp;)">
4842 <modify-function signature="currentIndexChanged(const QString &amp;)">
4843 <rename to="currentStringChanged"/>
4843 <rename to="currentStringChanged"/>
4844 </modify-function>
4844 </modify-function>
4845 <modify-function signature="highlighted(int)">
4845 <modify-function signature="highlighted(int)">
4846 <rename to="highlightedIndex"/>
4846 <rename to="highlightedIndex"/>
4847 </modify-function>
4847 </modify-function>
4848
4848
4849 <modify-function signature="autoCompletion()const" remove="all"/> <!--### Obsolete in 4.3-->
4849 <modify-function signature="autoCompletion()const" remove="all"/> <!--### Obsolete in 4.3-->
4850 <modify-function signature="autoCompletionCaseSensitivity()const" remove="all"/> <!--### Obsolete in 4.3-->
4850 <modify-function signature="autoCompletionCaseSensitivity()const" remove="all"/> <!--### Obsolete in 4.3-->
4851 <modify-function signature="setAutoCompletion(bool)" remove="all"/> <!--### Obsolete in 4.3-->
4851 <modify-function signature="setAutoCompletion(bool)" remove="all"/> <!--### Obsolete in 4.3-->
4852 <modify-function signature="setAutoCompletionCaseSensitivity(Qt::CaseSensitivity)" remove="all"/> <!--### Obsolete in 4.3-->
4852 <modify-function signature="setAutoCompletionCaseSensitivity(Qt::CaseSensitivity)" remove="all"/> <!--### Obsolete in 4.3-->
4853 </object-type>
4853 </object-type>
4854
4854
4855 <object-type name="QTextEdit">
4855 <object-type name="QTextEdit">
4856 <extra-includes>
4856 <extra-includes>
4857 <include file-name="QTextCursor" location="global"/>
4857 <include file-name="QTextCursor" location="global"/>
4858 </extra-includes>
4858 </extra-includes>
4859 <modify-function signature="setDocument(QTextDocument*)">
4859 <modify-function signature="setDocument(QTextDocument*)">
4860 <modify-argument index="1">
4860 <modify-argument index="1">
4861 <reference-count action="set" variable-name="__rcDocument"/>
4861 <reference-count action="set" variable-name="__rcDocument"/>
4862 </modify-argument>
4862 </modify-argument>
4863 </modify-function>
4863 </modify-function>
4864 <modify-function signature="insertFromMimeData(const QMimeData*) ">
4864 <modify-function signature="insertFromMimeData(const QMimeData*) ">
4865 <modify-argument index="1">
4865 <modify-argument index="1">
4866 <reference-count action="ignore"/>
4866 <reference-count action="ignore"/>
4867 </modify-argument>
4867 </modify-argument>
4868 </modify-function>
4868 </modify-function>
4869 </object-type>
4869 </object-type>
4870
4870
4871 <object-type name="QPrinter" delete-in-main-thread="yes">
4871 <object-type name="QPrinter" delete-in-main-thread="yes">
4872 <modify-function signature="setEngines(QPrintEngine*,QPaintEngine*)">
4872 <modify-function signature="setEngines(QPrintEngine*,QPaintEngine*)">
4873 <modify-argument index="1">
4873 <modify-argument index="1">
4874 <reference-count action="set" variable-name="__rcPrintEngine"/>
4874 <reference-count action="set" variable-name="__rcPrintEngine"/>
4875 </modify-argument>
4875 </modify-argument>
4876 <modify-argument index="2">
4876 <modify-argument index="2">
4877 <reference-count action="set" variable-name="__rcPaintEngine"/>
4877 <reference-count action="set" variable-name="__rcPaintEngine"/>
4878 </modify-argument>
4878 </modify-argument>
4879 </modify-function>
4879 </modify-function>
4880
4880
4881 <extra-includes>
4881 <extra-includes>
4882 <include file-name="QPrinterInfo" location="global"/>
4882 <include file-name="QPrinterInfo" location="global"/>
4883 </extra-includes>
4883 </extra-includes>
4884 </object-type>
4884 </object-type>
4885
4885
4886 <object-type name="QAction">
4886 <object-type name="QAction">
4887 <modify-function signature="setMenu(QMenu*)">
4887 <modify-function signature="setMenu(QMenu*)">
4888 <modify-argument index="1">
4888 <modify-argument index="1">
4889 <reference-count action="set" variable-name="__rcMenu"/>
4889 <reference-count action="set" variable-name="__rcMenu"/>
4890 </modify-argument>
4890 </modify-argument>
4891 </modify-function>
4891 </modify-function>
4892
4892
4893 </object-type>
4893 </object-type>
4894
4894
4895 <object-type name="QPainter">
4895 <object-type name="QPainter">
4896 <extra-includes>
4896 <extra-includes>
4897 <include file-name="QWidget" location="global"/>
4897 <include file-name="QWidget" location="global"/>
4898 <include file-name="QPainterPath" location="global"/>
4898 <include file-name="QPainterPath" location="global"/>
4899 <include file-name="QPixmap" location="global"/>
4899 <include file-name="QPixmap" location="global"/>
4900 </extra-includes>
4900 </extra-includes>
4901
4901
4902 <modify-function signature="drawText(const QPointF &amp;, const QString &amp;, int, int)" remove="all"/>
4902 <modify-function signature="drawText(const QPointF &amp;, const QString &amp;, int, int)" remove="all"/>
4903
4903
4904 <modify-function signature="drawConvexPolygon(const QPoint *, int)">
4904 <modify-function signature="drawConvexPolygon(const QPoint *, int)">
4905 <remove/>
4905 <remove/>
4906 </modify-function>
4906 </modify-function>
4907 <modify-function signature="drawConvexPolygon(const QPointF *, int)">
4907 <modify-function signature="drawConvexPolygon(const QPointF *, int)">
4908 <remove/>
4908 <remove/>
4909 </modify-function>
4909 </modify-function>
4910 <modify-function signature="drawLines(const QLine *, int)">
4910 <modify-function signature="drawLines(const QLine *, int)">
4911 <remove/>
4911 <remove/>
4912 </modify-function>
4912 </modify-function>
4913 <modify-function signature="drawLines(const QLineF *, int)">
4913 <modify-function signature="drawLines(const QLineF *, int)">
4914 <remove/>
4914 <remove/>
4915 </modify-function>
4915 </modify-function>
4916 <modify-function signature="drawLines(const QPoint *, int)">
4916 <modify-function signature="drawLines(const QPoint *, int)">
4917 <remove/>
4917 <remove/>
4918 </modify-function>
4918 </modify-function>
4919 <modify-function signature="drawLines(const QPointF *, int)">
4919 <modify-function signature="drawLines(const QPointF *, int)">
4920 <remove/>
4920 <remove/>
4921 </modify-function>
4921 </modify-function>
4922 <modify-function signature="drawPoints(const QPoint *, int)">
4922 <modify-function signature="drawPoints(const QPoint *, int)">
4923 <remove/>
4923 <remove/>
4924 </modify-function>
4924 </modify-function>
4925 <modify-function signature="drawPoints(const QPointF *, int)">
4925 <modify-function signature="drawPoints(const QPointF *, int)">
4926 <remove/>
4926 <remove/>
4927 </modify-function>
4927 </modify-function>
4928 <modify-function signature="drawPolygon(const QPoint *, int, Qt::FillRule)">
4928 <modify-function signature="drawPolygon(const QPoint *, int, Qt::FillRule)">
4929 <remove/>
4929 <remove/>
4930 </modify-function>
4930 </modify-function>
4931 <modify-function signature="drawPolygon(const QPointF *, int, Qt::FillRule)">
4931 <modify-function signature="drawPolygon(const QPointF *, int, Qt::FillRule)">
4932 <remove/>
4932 <remove/>
4933 </modify-function>
4933 </modify-function>
4934 <modify-function signature="drawPolyline(const QPoint *, int)">
4934 <modify-function signature="drawPolyline(const QPoint *, int)">
4935 <remove/>
4935 <remove/>
4936 </modify-function>
4936 </modify-function>
4937 <modify-function signature="drawPolyline(const QPointF *, int)">
4937 <modify-function signature="drawPolyline(const QPointF *, int)">
4938 <remove/>
4938 <remove/>
4939 </modify-function>
4939 </modify-function>
4940 <modify-function signature="drawRects(const QRect *, int)">
4940 <modify-function signature="drawRects(const QRect *, int)">
4941 <remove/>
4941 <remove/>
4942 </modify-function>
4942 </modify-function>
4943 <modify-function signature="drawRects(const QRectF *, int)">
4943 <modify-function signature="drawRects(const QRectF *, int)">
4944 <remove/>
4944 <remove/>
4945 </modify-function>
4945 </modify-function>
4946 <modify-function signature="drawLines(const QVector&lt;QPoint&gt; &amp;)">
4946 <modify-function signature="drawLines(const QVector&lt;QPoint&gt; &amp;)">
4947 <rename to="drawLinesFromPoints"/>
4947 <rename to="drawLinesFromPoints"/>
4948 </modify-function>
4948 </modify-function>
4949 <modify-function signature="drawLines(const QVector&lt;QPointF&gt; &amp;)">
4949 <modify-function signature="drawLines(const QVector&lt;QPointF&gt; &amp;)">
4950 <rename to="drawLinesFromPointsF"/>
4950 <rename to="drawLinesFromPointsF"/>
4951 </modify-function>
4951 </modify-function>
4952 <modify-function signature="drawLines(const QVector&lt;QLineF&gt; &amp;)">
4952 <modify-function signature="drawLines(const QVector&lt;QLineF&gt; &amp;)">
4953 <rename to="drawLinesF"/>
4953 <rename to="drawLinesF"/>
4954 </modify-function>
4954 </modify-function>
4955 <modify-function signature="drawRects(const QVector&lt;QRectF&gt; &amp;)">
4955 <modify-function signature="drawRects(const QVector&lt;QRectF&gt; &amp;)">
4956 <rename to="drawRectsF"/>
4956 <rename to="drawRectsF"/>
4957 </modify-function>
4957 </modify-function>
4958
4958
4959 <modify-function signature="QPainter(QPaintDevice *)">
4959 <modify-function signature="QPainter(QPaintDevice *)">
4960 <modify-argument index="1">
4960 <modify-argument index="1">
4961 <no-null-pointer/>
4961 <no-null-pointer/>
4962 </modify-argument>
4962 </modify-argument>
4963 </modify-function>
4963 </modify-function>
4964 <modify-function signature="begin(QPaintDevice *)">
4964 <modify-function signature="begin(QPaintDevice *)">
4965 <modify-argument index="1">
4965 <modify-argument index="1">
4966 <no-null-pointer/>
4966 <no-null-pointer/>
4967 </modify-argument>
4967 </modify-argument>
4968 </modify-function>
4968 </modify-function>
4969 <modify-function signature="initFrom(const QWidget *)">
4969 <modify-function signature="initFrom(const QWidget *)">
4970 <modify-argument index="1">
4970 <modify-argument index="1">
4971 <no-null-pointer/>
4971 <no-null-pointer/>
4972 </modify-argument>
4972 </modify-argument>
4973 </modify-function>
4973 </modify-function>
4974 <modify-function signature="setRedirected(const QPaintDevice *, QPaintDevice *, const QPoint &amp;)">
4974 <modify-function signature="setRedirected(const QPaintDevice *, QPaintDevice *, const QPoint &amp;)">
4975 <modify-argument index="1">
4975 <modify-argument index="1">
4976 <no-null-pointer/>
4976 <no-null-pointer/>
4977 </modify-argument>
4977 </modify-argument>
4978 </modify-function>
4978 </modify-function>
4979 <modify-function signature="restoreRedirected(const QPaintDevice *)">
4979 <modify-function signature="restoreRedirected(const QPaintDevice *)">
4980 <modify-argument index="1">
4980 <modify-argument index="1">
4981 <no-null-pointer/>
4981 <no-null-pointer/>
4982 </modify-argument>
4982 </modify-argument>
4983 </modify-function>
4983 </modify-function>
4984
4984
4985 <modify-function signature="drawText(QRect,int,QString,QRect*)">
4985 <modify-function signature="drawText(QRect,int,QString,QRect*)">
4986 <access modifier="private"/>
4986 <access modifier="private"/>
4987 <modify-argument index="4">
4987 <modify-argument index="4">
4988 <remove-default-expression/>
4988 <remove-default-expression/>
4989 </modify-argument>
4989 </modify-argument>
4990 </modify-function>
4990 </modify-function>
4991
4991
4992 <modify-function signature="drawText(QRectF,int,QString,QRectF*)">
4992 <modify-function signature="drawText(QRectF,int,QString,QRectF*)">
4993 <access modifier="private"/>
4993 <access modifier="private"/>
4994 <modify-argument index="4">
4994 <modify-argument index="4">
4995 <remove-default-expression/>
4995 <remove-default-expression/>
4996 </modify-argument>
4996 </modify-argument>
4997 </modify-function>
4997 </modify-function>
4998
4998
4999 <modify-function signature="drawText(int,int,int,int,int,QString,QRect*)">
4999 <modify-function signature="drawText(int,int,int,int,int,QString,QRect*)">
5000 <access modifier="private"/>
5000 <access modifier="private"/>
5001 <modify-argument index="7">
5001 <modify-argument index="7">
5002 <remove-default-expression/>
5002 <remove-default-expression/>
5003 </modify-argument>
5003 </modify-argument>
5004 </modify-function>
5004 </modify-function>
5005
5005
5006 <modify-function signature="redirected(const QPaintDevice*,QPoint*)">
5006 <modify-function signature="redirected(const QPaintDevice*,QPoint*)">
5007 <access modifier="private"/>
5007 <access modifier="private"/>
5008 <modify-argument index="2">
5008 <modify-argument index="2">
5009 <remove-default-expression/>
5009 <remove-default-expression/>
5010 </modify-argument>
5010 </modify-argument>
5011 </modify-function>
5011 </modify-function>
5012 <modify-function signature="matrix()const" remove="all"/> <!--### Obsolete in 4.3-->
5012 <modify-function signature="matrix()const" remove="all"/> <!--### Obsolete in 4.3-->
5013 <modify-function signature="matrixEnabled()const" remove="all"/> <!--### Obsolete in 4.3-->
5013 <modify-function signature="matrixEnabled()const" remove="all"/> <!--### Obsolete in 4.3-->
5014 <modify-function signature="setMatrix(QMatrix, bool)" remove="all"/> <!--### Obsolete in 4.3-->
5014 <modify-function signature="setMatrix(QMatrix, bool)" remove="all"/> <!--### Obsolete in 4.3-->
5015 <modify-function signature="setMatrixEnabled(bool)" remove="all"/> <!--### Obsolete in 4.3-->
5015 <modify-function signature="setMatrixEnabled(bool)" remove="all"/> <!--### Obsolete in 4.3-->
5016
5016
5017 <modify-function signature="fontInfo()const" remove="all"/>
5017 <modify-function signature="fontInfo()const" remove="all"/>
5018 <modify-function signature="fontMetrics()const" remove="all"/>
5018 <modify-function signature="fontMetrics()const" remove="all"/>
5019 <modify-function signature="QPainter(QPaintDevice*)" remove="all"/>
5019 <modify-function signature="QPainter(QPaintDevice*)" remove="all"/>
5020
5020
5021 <modify-function signature="begin(QPaintDevice*)">
5021 <modify-function signature="begin(QPaintDevice*)">
5022 <modify-argument index="1">
5022 <modify-argument index="1">
5023 <conversion-rule class="native">
5023 <conversion-rule class="native">
5024 <insert-template name="core.convert_pointer_arg_and_check_null">
5024 <insert-template name="core.convert_pointer_arg_and_check_null">
5025 <replace from="%TYPE%" to="QPaintDevice*"/>
5025 <replace from="%TYPE%" to="QPaintDevice*"/>
5026 <replace from="%CLASS_NAME%" to="QPainter"/>
5026 <replace from="%CLASS_NAME%" to="QPainter"/>
5027 <replace from="%FUNCTION_NAME%" to="begin"/>
5027 <replace from="%FUNCTION_NAME%" to="begin"/>
5028 </insert-template>
5028 </insert-template>
5029 </conversion-rule>
5029 </conversion-rule>
5030 </modify-argument>
5030 </modify-argument>
5031 </modify-function>
5031 </modify-function>
5032 </object-type>
5032 </object-type>
5033
5033
5034 <object-type name="QApplication">
5034 <object-type name="QApplication">
5035 <extra-includes>
5035 <extra-includes>
5036 <include file-name="QBasicTimer" location="global"/>
5036 <include file-name="QBasicTimer" location="global"/>
5037 <include file-name="QFont" location="global"/>
5037 <include file-name="QFont" location="global"/>
5038 <include file-name="QFontMetrics" location="global"/>
5038 <include file-name="QFontMetrics" location="global"/>
5039 <include file-name="QPalette" location="global"/>
5039 <include file-name="QPalette" location="global"/>
5040 <include file-name="QIcon" location="global"/>
5040 <include file-name="QIcon" location="global"/>
5041 <include file-name="QLocale" location="global"/>
5041 <include file-name="QLocale" location="global"/>
5042 </extra-includes>
5042 </extra-includes>
5043
5043
5044 <modify-function signature="QApplication(int &amp;, char **, int)">
5044 <modify-function signature="QApplication(int &amp;, char **, int)">
5045 <access modifier="private"/>
5045 <access modifier="private"/>
5046 </modify-function>
5046 </modify-function>
5047 <modify-function signature="QApplication(int &amp;, char **, QApplication::Type, int)">
5047 <modify-function signature="QApplication(int &amp;, char **, QApplication::Type, int)">
5048 <remove/>
5048 <remove/>
5049 </modify-function>
5049 </modify-function>
5050 <modify-function signature="QApplication(int &amp;, char **, bool, int)">
5050 <modify-function signature="QApplication(int &amp;, char **, bool, int)">
5051 <remove/>
5051 <remove/>
5052 </modify-function>
5052 </modify-function>
5053
5053
5054 <modify-function signature="font(const char*)">
5054 <modify-function signature="font(const char*)">
5055 <remove/>
5055 <remove/>
5056 </modify-function>
5056 </modify-function>
5057 <modify-function signature="setFont(QFont,const char*)">
5057 <modify-function signature="setFont(QFont,const char*)">
5058 <access modifier="private"/>
5058 <access modifier="private"/>
5059 <modify-argument index="2">
5059 <modify-argument index="2">
5060 <remove-default-expression/>
5060 <remove-default-expression/>
5061 </modify-argument>
5061 </modify-argument>
5062 </modify-function>
5062 </modify-function>
5063
5063
5064 <modify-function signature="palette(const char*)">
5064 <modify-function signature="palette(const char*)">
5065 <remove/>
5065 <remove/>
5066 </modify-function>
5066 </modify-function>
5067 <modify-function signature="setPalette(QPalette,const char*)">
5067 <modify-function signature="setPalette(QPalette,const char*)">
5068 <access modifier="private"/>
5068 <access modifier="private"/>
5069 <modify-argument index="2">
5069 <modify-argument index="2">
5070 <remove-default-expression/>
5070 <remove-default-expression/>
5071 </modify-argument>
5071 </modify-argument>
5072 </modify-function>
5072 </modify-function>
5073
5073
5074 <modify-function signature="overrideCursor()">
5074 <modify-function signature="overrideCursor()">
5075 <access modifier="private"/>
5075 <access modifier="private"/>
5076 <rename to="overrideCursor_private"/>
5076 <rename to="overrideCursor_private"/>
5077 </modify-function>
5077 </modify-function>
5078
5078
5079 <modify-function signature="setInputContext(QInputContext*)">
5079 <modify-function signature="setInputContext(QInputContext*)">
5080 <modify-argument index="1">
5080 <modify-argument index="1">
5081 <define-ownership class="java" owner="c++"/>
5081 <define-ownership class="java" owner="c++"/>
5082 </modify-argument>
5082 </modify-argument>
5083 </modify-function>
5083 </modify-function>
5084 <modify-function signature="setActiveWindow(QWidget*)">
5084 <modify-function signature="setActiveWindow(QWidget*)">
5085 <modify-argument index="1">
5085 <modify-argument index="1">
5086 <reference-count action="ignore"/>
5086 <reference-count action="ignore"/>
5087 </modify-argument>
5087 </modify-argument>
5088 </modify-function>
5088 </modify-function>
5089 <modify-function signature="setStyle(QStyle*)">
5089 <modify-function signature="setStyle(QStyle*)">
5090 <modify-argument index="1">
5090 <modify-argument index="1">
5091 <reference-count action="ignore"/>
5091 <reference-count action="ignore"/>
5092 </modify-argument>
5092 </modify-argument>
5093 </modify-function>
5093 </modify-function>
5094
5094
5095 <modify-function signature="QApplication(int&amp;,char**,QApplication::Type,int)" remove="all"/>
5095 <modify-function signature="QApplication(int&amp;,char**,QApplication::Type,int)" remove="all"/>
5096 <modify-function signature="QApplication(int&amp;,char**,bool,int)" remove="all"/>
5096 <modify-function signature="QApplication(int&amp;,char**,bool,int)" remove="all"/>
5097 <modify-function signature="QApplication(int&amp;,char**,int)" remove="all"/>
5097 <modify-function signature="QApplication(int&amp;,char**,int)" remove="all"/>
5098 <modify-function signature="commitData(QSessionManager&amp;)" remove="all"/>
5098 <modify-function signature="commitData(QSessionManager&amp;)" remove="all"/>
5099 <modify-function signature="saveState(QSessionManager&amp;)" remove="all"/>
5099 <modify-function signature="saveState(QSessionManager&amp;)" remove="all"/>
5100 <modify-function signature="fontMetrics()" remove="all"/>
5100 <modify-function signature="fontMetrics()" remove="all"/>
5101 <modify-function signature="setFont(QFont,const char*)">
5101 <modify-function signature="setFont(QFont,const char*)">
5102 <modify-argument index="2">
5102 <modify-argument index="2">
5103 <replace-type modified-type="QString"/>
5103 <replace-type modified-type="QString"/>
5104 <conversion-rule class="native">
5104 <conversion-rule class="native">
5105 <insert-template name="core.convert_string_arg_to_char*"/>
5105 <insert-template name="core.convert_string_arg_to_char*"/>
5106 </conversion-rule>
5106 </conversion-rule>
5107 </modify-argument>
5107 </modify-argument>
5108 </modify-function>
5108 </modify-function>
5109 <modify-function signature="setPalette(QPalette,const char*)">
5109 <modify-function signature="setPalette(QPalette,const char*)">
5110 <modify-argument index="2">
5110 <modify-argument index="2">
5111 <replace-type modified-type="QString"/>
5111 <replace-type modified-type="QString"/>
5112 <conversion-rule class="native">
5112 <conversion-rule class="native">
5113 <insert-template name="core.convert_string_arg_to_char*"/>
5113 <insert-template name="core.convert_string_arg_to_char*"/>
5114 </conversion-rule>
5114 </conversion-rule>
5115 </modify-argument>
5115 </modify-argument>
5116 </modify-function>
5116 </modify-function>
5117 </object-type>
5117 </object-type>
5118
5118
5119 <object-type name="QCommandLinkButton"/>
5119 <object-type name="QCommandLinkButton"/>
5120 <object-type name="QFileSystemModel">
5120 <object-type name="QFileSystemModel">
5121 <modify-function signature="setIconProvider(QFileIconProvider*)">
5121 <modify-function signature="setIconProvider(QFileIconProvider*)">
5122 <modify-argument index="1">
5122 <modify-argument index="1">
5123 <reference-count action="set" variable-name="__rcIconProvider"/>
5123 <reference-count action="set" variable-name="__rcIconProvider"/>
5124 </modify-argument>
5124 </modify-argument>
5125 </modify-function>
5125 </modify-function>
5126 </object-type>
5126 </object-type>
5127 <object-type name="QFormLayout">
5127 <object-type name="QFormLayout">
5128 <modify-function signature="addRow(QWidget*,QWidget*)">
5128 <modify-function signature="addRow(QWidget*,QWidget*)">
5129 <modify-argument index="1">
5129 <modify-argument index="1">
5130 <reference-count action="ignore"/>
5130 <reference-count action="ignore"/>
5131 </modify-argument>
5131 </modify-argument>
5132 <modify-argument index="2">
5132 <modify-argument index="2">
5133 <reference-count action="ignore"/>
5133 <reference-count action="ignore"/>
5134 </modify-argument>
5134 </modify-argument>
5135 </modify-function>
5135 </modify-function>
5136 <modify-function signature="addRow(QLayout*)">
5136 <modify-function signature="addRow(QLayout*)">
5137 <modify-argument index="1">
5137 <modify-argument index="1">
5138 <reference-count action="ignore"/>
5138 <reference-count action="ignore"/>
5139 </modify-argument>
5139 </modify-argument>
5140 </modify-function>
5140 </modify-function>
5141 <modify-function signature="addRow(QWidget*,QLayout*)">
5141 <modify-function signature="addRow(QWidget*,QLayout*)">
5142 <modify-argument index="1">
5142 <modify-argument index="1">
5143 <reference-count action="ignore"/>
5143 <reference-count action="ignore"/>
5144 </modify-argument>
5144 </modify-argument>
5145 <modify-argument index="2">
5145 <modify-argument index="2">
5146 <reference-count action="ignore"/>
5146 <reference-count action="ignore"/>
5147 </modify-argument>
5147 </modify-argument>
5148 </modify-function>
5148 </modify-function>
5149
5149
5150 <modify-function signature="addRow(QWidget*)">
5150 <modify-function signature="addRow(QWidget*)">
5151 <modify-argument index="1">
5151 <modify-argument index="1">
5152 <reference-count action="ignore"/>
5152 <reference-count action="ignore"/>
5153 </modify-argument>
5153 </modify-argument>
5154 </modify-function>
5154 </modify-function>
5155 <modify-function signature="addRow(QString,QLayout*)">
5155 <modify-function signature="addRow(QString,QLayout*)">
5156 <modify-argument index="2">
5156 <modify-argument index="2">
5157 <reference-count action="ignore"/>
5157 <reference-count action="ignore"/>
5158 </modify-argument>
5158 </modify-argument>
5159 </modify-function>
5159 </modify-function>
5160 <modify-function signature="addRow(QString,QWidget*)">
5160 <modify-function signature="addRow(QString,QWidget*)">
5161 <modify-argument index="2">
5161 <modify-argument index="2">
5162 <reference-count action="ignore"/>
5162 <reference-count action="ignore"/>
5163 </modify-argument>
5163 </modify-argument>
5164 </modify-function>
5164 </modify-function>
5165 <modify-function signature="insertRow(int,QLayout*)">
5165 <modify-function signature="insertRow(int,QLayout*)">
5166 <modify-argument index="2">
5166 <modify-argument index="2">
5167 <reference-count action="ignore"/>
5167 <reference-count action="ignore"/>
5168 </modify-argument>
5168 </modify-argument>
5169 </modify-function>
5169 </modify-function>
5170 <modify-function signature="insertRow(int,QWidget*,QLayout*)">
5170 <modify-function signature="insertRow(int,QWidget*,QLayout*)">
5171 <modify-argument index="2">
5171 <modify-argument index="2">
5172 <reference-count action="ignore"/>
5172 <reference-count action="ignore"/>
5173 </modify-argument>
5173 </modify-argument>
5174 <modify-argument index="3">
5174 <modify-argument index="3">
5175 <reference-count action="ignore"/>
5175 <reference-count action="ignore"/>
5176 </modify-argument>
5176 </modify-argument>
5177 </modify-function>
5177 </modify-function>
5178 <modify-function signature="insertRow(int,QWidget*,QWidget*)">
5178 <modify-function signature="insertRow(int,QWidget*,QWidget*)">
5179 <modify-argument index="2">
5179 <modify-argument index="2">
5180 <reference-count action="ignore"/>
5180 <reference-count action="ignore"/>
5181 </modify-argument>
5181 </modify-argument>
5182 <modify-argument index="3">
5182 <modify-argument index="3">
5183 <reference-count action="ignore"/>
5183 <reference-count action="ignore"/>
5184 </modify-argument>
5184 </modify-argument>
5185 </modify-function>
5185 </modify-function>
5186 <modify-function signature="insertRow(int,QWidget*)">
5186 <modify-function signature="insertRow(int,QWidget*)">
5187 <modify-argument index="2">
5187 <modify-argument index="2">
5188 <reference-count action="ignore"/>
5188 <reference-count action="ignore"/>
5189 </modify-argument>
5189 </modify-argument>
5190 </modify-function>
5190 </modify-function>
5191 <modify-function signature="insertRow(int,QString,QLayout*)">
5191 <modify-function signature="insertRow(int,QString,QLayout*)">
5192 <modify-argument index="3">
5192 <modify-argument index="3">
5193 <reference-count action="ignore"/>
5193 <reference-count action="ignore"/>
5194 </modify-argument>
5194 </modify-argument>
5195 </modify-function>
5195 </modify-function>
5196 <modify-function signature="insertRow(int,QString,QWidget*)">
5196 <modify-function signature="insertRow(int,QString,QWidget*)">
5197 <modify-argument index="3">
5197 <modify-argument index="3">
5198 <reference-count action="ignore"/>
5198 <reference-count action="ignore"/>
5199 </modify-argument>
5199 </modify-argument>
5200 </modify-function>
5200 </modify-function>
5201 <modify-function signature="setLayout(int,QFormLayout::ItemRole,QLayout*)">
5201 <modify-function signature="setLayout(int,QFormLayout::ItemRole,QLayout*)">
5202 <modify-argument index="3">
5202 <modify-argument index="3">
5203 <reference-count action="ignore"/>
5203 <reference-count action="ignore"/>
5204 </modify-argument>
5204 </modify-argument>
5205 </modify-function>
5205 </modify-function>
5206 <modify-function signature="setWidget(int,QFormLayout::ItemRole,QWidget*)">
5206 <modify-function signature="setWidget(int,QFormLayout::ItemRole,QWidget*)">
5207 <modify-argument index="3">
5207 <modify-argument index="3">
5208 <reference-count action="ignore"/>
5208 <reference-count action="ignore"/>
5209 </modify-argument>
5209 </modify-argument>
5210 </modify-function>
5210 </modify-function>
5211 <modify-function signature="setItem(int,QFormLayout::ItemRole,QLayoutItem*)" access="private" rename="setItem_private">
5211 <modify-function signature="setItem(int,QFormLayout::ItemRole,QLayoutItem*)" access="private" rename="setItem_private">
5212 <modify-argument index="3">
5212 <modify-argument index="3">
5213 <define-ownership class="java" owner="c++"/>
5213 <define-ownership class="java" owner="c++"/>
5214 </modify-argument>
5214 </modify-argument>
5215 </modify-function>
5215 </modify-function>
5216 <modify-function signature="addItem(QLayoutItem*)">
5216 <modify-function signature="addItem(QLayoutItem*)">
5217 <modify-argument index="1">
5217 <modify-argument index="1">
5218 <define-ownership class="java" owner="c++"/>
5218 <define-ownership class="java" owner="c++"/>
5219 </modify-argument>
5219 </modify-argument>
5220 </modify-function>
5220 </modify-function>
5221 </object-type>
5221 </object-type>
5222 <object-type name="QGraphicsGridLayout" delete-in-main-thread="yes">
5222 <object-type name="QGraphicsGridLayout" delete-in-main-thread="yes">
5223 <modify-function signature="addItem(QGraphicsLayoutItem*,int,int,QFlags&lt;Qt::AlignmentFlag&gt;)">
5223 <modify-function signature="addItem(QGraphicsLayoutItem*,int,int,QFlags&lt;Qt::AlignmentFlag&gt;)">
5224 <modify-argument index="1">
5224 <modify-argument index="1">
5225 <reference-count action="add" variable-name="__rcItems"/>
5225 <reference-count action="add" variable-name="__rcItems"/>
5226 </modify-argument>
5226 </modify-argument>
5227 </modify-function>
5227 </modify-function>
5228 <modify-function signature="addItem(QGraphicsLayoutItem*,int,int,int,int,QFlags&lt;Qt::AlignmentFlag&gt;)">
5228 <modify-function signature="addItem(QGraphicsLayoutItem*,int,int,int,int,QFlags&lt;Qt::AlignmentFlag&gt;)">
5229 <modify-argument index="1">
5229 <modify-argument index="1">
5230 <reference-count action="add" variable-name="__rcItems"/>
5230 <reference-count action="add" variable-name="__rcItems"/>
5231 </modify-argument>
5231 </modify-argument>
5232 </modify-function>
5232 </modify-function>
5233 <modify-function signature="setAlignment(QGraphicsLayoutItem*,QFlags&lt;Qt::AlignmentFlag&gt;)">
5233 <modify-function signature="setAlignment(QGraphicsLayoutItem*,QFlags&lt;Qt::AlignmentFlag&gt;)">
5234 <modify-argument index="1">
5234 <modify-argument index="1">
5235 <reference-count action="ignore"/>
5235 <reference-count action="ignore"/>
5236 </modify-argument>
5236 </modify-argument>
5237 </modify-function>
5237 </modify-function>
5238 </object-type>
5238 </object-type>
5239 <object-type name="QGraphicsLayout" delete-in-main-thread="yes">
5239 <object-type name="QGraphicsLayout" delete-in-main-thread="yes">
5240
5240
5241 <modify-function signature="widgetEvent(QEvent*)">
5241 <modify-function signature="widgetEvent(QEvent*)">
5242 <modify-argument index="1" invalidate-after-use="yes"/>
5242 <modify-argument index="1" invalidate-after-use="yes"/>
5243 </modify-function>
5243 </modify-function>
5244 <modify-function signature="setParentLayoutItem(QGraphicsLayoutItem*)">
5244 <modify-function signature="setParentLayoutItem(QGraphicsLayoutItem*)">
5245 <modify-argument index="1">
5245 <modify-argument index="1">
5246 <reference-count action="set" variable-name="__rcParentLayoutItem"/>
5246 <reference-count action="set" variable-name="__rcParentLayoutItem"/>
5247 </modify-argument>
5247 </modify-argument>
5248 </modify-function>
5248 </modify-function>
5249 </object-type>
5249 </object-type>
5250 <interface-type name="QGraphicsLayoutItem" delete-in-main-thread="yes">
5250 <interface-type name="QGraphicsLayoutItem" delete-in-main-thread="yes">
5251 <modify-function signature="setParentLayoutItem(QGraphicsLayoutItem*)">
5251 <modify-function signature="setParentLayoutItem(QGraphicsLayoutItem*)">
5252 <modify-argument index="1">
5252 <modify-argument index="1">
5253 <reference-count action="set" variable-name="__rcParentLayoutItem"/>
5253 <reference-count action="set" variable-name="__rcParentLayoutItem"/>
5254 </modify-argument>
5254 </modify-argument>
5255 </modify-function>
5255 </modify-function>
5256 </interface-type>
5256 </interface-type>
5257 <object-type name="QGraphicsLinearLayout" delete-in-main-thread="yes">
5257 <object-type name="QGraphicsLinearLayout" delete-in-main-thread="yes">
5258 <modify-function signature="addItem(QGraphicsLayoutItem*)">
5258 <modify-function signature="addItem(QGraphicsLayoutItem*)">
5259 <modify-argument index="1">
5259 <modify-argument index="1">
5260 <reference-count action="add" variable-name="__rcItems"/>
5260 <reference-count action="add" variable-name="__rcItems"/>
5261 </modify-argument>
5261 </modify-argument>
5262 </modify-function>
5262 </modify-function>
5263 <modify-function signature="insertItem(int,QGraphicsLayoutItem*)">
5263 <modify-function signature="insertItem(int,QGraphicsLayoutItem*)">
5264 <modify-argument index="2">
5264 <modify-argument index="2">
5265 <reference-count action="add" variable-name="__rcItems"/>
5265 <reference-count action="add" variable-name="__rcItems"/>
5266 </modify-argument>
5266 </modify-argument>
5267 </modify-function>
5267 </modify-function>
5268 <modify-function signature="removeItem(QGraphicsLayoutItem*)">
5268 <modify-function signature="removeItem(QGraphicsLayoutItem*)">
5269 <modify-argument index="1">
5269 <modify-argument index="1">
5270 <reference-count action="remove" variable-name="__rcItems"/>
5270 <reference-count action="remove" variable-name="__rcItems"/>
5271 </modify-argument>
5271 </modify-argument>
5272 </modify-function>
5272 </modify-function>
5273 <modify-function signature="setAlignment(QGraphicsLayoutItem*,QFlags&lt;Qt::AlignmentFlag&gt;)">
5273 <modify-function signature="setAlignment(QGraphicsLayoutItem*,QFlags&lt;Qt::AlignmentFlag&gt;)">
5274 <modify-argument index="1">
5274 <modify-argument index="1">
5275 <reference-count action="ignore"/>
5275 <reference-count action="ignore"/>
5276 </modify-argument>
5276 </modify-argument>
5277 </modify-function>
5277 </modify-function>
5278 <modify-function signature="setStretchFactor(QGraphicsLayoutItem*,int)">
5278 <modify-function signature="setStretchFactor(QGraphicsLayoutItem*,int)">
5279 <modify-argument index="1">
5279 <modify-argument index="1">
5280 <reference-count action="ignore"/>
5280 <reference-count action="ignore"/>
5281 </modify-argument>
5281 </modify-argument>
5282 </modify-function>
5282 </modify-function>
5283 </object-type>
5283 </object-type>
5284 <object-type name="QGraphicsProxyWidget"/> <!-- a QObject so main-thread delete redundant -->
5284 <object-type name="QGraphicsProxyWidget"/> <!-- a QObject so main-thread delete redundant -->
5285 <object-type name="QGraphicsWidget"> <!-- a QObject so main-thread delete redundant -->
5285 <object-type name="QGraphicsWidget"> <!-- a QObject so main-thread delete redundant -->
5286 <!-- Duplicate function to QObject::children() to override accidental shadowing which is not present in Jambi -->
5286 <!-- Duplicate function to QObject::children() to override accidental shadowing which is not present in Jambi -->
5287 <modify-function signature="children()const" remove="all"/>
5287 <modify-function signature="children()const" remove="all"/>
5288 <modify-function signature="setLayout(QGraphicsLayout*)">
5288 <modify-function signature="setLayout(QGraphicsLayout*)">
5289 <modify-argument index="1">
5289 <modify-argument index="1">
5290 <reference-count action="set" variable-name="__rcLayout"/>
5290 <reference-count action="set" variable-name="__rcLayout"/>
5291 </modify-argument>
5291 </modify-argument>
5292 </modify-function>
5292 </modify-function>
5293
5293
5294 <modify-function signature="changeEvent(QEvent*)">
5294 <modify-function signature="changeEvent(QEvent*)">
5295 <modify-argument index="1" invalidate-after-use="yes"/>
5295 <modify-argument index="1" invalidate-after-use="yes"/>
5296 </modify-function>
5296 </modify-function>
5297 <modify-function signature="closeEvent(QCloseEvent*)">
5297 <modify-function signature="closeEvent(QCloseEvent*)">
5298 <modify-argument index="1" invalidate-after-use="yes"/>
5298 <modify-argument index="1" invalidate-after-use="yes"/>
5299 </modify-function>
5299 </modify-function>
5300 <modify-function signature="grabKeyboardEvent(QEvent*)">
5300 <modify-function signature="grabKeyboardEvent(QEvent*)">
5301 <modify-argument index="1" invalidate-after-use="yes"/>
5301 <modify-argument index="1" invalidate-after-use="yes"/>
5302 </modify-function>
5302 </modify-function>
5303 <modify-function signature="grabMouseEvent(QEvent*)">
5303 <modify-function signature="grabMouseEvent(QEvent*)">
5304 <modify-argument index="1" invalidate-after-use="yes"/>
5304 <modify-argument index="1" invalidate-after-use="yes"/>
5305 </modify-function>
5305 </modify-function>
5306 <modify-function signature="hideEvent(QHideEvent*)">
5306 <modify-function signature="hideEvent(QHideEvent*)">
5307 <modify-argument index="1" invalidate-after-use="yes"/>
5307 <modify-argument index="1" invalidate-after-use="yes"/>
5308 </modify-function>
5308 </modify-function>
5309 <modify-function signature="moveEvent(QGraphicsSceneMoveEvent*)">
5309 <modify-function signature="moveEvent(QGraphicsSceneMoveEvent*)">
5310 <modify-argument index="1" invalidate-after-use="yes"/>
5310 <modify-argument index="1" invalidate-after-use="yes"/>
5311 </modify-function>
5311 </modify-function>
5312 <modify-function signature="paintWindowFrame(QPainter*,const QStyleOptionGraphicsItem*,QWidget*)">
5312 <modify-function signature="paintWindowFrame(QPainter*,const QStyleOptionGraphicsItem*,QWidget*)">
5313 <modify-argument index="1" invalidate-after-use="yes"/>
5313 <modify-argument index="1" invalidate-after-use="yes"/>
5314 </modify-function>
5314 </modify-function>
5315 <modify-function signature="resizeEvent(QGraphicsSceneResizeEvent*)">
5315 <modify-function signature="resizeEvent(QGraphicsSceneResizeEvent*)">
5316 <modify-argument index="1" invalidate-after-use="yes"/>
5316 <modify-argument index="1" invalidate-after-use="yes"/>
5317 </modify-function>
5317 </modify-function>
5318 <modify-function signature="showEvent(QShowEvent*)">
5318 <modify-function signature="showEvent(QShowEvent*)">
5319 <modify-argument index="1" invalidate-after-use="yes"/>
5319 <modify-argument index="1" invalidate-after-use="yes"/>
5320 </modify-function>
5320 </modify-function>
5321 <modify-function signature="ungrabKeyboardEvent(QEvent*)">
5321 <modify-function signature="ungrabKeyboardEvent(QEvent*)">
5322 <modify-argument index="1" invalidate-after-use="yes"/>
5322 <modify-argument index="1" invalidate-after-use="yes"/>
5323 </modify-function>
5323 </modify-function>
5324 <modify-function signature="ungrabMouseEvent(QEvent*)">
5324 <modify-function signature="ungrabMouseEvent(QEvent*)">
5325 <modify-argument index="1" invalidate-after-use="yes"/>
5325 <modify-argument index="1" invalidate-after-use="yes"/>
5326 </modify-function>
5326 </modify-function>
5327 <modify-function signature="windowFrameEvent(QEvent*)">
5327 <modify-function signature="windowFrameEvent(QEvent*)">
5328 <modify-argument index="1" invalidate-after-use="yes"/>
5328 <modify-argument index="1" invalidate-after-use="yes"/>
5329 </modify-function>
5329 </modify-function>
5330
5330
5331 <modify-function signature="setStyle(QStyle*)">
5331 <modify-function signature="setStyle(QStyle*)">
5332 <modify-argument index="1">
5332 <modify-argument index="1">
5333 <reference-count action="set" variable-name="__rcStyle"/>
5333 <reference-count action="set" variable-name="__rcStyle"/>
5334 </modify-argument>
5334 </modify-argument>
5335 </modify-function>
5335 </modify-function>
5336 <modify-function signature="setTabOrder(QGraphicsWidget*,QGraphicsWidget*)">
5336 <modify-function signature="setTabOrder(QGraphicsWidget*,QGraphicsWidget*)">
5337 <modify-argument index="1">
5337 <modify-argument index="1">
5338 <reference-count action="ignore"/>
5338 <reference-count action="ignore"/>
5339 </modify-argument>
5339 </modify-argument>
5340 <modify-argument index="2">
5340 <modify-argument index="2">
5341 <reference-count action="ignore"/>
5341 <reference-count action="ignore"/>
5342 </modify-argument>
5342 </modify-argument>
5343 </modify-function>
5343 </modify-function>
5344 </object-type>
5344 </object-type>
5345 <object-type name="QPlainTextDocumentLayout"/>
5345 <object-type name="QPlainTextDocumentLayout"/>
5346 <object-type name="QPlainTextEdit">
5346 <object-type name="QPlainTextEdit">
5347 <modify-function signature="setDocument(QTextDocument*)">
5347 <modify-function signature="setDocument(QTextDocument*)">
5348 <modify-argument index="1">
5348 <modify-argument index="1">
5349 <reference-count action="set" variable-name="__rcDocument"/>
5349 <reference-count action="set" variable-name="__rcDocument"/>
5350 </modify-argument>
5350 </modify-argument>
5351 </modify-function>
5351 </modify-function>
5352 <modify-function signature="insertFromMimeData(const QMimeData*)">
5352 <modify-function signature="insertFromMimeData(const QMimeData*)">
5353 <modify-argument index="1">
5353 <modify-argument index="1">
5354 <reference-count action="ignore"/>
5354 <reference-count action="ignore"/>
5355 </modify-argument>
5355 </modify-argument>
5356 </modify-function>
5356 </modify-function>
5357 </object-type>
5357 </object-type>
5358 <object-type name="QPrintPreviewDialog"/>
5358 <object-type name="QPrintPreviewDialog"/>
5359 <object-type name="QPrintPreviewWidget"/>
5359 <object-type name="QPrintPreviewWidget"/>
5360 <object-type name="QStyledItemDelegate">
5360 <object-type name="QStyledItemDelegate">
5361 <modify-function signature="setItemEditorFactory(QItemEditorFactory*)">
5361 <modify-function signature="setItemEditorFactory(QItemEditorFactory*)">
5362 <modify-argument index="1">
5362 <modify-argument index="1">
5363 <reference-count action="set" variable-name="__rcItemEditorFactory"/>
5363 <reference-count action="set" variable-name="__rcItemEditorFactory"/>
5364 </modify-argument>
5364 </modify-argument>
5365 </modify-function>
5365 </modify-function>
5366 <modify-function signature="setEditorData(QWidget*,QModelIndex)const">
5366 <modify-function signature="setEditorData(QWidget*,QModelIndex)const">
5367 <modify-argument index="1">
5367 <modify-argument index="1">
5368 <reference-count action="ignore"/>
5368 <reference-count action="ignore"/>
5369 </modify-argument>
5369 </modify-argument>
5370 </modify-function>
5370 </modify-function>
5371 <modify-function signature="setModelData(QWidget*,QAbstractItemModel*,QModelIndex)const">
5371 <modify-function signature="setModelData(QWidget*,QAbstractItemModel*,QModelIndex)const">
5372 <modify-argument index="1">
5372 <modify-argument index="1">
5373 <reference-count action="ignore"/>
5373 <reference-count action="ignore"/>
5374 </modify-argument>
5374 </modify-argument>
5375 </modify-function>
5375 </modify-function>
5376 </object-type>
5376 </object-type>
5377
5377
5378 <interface-type name="QAccessibleFactoryInterface" java-name="QAbstractAccessibleFactory"/>
5378 <interface-type name="QAccessibleFactoryInterface" java-name="QAbstractAccessibleFactory"/>
5379 <interface-type name="QIconEngineFactoryInterfaceV2" java-name="QAbstractIconEngineFactoryV2"/>
5379 <interface-type name="QIconEngineFactoryInterfaceV2" java-name="QAbstractIconEngineFactoryV2"/>
5380 <interface-type name="QImageIOHandlerFactoryInterface" java-name="QAbstractImageIOHandlerFactory"/>
5380 <interface-type name="QImageIOHandlerFactoryInterface" java-name="QAbstractImageIOHandlerFactory"/>
5381 <interface-type name="QInputContextFactoryInterface" java-name="QAbstractInputContextFactory"/>
5381 <interface-type name="QInputContextFactoryInterface" java-name="QAbstractInputContextFactory"/>
5382 <interface-type name="QStyleFactoryInterface" java-name="QAbstractStyleFactory"/>
5382 <interface-type name="QStyleFactoryInterface" java-name="QAbstractStyleFactory"/>
5383 <interface-type name="QPictureFormatInterface" java-name="QAbstractPictureFormat"/>
5383 <interface-type name="QPictureFormatInterface" java-name="QAbstractPictureFormat"/>
5384
5384
5385 <object-type name="QIconEnginePluginV2"/>
5385 <object-type name="QIconEnginePluginV2"/>
5386 <object-type name="QAccessiblePlugin"/>
5386 <object-type name="QAccessiblePlugin"/>
5387 <object-type name="QImageIOPlugin"/>
5387 <object-type name="QImageIOPlugin"/>
5388 <object-type name="QInputContextPlugin"/>
5388 <object-type name="QInputContextPlugin"/>
5389 <object-type name="QPictureFormatPlugin"/>
5389 <object-type name="QPictureFormatPlugin"/>
5390 <object-type name="QStylePlugin"/>
5390 <object-type name="QStylePlugin"/>
5391
5391
5392 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QPixmap::QPixmap', unmatched parameter type 'QPixmapData*'"/>
5392 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QPixmap::QPixmap', unmatched parameter type 'QPixmapData*'"/>
5393 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type '*Private&amp;'"/>
5393 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type '*Private&amp;'"/>
5394 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type '*Private\*'"/>
5394 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type '*Private\*'"/>
5395 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type '*Private const\*'"/>
5395 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type '*Private const\*'"/>
5396 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QTextEngine\*'"/>
5396 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QTextEngine\*'"/>
5397 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QFontEngine\*'"/>
5397 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QFontEngine\*'"/>
5398 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QPixmap::Type'"/>
5398 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QPixmap::Type'"/>
5399 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QInputDialog::Type'"/>
5399 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QInputDialog::Type'"/>
5400 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QTextFrameLayoutData\*'"/>
5400 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QTextFrameLayoutData\*'"/>
5401 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QAbstractUndoItem\*'"/>
5401 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QAbstractUndoItem\*'"/>
5402 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type '*QImageTextKeyLang*'"/>
5402 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type '*QImageTextKeyLang*'"/>
5403 <suppress-warning text="WARNING(MetaJavaBuilder) :: non-public function '*' in interface '*'"/>
5403 <suppress-warning text="WARNING(MetaJavaBuilder) :: non-public function '*' in interface '*'"/>
5404 <suppress-warning text="WARNING(MetaJavaBuilder) :: visibility of function '*' modified in class '*'"/>
5404 <suppress-warning text="WARNING(MetaJavaBuilder) :: visibility of function '*' modified in class '*'"/>
5405 <suppress-warning text="WARNING(MetaJavaBuilder) :: hiding of function '*' in class '*'"/>
5405 <suppress-warning text="WARNING(MetaJavaBuilder) :: hiding of function '*' in class '*'"/>
5406 <suppress-warning text="WARNING(MetaJavaBuilder) :: unsupported default value 'QVector&lt;FormatRange&gt;()' of argument in function '*', class '*'"/>
5406 <suppress-warning text="WARNING(MetaJavaBuilder) :: unsupported default value 'QVector&lt;FormatRange&gt;()' of argument in function '*', class '*'"/>
5407 <suppress-warning text="WARNING(MetaJavaBuilder) :: unsupported default value 'QVariantList()' of argument in function '*', class '*'"/>
5407 <suppress-warning text="WARNING(MetaJavaBuilder) :: unsupported default value 'QVariantList()' of argument in function '*', class '*'"/>
5408 <suppress-warning text="WARNING(CppImplGenerator) :: protected function '*' in final class '*'"/>
5408 <suppress-warning text="WARNING(CppImplGenerator) :: protected function '*' in final class '*'"/>
5409 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QTextLayout::QTextLayout', unmatched parameter type 'QTextEngine*'"/>
5409 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QTextLayout::QTextLayout', unmatched parameter type 'QTextEngine*'"/>
5410 <suppress-warning text="WARNING(MetaJavaBuilder) :: unsupported default value of argument in function 'doAction', class 'QAccessibleInterface'"/>
5410 <suppress-warning text="WARNING(MetaJavaBuilder) :: unsupported default value of argument in function 'doAction', class 'QAccessibleInterface'"/>
5411 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QFileDialog::QFileDialog', unmatched parameter type 'QFileDialogArgs const&amp;'"/>
5411 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QFileDialog::QFileDialog', unmatched parameter type 'QFileDialogArgs const&amp;'"/>
5412 <suppress-warning text="WARNING(MetaJavaBuilder) :: unsupported default value '0., 0., 1000000000., 1000000000.' of argument in function 'update', class 'QAbstractTextDocumentLayout'"/>
5412 <suppress-warning text="WARNING(MetaJavaBuilder) :: unsupported default value '0., 0., 1000000000., 1000000000.' of argument in function 'update', class 'QAbstractTextDocumentLayout'"/>
5413 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QWidget::windowSurface', unmatched return type 'QWindowSurface*'"/>
5413 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QWidget::windowSurface', unmatched return type 'QWindowSurface*'"/>
5414 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QWidget::setWindowSurface', unmatched parameter type 'QWindowSurface*'"/>
5414 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QWidget::setWindowSurface', unmatched parameter type 'QWindowSurface*'"/>
5415 <suppress-warning text="WARNING(MetaJavaBuilder) :: enum 'QStyleOption::StyleOptionType' does not have a type entry or is not an enum"/>
5415 <suppress-warning text="WARNING(MetaJavaBuilder) :: enum 'QStyleOption::StyleOptionType' does not have a type entry or is not an enum"/>
5416 <suppress-warning text="WARNING(MetaJavaBuilder) :: unhandled enum value: ~FlagMask in QMessageBox::StandardButton"/>
5416 <suppress-warning text="WARNING(MetaJavaBuilder) :: unhandled enum value: ~FlagMask in QMessageBox::StandardButton"/>
5417 <suppress-warning text="WARNING(MetaJavaBuilder) :: unmatched enum ~FlagMask"/>
5417 <suppress-warning text="WARNING(MetaJavaBuilder) :: unmatched enum ~FlagMask"/>
5418 <suppress-warning text="WARNING(MetaInfoGenerator) :: class 'QGraphicsSceneEvent' inherits from polymorphic class 'QEvent', but has no polymorphic id set"/>
5418 <suppress-warning text="WARNING(MetaInfoGenerator) :: class 'QGraphicsSceneEvent' inherits from polymorphic class 'QEvent', but has no polymorphic id set"/>
5419 <suppress-warning text="WARNING(MetaInfoGenerator) :: class 'QInputEvent' inherits from polymorphic class 'QEvent', but has no polymorphic id set"/>
5419 <suppress-warning text="WARNING(MetaInfoGenerator) :: class 'QInputEvent' inherits from polymorphic class 'QEvent', but has no polymorphic id set"/>
5420 <suppress-warning text="WARNING(JavaGenerator) :: either add or remove specified for reference count variable '__rcMenus' in 'com.trolltech.qt.gui.QMenu' but not both"/>
5420 <suppress-warning text="WARNING(JavaGenerator) :: either add or remove specified for reference count variable '__rcMenus' in 'com.trolltech.qt.gui.QMenu' but not both"/>
5421 <suppress-warning text="WARNING(JavaGenerator) :: either add or remove specified for reference count variable '__rcMenus' in 'com.trolltech.qt.gui.QMenuBar' but not both"/>
5421 <suppress-warning text="WARNING(JavaGenerator) :: either add or remove specified for reference count variable '__rcMenus' in 'com.trolltech.qt.gui.QMenuBar' but not both"/>
5422 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QBrush' has equals operators but no qHash() function"/>
5422 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QBrush' has equals operators but no qHash() function"/>
5423 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextFrame_iterator' has equals operators but no qHash() function"/>
5423 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextFrame_iterator' has equals operators but no qHash() function"/>
5424 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QRegion' has equals operators but no qHash() function"/>
5424 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QRegion' has equals operators but no qHash() function"/>
5425 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QPolygon' has equals operators but no qHash() function"/>
5425 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QPolygon' has equals operators but no qHash() function"/>
5426 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextTableCell' has equals operators but no qHash() function"/>
5426 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextTableCell' has equals operators but no qHash() function"/>
5427 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextLength' has equals operators but no qHash() function"/>
5427 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextLength' has equals operators but no qHash() function"/>
5428 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QPalette' has equals operators but no qHash() function"/>
5428 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QPalette' has equals operators but no qHash() function"/>
5429 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextBlock_iterator' has equals operators but no qHash() function"/>
5429 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextBlock_iterator' has equals operators but no qHash() function"/>
5430 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextBlock' has equals operators but no qHash() function"/>
5430 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextBlock' has equals operators but no qHash() function"/>
5431 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextCursor' has equals operators but no qHash() function"/>
5431 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextCursor' has equals operators but no qHash() function"/>
5432 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QFont' has equals operators but no qHash() function"/>
5432 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QFont' has equals operators but no qHash() function"/>
5433 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QMatrix' has equals operators but no qHash() function"/>
5433 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QMatrix' has equals operators but no qHash() function"/>
5434 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QPen' has equals operators but no qHash() function"/>
5434 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QPen' has equals operators but no qHash() function"/>
5435 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QColor' has equals operators but no qHash() function"/>
5435 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QColor' has equals operators but no qHash() function"/>
5436 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTransform' has equals operators but no qHash() function"/>
5436 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTransform' has equals operators but no qHash() function"/>
5437 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QPainterPath_Element' has equals operators but no qHash() function"/>
5437 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QPainterPath_Element' has equals operators but no qHash() function"/>
5438 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QPainterPath' has equals operators but no qHash() function"/>
5438 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QPainterPath' has equals operators but no qHash() function"/>
5439 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QItemSelection' has equals operators but no qHash() function"/>
5439 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QItemSelection' has equals operators but no qHash() function"/>
5440 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QKeySequence' has equals operators but no qHash() function"/>
5440 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QKeySequence' has equals operators but no qHash() function"/>
5441 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QLine' has equals operators but no qHash() function"/>
5441 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QLine' has equals operators but no qHash() function"/>
5442 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QPolygonF' has equals operators but no qHash() function"/>
5442 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QPolygonF' has equals operators but no qHash() function"/>
5443 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QSizePolicy' has equals operators but no qHash() function"/>
5443 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QSizePolicy' has equals operators but no qHash() function"/>
5444 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextFragment' has equals operators but no qHash() function"/>
5444 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextFragment' has equals operators but no qHash() function"/>
5445 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QFontMetrics' has equals operators but no qHash() function"/>
5445 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QFontMetrics' has equals operators but no qHash() function"/>
5446 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QGradient' has equals operators but no qHash() function"/>
5446 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QGradient' has equals operators but no qHash() function"/>
5447 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QFontMetricsF' has equals operators but no qHash() function"/>
5447 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QFontMetricsF' has equals operators but no qHash() function"/>
5448 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextFormat' has equals operators but no qHash() function"/>
5448 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextFormat' has equals operators but no qHash() function"/>
5449 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QLineF' has equals operators but no qHash() function"/>
5449 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QLineF' has equals operators but no qHash() function"/>
5450 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QImage' has equals operators but no qHash() function"/>
5450 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QImage' has equals operators but no qHash() function"/>
5451 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QNetworkCookie' has equals operators but no qHash() function"/>
5451 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QNetworkCookie' has equals operators but no qHash() function"/>
5452 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QNetworkRequest' has equals operators but no qHash() function"/>
5452 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QNetworkRequest' has equals operators but no qHash() function"/>
5453 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QPixmap::pixmapData', unmatched return type 'QPixmapData*'"/>
5453 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QPixmap::pixmapData', unmatched return type 'QPixmapData*'"/>
5454 <suppress-warning text="WARNING(MetaJavaBuilder) :: object type 'QAccessible' extended by interface type 'QAbstractAccessibleFactory'. The resulting API will be less expressive than the original."/>
5454 <suppress-warning text="WARNING(MetaJavaBuilder) :: object type 'QAccessible' extended by interface type 'QAbstractAccessibleFactory'. The resulting API will be less expressive than the original."/>
5455
5455
5456 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextOption_Tab' has equals operators but no qHash() function"/>
5456 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextOption_Tab' has equals operators but no qHash() function"/>
5457
5457
5458 </typesystem>
5458 </typesystem>
General Comments 0
You need to be logged in to leave comments. Login now