##// END OF EJS Templates
fixed polymorphic id handler for QGraphicsItem...
florianlink -
r170:193dbb137eb2
parent child
Show More
@@ -1,305 +1,306
1 1 /****************************************************************************
2 2 **
3 3 ** Copyright (C) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
4 4 ** All rights reserved.
5 5 ** Contact: Nokia Corporation (qt-info@nokia.com)
6 6 **
7 7 ** This file is part of the Qt Script Generator project on Qt Labs.
8 8 **
9 9 ** $QT_BEGIN_LICENSE:LGPL$
10 10 ** No Commercial Usage
11 11 ** This file contains pre-release code and may not be distributed.
12 12 ** You may use this file in accordance with the terms and conditions
13 13 ** contained in the Technology Preview License Agreement accompanying
14 14 ** this package.
15 15 **
16 16 ** GNU Lesser General Public License Usage
17 17 ** Alternatively, this file may be used under the terms of the GNU Lesser
18 18 ** General Public License version 2.1 as published by the Free Software
19 19 ** Foundation and appearing in the file LICENSE.LGPL included in the
20 20 ** packaging of this file. Please review the following information to
21 21 ** ensure the GNU Lesser General Public License version 2.1 requirements
22 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
23 23 **
24 24 ** In addition, as a special exception, Nokia gives you certain additional
25 25 ** rights. These rights are described in the Nokia Qt LGPL Exception
26 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
27 27 **
28 28 ** If you have questions regarding the use of this file, please contact
29 29 ** Nokia at qt-info@nokia.com.
30 30 **
31 31 **
32 32 **
33 33 **
34 34 **
35 35 **
36 36 **
37 37 **
38 38 ** $QT_END_LICENSE$
39 39 **
40 40 ****************************************************************************/
41 41
42 42 #include "setupgenerator.h"
43 43 #include "shellgenerator.h"
44 44 #include "reporthandler.h"
45 45 #include "fileout.h"
46 46
47 47 //#define Q_SCRIPT_LAZY_GENERATOR
48 48
49 49 void SetupGenerator::addClass(const QString& package, const AbstractMetaClass *cls)
50 50 {
51 51 packHash[package].append(cls);
52 52 }
53 53
54 54 void maybeDeclareMetaType(QTextStream &stream, const QString &typeName,
55 55 QSet<QString> &registeredTypeNames);
56 56 bool hasDefaultConstructor(const AbstractMetaClass *meta_class);
57 57
58 58 static QStringList getOperatorCodes(const AbstractMetaClass* cls) {
59 59 QSet<QString> operatorCodes;
60 60 AbstractMetaFunctionList returned;
61 61 AbstractMetaFunctionList functions = cls->functions();
62 62 foreach (AbstractMetaFunction *function, functions) {
63 63 if (function->originalName().startsWith("operator")) {
64 64 QString op = function->originalName().mid(8);
65 65 operatorCodes.insert(op);
66 66 }
67 67 }
68 68 QSet<QString> r;
69 69 foreach(QString op, operatorCodes.toList()) {
70 70 if (op == ">" || op == "<" || op == ">=" || op == "<=" || op == "==" || op == "!=") {
71 71 r.insert("PythonQt::Type_RichCompare");
72 72 } else if (op == "+") {
73 73 r.insert("PythonQt::Type_Add");
74 74 } else if (op == "-") {
75 75 r.insert("PythonQt::Type_Subtract");
76 76 } else if (op == "/") {
77 77 r.insert("PythonQt::Type_Divide");
78 78 } else if (op == "*") {
79 79 r.insert("PythonQt::Type_Multiply");
80 80 } else if (op == "%") {
81 81 r.insert("PythonQt::Type_Mod");
82 82 } else if (op == "&") {
83 83 r.insert("PythonQt::Type_And");
84 84 } else if (op == "|") {
85 85 r.insert("PythonQt::Type_Or");
86 86 } else if (op == "^") {
87 87 r.insert("PythonQt::Type_Xor");
88 88 } else if (op == "~") {
89 89 r.insert("PythonQt::Type_Invert");
90 90
91 91 } else if (op == "+=") {
92 92 r.insert("PythonQt::Type_InplaceAdd");
93 93 } else if (op == "-=") {
94 94 r.insert("PythonQt::Type_InplaceSubtract");
95 95 } else if (op == "/=") {
96 96 r.insert("PythonQt::Type_InplaceDivide");
97 97 } else if (op == "*=") {
98 98 r.insert("PythonQt::Type_InplaceMultiply");
99 99 } else if (op == "%=") {
100 100 r.insert("PythonQt::Type_InplaceMod");
101 101 } else if (op == "&=") {
102 102 r.insert("PythonQt::Type_InplaceAnd");
103 103 } else if (op == "|=") {
104 104 r.insert("PythonQt::Type_InplaceOr");
105 105 } else if (op == "^=") {
106 106 r.insert("PythonQt::Type_InplaceXor");
107 107 }
108 108 }
109 109 if (cls->hasDefaultIsNull()) {
110 110 r.insert("PythonQt::Type_NonZero");
111 111 }
112 112 QStringList result = r.toList();
113 113 return result;
114 114 }
115 115
116 116 static bool class_less_than(const AbstractMetaClass *a, const AbstractMetaClass *b)
117 117 {
118 118 return a->name() < b->name();
119 119 }
120 120
121 121 void SetupGenerator::generate()
122 122 {
123 123 AbstractMetaClassList classes_with_polymorphic_id;
124 124 {
125 125 QHashIterator<QString, QList<const AbstractMetaClass*> > pack(packHash);
126 126 while (pack.hasNext()) {
127 127 pack.next();
128 128 QList<const AbstractMetaClass*> list = pack.value();
129 129 foreach (const AbstractMetaClass *cls, list) {
130 130 if (cls->typeEntry()->isPolymorphicBase()) {
131 131 classes_with_polymorphic_id.append((AbstractMetaClass*)cls);
132 132 }
133 133 }
134 134 }
135 135 }
136 136 qSort(classes_with_polymorphic_id.begin(), classes_with_polymorphic_id.end(), class_less_than);
137 137
138 138 QHashIterator<QString, QList<const AbstractMetaClass*> > pack(packHash);
139 139 while (pack.hasNext()) {
140 140 pack.next();
141 141 QList<const AbstractMetaClass*> list = pack.value();
142 142 if (list.isEmpty())
143 143 continue;
144 144 qSort(list.begin(), list.end(), class_less_than);
145 145
146 146 QString packKey = pack.key();
147 147 QString packName = pack.key();
148 148 QStringList components = packName.split("_");
149 149 if ((components.size() > 2) && (components.at(0) == "com")
150 150 && (components.at(1) == "trolltech")) {
151 151 // kill com.trolltech in key
152 152 components.removeAt(0);
153 153 components.removeAt(0);
154 154 }
155 155
156 156 QString shortPackName;
157 157 foreach (QString comp, components) {
158 158 comp[0] = comp[0].toUpper();
159 159 shortPackName += comp;
160 160 }
161 161 // add missing camel case (workaround..)
162 162 if (shortPackName == "QtWebkit") {
163 163 shortPackName = "QtWebKit";
164 164 } else if (shortPackName == "QtXmlpatterns") {
165 165 shortPackName = "QtXmlPatterns";
166 166 } else if (shortPackName == "QtOpengl") {
167 167 shortPackName = "QtOpenGL";
168 168 } else if (shortPackName == "QtUitools") {
169 169 shortPackName = "QtUiTools";
170 170 }
171 171
172 172
173 173 {
174 174 QString fileName(packName + "/" + packKey + "_init.cpp");
175 175 FileOut initFile(m_out_dir + "/generated_cpp/" + fileName);
176 176 ReportHandler::debugSparse(QString("generating: %1").arg(fileName));
177 177 QTextStream &s = initFile.stream;
178 178
179 179 s << "#include <PythonQt.h>" << endl;
180 180
181 181 for (int i=0; i<(list.count()+MAX_CLASSES_PER_FILE-1) / MAX_CLASSES_PER_FILE; i++) {
182 182 s << "#include \"" << packKey << QString::number(i) << ".h\"" << endl;
183 183 }
184 184 s << endl;
185 185
186 186 QStringList polymorphicHandlers;
187 187 if (!packName.endsWith("_builtin")) {
188 188 polymorphicHandlers = writePolymorphicHandler(s, list.at(0)->package(), classes_with_polymorphic_id, list);
189 189 s << endl;
190 190 }
191 191
192 192 // declare individual class creation functions
193 193 s << "void PythonQt_init_" << shortPackName << "(PyObject* module) {" << endl;
194 194
195 195 if (shortPackName.endsWith("Builtin")) {
196 196 shortPackName = shortPackName.mid(0, shortPackName.length()-strlen("builtin"));
197 197 }
198 198
199 199 QStringList cppClassNames;
200 200 foreach (const AbstractMetaClass *cls, list) {
201 201
202 202 QString shellCreator;
203 203 if (cls->generateShellClass()) {
204 204 shellCreator = ", PythonQtSetInstanceWrapperOnShell<" + ShellGenerator::shellClassName(cls) + ">";
205 205 } else {
206 206 shellCreator = ", NULL";
207 207 }
208 208 QString operatorCodes = getOperatorCodes(cls).join("|");
209 209 if (operatorCodes.isEmpty()) {
210 210 operatorCodes = "0";
211 211 }
212 212 if (cls->isQObject()) {
213 213 s << "PythonQt::priv()->registerClass(&" << cls->qualifiedCppName() << "::staticMetaObject, \"" << shortPackName <<"\", PythonQtCreateObject<PythonQtWrapper_" << cls->name() << ">" << shellCreator << ", module, " << operatorCodes <<");" << endl;
214 214 } else {
215 215 QString baseName = cls->baseClass()?cls->baseClass()->qualifiedCppName():"";
216 216 s << "PythonQt::priv()->registerCPPClass(\""<< cls->qualifiedCppName() << "\", \"" << baseName << "\", \"" << shortPackName <<"\", PythonQtCreateObject<PythonQtWrapper_" << cls->name() << ">" << shellCreator << ", module, " << operatorCodes <<");" << endl;
217 217 }
218 218 foreach(AbstractMetaClass* interface, cls->interfaces()) {
219 219 // the interface might be our own class... (e.g. QPaintDevice)
220 220 if (interface->qualifiedCppName() != cls->qualifiedCppName()) {
221 221 s << "PythonQt::self()->addParentClass(\""<< cls->qualifiedCppName() << "\", \"" << interface->qualifiedCppName() << "\",PythonQtUpcastingOffset<" << cls->qualifiedCppName() <<","<<interface->qualifiedCppName()<<">());" << endl;
222 222 }
223 223 }
224 224 }
225 225 s << endl;
226 226 foreach (QString handler, polymorphicHandlers) {
227 227 s << "PythonQt::self()->addPolymorphicHandler(\""<< handler << "\", polymorphichandler_" << handler << ");" << endl;
228 228 }
229 229
230 230 s << "}";
231 231 s << endl;
232 232 }
233 233 }
234 234 }
235 235
236 236 QStringList SetupGenerator::writePolymorphicHandler(QTextStream &s, const QString &package,
237 237 const AbstractMetaClassList &polybase, QList<const AbstractMetaClass*>& allClasses)
238 238 {
239 239 QStringList handlers;
240 240 foreach (AbstractMetaClass *cls, polybase) {
241 241 const ComplexTypeEntry *centry = cls->typeEntry();
242 242 if (!centry->isPolymorphicBase())
243 243 continue;
244 244 bool isGraphicsItem = (cls->qualifiedCppName()=="QGraphicsItem");
245 245
246 246 bool first = true;
247 247 foreach (const AbstractMetaClass *clazz, allClasses) {
248 248 bool inherits = false;
249 249 if (isGraphicsItem) {
250 foreach(AbstractMetaClass* interfaze, clazz->interfaces()) {
251 if (interfaze->qualifiedCppName()=="QGraphicsItem") {
252 inherits = true;
253 break;
250 const AbstractMetaClass *currentClazz = clazz;
251 while (!inherits && currentClazz) {
252 foreach(AbstractMetaClass* interfaze, currentClazz->interfaces()) {
253 if (interfaze->qualifiedCppName()=="QGraphicsItem") {
254 inherits = true;
255 break;
256 }
254 257 }
258 currentClazz = currentClazz->baseClass();
255 259 }
256 260 } else {
257 261 inherits = clazz->inheritsFrom(cls);
258 262 }
259 263 if (clazz->package() == package && inherits) {
260 if (!clazz->typeEntry()->polymorphicIdValue().isEmpty() || isGraphicsItem) {
264 if (!clazz->typeEntry()->polymorphicIdValue().isEmpty()) {
261 265 // On first find, open the function
262 266 if (first) {
263 267 first = false;
264 268
265 269 QString handler = cls->name();
266 270 handlers.append(handler);
267 271
268 272 s << "static void* polymorphichandler_" << handler
269 273 << "(const void *ptr, const char **class_name)" << endl
270 274 << "{" << endl
271 275 << " Q_ASSERT(ptr != 0);" << endl
272 276 << " " << cls->qualifiedCppName() << " *object = ("
273 277 << cls->qualifiedCppName() << " *)ptr;" << endl;
274 278 }
275 279
276 280 // For each, add case label
277 281 QString polyId = clazz->typeEntry()->polymorphicIdValue();
278 if (isGraphicsItem) {
279 polyId = "%1->type() == " + clazz->qualifiedCppName() + "::Type";
280 }
281 282 s << " if ("
282 283 << polyId.replace("%1", "object")
283 284 << ") {" << endl
284 285 << " *class_name = \"" << clazz->name() << "\";" << endl
285 286 << " return (" << clazz->qualifiedCppName() << "*)object;" << endl
286 287 << " }" << endl;
287 288 } else {
288 289 QString warning = QString("class '%1' inherits from polymorphic class '%2', but has no polymorphic id set")
289 290 .arg(clazz->name())
290 291 .arg(cls->name());
291 292
292 293 ReportHandler::warning(warning);
293 294 }
294 295 }
295 296 }
296 297
297 298 // Close the function if it has been opened
298 299 if (!first) {
299 300 s << " return NULL;" << endl
300 301 << "}" << endl;
301 302 }
302 303 }
303 304
304 305 return handlers;
305 306 }
@@ -1,5660 +1,5663
1 1 <?xml version="1.0"?>
2 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="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 3
4 4 <rejection class="*" function-name="d_func"/>
5 5
6 6 <rejection class="*" field-name="d_ptr"/>
7 7 <rejection class="*" field-name="d"/>
8 8
9 9 <rejection class="QGenericMatrix"/>
10 10 <rejection class="QPixmapFilterPrivate"/>
11 11 <rejection class="QPenPrivate"/>
12 12 <rejection class="QGtkStyle"/>
13 13 <rejection class="QWindowsCEStyle"/>
14 14 <rejection class="QWindowsMobileStyle"/>
15 15 <rejection class="QAbstractUndoItem"/>
16 16 <rejection class="QAccessibleApplication"/>
17 17 <rejection class="QBrushData"/>
18 18 <rejection class="QImageTextKeyLang"/>
19 19 <rejection class="QItemEditorCreator"/>
20 20 <rejection class="QLibrary"/>
21 21 <rejection class="QLinkedList"/>
22 22 <rejection class="QLinkedListData"/>
23 23 <rejection class="QLinkedListIterator"/>
24 24 <rejection class="QLinkedListNode"/>
25 25 <rejection class="QMimeSource"/>
26 26 <rejection class="QPainterPathPrivate"/>
27 27 <rejection class="QRegionData"/>
28 28 <rejection class="QStandardItemEditorCreator"/>
29 29 <rejection class="QStyleOptionQ3DockWindow"/>
30 30 <rejection class="QStyleOptionQ3ListView"/>
31 31 <rejection class="QStyleOptionQ3ListViewItem"/>
32 32 <rejection class="QTextFrameLayoutData"/>
33 33 <rejection class="QUpdateLaterEvent"/>
34 34 <rejection class="QVFbHeader"/>
35 35 <rejection class="QWidgetData"/>
36 36 <rejection class="QWindowSurface"/>
37 37 <rejection class="QWindowsXPStyle"/>
38 38 <rejection class="QWindowsVistaStyle"/>
39 39 <rejection class="QWSEmbedWidget"/>
40 40 <rejection class="QRegion::QRegionData"/>
41 41 <rejection class="JObject_key"/>
42 42 <rejection class="QAccessibleEditableTextInterface"/>
43 43 <rejection class="QAccessibleSimpleEditableTextInterface"/>
44 44 <rejection class="QAccessibleTextInterface"/>
45 45 <rejection class="QAccessibleValueInterface"/>
46 46 <rejection class="QIconEngineFactoryInterface"/>
47 47 <rejection class="QIconEnginePlugin"/>
48 48 <rejection class="QWidgetItemV2"/>
49 49 <rejection class="QAbstractItemDelegate" function-name="operator="/>
50 50 <rejection class="QAccessible" function-name="installFactory"/>
51 51 <rejection class="QAccessible" function-name="installRootObjectHandler"/>
52 52 <rejection class="QAccessible" function-name="installUpdateHandler"/>
53 53 <rejection class="QAccessible" function-name="removeFactory"/>
54 54 <rejection class="QApplication" function-name="compressEvent"/>
55 55 <rejection class="QBrush" function-name="cleanUp"/>
56 56 <rejection class="QPictureIO" function-name="defineIOHandler"/>
57 57 <rejection class="QPolygon" function-name="putPoints"/>
58 58 <rejection class="QPolygon" function-name="setPoints"/>
59 59 <rejection class="QPolygon" function-name="setPoint"/>
60 60 <rejection class="QPolygon" function-name="points"/>
61 61 <rejection class="QPolygon" function-name="point"/>
62 62 <rejection class="QPrinter" function-name="printerSelectionOption"/>
63 63 <rejection class="QPrinter" function-name="setPrinterSelectionOption"/>
64 64 <rejection class="QWidget" function-name="create"/>
65 65 <rejection class="QWidget" function-name="find"/>
66 66 <rejection class="QWidget" function-name="handle"/>
67 67 <rejection class="QWidget" function-name="styleChange"/>
68 68 <rejection class="QWidget" function-name="internalWinId"/>
69 69 <rejection class="QActionGroup" function-name="selected"/>
70 70 <rejection class="QPaintEngine" function-name="fix_neg_rect"/>
71 71 <rejection class="QTreeModel" function-name="node"/>
72 72 <rejection class="QTreeModel" function-name="initializeNode"/>
73 73 <rejection class="QTreeModel" function-name="queryChildren"/>
74 74 <rejection class="QTextObjectInterface"/>
75 75 <rejection class="QAccessible" function-name="cast_helper"/>
76 76 <rejection class="QAccessible2"/>
77 77 <rejection class="QAccessibleInterface" function-name="backgroundColor"/>
78 78 <rejection class="QAccessibleInterface" function-name="foregroundColor"/>
79 79 <rejection class="QAccessibleInterface" function-name="textInterface"/>
80 80 <rejection class="QAccessibleInterface" function-name="valueInterface"/>
81 81 <rejection class="QAccessibleInterface" function-name="tableInterface"/>
82 82 <rejection class="QAccessibleInterface" function-name="editableTextInterface"/>
83 83 <rejection class="QAccessibleInterface" function-name="cast_helper"/>
84 84 <rejection class="QAccessibleInterfaceEx" function-name="interface_cast"/>
85 85 <rejection class="QAccessibleBridgePlugin"/>
86 86 <rejection class="QAccessibleBridgeFactoryInterface"/>
87 87 <rejection class="QTabletEvent" field-name="mExtra"/>
88 88 <rejection class="QWidgetItem" field-name="wid"/>
89 89 <rejection class="QFont" enum-name="ResolveProperties"/>
90 90 <rejection class="QGradient" enum-name="InterpolationMode"/>
91 91 <rejection class="QIconEngineV2::AvailableSizesArgument"/>
92 92 <rejection class="QIconEngineV2" enum-name="IconEngineHook"/>
93 93 <rejection class="QGradient" enum-name="InterpolationMode"/>
94 94 <rejection class="QGradient" function-name="setInterpolationMode"/>
95 95 <rejection class="QGradient" function-name="interpolationMode"/>
96 96 <rejection class="QAbstractTextDocumentLayout" function-name="handlerForObject"/>
97 97
98 98
99 99 <enum-type name="QStyleOptionTabBarBaseV2::StyleOptionVersion"/>
100 100 <enum-type name="QTabBar::SelectionBehavior"/>
101 101 <enum-type name="QTabBar::ButtonPosition"/>
102 102 <enum-type name="QInputDialog::InputMode"/>
103 103 <enum-type name="QInputDialog::InputDialogOption" flags="QInputDialog::InputDialogOptions"/>
104 104 <enum-type name="QFontDialog::FontDialogOption" flags="QFontDialog::FontDialogOptions"/>
105 105 <enum-type name="QColorDialog::ColorDialogOption" flags="QColorDialog::ColorDialogOptions"/>
106 106 <enum-type name="QAbstractItemDelegate::EndEditHint"/>
107 107 <enum-type name="QAbstractItemView::CursorAction"/>
108 108 <enum-type name="QAbstractItemView::DragDropMode"/>
109 109 <enum-type name="QAbstractItemView::DropIndicatorPosition"/>
110 110 <enum-type name="QAbstractItemView::EditTrigger" flags="QAbstractItemView::EditTriggers"/>
111 111 <enum-type name="QAbstractItemView::ScrollHint"/>
112 112 <enum-type name="QAbstractItemView::ScrollMode"/>
113 113 <enum-type name="QAbstractItemView::SelectionBehavior"/>
114 114 <enum-type name="QAbstractItemView::SelectionMode"/>
115 115 <enum-type name="QAbstractItemView::State"/>
116 116 <enum-type name="QAbstractPrintDialog::PrintDialogOption" flags="QAbstractPrintDialog::PrintDialogOptions"/>
117 117 <enum-type name="QAbstractPrintDialog::PrintRange"/>
118 118 <enum-type name="QAbstractSlider::SliderAction"/>
119 119 <enum-type name="QAbstractSlider::SliderChange"/>
120 120 <enum-type name="QAbstractSpinBox::ButtonSymbols"/>
121 121 <enum-type name="QAbstractSpinBox::CorrectionMode"/>
122 122 <enum-type name="QAbstractSpinBox::StepEnabledFlag" flags="QAbstractSpinBox::StepEnabled"/>
123 123 <enum-type name="QAccessible::Event"/>
124 124 <enum-type name="QAccessible::Method"/>
125 125 <enum-type name="QAccessible::RelationFlag" flags="QAccessible::Relation"/>
126 126 <enum-type name="QAccessible::Role"/>
127 127 <enum-type name="QAccessible::StateFlag" flags="QAccessible::State"/>
128 128 <enum-type name="QAccessible::Text"/>
129 129 <enum-type name="QDesktopServices::StandardLocation"/>
130 130 <enum-type name="QDirModel::Roles"/>
131 131 <enum-type name="QFont::Capitalization"/>
132 132 <enum-type name="QFont::SpacingType"/>
133 133 <enum-type name="QGraphicsItem::CacheMode"/>
134 134 <enum-type name="QMdiArea::AreaOption" flags="QMdiArea::AreaOptions"/>
135 135 <enum-type name="QMdiArea::WindowOrder"/>
136 136 <enum-type name="QMdiArea::ViewMode"/>
137 137 <enum-type name="QFileSystemModel::Roles"/>
138 138 <enum-type name="QFormLayout::FieldGrowthPolicy"/>
139 139 <enum-type name="QFormLayout::FormStyle"/>
140 140 <enum-type name="QFormLayout::ItemRole"/>
141 141 <enum-type name="QFormLayout::RowWrapPolicy"/>
142 142 <enum-type name="QGraphicsProxyWidget::enum_1"/>
143 143 <enum-type name="QGraphicsWidget::enum_1"/>
144 144 <enum-type name="QPlainTextEdit::LineWrapMode"/>
145 145 <enum-type name="QPrintPreviewWidget::ViewMode"/>
146 146 <enum-type name="QPrintPreviewWidget::ZoomMode"/>
147 147 <enum-type name="QStyleOptionTabV3::StyleOptionVersion"/>
148 148 <enum-type name="QStyleOptionFrameV3::StyleOptionVersion"/>
149 149 <enum-type name="QStyleOptionViewItemV4::StyleOptionVersion"/>
150 150 <enum-type name="QStyleOptionViewItemV4::ViewItemPosition"/>
151 151
152 152 <enum-type name="QMdiSubWindow::SubWindowOption" flags="QMdiSubWindow::SubWindowOptions"/>
153 153
154 154 <enum-type name="QAction::ActionEvent"/>
155 155 <enum-type name="QAction::MenuRole"/>
156 156 <enum-type name="QApplication::ColorSpec"/>
157 157 <enum-type name="QApplication::Type"/>
158 158 <enum-type name="QCalendarWidget::HorizontalHeaderFormat"/>
159 159 <enum-type name="QCalendarWidget::SelectionMode"/>
160 160 <enum-type name="QCalendarWidget::VerticalHeaderFormat"/>
161 161 <enum-type name="QColor::Spec"/>
162 162 <enum-type name="QColormap::Mode"/>
163 163 <enum-type name="QComboBox::InsertPolicy"/>
164 164 <enum-type name="QComboBox::SizeAdjustPolicy"/>
165 165 <enum-type name="QCompleter::CompletionMode"/>
166 166 <enum-type name="QCompleter::ModelSorting"/>
167 167 <enum-type name="QContextMenuEvent::Reason"/>
168 168 <enum-type name="QDataWidgetMapper::SubmitPolicy"/>
169 169 <enum-type name="QDateTimeEdit::Section" flags="QDateTimeEdit::Sections"/>
170 170 <enum-type name="QDialog::DialogCode"/>
171 171 <enum-type name="QDialogButtonBox::ButtonLayout"/>
172 172 <enum-type name="QDialogButtonBox::ButtonRole"/>
173 173 <enum-type name="QFileDialog::AcceptMode"/>
174 174 <enum-type name="QFileDialog::DialogLabel"/>
175 175 <enum-type name="QFileDialog::FileMode"/>
176 176 <enum-type name="QFileDialog::Option" flags="QFileDialog::Options"/>
177 177 <enum-type name="QFileDialog::ViewMode"/>
178 178 <enum-type name="QFileIconProvider::IconType"/>
179 179 <enum-type name="QFont::Stretch"/>
180 180 <enum-type name="QFont::Style"/>
181 181 <enum-type name="QFont::StyleStrategy"/>
182 182 <enum-type name="QFont::Weight"/>
183 183 <enum-type name="QFontComboBox::FontFilter" flags="QFontComboBox::FontFilters"/>
184 184 <enum-type name="QFrame::Shadow" extensible="yes"/>
185 185 <enum-type name="QFrame::Shape"/>
186 186 <enum-type name="QFrame::StyleMask"/>
187 187 <enum-type name="QGradient::CoordinateMode"/>
188 188 <enum-type name="QGradient::Spread" lower-bound="QGradient.PadSpread" upper-bound="QGradient.RepeatSpread"/>
189 189 <enum-type name="QGradient::Type"/>
190 190 <enum-type name="QGraphicsEllipseItem::enum_1"/>
191 191 <enum-type name="QGraphicsItem::Extension"/>
192 192 <enum-type name="QGraphicsItem::GraphicsItemChange"/>
193 193 <enum-type name="QGraphicsItem::GraphicsItemFlag" flags="QGraphicsItem::GraphicsItemFlags"/>
194 194 <enum-type name="QGraphicsItem::enum_1"/>
195 195 <enum-type name="QGraphicsItemGroup::enum_1"/>
196 196 <enum-type name="QGraphicsLineItem::enum_1"/>
197 197 <enum-type name="QGraphicsPathItem::enum_1"/>
198 198 <enum-type name="QGraphicsPixmapItem::ShapeMode"/>
199 199 <enum-type name="QGraphicsPixmapItem::enum_1"/>
200 200 <enum-type name="QGraphicsPolygonItem::enum_1"/>
201 201 <enum-type name="QGraphicsRectItem::enum_1"/>
202 202 <enum-type name="QGraphicsScene::ItemIndexMethod"/>
203 203 <enum-type name="QGraphicsSceneContextMenuEvent::Reason"/>
204 204 <enum-type name="QGraphicsSimpleTextItem::enum_1"/>
205 205 <enum-type name="QGraphicsTextItem::enum_1"/>
206 206 <enum-type name="QGraphicsView::CacheModeFlag" flags="QGraphicsView::CacheMode"/>
207 207 <enum-type name="QGraphicsView::DragMode"/>
208 208 <enum-type name="QGraphicsView::OptimizationFlag" flags="QGraphicsView::OptimizationFlags"/>
209 209 <enum-type name="QGraphicsView::ViewportAnchor"/>
210 210 <enum-type name="QGraphicsView::ViewportUpdateMode"/>
211 211 <enum-type name="QIcon::Mode"/>
212 212 <enum-type name="QIcon::State"/>
213 213 <enum-type name="QImage::Format"/>
214 214 <enum-type name="QImage::InvertMode"/>
215 215 <enum-type name="QImageIOHandler::ImageOption"/>
216 216 <enum-type name="QImageReader::ImageReaderError"/>
217 217 <enum-type name="QImageWriter::ImageWriterError"/>
218 218 <enum-type name="QInputContext::StandardFormat"/>
219 219 <enum-type name="QInputMethodEvent::AttributeType"/>
220 220 <enum-type name="QItemSelectionModel::SelectionFlag" flags="QItemSelectionModel::SelectionFlags"/>
221 221 <enum-type name="QKeySequence::SequenceFormat"/>
222 222 <enum-type name="QKeySequence::SequenceMatch"/>
223 223 <enum-type name="QKeySequence::StandardKey"/>
224 224 <enum-type name="QLCDNumber::Mode"/>
225 225 <enum-type name="QLCDNumber::SegmentStyle"/>
226 226 <enum-type name="QLayout::SizeConstraint"/>
227 227 <enum-type name="QLineEdit::EchoMode"/>
228 228 <enum-type name="QListView::Flow"/>
229 229 <enum-type name="QListView::LayoutMode"/>
230 230 <enum-type name="QListView::Movement"/>
231 231 <enum-type name="QListView::ResizeMode"/>
232 232 <enum-type name="QListView::ViewMode"/>
233 233 <enum-type name="QListWidgetItem::ItemType"/>
234 234 <enum-type name="QMainWindow::DockOption" flags="QMainWindow::DockOptions"/>
235 235 <enum-type name="QMessageBox::ButtonRole"/>
236 236 <enum-type name="QMessageBox::Icon"/>
237 237 <enum-type name="QMovie::CacheMode"/>
238 238 <enum-type name="QMovie::MovieState"/>
239 239 <enum-type name="QPaintDevice::PaintDeviceMetric"/>
240 240 <enum-type name="QPaintEngine::DirtyFlag" flags="QPaintEngine::DirtyFlags"/>
241 241 <enum-type name="QPaintEngine::PaintEngineFeature" flags="QPaintEngine::PaintEngineFeatures"/>
242 242 <enum-type name="QPaintEngine::PolygonDrawMode"/>
243 243 <enum-type name="QPaintEngine::Type"/>
244 244 <enum-type name="QPageSetupDialog::PageSetupDialogOption" flags="QPageSetupDialog::PageSetupDialogOptions"/>
245 245 <enum-type name="QPainter::CompositionMode"/>
246 246 <enum-type name="QPainter::RenderHint" flags="QPainter::RenderHints"/>
247 247 <enum-type name="QPainterPath::ElementType"/>
248 248 <enum-type name="QPrintEngine::PrintEnginePropertyKey">
249 249 <reject-enum-value name="PPK_PaperSize"/>
250 250 </enum-type>
251 251 <enum-type name="QPrinter::ColorMode"/>
252 252 <enum-type name="QPrinter::Orientation"/>
253 253 <enum-type name="QPrinter::OutputFormat"/>
254 254 <enum-type name="QPrinter::PageOrder"/>
255 255 <enum-type name="QPrinter::PaperSource"/>
256 256 <enum-type name="QPrinter::PrintRange"/>
257 257 <enum-type name="QPrinter::PrinterMode"/>
258 258 <enum-type name="QPrinter::PrinterState"/>
259 259 <enum-type name="QPrinter::Unit"/>
260 260 <enum-type name="QPrinter::DuplexMode"/>
261 261 <enum-type name="QProgressBar::Direction"/>
262 262 <enum-type name="QRegion::RegionType"/>
263 263 <enum-type name="QRubberBand::Shape"/>
264 264 <enum-type name="QSessionManager::RestartHint"/>
265 265 <enum-type name="QSizePolicy::Policy"/>
266 266 <enum-type name="QSizePolicy::PolicyFlag"/>
267 267 <enum-type name="QSizePolicy::ControlType" flags="QSizePolicy::ControlTypes"/>
268 268 <enum-type name="QStandardItem::ItemType"/>
269 269 <enum-type name="QStyle::SubControl" flags="QStyle::SubControls" extensible="yes" force-integer="yes"/>
270 270 <enum-type name="QStyle::ComplexControl" extensible="yes"/>
271 271 <enum-type name="QStyle::ContentsType" extensible="yes"/>
272 272 <enum-type name="QStyle::ControlElement" extensible="yes"/>
273 273 <enum-type name="QStyle::PixelMetric" extensible="yes">
274 274 <reject-enum-value name="PM_MDIFrameWidth"/>
275 275 <reject-enum-value name="PM_MDIMinimizedWidth"/>
276 276 </enum-type>
277 277 <enum-type name="QStyle::PrimitiveElement" extensible="yes">
278 278 <reject-enum-value name="PE_IndicatorItemViewItemCheck"/>
279 279 <reject-enum-value name="PE_FrameStatusBarItem"/>
280 280 </enum-type>
281 281 <enum-type name="QStyle::StandardPixmap" extensible="yes"/>
282 282 <enum-type name="QStyle::StateFlag" flags="QStyle::State"/>
283 283 <enum-type name="QStyle::SubElement" extensible="yes">
284 284 <reject-enum-value name="SE_ItemViewItemCheckIndicator"/>
285 285 </enum-type>
286 286 <enum-type name="QStyleHintReturn::HintReturnType"/>
287 287 <enum-type name="QStyleHintReturn::StyleOptionType"/>
288 288 <enum-type name="QStyleHintReturn::StyleOptionVersion"/>
289 289 <enum-type name="QStyleHintReturnVariant::StyleOptionType"/>
290 290 <enum-type name="QStyleHintReturnVariant::StyleOptionVersion"/>
291 291
292 292 <enum-type name="QStyleHintReturnMask::StyleOptionType"/>
293 293 <enum-type name="QStyleHintReturnMask::StyleOptionVersion"/>
294 294 <enum-type name="QStyleOption::StyleOptionType"/>
295 295 <enum-type name="QStyleOption::OptionType" extensible="yes"/>
296 296 <enum-type name="QStyleOption::StyleOptionVersion"/>
297 297 <enum-type name="QStyleOptionButton::ButtonFeature" flags="QStyleOptionButton::ButtonFeatures"/>
298 298 <enum-type name="QStyleOptionButton::StyleOptionType"/>
299 299 <enum-type name="QStyleOptionButton::StyleOptionVersion"/>
300 300 <enum-type name="QStyleOptionComboBox::StyleOptionType"/>
301 301 <enum-type name="QStyleOptionComboBox::StyleOptionVersion"/>
302 302 <enum-type name="QStyleOptionComplex::StyleOptionType"/>
303 303 <enum-type name="QStyleOptionComplex::StyleOptionVersion"/>
304 304 <enum-type name="QStyleOptionDockWidget::StyleOptionType"/>
305 305 <enum-type name="QStyleOptionDockWidget::StyleOptionVersion"/>
306 306 <enum-type name="QStyleOptionDockWidgetV2::StyleOptionVersion"/>
307 307 <enum-type name="QStyleOptionFocusRect::StyleOptionType"/>
308 308 <enum-type name="QStyleOptionFocusRect::StyleOptionVersion"/>
309 309 <enum-type name="QStyleOptionFrame::StyleOptionType"/>
310 310 <enum-type name="QStyleOptionFrame::StyleOptionVersion"/>
311 311 <enum-type name="QStyleOptionFrameV2::FrameFeature" flags="QStyleOptionFrameV2::FrameFeatures"/>
312 312 <enum-type name="QStyleOptionFrameV2::StyleOptionVersion"/>
313 313 <enum-type name="QStyleOptionGraphicsItem::StyleOptionType"/>
314 314 <enum-type name="QStyleOptionGraphicsItem::StyleOptionVersion"/>
315 315 <enum-type name="QStyleOptionGroupBox::StyleOptionType"/>
316 316 <enum-type name="QStyleOptionGroupBox::StyleOptionVersion"/>
317 317 <enum-type name="QStyleOptionHeader::SectionPosition"/>
318 318 <enum-type name="QStyleOptionHeader::SelectedPosition"/>
319 319 <enum-type name="QStyleOptionHeader::SortIndicator"/>
320 320 <enum-type name="QStyleOptionHeader::StyleOptionType"/>
321 321 <enum-type name="QStyleOptionHeader::StyleOptionVersion"/>
322 322 <enum-type name="QStyleOptionMenuItem::CheckType"/>
323 323 <enum-type name="QStyleOptionMenuItem::MenuItemType"/>
324 324 <enum-type name="QStyleOptionMenuItem::StyleOptionType"/>
325 325 <enum-type name="QStyleOptionMenuItem::StyleOptionVersion"/>
326 326 <enum-type name="QStyleOptionProgressBar::StyleOptionType"/>
327 327 <enum-type name="QStyleOptionProgressBar::StyleOptionVersion"/>
328 328 <enum-type name="QStyleOptionProgressBarV2::StyleOptionType"/>
329 329 <enum-type name="QStyleOptionProgressBarV2::StyleOptionVersion"/>
330 330 <enum-type name="QStyleOptionRubberBand::StyleOptionType"/>
331 331 <enum-type name="QStyleOptionRubberBand::StyleOptionVersion"/>
332 332 <enum-type name="QStyleOptionSizeGrip::StyleOptionType"/>
333 333 <enum-type name="QStyleOptionSizeGrip::StyleOptionVersion"/>
334 334 <enum-type name="QStyleOptionSlider::StyleOptionType"/>
335 335 <enum-type name="QStyleOptionSlider::StyleOptionVersion"/>
336 336 <enum-type name="QStyleOptionSpinBox::StyleOptionType"/>
337 337 <enum-type name="QStyleOptionSpinBox::StyleOptionVersion"/>
338 338 <enum-type name="QStyleOptionTab::CornerWidget" flags="QStyleOptionTab::CornerWidgets"/>
339 339 <enum-type name="QStyleOptionTab::SelectedPosition"/>
340 340 <enum-type name="QStyleOptionTab::StyleOptionType"/>
341 341 <enum-type name="QStyleOptionTab::StyleOptionVersion"/>
342 342 <enum-type name="QStyleOptionTab::TabPosition"/>
343 343 <enum-type name="QStyleOptionTabBarBase::StyleOptionType"/>
344 344 <enum-type name="QStyleOptionTabBarBase::StyleOptionVersion"/>
345 345 <enum-type name="QStyleOptionTabV2::StyleOptionVersion"/>
346 346 <enum-type name="QStyleOptionTabWidgetFrame::StyleOptionType"/>
347 347 <enum-type name="QStyleOptionTabWidgetFrame::StyleOptionVersion"/>
348 348 <enum-type name="QStyleOptionTitleBar::StyleOptionType"/>
349 349 <enum-type name="QStyleOptionTitleBar::StyleOptionVersion"/>
350 350 <enum-type name="QStyleOptionToolBar::StyleOptionType"/>
351 351 <enum-type name="QStyleOptionToolBar::StyleOptionVersion"/>
352 352 <enum-type name="QStyleOptionToolBar::ToolBarFeature" flags="QStyleOptionToolBar::ToolBarFeatures"/>
353 353 <enum-type name="QStyleOptionToolBar::ToolBarPosition"/>
354 354 <enum-type name="QStyleOptionToolBox::StyleOptionType"/>
355 355 <enum-type name="QStyleOptionToolBox::StyleOptionVersion"/>
356 356 <enum-type name="QStyleOptionToolButton::StyleOptionType"/>
357 357 <enum-type name="QStyleOptionToolButton::StyleOptionVersion"/>
358 358 <enum-type name="QStyleOptionToolButton::ToolButtonFeature" flags="QStyleOptionToolButton::ToolButtonFeatures">
359 359 <reject-enum-value name="MenuButtonPopup"/>
360 360 </enum-type>
361 361 <enum-type name="QStyleOptionViewItem::Position"/>
362 362 <enum-type name="QStyleOptionViewItem::StyleOptionType"/>
363 363 <enum-type name="QStyleOptionViewItem::StyleOptionVersion"/>
364 364 <enum-type name="QStyleOptionViewItemV2::StyleOptionVersion"/>
365 365 <enum-type name="QStyleOptionViewItemV2::ViewItemFeature" flags="QStyleOptionViewItemV2::ViewItemFeatures"/>
366 366 <enum-type name="QSystemTrayIcon::ActivationReason"/>
367 367 <enum-type name="QSystemTrayIcon::MessageIcon"/>
368 368 <enum-type name="QTabBar::Shape"/>
369 369 <enum-type name="QTabWidget::TabPosition"/>
370 370 <enum-type name="QTabWidget::TabShape"/>
371 371 <enum-type name="QTableWidgetItem::ItemType"/>
372 372 <enum-type name="QTabletEvent::PointerType"/>
373 373 <enum-type name="QTabletEvent::TabletDevice"/>
374 374 <enum-type name="QTextCharFormat::UnderlineStyle"/>
375 375 <enum-type name="QTextCharFormat::VerticalAlignment"/>
376 376 <enum-type name="QTextCursor::MoveMode"/>
377 377 <enum-type name="QTextCursor::MoveOperation"/>
378 378 <enum-type name="QTextCursor::SelectionType"/>
379 379 <enum-type name="QTextDocument::FindFlag" flags="QTextDocument::FindFlags"/>
380 380 <enum-type name="QTextDocument::MetaInformation"/>
381 381 <enum-type name="QTextDocument::ResourceType"/>
382 382 <enum-type name="QTextEdit::AutoFormattingFlag" flags="QTextEdit::AutoFormatting"/>
383 383 <enum-type name="QTextEdit::LineWrapMode"/>
384 384 <enum-type name="QTextFormat::ObjectTypes"/>
385 385 <enum-type name="QTextFormat::PageBreakFlag" flags="QTextFormat::PageBreakFlags"/>
386 386 <enum-type name="QTextFrameFormat::Position"/>
387 387 <enum-type name="QTextFrameFormat::BorderStyle"/>
388 388 <enum-type name="QTextItem::RenderFlag" flags="QTextItem::RenderFlags"/>
389 389 <enum-type name="QTextLayout::CursorMode"/>
390 390 <enum-type name="QTextLength::Type"/>
391 391 <enum-type name="QTextLine::CursorPosition"/>
392 392 <enum-type name="QTextLine::Edge"/>
393 393 <enum-type name="QTextListFormat::Style"/>
394 394 <enum-type name="QTextOption::Flag" flags="QTextOption::Flags"/>
395 395 <enum-type name="QTextOption::WrapMode"/>
396 396 <enum-type name="QTextOption::TabType"/>
397 397 <enum-type name="QToolButton::ToolButtonPopupMode"/>
398 398 <enum-type name="QTreeWidgetItem::ItemType"/>
399 399 <enum-type name="QTreeWidgetItemIterator::IteratorFlag" flags="QTreeWidgetItemIterator::IteratorFlags"/>
400 400 <enum-type name="QValidator::State"/>
401 401 <enum-type name="QWidget::RenderFlag" flags="QWidget::RenderFlags"/>
402 402 <enum-type name="QWorkspace::WindowOrder"/>
403 403 <enum-type name="QDoubleValidator::Notation"/>
404 404 <enum-type name="QGraphicsScene::SceneLayer" flags="QGraphicsScene::SceneLayers"/>
405 405 <enum-type name="QStyleOptionToolBoxV2::SelectedPosition"/>
406 406 <enum-type name="QStyleOptionToolBoxV2::StyleOptionVersion"/>
407 407 <enum-type name="QStyleOptionToolBoxV2::TabPosition"/>
408 408 <enum-type name="QStyleOptionViewItemV3::StyleOptionVersion"/>
409 409 <enum-type name="QTransform::TransformationType"/>
410 410 <enum-type name="QTreeWidgetItem::ChildIndicatorPolicy"/>
411 411 <enum-type name="QWizard::WizardOption" flags="QWizard::WizardOptions"/>
412 412 <enum-type name="QWizard::WizardPixmap"/>
413 413 <enum-type name="QWizard::WizardStyle"/>
414 414 <enum-type name="QImageIOPlugin::Capability" flags="QImageIOPlugin::Capabilities"/>
415 415 <enum-type name="QStackedLayout::StackingMode"/>
416 416
417 417 <enum-type name="QWizard::WizardButton">
418 418 <reject-enum-value name="NStandardButtons"/>
419 419 <reject-enum-value name="NButtons"/>
420 420 </enum-type>
421 421
422 422 <enum-type name="QAccessible::Action">
423 423 <reject-enum-value name="FirstStandardAction"/>
424 424 <reject-enum-value name="LastStandardAction"/>
425 425 </enum-type>
426 426
427 427 <enum-type name="QBoxLayout::Direction">
428 428 <reject-enum-value name="Down"/>
429 429 <reject-enum-value name="Up"/>
430 430 </enum-type>
431 431
432 432
433 433 <enum-type name="QClipboard::Mode">
434 434 <reject-enum-value name="LastMode"/>
435 435 </enum-type>
436 436
437 437 <enum-type name="QDialogButtonBox::StandardButton" flags="QDialogButtonBox::StandardButtons">
438 438 <reject-enum-value name="FirstButton"/>
439 439 <reject-enum-value name="LastButton"/>
440 440 <reject-enum-value name="YesAll"/>
441 441 <reject-enum-value name="NoAll"/>
442 442 <reject-enum-value name="Default"/>
443 443 <reject-enum-value name="Escape"/>
444 444 <reject-enum-value name="FlagMask"/>
445 445 <reject-enum-value name="ButtonMask"/>
446 446 </enum-type>
447 447
448 448 <enum-type name="QDockWidget::DockWidgetFeature" flags="QDockWidget::DockWidgetFeatures"/>
449 449
450 450 <enum-type name="QFont::StyleHint">
451 451 <reject-enum-value name="SansSerif"/>
452 452 <reject-enum-value name="Serif"/>
453 453 <reject-enum-value name="TypeWriter"/>
454 454 <reject-enum-value name="Decorative"/>
455 455 </enum-type>
456 456
457 457 <enum-type name="QFontDatabase::WritingSystem">
458 458 <reject-enum-value name="Other"/>
459 459 </enum-type>
460 460
461 461 <enum-type name="QHeaderView::ResizeMode">
462 462 <reject-enum-value name="Custom"/>
463 463 </enum-type>
464 464
465 465
466 466 <enum-type name="QMessageBox::StandardButton" flags="QMessageBox::StandardButtons">
467 467 <reject-enum-value name="FirstButton"/>
468 468 <reject-enum-value name="LastButton"/>
469 469 <reject-enum-value name="YesAll"/>
470 470 <reject-enum-value name="NoAll"/>
471 471 </enum-type>
472 472
473 473 <enum-type name="QPalette::ColorGroup">
474 474 <reject-enum-value name="Normal"/>
475 475 </enum-type>
476 476
477 477 <enum-type name="QPalette::ColorRole">
478 478 <reject-enum-value name="NColorRoles"/>
479 479 <reject-enum-value name="Foreground"/>
480 480 <reject-enum-value name="Background"/>
481 481 </enum-type>
482 482
483 483 <enum-type name="QPrinter::PageSize">
484 484 <reject-enum-value name="NPageSize"/>
485 485 <reject-enum-value name="NPaperSize"/>
486 486 </enum-type>
487 487
488 488 <enum-type name="QSlider::TickPosition">
489 489 <reject-enum-value name="TicksLeft"/>
490 490 <reject-enum-value name="TicksRight"/>
491 491 </enum-type>
492 492
493 493 <enum-type name="QStyle::StyleHint" extensible="yes">
494 494 <reject-enum-value name="SH_ScrollBar_StopMouseOverSlider"/>
495 495 </enum-type>
496 496
497 497
498 498 <enum-type name="QTextFormat::FormatType"/>
499 499
500 500 <enum-type name="QTextFormat::Property">
501 501 <reject-enum-value name="FontSizeIncrement"/>
502 502 <reject-enum-value name="FirstFontProperty"/>
503 503 <reject-enum-value name="LastFontProperty"/>
504 504 </enum-type>
505 505
506 506 <enum-type name="QAction::Priority"/>
507 507 <enum-type name="QAction::SoftKeyRole"/>
508 508 <enum-type name="QGraphicsEffect::ChangeFlag" flags="QGraphicsEffect::ChangeFlags"/>
509 509 <enum-type name="QGraphicsItem::PanelModality"/>
510 510 <enum-type name="QPinchGesture::WhatChange" flags="QPinchGesture::WhatChanged"/>
511 511 <enum-type name="QStyle::RequestSoftwareInputPanel"/>
512 512 <enum-type name="QSwipeGesture::SwipeDirection"/>
513 513 <enum-type name="QTouchEvent::DeviceType"/>
514 514
515 515
516 516 <value-type name="QPixmapCache::Key"/>
517 517 <value-type name="QTileRules"/>
518 518 <value-type name="QVector2D"/>
519 519 <value-type name="QVector3D"/>
520 520 <value-type name="QVector4D"/>
521 521 <value-type name="QTouchEvent::TouchPoint"/>
522 522
523 523
524 524 <value-type name="QTransform">
525 525 <modify-function signature="operator=(QTransform)" remove="all"/>
526 526 <modify-function signature="map(int,int,int*,int*)const" remove="all"/>
527 527 <modify-function signature="map(double,double,double*,double*)const" remove="all"/>
528 528
529 529 <modify-function signature="operator*=(double)" access="private"/>
530 530 <modify-function signature="operator+=(double)" access="private"/>
531 531 <modify-function signature="operator-=(double)" access="private"/>
532 532 <modify-function signature="operator/=(double)" access="private"/>
533 533 <modify-function signature="operator*(QTransform)const" rename="multiplied"/>
534 534 <modify-function signature="operator*=(QTransform)" access="private"/>
535 535
536 536 <modify-function signature="inverted(bool*)const">
537 537 <modify-argument index="1">
538 538 <remove-argument/>
539 539 </modify-argument>
540 540 </modify-function>
541 541 </value-type>
542 542
543 543 <value-type name="QStyleOption" delete-in-main-thread="yes" polymorphic-base="yes" polymorphic-id-expression="%1-&gt;type == QStyleOption::SO_Default">
544 544 <modify-function signature="operator=(QStyleOption)" remove="all"/>
545 545 <modify-function signature="init(const QWidget*)" remove="all"/> <!--### Obsolete in 4.3-->
546 546 </value-type>
547 547 <value-type name="QStyleOptionGraphicsItem" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionGraphicsItem::Type &amp;&amp; %1-&gt;version == QStyleOptionGraphicsItem::Version"/>
548 548 <value-type name="QStyleOptionSizeGrip" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionSizeGrip::Type &amp;&amp; %1-&gt;version == QStyleOptionSizeGrip::Version"/>
549 549 <value-type name="QStyleOptionButton" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionButton::Type &amp;&amp; %1-&gt;version == QStyleOptionButton::Version"/>
550 550 <value-type name="QStyleOptionComboBox" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionComboBox::Type &amp;&amp; %1-&gt;version == QStyleOptionComboBox::Version"/>
551 551 <value-type name="QStyleOptionComplex" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionComplex::Type &amp;&amp; %1-&gt;version == QStyleOptionComplex::Version"/>
552 552 <value-type name="QStyleOptionDockWidget" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionDockWidget::Type &amp;&amp; %1-&gt;version == QStyleOptionDockWidget::Version"/>
553 553 <value-type name="QStyleOptionDockWidgetV2" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionDockWidgetV2::Type &amp;&amp; %1-&gt;version == QStyleOptionDockWidgetV2::Version">
554 554 <modify-function signature="operator=(QStyleOptionDockWidget)" remove="all"/>
555 555 </value-type>
556 556 <value-type name="QStyleOptionFocusRect" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionFocusRect::Type &amp;&amp; %1-&gt;version == QStyleOptionFocusRect::Version"/>
557 557 <value-type name="QStyleOptionFrame" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionFrame::Type &amp;&amp; %1-&gt;version == QStyleOptionFrame::Version"/>
558 558
559 559 <value-type name="QStyleOptionFrameV2" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionFrameV2::Type &amp;&amp; %1-&gt;version == QStyleOptionFrameV2::Version">
560 560 <modify-function signature="operator=(QStyleOptionFrame)" remove="all"/>
561 561 </value-type>
562 562 <value-type name="QStyleOptionFrameV3" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionFrameV3::Type &amp;&amp; %1-&gt;version == QStyleOptionFrameV3::Version">
563 563 <modify-function signature="operator=(QStyleOptionFrame)" remove="all"/>
564 564 </value-type>
565 565
566 566 <value-type name="QStyleOptionGroupBox" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionGroupBox::Type &amp;&amp; %1-&gt;version == QStyleOptionGroupBox::Version"/>
567 567 <value-type name="QStyleOptionHeader" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionHeader::Type &amp;&amp; %1-&gt;version == QStyleOptionHeader::Version"/>
568 568 <value-type name="QStyleOptionMenuItem" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionMenuItem::Type &amp;&amp; %1-&gt;version == QStyleOptionMenuItem::Version"/>
569 569 <value-type name="QStyleOptionProgressBar" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionProgressBar::Type &amp;&amp; %1-&gt;version == QStyleOptionProgressBar::Version"/>
570 570
571 571 <value-type name="QStyleOptionProgressBarV2" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionProgressBarV2::Type &amp;&amp; %1-&gt;version == QStyleOptionProgressBarV2::Version">
572 572 <modify-function signature="operator=(QStyleOptionProgressBar)" remove="all"/>
573 573 </value-type>
574 574
575 575 <value-type name="QStyleOptionRubberBand" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionRubberBand::Type &amp;&amp; %1-&gt;version == QStyleOptionRubberBand::Version"/>
576 576 <value-type name="QStyleOptionSlider" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionSlider::Type &amp;&amp; %1-&gt;version == QStyleOptionSlider::Version"/>
577 577 <value-type name="QStyleOptionSpinBox" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionSpinBox::Type &amp;&amp; %1-&gt;version == QStyleOptionSpinBox::Version"/>
578 578 <value-type name="QStyleOptionTab" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionTab::Type &amp;&amp; %1-&gt;version == QStyleOptionTab::Version"/>
579 579 <value-type name="QStyleOptionTabV2" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionTabV2::Type &amp;&amp; %1-&gt;version == QStyleOptionTabV2::Version">
580 580 <modify-function signature="operator=(const QStyleOptionTab &amp;)" remove="all"/>
581 581 </value-type>
582 582 <value-type name="QStyleOptionTabV3" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionTabV3::Type &amp;&amp; %1-&gt;version == QStyleOptionTabV3::Version">
583 583 <modify-function signature="operator=(QStyleOptionTab)" remove="all"/>
584 584 </value-type>
585 585 <value-type name="QStyleOptionTabBarBase" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionTabBarBase::Type &amp;&amp; %1-&gt;version == QStyleOptionTabBarBase::Version"/>
586 586 <value-type name="QStyleOptionTabBarBaseV2" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionTabBarBaseV2::Type &amp;&amp; %1-&gt;version == QStyleOptionTabBarBaseV2::Version">
587 587 <modify-function signature="operator=(QStyleOptionTabBarBase)" remove="all"/>
588 588 </value-type>
589 589 <value-type name="QStyleOptionTabWidgetFrame" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionTabWidgetFrame::Type &amp;&amp; %1-&gt;version == QStyleOptionTabWidgetFrame::Version"/>
590 590 <value-type name="QStyleOptionTitleBar" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionTitleBar::Type &amp;&amp; %1-&gt;version == QStyleOptionTitleBar::Version"/>
591 591 <value-type name="QStyleOptionToolBar" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionToolBar::Type &amp;&amp; %1-&gt;version == QStyleOptionToolBar::Version"/>
592 592 <value-type name="QStyleOptionToolBox" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionToolBox::Type &amp;&amp; %1-&gt;version == QStyleOptionToolBox::Version"/>
593 593 <value-type name="QStyleOptionToolBoxV2" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionToolBoxV2::Type &amp;&amp; %1-&gt;version == QStyleOptionToolBoxV2::Version">
594 594 <modify-function signature="operator=(QStyleOptionToolBox)" remove="all"/>
595 595 </value-type>
596 596 <value-type name="QStyleOptionToolButton" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionToolButton::Type &amp;&amp; %1-&gt;version == QStyleOptionToolButton::Version"/>
597 597 <value-type name="QStyleOptionViewItem" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionViewItem::Type &amp;&amp; %1-&gt;version == QStyleOptionViewItem::Version"/>
598 598 <value-type name="QStyleOptionViewItemV2" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionViewItemV2::Type &amp;&amp; %1-&gt;version == QStyleOptionViewItemV2::Version">
599 599 <modify-function signature="operator=(QStyleOptionViewItem)" remove="all"/>
600 600 </value-type>
601 601 <value-type name="QStyleOptionViewItemV3" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionViewItemV3::Type &amp;&amp; %1-&gt;version == QStyleOptionViewItemV3::Version">
602 602 <modify-function signature="operator=(QStyleOptionViewItem)" remove="all"/>
603 603 </value-type>
604 604 <value-type name="QStyleOptionViewItemV4" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type == QStyleOptionViewItemV4::Type &amp;&amp; %1-&gt;version == QStyleOptionViewItemV4::Version">
605 605 <modify-function signature="operator=(QStyleOptionViewItem)" remove="all"/>
606 606 </value-type>
607 607 <value-type name="QTextFragment" delete-in-main-thread="yes">
608 608 <modify-function signature="operator=(QTextFragment)" remove="all"/>
609 609 </value-type>
610 610 <value-type name="QBitmap" delete-in-main-thread="yes">
611 611 <modify-function signature="operator=(const QPixmap &amp;)" remove="all"/>
612 612 <modify-function signature="QBitmap(QString,const char*)" access="private">
613 613 <modify-argument index="2"> <remove-default-expression/> </modify-argument>
614 614 </modify-function>
615 615
616 616 <modify-function signature="fromData(QSize,const unsigned char*,QImage::Format)">
617 617 <access modifier="private"/>
618 618 <modify-argument index="3">
619 619 <remove-default-expression/>
620 620 </modify-argument>
621 621 </modify-function>
622 622
623 623 <modify-function signature="fromData(QSize,const uchar*,QImage::Format)" remove="all"/>
624 624
625 625 <modify-function signature="QBitmap(QString,const char*)">
626 626 <modify-argument index="2">
627 627 <replace-type modified-type="QString"/>
628 628 <conversion-rule class="native">
629 629 <insert-template name="core.convert_string_arg_to_char*"/>
630 630 </conversion-rule>
631 631 </modify-argument>
632 632 </modify-function>
633 633 </value-type>
634 634 <value-type name="QTextInlineObject" delete-in-main-thread="yes"/>
635 635 <value-type name="QSizePolicy"/>
636 636 <value-type name="QTableWidgetSelectionRange"/>
637 637 <value-type name="QTextDocumentFragment" delete-in-main-thread="yes">
638 638 <modify-function signature="operator=(QTextDocumentFragment)" remove="all"/>
639 639 </value-type>
640 640 <value-type name="QTextOption" delete-in-main-thread="yes">
641 641 <modify-function signature="operator=(const QTextOption &amp;)" remove="all"/>
642 642 </value-type>
643 643 <value-type name="QTextLine" delete-in-main-thread="yes">
644 644 <modify-function signature="cursorToX(int*,QTextLine::Edge)const">
645 645 <remove/>
646 646 </modify-function>
647 647 </value-type>
648 648 <value-type name="QTextTableFormat" delete-in-main-thread="yes"/>
649 649 <value-type name="QTextImageFormat" delete-in-main-thread="yes"/>
650 650 <value-type name="QTextFrameFormat" delete-in-main-thread="yes">
651 651 <modify-function signature="isValid()const" access="non-final"/>
652 652 </value-type>
653 653 <value-type name="QTextLength" delete-in-main-thread="yes"/>
654 654 <value-type name="QItemSelectionRange">
655 655 <modify-function signature="intersect(QItemSelectionRange)const" remove="all"/> <!--### Obsolete in 4.3-->
656 656 </value-type>
657 657
658 658 <value-type name="QPainterPath">
659 659 <modify-function signature="operator=(QPainterPath)" remove="all"/>
660 660 </value-type>
661 661 <value-type name="QPalette">
662 662 <modify-function signature="operator=(const QPalette&amp;)" remove="all"/>
663 663
664 664 <modify-function signature="QPalette(QColor, QColor, QColor, QColor, QColor, QColor, QColor)" remove="all"/> <!--### Obsolete in 4.3-->
665 665 <modify-function signature="background()const" remove="all"/> <!--### Obsolete in 4.3-->
666 666 <modify-function signature="foreground()const" remove="all"/> <!--### Obsolete in 4.3-->
667 667 <modify-function signature="serialNumber()const" remove="all"/> <!--### Obsolete in 4.3-->
668 668 </value-type>
669 669 <value-type name="QKeySequence">
670 670 <modify-function signature="operator=(QKeySequence)" remove="all"/>
671 671 <modify-function signature="operator int()const" access="private"/>
672 672 <modify-function signature="operator[](uint)const" access="private"/>
673 673 </value-type>
674 674
675 675 <value-type name="QPicture" delete-in-main-thread="yes">
676 676 <modify-function signature="operator=(QPicture)" remove="all"/>
677 677 <modify-function signature="pictureFormat(QString)">
678 678 <remove/>
679 679 </modify-function>
680 680
681 681 <modify-function signature="inputFormatList()" remove="all"/> <!--### Obsolete in 4.3-->
682 682 <modify-function signature="inputFormats()" remove="all"/> <!--### Obsolete in 4.3-->
683 683 <modify-function signature="outputFormatList()" remove="all"/> <!--### Obsolete in 4.3-->
684 684 <modify-function signature="outputFormats()" remove="all"/> <!--### Obsolete in 4.3-->
685 685
686 686 <modify-function signature="setData(const char*,uint)" remove="all"/>
687 687
688 688 <modify-function signature="load(QIODevice*,const char*)">
689 689 <modify-argument index="2">
690 690 <replace-type modified-type="QString"/>
691 691 <conversion-rule class="native">
692 692 <insert-template name="core.convert_string_arg_to_char*"/>
693 693 </conversion-rule>
694 694 </modify-argument>
695 695 </modify-function>
696 696
697 697 <modify-function signature="load(QString,const char*)">
698 698 <modify-argument index="2">
699 699 <replace-type modified-type="QString"/>
700 700 <conversion-rule class="native">
701 701 <insert-template name="core.convert_string_arg_to_char*"/>
702 702 </conversion-rule>
703 703 </modify-argument>
704 704 </modify-function>
705 705
706 706 <modify-function signature="save(QIODevice*,const char*)">
707 707 <modify-argument index="2">
708 708 <replace-type modified-type="QString"/>
709 709 <conversion-rule class="native">
710 710 <insert-template name="core.convert_string_arg_to_char*"/>
711 711 </conversion-rule>
712 712 </modify-argument>
713 713 </modify-function>
714 714
715 715 <modify-function signature="save(QString,const char*)">
716 716 <modify-argument index="2">
717 717 <replace-type modified-type="QString"/>
718 718 <conversion-rule class="native">
719 719 <insert-template name="core.convert_string_arg_to_char*"/>
720 720 </conversion-rule>
721 721 </modify-argument>
722 722 </modify-function>
723 723 </value-type>
724 724
725 725 <value-type name="QRegion" expense-limit="4096">
726 726 <modify-function signature="operator=(QRegion)" remove="all"/>
727 727 <modify-function signature="operator&amp;=(QRegion)" remove="all"/>
728 728 <modify-function signature="operator+=(QRegion)" remove="all"/>
729 729 <modify-function signature="operator-=(QRegion)" remove="all"/>
730 730 <modify-function signature="operator^=(QRegion)" remove="all"/>
731 731 <modify-function signature="operator|=(QRegion)" remove="all"/>
732 732 <modify-function signature="operator&amp;(QRegion)const" remove="all"/>
733 733 <modify-function signature="operator+(QRegion)const" remove="all"/>
734 734 <modify-function signature="operator-(QRegion)const" remove="all"/>
735 735 <modify-function signature="operator^(QRegion)const" remove="all"/>
736 736 <modify-function signature="operator|(QRegion)const" remove="all"/>
737 737 <modify-function signature="eor(QRegion)const" remove="all"/> <!--### Obsolete in 4.3-->
738 738 <modify-function signature="intersect(QRegion)const" remove="all"/> <!--### Obsolete in 4.3-->
739 739 <modify-function signature="subtract(QRegion)const" remove="all"/> <!--### Obsolete in 4.3-->
740 740 <modify-function signature="unite(QRegion)const" remove="all"/> <!--### Obsolete in 4.3-->
741 741 <modify-function signature="operator&amp;=(QRect)" remove="all"/>
742 742 <modify-function signature="operator+=(QRect)" remove="all"/>
743 743
744 744 </value-type>
745 745
746 746 <value-type name="QTextBlock" delete-in-main-thread="yes">
747 747 <modify-function signature="operator=(QTextBlock)" remove="all"/>
748 748 <modify-function signature="setUserData(QTextBlockUserData *)">
749 749 <modify-argument index="1">
750 750 <define-ownership class="java" owner="c++"/>
751 751 </modify-argument>
752 752 </modify-function>
753 753 </value-type>
754 754 <value-type name="QTextBlockFormat" delete-in-main-thread="yes"/>
755 755 <value-type name="QTextTableCellFormat" delete-in-main-thread="yes"/>
756 756 <value-type name="QTextCharFormat" delete-in-main-thread="yes">
757 757 <modify-function signature="isValid()const" access="non-final"/>
758 758
759 759 <modify-function signature="anchorName()const" remove="all"/> <!--### Obsolete in 4.3-->
760 760 <modify-function signature="setAnchorName(QString)" remove="all"/> <!--### Obsolete in 4.3-->
761 761 </value-type>
762 762 <value-type name="QTextFormat" delete-in-main-thread="yes">
763 763 <modify-function signature="operator=(QTextFormat)" remove="all"/>
764 764 <modify-function signature="isValid()const" access="non-final"/>
765 765
766 766
767 767 <modify-function signature="setProperty(int,QVector&lt;QTextLength&gt;)" rename="setLengthVectorProperty"/>
768 768 <inject-code class="native" position="constructor">
769 769 if ((context-&gt;argumentCount() == 1) &amp;&amp; (qMetaTypeId&lt;QTextFormat&gt;() == context-&gt;argument(0).toVariant().userType())) {
770 770 QTextFormat _q_arg0 = qscriptvalue_cast&lt;QTextFormat&gt;(context-&gt;argument(0));
771 771 QTextFormat _q_cpp_result(_q_arg0);
772 772 QScriptValue _q_result = context-&gt;engine()-&gt;newVariant(context-&gt;thisObject(), qVariantFromValue(_q_cpp_result));
773 773 return _q_result;
774 774 }
775 775 </inject-code>
776 776 </value-type>
777 777
778 778 <value-type name="QTextListFormat" delete-in-main-thread="yes"/>
779 779 <value-type name="QPolygon">
780 780 <modify-function signature="QPolygon(int, const int *)" remove="all"/>
781 781 <modify-function signature="operator+(QVector&lt;QPoint&gt;)const" remove="all"/>
782 782 <modify-function signature="operator&lt;&lt;(QPoint)" remove="all"/>
783 783 <modify-function signature="operator&lt;&lt;(QVector&lt;QPoint&gt;)" remove="all"/>
784 784
785 785
786 786 </value-type>
787 787
788 788 <value-type name="QPolygonF">
789 789 <modify-function signature="operator+(QVector&lt;QPointF&gt;)const" remove="all"/>
790 790 <modify-function signature="operator&lt;&lt;(QPointF)" remove="all"/>
791 791 <modify-function signature="operator&lt;&lt;(QVector&lt;QPointF&gt;)" remove="all"/>
792 792 </value-type>
793 793
794 794 <value-type name="QIcon" delete-in-main-thread="yes">
795 795 <modify-function signature="operator=(QIcon)" remove="all"/>
796 796 <modify-function signature="serialNumber()const" remove="all"/> <!--### Obsolete in 4.3-->
797 797 <modify-function signature="QIcon(QIconEngineV2 *)">
798 798 <modify-argument index="1">
799 799 <define-ownership class="java" owner="c++"/>
800 800 </modify-argument>
801 801 </modify-function>
802 802 <modify-function signature="QIcon(QIconEngine *)">
803 803 <modify-argument index="1">
804 804 <define-ownership class="java" owner="c++"/>
805 805 </modify-argument>
806 806 </modify-function>
807 807 </value-type>
808 808
809 809 <value-type name="QTextFrame::iterator" delete-in-main-thread="yes">
810 810 <include file-name="QTextFrame" location="global"/>
811 811 <modify-function signature="operator++(int)" remove="all"/>
812 812 <modify-function signature="operator--(int)" remove="all"/>
813 813 <modify-function signature="operator=(QTextFrame::iterator)" remove="all"/>
814 814 <modify-function signature="operator++()" access="private"/>
815 815 <modify-function signature="operator--()" access="private"/>
816 816 </value-type>
817 817
818 818 <value-type name="QTreeWidgetItemIterator" delete-in-main-thread="yes">
819 819 <custom-constructor>
820 820 return new QTreeWidgetItemIterator(*copy);
821 821 </custom-constructor>
822 822 <custom-destructor>
823 823 delete copy;
824 824 </custom-destructor>
825 825 <modify-function signature="operator=(QTreeWidgetItemIterator)" remove="all"/>
826 826 <modify-function signature="operator++(int)" remove="all"/>
827 827 <modify-function signature="operator--(int)" remove="all"/>
828 828 <modify-function signature="operator+=(int)" access="private"/>
829 829 <modify-function signature="operator-=(int)" access="private"/>
830 830 <modify-function signature="operator++()" access="private"/>
831 831 <modify-function signature="operator--()" access="private"/>
832 832 <modify-function signature="operator*()const" access="private"/>
833 833 </value-type>
834 834
835 835 <value-type name="QTextBlock::iterator" delete-in-main-thread="yes">
836 836 <include file-name="QTextBlock" location="global"/>
837 837
838 838 <modify-function signature="operator++()" access="private"/>
839 839 <modify-function signature="operator--()" access="private"/>
840 840 <modify-function signature="operator++(int)" remove="all"/>
841 841 <modify-function signature="operator--(int)" remove="all"/>
842 842 </value-type>
843 843
844 844 <value-type name="QAbstractTextDocumentLayout::PaintContext" delete-in-main-thread="yes">
845 845 <include file-name="QAbstractTextDocumentLayout" location="global"/>
846 846 </value-type>
847 847 <value-type name="QAbstractTextDocumentLayout::Selection" delete-in-main-thread="yes"/>
848 848
849 849 <value-type name="QPixmap" delete-in-main-thread="yes">
850 850 <modify-function signature="operator=(QPixmap)" remove="all"/>
851 851 <modify-function signature="operator!()const" remove="all"/>
852 852 <modify-function signature="QPixmap(const char **)" remove="all"/>
853 853 <modify-function signature="serialNumber()const" remove="all"/> <!--### Obsolete in 4.3-->
854 854
855 855 <modify-function signature="loadFromData(const uchar *,uint,const char *,QFlags&lt;Qt::ImageConversionFlag&gt;)" remove="all"/>
856 856
857 857 <modify-function signature="QPixmap(QString,const char*,QFlags&lt;Qt::ImageConversionFlag&gt;)">
858 858 <modify-argument index="2">
859 859 <replace-type modified-type="QString"/>
860 860 <conversion-rule class="native">
861 861 <insert-template name="core.convert_string_arg_to_char*"/>
862 862 </conversion-rule>
863 863 </modify-argument>
864 864 </modify-function>
865 865
866 866 <modify-function signature="load(QString,const char*,QFlags&lt;Qt::ImageConversionFlag&gt;)">
867 867 <modify-argument index="2">
868 868 <replace-type modified-type="QString"/>
869 869 <conversion-rule class="native">
870 870 <insert-template name="core.convert_string_arg_to_char*"/>
871 871 </conversion-rule>
872 872 </modify-argument>
873 873 </modify-function>
874 874
875 875 <modify-function signature="loadFromData(QByteArray,const char*,QFlags&lt;Qt::ImageConversionFlag&gt;)">
876 876 <modify-argument index="2">
877 877 <replace-type modified-type="QString"/>
878 878 <conversion-rule class="native">
879 879 <insert-template name="core.convert_string_arg_to_char*"/>
880 880 </conversion-rule>
881 881 </modify-argument>
882 882 </modify-function>
883 883
884 884 <modify-function signature="save(QIODevice*,const char*,int)const">
885 885 <modify-argument index="2">
886 886 <replace-type modified-type="QString"/>
887 887 <conversion-rule class="native">
888 888 <insert-template name="core.convert_string_arg_to_char*"/>
889 889 </conversion-rule>
890 890 </modify-argument>
891 891 </modify-function>
892 892
893 893 <modify-function signature="save(QString,const char*,int)const">
894 894 <modify-argument index="2">
895 895 <replace-type modified-type="QString"/>
896 896 <conversion-rule class="native">
897 897 <insert-template name="core.convert_string_arg_to_char*"/>
898 898 </conversion-rule>
899 899 </modify-argument>
900 900 </modify-function>
901 901 </value-type>
902 902
903 903 <value-type name="QTextCursor" delete-in-main-thread="yes">
904 904 <extra-includes>
905 905 <include file-name="QTextBlock" location="global"/>
906 906 <include file-name="QTextDocumentFragment" location="global"/>
907 907 </extra-includes>
908 908 <modify-function signature="operator=(QTextCursor)" remove="all"/>
909 909 <modify-function signature="selectedTableCells(int*,int*,int*,int*)const">
910 910 <access modifier="private"/>
911 911 </modify-function>
912 912 </value-type>
913 913
914 914 <value-type name="QTextLayout::FormatRange">
915 915 <include file-name="QTextLayout" location="global"/>
916 916 </value-type>
917 917
918 918 <value-type name="QInputMethodEvent::Attribute">
919 919 <include file-name="QInputMethodEvent" location="global"/>
920 920 <custom-constructor>
921 921 return new QInputMethodEvent::Attribute(copy-&gt;type, copy-&gt;start, copy-&gt;length, copy-&gt;value);
922 922 </custom-constructor>
923 923 <custom-destructor>
924 924 delete copy;
925 925 </custom-destructor>
926 926 </value-type>
927 927
928 928 <value-type name="QItemSelection" delete-in-main-thread="yes">
929 929
930 930 <modify-function signature="operator+(const QList&lt;QItemSelectionRange&gt;&amp;)const" remove="all"/>
931 931 <modify-function signature="operator+=(const QList&lt;QItemSelectionRange&gt;&amp;)" remove="all"/>
932 932 <modify-function signature="operator+=(const QItemSelectionRange&amp;)" remove="all"/>
933 933 <modify-function signature="operator&lt;&lt;(const QList&lt;QItemSelectionRange&gt;&amp;)" remove="all"/>
934 934 <modify-function signature="operator&lt;&lt;(QItemSelectionRange)" remove="all"/>
935 935 </value-type>
936 936
937 937 <value-type name="QMatrix4x4">
938 938 <modify-function signature="data()const" remove="all"/>
939 939 <modify-function signature="operator()(int, int)const" remove="all"/>
940 940 </value-type>
941 941 <value-type name="QMatrix">
942 942 <extra-includes>
943 943 <include file-name="QPainterPath" location="global"/>
944 944 </extra-includes>
945 945
946 946 <modify-function signature="map(int,int,int*,int*)const" remove="all"/>
947 947 <modify-function signature="map(double,double,double*,double*)const" remove="all"/>
948 948 <modify-function signature="operator=(QMatrix)" remove="all"/>
949 949
950 950 <modify-function signature="operator*(QMatrix)const" access="private"/>
951 951 <modify-function signature="operator*=(QMatrix)" access="private"/>
952 952 <modify-function signature="rotate(double)" access="private" rename="rotate_private"/>
953 953 <modify-function signature="scale(double,double)" access="private" rename="scale_private"/>
954 954 <modify-function signature="shear(double,double)" access="private" rename="shear_private"/>
955 955 <modify-function signature="translate(double,double)" access="private" rename="translate_private"/>
956 956
957 957 <modify-function signature="inverted(bool*)const">
958 958 <access modifier="private"/>
959 959 <modify-argument index="1">
960 960 <remove-default-expression/>
961 961 </modify-argument>
962 962 </modify-function>
963 963
964 964 <inject-code>
965 965 <insert-template name="core.unary_other_type">
966 966 <replace from="%FUNCTION_NAME" to="rotate"/>
967 967 <replace from="%OUT_TYPE" to="QMatrix"/>
968 968 <replace from="%IN_TYPE" to="double"/>
969 969 </insert-template>
970 970
971 971 <insert-template name="core.private_function_return_self">
972 972 <replace from="%RETURN_TYPE" to="QMatrix"/>
973 973 <replace from="%FUNCTION_NAME" to="scale"/>
974 974 <replace from="%ARGUMENTS" to="double sx, double sy"/>
975 975 <replace from="%ARGUMENT_NAMES" to="sx, sy"/>
976 976 </insert-template>
977 977
978 978 <insert-template name="core.private_function_return_self">
979 979 <replace from="%RETURN_TYPE" to="QMatrix"/>
980 980 <replace from="%FUNCTION_NAME" to="shear"/>
981 981 <replace from="%ARGUMENTS" to="double sh, double sv"/>
982 982 <replace from="%ARGUMENT_NAMES" to="sh, sv"/>
983 983 </insert-template>
984 984
985 985 <insert-template name="core.private_function_return_self">
986 986 <replace from="%RETURN_TYPE" to="QMatrix"/>
987 987 <replace from="%FUNCTION_NAME" to="translate"/>
988 988 <replace from="%ARGUMENTS" to="double dx, double dy"/>
989 989 <replace from="%ARGUMENT_NAMES" to="dx, dy"/>
990 990 </insert-template>
991 991 </inject-code>
992 992
993 993 <modify-function signature="inverted(bool*)const">
994 994 <modify-argument index="1">
995 995 <remove-argument/>
996 996 </modify-argument>
997 997 </modify-function>
998 998 </value-type>
999 999
1000 1000 <value-type name="QConicalGradient" polymorphic-id-expression="%1-&gt;type() == QGradient::ConicalGradient">
1001 1001 <custom-constructor>
1002 1002 return new QConicalGradient(copy-&gt;center(), copy-&gt;angle());
1003 1003 </custom-constructor>
1004 1004 <custom-destructor>
1005 1005 delete copy;
1006 1006 </custom-destructor>
1007 1007 </value-type>
1008 1008
1009 1009 <value-type name="QFontInfo" delete-in-main-thread="yes" expense-cost="1" expense-limit="1000">
1010 1010 <custom-constructor>
1011 1011 return new QFontInfo(*copy);
1012 1012 </custom-constructor>
1013 1013 <custom-destructor>
1014 1014 delete copy;
1015 1015 </custom-destructor>
1016 1016 <modify-function signature="operator=(QFontInfo)" remove="all"/>
1017 1017
1018 1018
1019 1019 <modify-function signature="QFontInfo(QFontInfo)">
1020 1020 <modify-argument index="1">
1021 1021 <replace-type modified-type="QFontInfo*"/>
1022 1022 <conversion-rule class="native">
1023 1023 QFontInfo &amp; %out% = *qscriptvalue_cast&lt;QFontInfo*&gt;(%in%);
1024 1024 </conversion-rule>
1025 1025 </modify-argument>
1026 1026 </modify-function>
1027 1027 </value-type>
1028 1028
1029 1029 <value-type name="QRadialGradient" polymorphic-id-expression="%1-&gt;type() == QGradient::RadialGradient">
1030 1030 <custom-constructor>
1031 1031 return new QRadialGradient(copy-&gt;center(), copy-&gt;radius(), copy-&gt;focalPoint());
1032 1032 </custom-constructor>
1033 1033 <custom-destructor>
1034 1034 delete copy;
1035 1035 </custom-destructor>
1036 1036 </value-type>
1037 1037
1038 1038 <value-type name="QPainterPath::Element">
1039 1039 <modify-field name="x" write="false"/>
1040 1040 <modify-field name="y" write="false"/>
1041 1041 <modify-field name="type" write="false"/>
1042 1042 <include file-name="QPainterPath" location="global"/>
1043 1043 <modify-function signature="operator QPointF()const" access="private"/>
1044 1044 </value-type>
1045 1045
1046 1046 <value-type name="QTextEdit::ExtraSelection" delete-in-main-thread="yes">
1047 1047 <include file-name="QTextEdit" location="global"/>
1048 1048 </value-type>
1049 1049
1050 1050 <value-type name="QFont" delete-in-main-thread="yes" expense-cost="1" expense-limit="1000">
1051 1051 <extra-includes>
1052 1052 <include file-name="QStringList" location="global"/>
1053 1053 </extra-includes>
1054 1054 <modify-function signature="operator=(QFont)" remove="all"/>
1055 1055 </value-type>
1056 1056
1057 1057 <value-type name="QTextTableCell" delete-in-main-thread="yes">
1058 1058 <extra-includes>
1059 1059 <include file-name="QTextCursor" location="global"/>
1060 1060 </extra-includes>
1061 1061 <modify-function signature="operator=(QTextTableCell)" remove="all"/>
1062 1062 </value-type>
1063 1063
1064 1064 <value-type name="QImage" expense-limit="67108864" expense-cost="height()*bytesPerLine()">
1065 1065 <modify-function signature="QImage(const char *, const char *)">
1066 1066 <remove/>
1067 1067 </modify-function>
1068 1068 <modify-function signature="QImage(const char **)">
1069 1069 <access modifier="private"/>
1070 1070 </modify-function>
1071 1071 <modify-function signature="QImage(const unsigned char*,int,int,int,QImage::Format)">
1072 1072 <remove/>
1073 1073 </modify-function>
1074 1074 <modify-function signature="bits()const">
1075 1075 <remove/>
1076 1076 </modify-function>
1077 1077 <modify-function signature="scanLine(int)const">
1078 1078 <remove/>
1079 1079 </modify-function>
1080 1080 <modify-function signature="QImage(const unsigned char *, int, int, QImage::Format)">
1081 1081 <remove/>
1082 1082 </modify-function>
1083 1083
1084 1084 <extra-includes>
1085 1085 <include file-name="QStringList" location="global"/>
1086 1086 <include file-name="QMatrix" location="global"/>
1087 1087 </extra-includes>
1088 1088 <modify-function signature="save(const QString &amp;, const char *, int) const">
1089 1089 <access modifier="private"/>
1090 1090 <rename to="private_save"/>
1091 1091 <modify-argument index="2">
1092 1092 <remove-default-expression/>
1093 1093 </modify-argument>
1094 1094 <modify-argument index="3">
1095 1095 <remove-default-expression/>
1096 1096 </modify-argument>
1097 1097 </modify-function>
1098 1098
1099 1099 <modify-function signature="QImage(unsigned char*,int,int,QImage::Format)">
1100 1100 <access modifier="private"/>
1101 1101 </modify-function>
1102 1102
1103 1103 <modify-function signature="QImage(QString,const char*)">
1104 1104 <access modifier="private"/>
1105 1105 <modify-argument index="2">
1106 1106 <remove-default-expression/>
1107 1107 </modify-argument>
1108 1108 </modify-function>
1109 1109
1110 1110 <modify-function signature="load(QString,const char*)">
1111 1111 <access modifier="private"/>
1112 1112 <modify-argument index="2">
1113 1113 <remove-default-expression/>
1114 1114 </modify-argument>
1115 1115 </modify-function>
1116 1116
1117 1117 <modify-function signature="load(QIODevice*,const char*)">
1118 1118 <access modifier="private"/>
1119 1119 </modify-function>
1120 1120
1121 1121 <modify-function signature="loadFromData(const unsigned char*,int,const char*)">
1122 1122 <access modifier="private"/>
1123 1123 <modify-argument index="2">
1124 1124 <remove-default-expression/>
1125 1125 </modify-argument>
1126 1126 <modify-argument index="3">
1127 1127 <remove-default-expression/>
1128 1128 </modify-argument>
1129 1129 </modify-function>
1130 1130
1131 1131 <modify-function signature="loadFromData(QByteArray,const char*)">
1132 1132 <access modifier="private"/>
1133 1133 <modify-argument index="2">
1134 1134 <remove-default-expression/>
1135 1135 </modify-argument>
1136 1136 </modify-function>
1137 1137
1138 1138 <modify-function signature="operator=(QImage)" remove="all"/>
1139 1139
1140 1140 <modify-function signature="setText(const char*,const char*,QString)">
1141 1141 <remove/>
1142 1142 </modify-function>
1143 1143
1144 1144 <modify-function signature="text(const char*,const char*)const">
1145 1145 <remove/>
1146 1146 </modify-function>
1147 1147
1148 1148 <modify-function signature="fromData(QByteArray,const char*)">
1149 1149 <access modifier="private"/>
1150 1150 <modify-argument index="2">
1151 1151 <remove-default-expression/>
1152 1152 </modify-argument>
1153 1153 </modify-function>
1154 1154
1155 1155 <modify-function signature="fromData(const unsigned char*,int,const char*)">
1156 1156 <remove/>
1157 1157 </modify-function>
1158 1158
1159 1159 <modify-function signature="serialNumber()const" remove="all"/> <!--### Obsolete in 4.3-->
1160 1160 <modify-function signature="textLanguages()const" remove="all"/> <!--### Obsolete in 4.3-->
1161 1161
1162 1162 <modify-function signature="QImage(const char**)" remove="all"/>
1163 1163 <modify-function signature="QImage(const uchar *,int,int,QImage::Format)" remove="all"/>
1164 1164 <modify-function signature="QImage(const uchar *,int,int,int,QImage::Format)" remove="all"/>
1165 1165 <modify-function signature="QImage(uchar *,int,int,QImage::Format)" remove="all"/>
1166 1166 <modify-function signature="QImage(uchar *,int,int,int,QImage::Format)" remove="all"/>
1167 1167 <modify-function signature="setColorTable(const QVector&lt;uint&gt;)" remove="all"/>
1168 1168 <modify-function signature="loadFromData(const uchar *,int,const char *)" remove="all"/>
1169 1169 <modify-function signature="fromData(const uchar *,int,const char *)" remove="all"/>
1170 1170 <modify-function signature="bits()" remove="all"/>
1171 1171 <modify-function signature="scanLine(int)" remove="all"/>
1172 1172
1173 1173 <modify-function signature="QImage(QString,const char*)">
1174 1174 <modify-argument index="2">
1175 1175 <replace-type modified-type="QString"/>
1176 1176 <conversion-rule class="native">
1177 1177 <insert-template name="core.convert_string_arg_to_char*"/>
1178 1178 </conversion-rule>
1179 1179 </modify-argument>
1180 1180 </modify-function>
1181 1181
1182 1182 <modify-function signature="fromData(QByteArray,const char*)">
1183 1183 <modify-argument index="2">
1184 1184 <replace-type modified-type="QString"/>
1185 1185 <conversion-rule class="native">
1186 1186 <insert-template name="core.convert_string_arg_to_char*"/>
1187 1187 </conversion-rule>
1188 1188 </modify-argument>
1189 1189 </modify-function>
1190 1190
1191 1191 <modify-function signature="load(QString,const char*)">
1192 1192 <modify-argument index="2">
1193 1193 <replace-type modified-type="QString"/>
1194 1194 <conversion-rule class="native">
1195 1195 <insert-template name="core.convert_string_arg_to_char*"/>
1196 1196 </conversion-rule>
1197 1197 </modify-argument>
1198 1198 </modify-function>
1199 1199
1200 1200 <modify-function signature="load(QIODevice*,const char*)">
1201 1201 <modify-argument index="2">
1202 1202 <replace-type modified-type="QString"/>
1203 1203 <conversion-rule class="native">
1204 1204 <insert-template name="core.convert_string_arg_to_char*"/>
1205 1205 </conversion-rule>
1206 1206 </modify-argument>
1207 1207 </modify-function>
1208 1208
1209 1209 <modify-function signature="loadFromData(QByteArray,const char*)">
1210 1210 <modify-argument index="2">
1211 1211 <replace-type modified-type="QString"/>
1212 1212 <conversion-rule class="native">
1213 1213 <insert-template name="core.convert_string_arg_to_char*"/>
1214 1214 </conversion-rule>
1215 1215 </modify-argument>
1216 1216 </modify-function>
1217 1217
1218 1218 <modify-function signature="save(QString,const char*,int)const">
1219 1219 <modify-argument index="2">
1220 1220 <replace-type modified-type="QString"/>
1221 1221 <conversion-rule class="native">
1222 1222 <insert-template name="core.convert_string_arg_to_char*"/>
1223 1223 </conversion-rule>
1224 1224 </modify-argument>
1225 1225 </modify-function>
1226 1226
1227 1227 <modify-function signature="save(QIODevice*,const char*,int)const">
1228 1228 <modify-argument index="2">
1229 1229 <replace-type modified-type="QString"/>
1230 1230 <conversion-rule class="native">
1231 1231 <insert-template name="core.convert_string_arg_to_char*"/>
1232 1232 </conversion-rule>
1233 1233 </modify-argument>
1234 1234 </modify-function>
1235 1235
1236 1236 </value-type>
1237 1237
1238 1238 <value-type name="QColormap" delete-in-main-thread="yes">
1239 1239 <modify-function signature="operator=(QColormap)" remove="all"/>
1240 1240 <extra-includes>
1241 1241 <include file-name="QColor" location="global"/>
1242 1242 </extra-includes>
1243 1243 <custom-constructor>
1244 1244 return new QColormap(*copy);
1245 1245 </custom-constructor>
1246 1246 <custom-destructor>
1247 1247 delete copy;
1248 1248 </custom-destructor>
1249 1249 </value-type>
1250 1250
1251 1251 <value-type name="QCursor" delete-in-main-thread="yes">
1252 1252 <extra-includes>
1253 1253 <include file-name="QPixmap" location="global"/>
1254 1254 </extra-includes>
1255 1255 <modify-function signature="operator=(QCursor)" remove="all"/>
1256 1256 </value-type>
1257 1257
1258 1258 <value-type name="QFontDatabase" delete-in-main-thread="yes">
1259 1259 <extra-includes>
1260 1260 <include file-name="QStringList" location="global"/>
1261 1261 </extra-includes>
1262 1262 </value-type>
1263 1263
1264 1264 <value-type name="QPen">
1265 1265 <extra-includes>
1266 1266 <include file-name="QBrush" location="global"/>
1267 1267 </extra-includes>
1268 1268
1269 1269 <modify-function signature="operator=(QPen)" remove="all"/>
1270 1270 </value-type>
1271 1271
1272 1272 <value-type name="QBrush">
1273 1273 <modify-function signature="QBrush(Qt::GlobalColor, Qt::BrushStyle)" remove="all"/>
1274 1274 <modify-function signature="operator=(const QBrush &amp;)" remove="all"/>
1275 1275
1276 1276 <extra-includes>
1277 1277 <include file-name="QPixmap" location="global"/>
1278 1278 </extra-includes>
1279 1279
1280 1280 <modify-function signature="QBrush(QGradient)">
1281 1281 <modify-argument index="1">
1282 1282 <replace-type modified-type="QGradient*"/>
1283 1283 <conversion-rule class="native">
1284 1284 QGradient &amp; %out% = *qscriptvalue_cast&lt;QGradient*&gt;(%in%);
1285 1285 </conversion-rule>
1286 1286 </modify-argument>
1287 1287 </modify-function>
1288 1288 </value-type>
1289 1289
1290 1290 <value-type name="QColor">
1291 1291 <modify-function signature="QColor(QColor::Spec)" remove="all"/>
1292 1292 <modify-function signature="operator=(QColor)" remove="all"/>
1293 1293 <modify-function signature="operator=(Qt::GlobalColor)" remove="all"/>
1294 1294
1295 1295 <modify-function signature="QColor(const char*)">
1296 1296 <remove/>
1297 1297 </modify-function>
1298 1298
1299 1299 <modify-function signature="getCmyk(int*,int*,int*,int*,int*)">
1300 1300 <remove/>
1301 1301 </modify-function>
1302 1302
1303 1303 <modify-function signature="getCmykF(double*,double*,double*,double*,double*)">
1304 1304 <remove/>
1305 1305 </modify-function>
1306 1306
1307 1307 <modify-function signature="getHsv(int*,int*,int*,int*)const">
1308 1308 <remove/>
1309 1309 </modify-function>
1310 1310
1311 1311 <modify-function signature="getHsvF(double*,double*,double*,double*)const">
1312 1312 <remove/>
1313 1313 </modify-function>
1314 1314
1315 1315 <modify-function signature="getRgb(int*,int*,int*,int*)const">
1316 1316 <remove/>
1317 1317 </modify-function>
1318 1318
1319 1319 <modify-function signature="getRgbF(double*,double*,double*,double*)const">
1320 1320 <remove/>
1321 1321 </modify-function>
1322 1322
1323 1323 <modify-function signature="dark(int)const" remove="all"/> <!--### Obsolete in 4.3-->
1324 1324 <modify-function signature="light(int)const" remove="all"/> <!--### Obsolete in 4.3-->
1325 1325 </value-type>
1326 1326
1327 1327 <value-type name="QFontMetricsF" delete-in-main-thread="yes" expense-cost="1" expense-limit="1000">
1328 1328 <custom-constructor>
1329 1329 return new QFontMetricsF(*copy);
1330 1330 </custom-constructor>
1331 1331 <custom-destructor>
1332 1332 delete copy;
1333 1333 </custom-destructor>
1334 1334 <modify-function signature="operator!=(const QFontMetricsF &amp;)">
1335 1335 <remove/>
1336 1336 </modify-function>
1337 1337 <modify-function signature="operator==(const QFontMetricsF &amp;)">
1338 1338 <remove/>
1339 1339 </modify-function>
1340 1340
1341 1341 <modify-function signature="boundingRect(QRectF,int,QString,int,int*)const">
1342 1342 <access modifier="private"/>
1343 1343 <modify-argument index="4">
1344 1344 <remove-default-expression/>
1345 1345 </modify-argument>
1346 1346 <modify-argument index="5">
1347 1347 <remove-default-expression/>
1348 1348 </modify-argument>
1349 1349 </modify-function>
1350 1350
1351 1351 <modify-function signature="operator=(QFontMetrics)" remove="all"/>
1352 1352 <modify-function signature="operator=(QFontMetricsF)" remove="all"/>
1353 1353
1354 1354 <modify-function signature="size(int,QString,int,int*)const">
1355 1355 <access modifier="private"/>
1356 1356 <modify-argument index="3">
1357 1357 <remove-default-expression/>
1358 1358 </modify-argument>
1359 1359 <modify-argument index="4">
1360 1360 <remove-default-expression/>
1361 1361 </modify-argument>
1362 1362 </modify-function>
1363 1363
1364 1364 <modify-function signature="QFontMetricsF(QFontMetricsF)" remove="all"/>
1365 1365 <modify-function signature="QFontMetricsF(QFontMetrics)" remove="all"/>
1366 1366 <modify-function signature="operator==(QFontMetricsF)const" remove="all"/>
1367 1367 <modify-function signature="operator!=(QFontMetricsF)const" remove="all"/>
1368 1368 </value-type>
1369 1369 <value-type name="QTextOption::Tab"/>
1370 1370
1371 1371 <value-type name="QFontMetrics" delete-in-main-thread="yes" expense-cost="1" expense-limit="1000">
1372 1372 <custom-constructor>
1373 1373 return new QFontMetrics(*copy);
1374 1374 </custom-constructor>
1375 1375 <custom-destructor>
1376 1376 delete copy;
1377 1377 </custom-destructor>
1378 1378 <modify-function signature="operator!=(const QFontMetrics &amp;)">
1379 1379 <remove/>
1380 1380 </modify-function>
1381 1381 <modify-function signature="operator==(const QFontMetrics &amp;)">
1382 1382 <remove/>
1383 1383 </modify-function>
1384 1384
1385 1385 <modify-function signature="boundingRect(int,int,int,int,int,QString,int,int*)const">
1386 1386 <access modifier="private"/>
1387 1387 <modify-argument index="7">
1388 1388 <remove-default-expression/>
1389 1389 </modify-argument>
1390 1390 <modify-argument index="8">
1391 1391 <remove-default-expression/>
1392 1392 </modify-argument>
1393 1393 </modify-function>
1394 1394
1395 1395 <modify-function signature="boundingRect(QRect,int,QString,int,int*)const">
1396 1396 <access modifier="private"/>
1397 1397 <modify-argument index="4">
1398 1398 <remove-default-expression/>
1399 1399 </modify-argument>
1400 1400 <modify-argument index="5">
1401 1401 <remove-default-expression/>
1402 1402 </modify-argument>
1403 1403 </modify-function>
1404 1404
1405 1405 <modify-function signature="operator=(QFontMetrics)" remove="all"/>
1406 1406
1407 1407 <modify-function signature="size(int,QString,int,int*)const">
1408 1408 <access modifier="private"/>
1409 1409 <modify-argument index="3">
1410 1410 <remove-default-expression/>
1411 1411 </modify-argument>
1412 1412 <modify-argument index="4">
1413 1413 <remove-default-expression/>
1414 1414 </modify-argument>
1415 1415 </modify-function>
1416 1416
1417 1417
1418 1418 <modify-function signature="QFontMetrics(QFontMetrics)" remove="all"/>
1419 1419 <modify-function signature="operator==(QFontMetrics)const" remove="all"/>
1420 1420 <modify-function signature="operator!=(QFontMetrics)const" remove="all"/>
1421 1421 </value-type>
1422 1422
1423 1423 <value-type name="QGradient" force-abstract="yes" polymorphic-base="yes" polymorphic-id-expression="%1-&gt;type() == QGradient::NoGradient">
1424 1424 <custom-constructor>
1425 1425 Q_UNUSED(copy)
1426 1426 qWarning("Copying empty QGradient object");
1427 1427 return new QGradient();
1428 1428 </custom-constructor>
1429 1429 <custom-destructor>
1430 1430 delete copy;
1431 1431 </custom-destructor>
1432 1432 <modify-function signature="operator==(const QGradient &amp;)">
1433 1433 <remove/>
1434 1434 </modify-function>
1435 1435 </value-type>
1436 1436
1437 1437 <value-type name="QLinearGradient" polymorphic-id-expression="%1-&gt;type() == QGradient::LinearGradient">
1438 1438 <custom-constructor>
1439 1439 QLinearGradient *lg = new QLinearGradient(copy-&gt;start(), copy-&gt;finalStop());
1440 1440 lg-&gt;setSpread(copy-&gt;spread());
1441 1441 lg-&gt;setStops(copy-&gt;stops());
1442 1442 return (void *) lg;
1443 1443 </custom-constructor>
1444 1444 <custom-destructor>
1445 1445 delete copy;
1446 1446 </custom-destructor>
1447 1447 </value-type>
1448 1448
1449 1449 <value-type name="QPrinterInfo">
1450 1450 <modify-function signature="operator=(const QPrinterInfo &amp;)" remove="all"/>
1451 1451 </value-type>
1452 1452
1453 1453 <value-type name="QMargins"/>
1454 1454
1455 1455 <interface-type name="QLayoutItem"/>
1456 1456 <interface-type name="QPaintDevice"/>
1457 1457
1458 <interface-type name="QGraphicsItem" delete-in-main-thread="yes">
1458 <interface-type name="QGraphicsItem" delete-in-main-thread="yes" polymorphic-base="yes">
1459 1459 <modify-function signature="setCursorForItemOnly(QCursor)" remove="all"/>
1460 1460
1461 1461 <modify-function signature="setMatrix(QMatrix, bool)" remove="all"/>
1462 1462 <modify-function signature="toGraphicsObject() const" remove="all"/>
1463 1463
1464 1464 <modify-function signature="paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*)">
1465 1465 <modify-argument index="1" invalidate-after-use="yes"/>
1466 1466 </modify-function>
1467 1467 <modify-function signature="collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode)const">
1468 1468 <modify-argument index="1" invalidate-after-use="yes"/>
1469 1469 </modify-function>
1470 1470
1471 1471 <modify-function signature="contextMenuEvent(QGraphicsSceneContextMenuEvent*)">
1472 1472 <modify-argument index="1" invalidate-after-use="yes"/>
1473 1473 </modify-function>
1474 1474 <modify-function signature="dragEnterEvent(QGraphicsSceneDragDropEvent*)">
1475 1475 <modify-argument index="1" invalidate-after-use="yes"/>
1476 1476 </modify-function>
1477 1477 <modify-function signature="dragLeaveEvent(QGraphicsSceneDragDropEvent*)">
1478 1478 <modify-argument index="1" invalidate-after-use="yes"/>
1479 1479 </modify-function>
1480 1480 <modify-function signature="dragMoveEvent(QGraphicsSceneDragDropEvent*)">
1481 1481 <modify-argument index="1" invalidate-after-use="yes"/>
1482 1482 </modify-function>
1483 1483 <modify-function signature="dropEvent(QGraphicsSceneDragDropEvent*)">
1484 1484 <modify-argument index="1" invalidate-after-use="yes"/>
1485 1485 </modify-function>
1486 1486 <modify-function signature="focusInEvent(QFocusEvent*)">
1487 1487 <modify-argument index="1" invalidate-after-use="yes"/>
1488 1488 </modify-function>
1489 1489 <modify-function signature="focusOutEvent(QFocusEvent*)">
1490 1490 <modify-argument index="1" invalidate-after-use="yes"/>
1491 1491 </modify-function>
1492 1492 <modify-function signature="hoverEnterEvent(QGraphicsSceneHoverEvent*)">
1493 1493 <modify-argument index="1" invalidate-after-use="yes"/>
1494 1494 </modify-function>
1495 1495 <modify-function signature="hoverLeaveEvent(QGraphicsSceneHoverEvent*)">
1496 1496 <modify-argument index="1" invalidate-after-use="yes"/>
1497 1497 </modify-function>
1498 1498 <modify-function signature="hoverMoveEvent(QGraphicsSceneHoverEvent*)">
1499 1499 <modify-argument index="1" invalidate-after-use="yes"/>
1500 1500 </modify-function>
1501 1501 <modify-function signature="inputMethodEvent(QInputMethodEvent*)">
1502 1502 <modify-argument index="1" invalidate-after-use="yes"/>
1503 1503 </modify-function>
1504 1504 <modify-function signature="isObscuredBy(const QGraphicsItem*)const">
1505 1505 <modify-argument index="1" invalidate-after-use="yes"/>
1506 1506 </modify-function>
1507 1507 <modify-function signature="keyPressEvent(QKeyEvent*)">
1508 1508 <modify-argument index="1" invalidate-after-use="yes"/>
1509 1509 </modify-function>
1510 1510 <modify-function signature="keyReleaseEvent(QKeyEvent*)">
1511 1511 <modify-argument index="1" invalidate-after-use="yes"/>
1512 1512 </modify-function>
1513 1513 <modify-function signature="mouseDoubleClickEvent(QGraphicsSceneMouseEvent*)">
1514 1514 <modify-argument index="1" invalidate-after-use="yes"/>
1515 1515 </modify-function>
1516 1516 <modify-function signature="mouseMoveEvent(QGraphicsSceneMouseEvent*)">
1517 1517 <modify-argument index="1" invalidate-after-use="yes"/>
1518 1518 </modify-function>
1519 1519 <modify-function signature="mousePressEvent(QGraphicsSceneMouseEvent*)">
1520 1520 <modify-argument index="1" invalidate-after-use="yes"/>
1521 1521 </modify-function>
1522 1522 <modify-function signature="mouseReleaseEvent(QGraphicsSceneMouseEvent*)">
1523 1523 <modify-argument index="1" invalidate-after-use="yes"/>
1524 1524 </modify-function>
1525 1525 <modify-function signature="sceneEvent(QEvent*)">
1526 1526 <modify-argument index="1" invalidate-after-use="yes"/>
1527 1527 </modify-function>
1528 1528 <modify-function signature="sceneEventFilter(QGraphicsItem*,QEvent*)">
1529 1529 <modify-argument index="1" invalidate-after-use="yes"/>
1530 1530 <modify-argument index="2" invalidate-after-use="yes"/>
1531 1531 </modify-function>
1532 1532 <modify-function signature="wheelEvent(QGraphicsSceneWheelEvent*)">
1533 1533 <modify-argument index="1" invalidate-after-use="yes"/>
1534 1534 </modify-function>
1535 1535
1536 1536 <modify-function signature="children()const" remove="all"/>
1537 1537 <modify-function signature="installSceneEventFilter(QGraphicsItem *)">
1538 1538 <modify-argument index="1">
1539 1539 <!-- Safe to ignore because items in a scene are memory managed by the scene -->
1540 1540 <reference-count action="ignore"/>
1541 1541 </modify-argument>
1542 1542 </modify-function>
1543 1543 <modify-function signature="removeSceneEventFilter(QGraphicsItem *)">
1544 1544 <modify-argument index="1">
1545 1545 <!-- Safe to ignore because items in a scene are memory managed by the scene -->
1546 1546 <reference-count action="ignore"/>
1547 1547 </modify-argument>
1548 1548 </modify-function>
1549 1549
1550 1550 <modify-function signature="matrix()const" remove="all"/> <!--### Obsolete in 4.3-->
1551 1551 <modify-function signature="resetMatrix()" remove="all"/> <!--### Obsolete in 4.3-->
1552 1552 <modify-function signature="sceneMatrix()const" remove="all"/> <!--### Obsolete in 4.3-->
1553 1553 <modify-function signature="setMatrix(QMatrix, bool)" remove="all"/> <!--### Obsolete in 4.3-->
1554 1554
1555 1555 <modify-function signature="supportsExtension(QGraphicsItem::Extension)const" remove="all"/>
1556 1556 <modify-function signature="setExtension(QGraphicsItem::Extension,QVariant)" remove="all"/>
1557 1557 </interface-type>
1558 1558
1559 1559 <object-type name="QAbstractGraphicsShapeItem" delete-in-main-thread="yes">
1560 1560 <modify-function signature="QAbstractGraphicsShapeItem(QGraphicsItem*,QGraphicsScene*)">
1561 1561 <inject-code position="end">
1562 1562 <argument-map index="1" meta-name="%1"/>
1563 1563 if (%1 != null) disableGarbageCollection();
1564 1564 </inject-code>
1565 1565 </modify-function>
1566 1566
1567 1567 <modify-function signature="matrix()const" remove="all"/> <!--### Obsolete in 4.3-->
1568 1568 <modify-function signature="resetMatrix()" remove="all"/> <!--### Obsolete in 4.3-->
1569 1569 <modify-function signature="sceneMatrix()const" remove="all"/> <!--### Obsolete in 4.3-->
1570 1570 <modify-function signature="setMatrix(QMatrix, bool)" remove="all"/> <!--### Obsolete in 4.3-->
1571 1571 </object-type>
1572 1572
1573 1573 <object-type name="QAbstractItemView">
1574 1574 <modify-function signature="update()" remove="all"/>
1575 1575 <modify-function signature="horizontalStepsPerItem()const" remove="all"/> <!--### Obsolete in 4.3-->
1576 1576 <modify-function signature="setHorizontalStepsPerItem(int)" remove="all"/> <!--### Obsolete in 4.3-->
1577 1577 <modify-function signature="setVerticalStepsPerItem(int)" remove="all"/> <!--### Obsolete in 4.3-->
1578 1578 <modify-function signature="verticalStepsPerItem()const" remove="all"/> <!--### Obsolete in 4.3-->
1579 1579
1580 1580 <modify-function signature="edit(QModelIndex,QAbstractItemView::EditTrigger,QEvent*)">
1581 1581 <modify-argument index="3" invalidate-after-use="yes"/>
1582 1582 </modify-function>
1583 1583 <modify-function signature="selectionCommand(QModelIndex,const QEvent*)const">
1584 1584 <modify-argument index="2" invalidate-after-use="yes"/>
1585 1585 </modify-function>
1586 1586
1587 1587
1588 1588 <!-- ### because the CursorAction enum is protected -->
1589 1589 <modify-function signature="moveCursor(QAbstractItemView::CursorAction,QFlags&lt;Qt::KeyboardModifier&gt;)" remove="all"/>
1590 1590 <inject-code class="shell-declaration">
1591 1591 QModelIndex moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)
1592 1592 { return QModelIndex(); }
1593 1593 </inject-code>
1594 1594 </object-type>
1595 1595
1596 1596 <object-type name="QAbstractPageSetupDialog"/>
1597 1597 <object-type name="QAbstractPrintDialog"/>
1598 1598 <object-type name="QAbstractSlider">
1599 1599 <modify-function signature="sliderChange(QAbstractSlider::SliderChange)" remove="all"/>
1600 1600 </object-type>
1601 1601 <object-type name="QAbstractTextDocumentLayout">
1602 1602 <modify-function signature="setPaintDevice(QPaintDevice*)">
1603 1603 <modify-argument index="1">
1604 1604 <reference-count action="set" variable-name="__rcPaintDevice"/>
1605 1605 </modify-argument>
1606 1606 </modify-function>
1607 1607
1608 1608 <modify-function signature="draw(QPainter*,QAbstractTextDocumentLayout::PaintContext)">
1609 1609 <modify-argument index="1" invalidate-after-use="yes"/>
1610 1610 </modify-function>
1611 1611 <modify-function signature="drawInlineObject(QPainter*,QRectF,QTextInlineObject,int,QTextFormat)">
1612 1612 <modify-argument index="1" invalidate-after-use="yes"/>
1613 1613 </modify-function>
1614 1614
1615 1615 </object-type>
1616 1616 <object-type name="QAccessible">
1617 1617 <modify-function signature="initialize()" remove="all"/>
1618 1618 <modify-function signature="cleanup()" remove="all"/>
1619 1619 <modify-function signature="setRootObject(QObject *)">
1620 1620 <modify-argument index="1">
1621 1621 <reference-count action="ignore"/>
1622 1622 </modify-argument>
1623 1623 </modify-function>
1624 1624 <modify-function signature="queryAccessibleInterface(QObject *)">
1625 1625 <modify-argument index="return">
1626 1626 <define-ownership class="java" owner="java"/>
1627 1627 </modify-argument>
1628 1628 </modify-function>
1629 1629 </object-type>
1630 1630 <object-type name="QAccessibleBridge">
1631 1631 <modify-function signature="setRootObject(QAccessibleInterface *)">
1632 1632 <modify-argument index="1">
1633 1633 <define-ownership class="shell" owner="java"/>
1634 1634 </modify-argument>
1635 1635 </modify-function>
1636 1636 <modify-function signature="notifyAccessibilityUpdate(int,QAccessibleInterface*,int)">
1637 1637 <modify-argument invalidate-after-use="yes" index="2"/>
1638 1638 </modify-function>
1639 1639 </object-type>
1640 1640 <object-type name="QAccessible2Interface"/>
1641 1641 <object-type name="QAccessibleTableInterface">
1642 1642 <modify-function signature="qAccessibleTableCastHelper()" remove="all"/>
1643 1643 </object-type>
1644 1644
1645 1645 <object-type name="QAccessibleInterface">
1646 1646 <modify-function signature="indexOfChild(const QAccessibleInterface*)const">
1647 1647 <modify-argument invalidate-after-use="yes" index="1"/>
1648 1648 </modify-function>
1649 1649 <modify-function signature="relationTo(int,const QAccessibleInterface*,int)const">
1650 1650 <modify-argument invalidate-after-use="yes" index="2"/>
1651 1651 </modify-function>
1652 1652 </object-type>
1653 1653 <object-type name="QAccessibleInterfaceEx"/>
1654 1654 <object-type name="QAccessibleObject"/>
1655 1655 <object-type name="QAccessibleObjectEx"/>
1656 1656 <object-type name="QAccessibleWidget"/>
1657 1657 <object-type name="QAccessibleWidgetEx"/>
1658 1658 <object-type name="QActionGroup"/>
1659 1659 <object-type name="QCDEStyle">
1660 1660 <modify-function signature="standardIconImplementation(QStyle::StandardPixmap, const QStyleOption *, const QWidget *)const" virtual-slot="yes"/>
1661 1661 </object-type>
1662 1662 <object-type name="QCheckBox">
1663 1663 <modify-function signature="initStyleOption(QStyleOptionButton*)const">
1664 1664 <access modifier="private"/>
1665 1665 </modify-function>
1666 1666 </object-type>
1667 1667 <object-type name="QCleanlooksStyle">
1668 1668 <modify-function signature="standardPixmap(QStyle::StandardPixmap,const QStyleOption*,const QWidget*)const" remove="all"/> <!--### Obsolete in 4.3-->
1669 1669 <modify-function signature="standardIconImplementation(QStyle::StandardPixmap, const QStyleOption *, const QWidget *)const" virtual-slot="yes"/>
1670 1670 </object-type>
1671 1671 <object-type name="QCommonStyle">
1672 1672 <modify-function signature="standardPixmap(QStyle::StandardPixmap, const QStyleOption*,const QWidget*)const" remove="all"/> <!--### Obsolete in 4.3-->
1673 1673 <modify-function signature="standardIconImplementation(QStyle::StandardPixmap, const QStyleOption *, const QWidget *)const" virtual-slot="yes"/>
1674 1674 </object-type>
1675 1675 <object-type name="QDataWidgetMapper">
1676 1676 <modify-function signature="addMapping(QWidget*,int)">
1677 1677 <modify-argument index="1">
1678 1678 <reference-count action="add" variable-name="__rcMappings"/>
1679 1679 </modify-argument>
1680 1680 </modify-function>
1681 1681 <modify-function signature="addMapping(QWidget*,int,QByteArray)">
1682 1682 <modify-argument index="1">
1683 1683 <reference-count action="add" variable-name="__rcMappings"/>
1684 1684 </modify-argument>
1685 1685 </modify-function>
1686 1686 <modify-function signature="removeMapping(QWidget*)">
1687 1687 <modify-argument index="1">
1688 1688 <reference-count action="remove" variable-name="__rcMappings"/>
1689 1689 </modify-argument>
1690 1690 </modify-function>
1691 1691 <modify-function signature="setItemDelegate(QAbstractItemDelegate*)">
1692 1692 <modify-argument index="1">
1693 1693 <reference-count action="set" variable-name="__rcItemDelegate"/>
1694 1694 </modify-argument>
1695 1695 </modify-function>
1696 1696 <modify-function signature="setModel(QAbstractItemModel*)">
1697 1697 <modify-argument index="1">
1698 1698 <reference-count action="set" variable-name="__rcModel"/>
1699 1699 </modify-argument>
1700 1700 </modify-function>
1701 1701 </object-type>
1702 1702 <object-type name="QDateEdit"/>
1703 1703 <object-type name="QDesktopServices">
1704 1704 <modify-function signature="setUrlHandler(const QString &amp;, QObject *, const char *)" access="private">
1705 1705 <modify-argument index="2">
1706 1706 <reference-count action="ignore"/> <!-- Handled in injected code -->
1707 1707 </modify-argument>
1708 1708 </modify-function>
1709 1709 </object-type>
1710 1710 <object-type name="QDialog">
1711 1711 <modify-function signature="setExtension(QWidget*)" remove="all"/>
1712 1712 <modify-function signature="exec()" access="non-final"/>
1713 1713 <modify-function signature="extension()const" remove="all"/> <!--### Obsolete in 4.3-->
1714 1714 <modify-function signature="orientation()const" remove="all"/> <!--### Obsolete in 4.3-->
1715 1715 <modify-function signature="open()" virtual-slot="yes"/>
1716 1716 <modify-function signature="setOrientation(Qt::Orientation)" remove="all"/> <!--### Obsolete in 4.3-->
1717 1717 <modify-function signature="showExtension(bool)" remove="all"/> <!--### Obsolete in 4.3-->
1718 1718 <modify-function signature="setVisible(bool)" allow-as-slot="yes"/>
1719 1719 </object-type>
1720 1720 <object-type name="QDialogButtonBox">
1721 1721 <modify-function signature="addButton(QAbstractButton*,QDialogButtonBox::ButtonRole)">
1722 1722 <modify-argument index="1">
1723 1723 <reference-count action="ignore"/>
1724 1724 </modify-argument>
1725 1725 </modify-function>
1726 1726 <modify-function signature="removeButton(QAbstractButton*)">
1727 1727 <modify-argument index="1">
1728 1728 <reference-count action="ignore"/>
1729 1729 </modify-argument>
1730 1730 </modify-function>
1731 1731 </object-type>
1732 1732 <object-type name="QDirModel">
1733 1733 <modify-function signature="parent()const" remove="all"/>
1734 1734 <modify-function signature="setIconProvider(QFileIconProvider*)">
1735 1735 <modify-argument index="1">
1736 1736 <reference-count action="set" variable-name="__rcIconProvider"/>
1737 1737 </modify-argument>
1738 1738 </modify-function>
1739 1739 </object-type>
1740 1740 <object-type name="QDoubleValidator"/>
1741 1741 <object-type name="QFileIconProvider"/>
1742 1742 <object-type name="QWizard">
1743 1743 <!-- ### Requires correct class name in meta object -->
1744 1744 <modify-function signature="setDefaultProperty(const char *, const char *, const char *)" remove="all"/>
1745 1745 <modify-function signature="addPage(QWizardPage*)">
1746 1746 <modify-argument index="1">
1747 1747 <no-null-pointer/>
1748 1748 <reference-count action="ignore"/>
1749 1749 </modify-argument>
1750 1750 </modify-function>
1751 1751 <modify-function signature="setButton(QWizard::WizardButton,QAbstractButton*)">
1752 1752 <modify-argument index="1">
1753 1753 <reference-count action="ignore"/>
1754 1754 </modify-argument>
1755 1755 </modify-function>
1756 1756 <modify-function signature="setPage(int,QWizardPage*)">
1757 1757 <modify-argument index="2">
1758 1758 <no-null-pointer/>
1759 1759 <reference-count action="ignore"/>
1760 1760 </modify-argument>
1761 1761 </modify-function>
1762 1762
1763 1763 </object-type>
1764 1764 <object-type name="QWizardPage">
1765 1765 <!-- ### Reduced functionality due to meta object having missing information -->
1766 1766 <modify-function signature="registerField(const QString &amp;, QWidget *, const char *, const char *)">
1767 1767 <access modifier="private"/>
1768 1768 <modify-argument index="3">
1769 1769 <remove-default-expression/>
1770 1770 </modify-argument>
1771 1771 <modify-argument index="4">
1772 1772 <remove-default-expression/>
1773 1773 </modify-argument>
1774 1774 </modify-function>
1775 1775
1776 1776 </object-type>
1777 1777 <object-type name="QFocusFrame">
1778 1778 <modify-function signature="initStyleOption(QStyleOption*)const">
1779 1779 <access modifier="private"/>
1780 1780 </modify-function>
1781 1781 <modify-function signature="setWidget(QWidget*)">
1782 1782 <modify-argument index="1">
1783 1783 <reference-count action="set" variable-name="__rcWidget"/>
1784 1784 </modify-argument>
1785 1785 </modify-function>
1786 1786 <inject-code>
1787 1787 <insert-template name="gui.init_style_option">
1788 1788 <replace from="%TYPE" to="QStyleOption"/>
1789 1789 </insert-template>
1790 1790 </inject-code>
1791 1791 </object-type>
1792 1792 <object-type name="QFontComboBox"/>
1793 1793 <object-type name="QFontDialog">
1794 1794 <inject-code class="native" position="beginning">
1795 1795 Q_DECLARE_METATYPE(QScriptValue)
1796 1796 </inject-code>
1797 1797 <modify-function signature="getFont(bool*,QWidget*)">
1798 1798 <modify-argument index="1">
1799 1799 <remove-argument/>
1800 1800 <conversion-rule class="native">
1801 1801 <insert-template name="core.prepare_removed_bool*_argument"/>
1802 1802 </conversion-rule>
1803 1803 </modify-argument>
1804 1804 <modify-argument index="return">
1805 1805 <conversion-rule class="native">
1806 1806 <insert-template name="core.convert_to_null_or_wrap"/>
1807 1807 </conversion-rule>
1808 1808 </modify-argument>
1809 1809 </modify-function>
1810 1810
1811 1811 <modify-function signature="getFont(bool*,QFont,QWidget*)">
1812 1812 <modify-argument index="1">
1813 1813 <remove-argument/>
1814 1814 <conversion-rule class="native">
1815 1815 <insert-template name="core.prepare_removed_bool*_argument"/>
1816 1816 </conversion-rule>
1817 1817 </modify-argument>
1818 1818 <modify-argument index="return">
1819 1819 <conversion-rule class="native">
1820 1820 <insert-template name="core.convert_to_null_or_wrap"/>
1821 1821 </conversion-rule>
1822 1822 </modify-argument>
1823 1823 </modify-function>
1824 1824
1825 1825 <modify-function signature="getFont(bool*,QFont,QWidget*,QString)">
1826 1826 <modify-argument index="1">
1827 1827 <remove-argument/>
1828 1828 <conversion-rule class="native">
1829 1829 <insert-template name="core.prepare_removed_bool*_argument"/>
1830 1830 </conversion-rule>
1831 1831 </modify-argument>
1832 1832 <modify-argument index="return">
1833 1833 <conversion-rule class="native">
1834 1834 <insert-template name="core.convert_to_null_or_wrap"/>
1835 1835 </conversion-rule>
1836 1836 </modify-argument>
1837 1837 </modify-function>
1838 1838 </object-type>
1839 1839
1840 <object-type name="QGraphicsEllipseItem" delete-in-main-thread="yes"/>
1840 <object-type name="QGraphicsEllipseItem" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type() == QGraphicsEllipseItem::Type" />
1841 1841 <object-type name="QGraphicsItemAnimation">
1842 1842 <modify-function signature="setItem(QGraphicsItem*)">
1843 1843 <modify-argument index="1">
1844 1844 <reference-count action="set" variable-name="__rcItem"/>
1845 1845 </modify-argument>
1846 1846 </modify-function>
1847 1847 <modify-function signature="setTimeLine(QTimeLine*)">
1848 1848 <modify-argument index="1">
1849 1849 <reference-count action="set" variable-name="__rcTimeLine"/>
1850 1850 </modify-argument>
1851 1851 </modify-function>
1852 1852
1853 1853 <extra-includes>
1854 1854 <include file-name="QPair" location="global"/>
1855 1855 </extra-includes>
1856 1856 </object-type>
1857 <object-type name="QGraphicsItemGroup" delete-in-main-thread="yes">
1857 <object-type name="QGraphicsItemGroup" delete-in-main-thread="yes"
1858 polymorphic-id-expression="%1-&gt;type() == QGraphicsItemGroup::Type">
1858 1859 <modify-function signature="matrix()const" remove="all"/> <!--### Obsolete in 4.3-->
1859 1860 <modify-function signature="resetMatrix()" remove="all"/> <!--### Obsolete in 4.3-->
1860 1861 <modify-function signature="sceneMatrix()const" remove="all"/> <!--### Obsolete in 4.3-->
1861 1862 <modify-function signature="setMatrix(QMatrix, bool)" remove="all"/> <!--### Obsolete in 4.3-->
1862 1863 </object-type>
1863 <object-type name="QGraphicsLineItem" delete-in-main-thread="yes">
1864 <object-type name="QGraphicsLineItem" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type() == QGraphicsLineItem::Type">
1864 1865 <modify-function signature="matrix()const" remove="all"/> <!--### Obsolete in 4.3-->
1865 1866 <modify-function signature="resetMatrix()" remove="all"/> <!--### Obsolete in 4.3-->
1866 1867 <modify-function signature="sceneMatrix()const" remove="all"/> <!--### Obsolete in 4.3-->
1867 1868 <modify-function signature="setMatrix(QMatrix, bool)" remove="all"/> <!--### Obsolete in 4.3-->
1868 1869 </object-type>
1869 <object-type name="QGraphicsPathItem" delete-in-main-thread="yes"/>
1870 <object-type name="QGraphicsPathItem" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type() == QGraphicsPathItem::Type"/>
1870 1871
1871 <object-type name="QGraphicsPixmapItem" delete-in-main-thread="yes">
1872 <object-type name="QGraphicsPixmapItem" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type() == QGraphicsPixmapItem::Type">
1872 1873 <modify-function signature="matrix()const" remove="all"/> <!--### Obsolete in 4.3-->
1873 1874 <modify-function signature="resetMatrix()" remove="all"/> <!--### Obsolete in 4.3-->
1874 1875 <modify-function signature="sceneMatrix()const" remove="all"/> <!--### Obsolete in 4.3-->
1875 1876 <modify-function signature="setMatrix(QMatrix, bool)" remove="all"/> <!--### Obsolete in 4.3-->
1876 1877 </object-type>
1877 <object-type name="QGraphicsPolygonItem" delete-in-main-thread="yes"/>
1878 <object-type name="QGraphicsRectItem" delete-in-main-thread="yes"/>
1879 <object-type name="QGraphicsSimpleTextItem" delete-in-main-thread="yes"/>
1878 <object-type name="QGraphicsPolygonItem" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type() == QGraphicsPolygonItem::Type"/>
1879 <object-type name="QGraphicsRectItem" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type() == QGraphicsRectItem::Type"/>
1880 <object-type name="QGraphicsSimpleTextItem" delete-in-main-thread="yes" polymorphic-id-expression="%1-&gt;type() == QGraphicsSimpleTextItem::Type"/>
1880 1881 <object-type name="QHBoxLayout"/>
1881 1882 <object-type name="QHeaderView">
1882 1883 <modify-function signature="initStyleOption(QStyleOptionHeader*)const">
1883 1884 <access modifier="private"/>
1884 1885 </modify-function>
1885 1886
1886 1887 <modify-function signature="paintSection(QPainter*,QRect,int)const">
1887 1888 <modify-argument index="1" invalidate-after-use="yes"/>
1888 1889 </modify-function>
1889 1890
1890 1891 <inject-code>
1891 1892 <insert-template name="gui.init_style_option">
1892 1893 <replace from="%TYPE" to="QStyleOptionHeader"/>
1893 1894 </insert-template>
1894 1895 </inject-code>
1895 1896 <modify-function signature="setModel(QAbstractItemModel*)">
1896 1897 <modify-argument index="1">
1897 1898 <reference-count declare-variable="QAbstractItemView" action="set" variable-name="__rcModel"/>
1898 1899 </modify-argument>
1899 1900 </modify-function>
1900 1901 </object-type>
1901 1902 <object-type name="QIconEngine">
1902 1903 <modify-function signature="paint(QPainter*,QRect,QIcon::Mode,QIcon::State)">
1903 1904 <modify-argument index="1" invalidate-after-use="yes"/>
1904 1905 </modify-function>
1905 1906 </object-type>
1906 1907 <object-type name="QIconEngineV2">
1907 1908 <modify-function signature="read(QDataStream&amp;)">
1908 1909 <modify-argument index="1" invalidate-after-use="yes"/>
1909 1910 </modify-function>
1910 1911 <modify-function signature="write(QDataStream&amp;)const">
1911 1912 <modify-argument index="1" invalidate-after-use="yes"/>
1912 1913 </modify-function>
1913 1914
1914 1915 <modify-function signature="virtual_hook(int,void*)" remove="all"/>
1915 1916 <modify-function signature="clone()const">
1916 1917 <modify-argument index="return">
1917 1918 <define-ownership class="shell" owner="c++"/>
1918 1919 </modify-argument>
1919 1920 </modify-function>
1920 1921 </object-type>
1921 1922 <object-type name="QImageWriter">
1922 1923 <modify-function signature="setDevice(QIODevice*)">
1923 1924 <modify-argument index="1">
1924 1925 <reference-count action="set" variable-name="__rcDevice"/>
1925 1926 </modify-argument>
1926 1927 </modify-function>
1927 1928 <modify-function signature="description()const" remove="all"/> <!--### Obsolete in 4.3-->
1928 1929 <modify-function signature="setDescription(QString)" remove="all"/> <!--### Obsolete in 4.3-->
1929 1930 </object-type>
1930 1931 <object-type name="QInputContextFactory"/>
1931 1932 <object-type name="QIntValidator"/>
1932 1933 <object-type name="QItemDelegate">
1933 1934 <modify-function signature="doLayout(QStyleOptionViewItem,QRect*,QRect*,QRect*,bool)const">
1934 1935 <remove/>
1935 1936 </modify-function>
1936 1937
1937 1938 <modify-function signature="drawCheck(QPainter*,QStyleOptionViewItem,QRect,Qt::CheckState)const">
1938 1939 <modify-argument index="1" invalidate-after-use="yes"/>
1939 1940 </modify-function>
1940 1941 <modify-function signature="drawDecoration(QPainter*,QStyleOptionViewItem,QRect,QPixmap)const">
1941 1942 <modify-argument index="1" invalidate-after-use="yes"/>
1942 1943 </modify-function>
1943 1944 <modify-function signature="drawDisplay(QPainter*,QStyleOptionViewItem,QRect,QString)const">
1944 1945 <modify-argument index="1" invalidate-after-use="yes"/>
1945 1946 </modify-function>
1946 1947 <modify-function signature="drawFocus(QPainter*,QStyleOptionViewItem,QRect)const">
1947 1948 <modify-argument index="1" invalidate-after-use="yes"/>
1948 1949 </modify-function>
1949 1950
1950 1951
1951 1952 <modify-function signature="selected(QPixmap,QPalette,bool)const">
1952 1953 <remove/>
1953 1954 </modify-function>
1954 1955 <modify-function signature="setItemEditorFactory(QItemEditorFactory*)">
1955 1956 <modify-argument index="1">
1956 1957 <reference-count action="set" variable-name="__rcItemEditorFactory"/>
1957 1958 </modify-argument>
1958 1959 </modify-function>
1959 1960 <modify-function signature="setEditorData(QWidget*,QModelIndex)const">
1960 1961 <modify-argument index="1">
1961 1962 <reference-count action="ignore"/>
1962 1963 </modify-argument>
1963 1964 </modify-function>
1964 1965 <modify-function signature="setModelData(QWidget*,QAbstractItemModel*,QModelIndex)const">
1965 1966 <modify-argument index="1">
1966 1967 <reference-count action="ignore"/>
1967 1968 </modify-argument>
1968 1969 </modify-function>
1969 1970
1970 1971 </object-type>
1971 1972 <object-type name="QItemEditorCreatorBase"/>
1972 1973 <object-type name="QItemEditorFactory">
1973 1974 <modify-function signature="registerEditor(QVariant::Type, QItemEditorCreatorBase *)">
1974 1975 <modify-argument index="2">
1975 1976 <define-ownership class="java" owner="c++"/>
1976 1977 </modify-argument>
1977 1978 </modify-function>
1978 1979 <modify-function signature="setDefaultFactory(QItemEditorFactory *)">
1979 1980 <modify-argument index="1">
1980 1981 <reference-count action="set" variable-name="__rcDefaultItemEditorFactory"/>
1981 1982 </modify-argument>
1982 1983 </modify-function>
1983 1984 </object-type>
1984 1985 <object-type name="QItemSelectionModel"/>
1985 1986 <object-type name="QTreeModel"/>
1986 1987 <object-type name="QListView"/>
1987 1988 <object-type name="QColumnView">
1988 1989 <modify-function signature="setPreviewWidget(QWidget*)">
1989 1990 <modify-argument index="1">
1990 1991 <reference-count action="ignore"/>
1991 1992 </modify-argument>
1992 1993 </modify-function>
1993 1994 <modify-function signature="setModel(QAbstractItemModel*)">
1994 1995 <modify-argument index="1">
1995 1996 <reference-count declare-variable="QAbstractItemView" action="set" variable-name="__rcItemModel"/>
1996 1997 </modify-argument>
1997 1998 </modify-function>
1998 1999 <modify-function signature="setSelectionModel(QItemSelectionModel*)">
1999 2000 <modify-argument index="1">
2000 2001 <no-null-pointer/>
2001 2002 <reference-count declare-variable="QAbstractItemView" action="set" variable-name="__rcItemSelectionModel"/>
2002 2003 </modify-argument>
2003 2004 </modify-function>
2004 2005 </object-type>
2005 2006 <object-type name="QMainWindow">
2006 2007 <modify-function signature="addDockWidget(Qt::DockWidgetArea,QDockWidget*,Qt::Orientation)">
2007 2008 <modify-argument index="2">
2008 2009 <reference-count action="ignore"/>
2009 2010 </modify-argument>
2010 2011 </modify-function>
2011 2012 <modify-function signature="addDockWidget(Qt::DockWidgetArea,QDockWidget*)">
2012 2013 <modify-argument index="2">
2013 2014 <reference-count action="ignore"/>
2014 2015 </modify-argument>
2015 2016 </modify-function>
2016 2017 <modify-function signature="addToolBar(QToolBar*)">
2017 2018 <modify-argument index="1">
2018 2019 <reference-count action="ignore"/>
2019 2020 </modify-argument>
2020 2021 </modify-function>
2021 2022 <modify-function signature="addToolBar(Qt::ToolBarArea,QToolBar*)">
2022 2023 <modify-argument index="2">
2023 2024 <reference-count action="ignore"/>
2024 2025 </modify-argument>
2025 2026 </modify-function>
2026 2027 <modify-function signature="insertToolBar(QToolBar*,QToolBar*)">
2027 2028 <modify-argument index="2">
2028 2029 <reference-count action="ignore"/>
2029 2030 </modify-argument>
2030 2031 <modify-argument index="2">
2031 2032 <reference-count action="ignore"/>
2032 2033 </modify-argument>
2033 2034 </modify-function>
2034 2035 <modify-function signature="insertToolBarBreak(QToolBar*)">
2035 2036 <modify-argument index="1">
2036 2037 <reference-count action="ignore"/>
2037 2038 </modify-argument>
2038 2039 </modify-function>
2039 2040 <modify-function signature="removeDockWidget(QDockWidget*)">
2040 2041 <modify-argument index="1">
2041 2042 <reference-count action="ignore"/>
2042 2043 </modify-argument>
2043 2044 </modify-function>
2044 2045 <modify-function signature="removeToolBar(QToolBar*)">
2045 2046 <modify-argument index="1">
2046 2047 <reference-count action="ignore"/>
2047 2048 </modify-argument>
2048 2049 </modify-function>
2049 2050 <modify-function signature="removeToolBarBreak(QToolBar*)">
2050 2051 <modify-argument index="1">
2051 2052 <reference-count action="ignore"/>
2052 2053 </modify-argument>
2053 2054 </modify-function>
2054 2055 <modify-function signature="setCentralWidget(QWidget*)">
2055 2056 <modify-argument index="1">
2056 2057 <reference-count action="ignore"/>
2057 2058 </modify-argument>
2058 2059 </modify-function>
2059 2060 <modify-function signature="setMenuBar(QMenuBar*)">
2060 2061 <modify-argument index="1">
2061 2062 <reference-count action="ignore"/>
2062 2063 </modify-argument>
2063 2064 </modify-function>
2064 2065 <modify-function signature="setMenuWidget(QWidget*)">
2065 2066 <modify-argument index="1">
2066 2067 <reference-count action="ignore"/>
2067 2068 </modify-argument>
2068 2069 </modify-function>
2069 2070 <modify-function signature="setStatusBar(QStatusBar*)">
2070 2071 <modify-argument index="1">
2071 2072 <reference-count action="ignore"/>
2072 2073 </modify-argument>
2073 2074 </modify-function>
2074 2075
2075 2076 </object-type>
2076 2077 <object-type name="QMdiArea">
2077 2078 <modify-function signature="addSubWindow(QWidget*,QFlags&lt;Qt::WindowType&gt;)">
2078 2079 <modify-argument index="1">
2079 2080 <reference-count action="ignore"/>
2080 2081 </modify-argument>
2081 2082 </modify-function>
2082 2083
2083 2084 <modify-function signature="removeSubWindow(QWidget*)">
2084 2085 <modify-argument index="1">
2085 2086 <reference-count action="ignore"/>
2086 2087 </modify-argument>
2087 2088 </modify-function>
2088 2089
2089 2090 <modify-function signature="setActiveSubWindow(QMdiSubWindow*)">
2090 2091 <modify-argument index="1">
2091 2092 <reference-count action="ignore"/>
2092 2093 </modify-argument>
2093 2094 </modify-function>
2094 2095
2095 2096 <modify-function signature="setupViewport(QWidget*)">
2096 2097 <modify-argument index="1">
2097 2098 <reference-count action="ignore"/>
2098 2099 </modify-argument>
2099 2100 </modify-function>
2100 2101
2101 2102 </object-type>
2102 2103 <object-type name="QMdiSubWindow">
2103 2104 <modify-function signature="setSystemMenu(QMenu*)">
2104 2105 <modify-argument index="1">
2105 2106 <reference-count action="ignore"/>
2106 2107 </modify-argument>
2107 2108 </modify-function>
2108 2109 <modify-function signature="setWidget(QWidget*)">
2109 2110 <modify-argument index="1">
2110 2111 <reference-count action="ignore"/>
2111 2112 </modify-argument>
2112 2113 </modify-function>
2113 2114 </object-type>
2114 2115 <object-type name="QMenu">
2115 2116 <modify-function signature="insertSeparator(QAction*)">
2116 2117 <modify-argument index="1">
2117 2118 <reference-count action="ignore"/>
2118 2119 </modify-argument>
2119 2120 </modify-function>
2120 2121 <modify-function signature="setActiveAction(QAction*)">
2121 2122 <modify-argument index="1">
2122 2123 <reference-count action="ignore"/>
2123 2124 </modify-argument>
2124 2125 </modify-function>
2125 2126 <modify-function signature="setDefaultAction(QAction*)">
2126 2127 <modify-argument index="1">
2127 2128 <reference-count action="ignore"/>
2128 2129 </modify-argument>
2129 2130 </modify-function>
2130 2131 <modify-function signature="setNoReplayFor(QWidget*)">
2131 2132 <remove/>
2132 2133 </modify-function>
2133 2134
2134 2135 <inject-code class="pywrap-h">
2135 2136 QAction* addAction (QMenu* menu, const QString &amp; text, PyObject* callable, const QKeySequence &amp; shortcut = 0) {
2136 2137 QAction* a = menu-&gt;addAction(text);
2137 2138 a-&gt;setShortcut(shortcut);
2138 2139 PythonQt::self()-&gt;addSignalHandler(a, SIGNAL(triggered(bool)), callable);
2139 2140 return a;
2140 2141 }
2141 2142
2142 2143 QAction* addAction (QMenu* menu, const QIcon&amp; icon, const QString&amp; text, PyObject* callable, const QKeySequence&amp; shortcut = 0)
2143 2144 {
2144 2145 QAction* a = menu-&gt;addAction(text);
2145 2146 a-&gt;setIcon(icon);
2146 2147 a-&gt;setShortcut(shortcut);
2147 2148 PythonQt::self()-&gt;addSignalHandler(a, SIGNAL(triggered(bool)), callable);
2148 2149 return a;
2149 2150 }
2150 2151 </inject-code>
2151 2152 </object-type>
2152 2153
2153 2154 <object-type name="QMenuBar">
2154 2155
2155 2156 <modify-function signature="setActiveAction(QAction*)">
2156 2157 <modify-argument index="1">
2157 2158 <reference-count action="ignore"/>
2158 2159 </modify-argument>
2159 2160 </modify-function>
2160 2161 <modify-function signature="setCornerWidget(QWidget*,Qt::Corner) ">
2161 2162 <modify-argument index="1">
2162 2163 <reference-count action="ignore"/>
2163 2164 </modify-argument>
2164 2165 </modify-function>
2165 2166
2166 2167 <inject-code class="pywrap-h">
2167 2168 QAction* addAction (QMenuBar* menu, const QString &amp; text, PyObject* callable)
2168 2169 {
2169 2170 QAction* a = menu-&gt;addAction(text);
2170 2171 PythonQt::self()-&gt;addSignalHandler(a, SIGNAL(triggered(bool)), callable);
2171 2172 return a;
2172 2173 }
2173 2174 </inject-code>
2174 2175 </object-type>
2175 2176 <object-type name="QMotifStyle">
2176 2177 <modify-function signature="standardPixmap(QStyle::StandardPixmap, const QStyleOption*, const QWidget*)const" remove="all"/> <!--### Obsolete in 4.3-->
2177 2178 <modify-function signature="standardIconImplementation(QStyle::StandardPixmap, const QStyleOption *, const QWidget *)const" virtual-slot="yes"/>
2178 2179 </object-type>
2179 2180 <object-type name="QPainterPathStroker"/>
2180 2181
2181 2182 <object-type name="QPictureIO">
2182 2183 <modify-function signature="QPictureIO(QIODevice*,const char*)">
2183 2184 <access modifier="private"/>
2184 2185 <modify-argument index="1">
2185 2186 <reference-count action="set" variable-name="__rcDevice"/>
2186 2187 </modify-argument>
2187 2188 </modify-function>
2188 2189
2189 2190 <modify-function signature="setIODevice(QIODevice*)">
2190 2191 <modify-argument index="1">
2191 2192 <reference-count action="set" variable-name="__rcDevice"/>
2192 2193 </modify-argument>
2193 2194 </modify-function>
2194 2195
2195 2196 <modify-function signature="QPictureIO(QString,const char*)">
2196 2197 <access modifier="private"/>
2197 2198 </modify-function>
2198 2199
2199 2200 <modify-function signature="format()const">
2200 2201 <access modifier="private"/>
2201 2202 <rename to="format_private"/>
2202 2203 </modify-function>
2203 2204
2204 2205 <modify-function signature="parameters()const">
2205 2206 <access modifier="private"/>
2206 2207 <rename to="parameters_private"/>
2207 2208 </modify-function>
2208 2209
2209 2210 <modify-function signature="setFormat(const char*)">
2210 2211 <access modifier="private"/>
2211 2212 </modify-function>
2212 2213
2213 2214 <modify-function signature="setParameters(const char*)">
2214 2215 <access modifier="private"/>
2215 2216 </modify-function>
2216 2217
2217 2218
2218 2219 <modify-function signature="QPictureIO(QIODevice*,const char*)">
2219 2220 <modify-argument index="2">
2220 2221 <replace-type modified-type="QString"/>
2221 2222 <conversion-rule class="native">
2222 2223 <insert-template name="core.convert_string_arg_to_char*"/>
2223 2224 </conversion-rule>
2224 2225 </modify-argument>
2225 2226 </modify-function>
2226 2227
2227 2228 <modify-function signature="QPictureIO(QString,const char*)">
2228 2229 <modify-argument index="2">
2229 2230 <replace-type modified-type="QString"/>
2230 2231 <conversion-rule class="native">
2231 2232 <insert-template name="core.convert_string_arg_to_char*"/>
2232 2233 </conversion-rule>
2233 2234 </modify-argument>
2234 2235 </modify-function>
2235 2236
2236 2237 <modify-function signature="setFormat(const char*)">
2237 2238 <modify-argument index="1">
2238 2239 <replace-type modified-type="QString"/>
2239 2240 <conversion-rule class="native">
2240 2241 <insert-template name="core.convert_string_arg_to_char*"/>
2241 2242 </conversion-rule>
2242 2243 </modify-argument>
2243 2244 </modify-function>
2244 2245
2245 2246 <modify-function signature="setParameters(const char*)">
2246 2247 <modify-argument index="1">
2247 2248 <replace-type modified-type="QString"/>
2248 2249 <conversion-rule class="native">
2249 2250 <insert-template name="core.convert_string_arg_to_char*"/>
2250 2251 </conversion-rule>
2251 2252 </modify-argument>
2252 2253 </modify-function>
2253 2254 </object-type>
2254 2255
2255 2256 <object-type name="QPixmapCache">
2256 2257 <modify-function signature="find(QString)">
2257 2258 <remove/>
2258 2259 </modify-function>
2259 2260 <modify-function signature="find(QString,QPixmap*)" remove="all"/>
2260 2261
2261 2262 <modify-function signature="find(QString,QPixmap&amp;)">
2262 2263 <access modifier="private"/>
2263 2264 </modify-function>
2264 2265 </object-type>
2265 2266 <object-type name="QPlastiqueStyle">
2266 2267 <modify-function signature="standardPixmap(QStyle::StandardPixmap, const QStyleOption*, const QWidget*)const" remove="all"/> <!--### Obsolete in 4.3-->
2267 2268 <modify-function signature="standardIconImplementation(QStyle::StandardPixmap, const QStyleOption *, const QWidget *)const" virtual-slot="yes"/>
2268 2269 <modify-function signature="layoutSpacingImplementation(QSizePolicy::ControlType, QSizePolicy::ControlType, Qt::Orientation, const QStyleOption *, const QWidget *) const" virtual-slot="yes"/>
2269 2270 </object-type>
2270 2271 <object-type name="QPrintDialog">
2271 2272 </object-type>
2272 2273 <object-type name="QPrintEngine"/>
2273 2274 <object-type name="QProgressBar">
2274 2275 <modify-function signature="initStyleOption(QStyleOptionProgressBar*)const">
2275 2276 <access modifier="private"/>
2276 2277 </modify-function>
2277 2278 </object-type>
2278 2279 <object-type name="QPushButton">
2279 2280 <modify-function signature="initStyleOption(QStyleOptionButton*)const">
2280 2281 <access modifier="private"/>
2281 2282 </modify-function>
2282 2283
2283 2284 <modify-function signature="setMenu(QMenu*)">
2284 2285 <modify-argument index="1">
2285 2286 <reference-count action="set" variable-name="__rcMenu"/>
2286 2287 </modify-argument>
2287 2288 </modify-function>
2288 2289 </object-type>
2289 2290 <object-type name="QRegExpValidator"/>
2290 2291 <object-type name="QScrollArea">
2291 2292 <modify-function signature="setWidget(QWidget*)">
2292 2293 <modify-argument index="1">
2293 2294 <reference-count action="ignore"/>
2294 2295 </modify-argument>
2295 2296 </modify-function>
2296 2297 </object-type>
2297 2298 <object-type name="QSessionManager"/>
2298 2299 <object-type name="QShortcut">
2299 2300 <modify-function signature="QShortcut(QKeySequence,QWidget*,const char*,const char*,Qt::ShortcutContext)">
2300 2301 <access modifier="private"/>
2301 2302 <modify-argument index="3">
2302 2303 <remove-default-expression/>
2303 2304 </modify-argument>
2304 2305 <modify-argument index="4">
2305 2306 <remove-default-expression/>
2306 2307 </modify-argument>
2307 2308 <modify-argument index="5">
2308 2309 <remove-default-expression/>
2309 2310 </modify-argument>
2310 2311 </modify-function>
2311 2312 </object-type>
2312 2313 <object-type name="QSizeGrip"/>
2313 2314 <object-type name="QSound"/>
2314 2315 <object-type name="QSpacerItem"/>
2315 2316 <object-type name="QStandardItem">
2316 2317 <modify-function signature="operator=(QStandardItem)" remove="all"/>
2317 2318 <modify-function signature="operator&lt;(QStandardItem)const">
2318 2319 <modify-argument index="1" invalidate-after-use="yes"/>
2319 2320 </modify-function>
2320 2321 <modify-function signature="read(QDataStream&amp;)">
2321 2322 <modify-argument index="1" invalidate-after-use="yes"/>
2322 2323 </modify-function>
2323 2324 <modify-function signature="write(QDataStream&amp;)const">
2324 2325 <modify-argument index="1" invalidate-after-use="yes"/>
2325 2326 </modify-function>
2326 2327
2327 2328
2328 2329 <modify-function signature="read(QDataStream &amp;)" remove="all"/>
2329 2330 <modify-function signature="write(QDataStream &amp;)const" remove="all"/>
2330 2331 <modify-function signature="operator=(QStandardItem)" remove="all"/>
2331 2332 <modify-function signature="operator&lt;(QStandardItem)const" remove="all"/>
2332 2333 </object-type>
2333 2334 <object-type name="QStatusBar">
2334 2335 <modify-function signature="addPermanentWidget(QWidget *, int)">
2335 2336 <modify-argument index="1">
2336 2337 <reference-count action="ignore"/>
2337 2338 </modify-argument>
2338 2339 </modify-function>
2339 2340 <modify-function signature="addWidget(QWidget *, int)">
2340 2341 <modify-argument index="1">
2341 2342 <reference-count action="ignore"/>
2342 2343 </modify-argument>
2343 2344 </modify-function>
2344 2345 <modify-function signature="removeWidget(QWidget *)">
2345 2346 <modify-argument index="1">
2346 2347 <reference-count action="ignore"/>
2347 2348 </modify-argument>
2348 2349 </modify-function>
2349 2350 <modify-function signature="insertPermanentWidget(int, QWidget *, int)">
2350 2351 <modify-argument index="2">
2351 2352 <reference-count action="ignore"/>
2352 2353 </modify-argument>
2353 2354 </modify-function>
2354 2355 <modify-function signature="insertWidget(int, QWidget *, int)">
2355 2356 <modify-argument index="2">
2356 2357 <reference-count action="ignore"/>
2357 2358 </modify-argument>
2358 2359 </modify-function>
2359 2360 </object-type>
2360 2361 <object-type name="QStringListModel"/>
2361 2362 <object-type name="QStyleFactory"/>
2362 2363 <object-type name="QStyleHintReturn"/>
2363 2364 <object-type name="QStyleHintReturnVariant"/>
2364 2365 <object-type name="QStyleHintReturnMask"/>
2365 2366 <object-type name="QStylePainter" delete-in-main-thread="yes"/>
2366 2367 <object-type name="QSyntaxHighlighter">
2367 2368 <modify-function signature="setCurrentBlockUserData(QTextBlockUserData*)">
2368 2369 <modify-argument index="1">
2369 2370 <define-ownership class="java" owner="c++"/>
2370 2371 </modify-argument>
2371 2372 </modify-function>
2372 2373 <modify-function signature="setDocument(QTextDocument*)">
2373 2374 <modify-argument index="1">
2374 2375 <reference-count action="set" variable-name="__rcDocument"/>
2375 2376 </modify-argument>
2376 2377 </modify-function>
2377 2378
2378 2379 </object-type>
2379 2380 <object-type name="QSystemTrayIcon">
2380 2381 <modify-function signature="setContextMenu(QMenu*)">
2381 2382 <modify-argument index="1">
2382 2383 <reference-count action="set" variable-name="__rcContextMenu"/>
2383 2384 </modify-argument>
2384 2385 </modify-function>
2385 2386 </object-type>
2386 2387 <object-type name="QTableView">
2387 2388 <modify-function signature="setHorizontalHeader(QHeaderView*)">
2388 2389 <modify-argument index="1">
2389 2390 <reference-count action="ignore"/>
2390 2391 </modify-argument>
2391 2392 </modify-function>
2392 2393 <modify-function signature="setVerticalHeader(QHeaderView*)">
2393 2394 <modify-argument index="1">
2394 2395 <reference-count action="ignore"/>
2395 2396 </modify-argument>
2396 2397 </modify-function>
2397 2398 <modify-function signature="setModel(QAbstractItemModel*)">
2398 2399 <modify-argument index="1">
2399 2400 <reference-count declare-variable="QAbstractItemView" action="set" variable-name="__rcItemModel"/>
2400 2401 </modify-argument>
2401 2402 </modify-function>
2402 2403 <modify-function signature="setSelectionModel(QItemSelectionModel*)">
2403 2404 <modify-argument index="1">
2404 2405 <no-null-pointer/>
2405 2406 <reference-count declare-variable="QAbstractItemView" action="set" variable-name="__rcItemSelectionModel"/>
2406 2407 </modify-argument>
2407 2408 </modify-function>
2408 2409
2409 2410 <modify-function signature="sortByColumn(int)" remove="all"/> <!--### Obsolete in 4.3-->
2410 2411 </object-type>
2411 2412 <object-type name="QTextBlockGroup" delete-in-main-thread="yes"/>
2412 2413 <object-type name="QTextBlockUserData" delete-in-main-thread="yes"/>
2413 2414 <object-type name="QTextItem" delete-in-main-thread="yes"/>
2414 2415 <object-type name="QTextList" delete-in-main-thread="yes">
2415 2416 <modify-function signature="format()const" rename="textListFormat"/>
2416 2417
2417 2418 <modify-function signature="isEmpty()const" remove="all"/> <!--### Obsolete in 4.3-->
2418 2419 </object-type>
2419 2420 <object-type name="QTextObject" delete-in-main-thread="yes"/>
2420 2421
2421 2422 <!-- The original QTextObjectInterface has been rejected and replaced by this, since the original
2422 2423 usage is based on an interface pattern we can't mimic in Java (our users can't implement our
2423 2424 interfaces.) The new class inherits both QObject and QTextObjectInterface, and can be extended
2424 2425 in Java to get a type that can properly be used with registerHandler() in
2425 2426 QAbstractTextDocumentLayout. -->
2426 2427 <object-type name="QtJambiTextObjectInterface" delete-in-main-thread="yes" java-name="QTextObjectInterface">
2427 2428 <modify-function signature="drawObject(QPainter*,QRectF,QTextDocument*,int,QTextFormat)">
2428 2429 <modify-argument index="1" invalidate-after-use="yes"/>
2429 2430 </modify-function>
2430 2431 </object-type>
2431 2432
2432 2433 <object-type name="QTimeEdit"/>
2433 2434 <object-type name="QToolBox">
2434 2435 <modify-function signature="addItem(QWidget*,QString)">
2435 2436 <modify-argument index="1">
2436 2437 <reference-count action="ignore"/>
2437 2438 </modify-argument>
2438 2439 </modify-function>
2439 2440 <modify-function signature="addItem(QWidget*,QIcon,QString)">
2440 2441 <modify-argument index="1">
2441 2442 <reference-count action="ignore"/>
2442 2443 </modify-argument>
2443 2444 </modify-function>
2444 2445 <modify-function signature="insertItem(int,QWidget*,QIcon,QString)">
2445 2446 <modify-argument index="2">
2446 2447 <reference-count action="ignore"/>
2447 2448 </modify-argument>
2448 2449 </modify-function>
2449 2450 <modify-function signature="insertItem(int,QWidget*,QString)">
2450 2451 <modify-argument index="2">
2451 2452 <reference-count action="ignore"/>
2452 2453 </modify-argument>
2453 2454 </modify-function>
2454 2455 <modify-function signature="setCurrentWidget(QWidget*) ">
2455 2456 <modify-argument index="1">
2456 2457 <reference-count action="ignore"/>
2457 2458 </modify-argument>
2458 2459 </modify-function>
2459 2460 </object-type>
2460 2461 <object-type name="QToolButton">
2461 2462 <modify-function signature="initStyleOption(QStyleOptionToolButton*)const">
2462 2463 <access modifier="private"/>
2463 2464 </modify-function>
2464 2465
2465 2466 <modify-function signature="setDefaultAction(QAction *)">
2466 2467 <modify-argument index="1">
2467 2468 <reference-count action="set" variable-name="__rcDefaultAction"/>
2468 2469 </modify-argument>
2469 2470 </modify-function>
2470 2471 <modify-function signature="setMenu(QMenu *)">
2471 2472 <modify-argument index="1">
2472 2473 <reference-count action="set" variable-name="__rcMenu"/>
2473 2474 </modify-argument>
2474 2475 </modify-function>
2475 2476 </object-type>
2476 2477 <object-type name="QToolTip"/>
2477 2478 <object-type name="QTreeView">
2478 2479
2479 2480 <modify-function signature="drawBranches(QPainter*,QRect,QModelIndex)const">
2480 2481 <modify-argument index="1" invalidate-after-use="yes"/>
2481 2482 </modify-function>
2482 2483 <modify-function signature="drawRow(QPainter*,QStyleOptionViewItem,QModelIndex)const">
2483 2484 <modify-argument index="1" invalidate-after-use="yes"/>
2484 2485 </modify-function>
2485 2486
2486 2487 <modify-function signature="setHeader(QHeaderView*)">
2487 2488 <modify-argument index="1">
2488 2489 <reference-count action="ignore"/>
2489 2490 </modify-argument>
2490 2491 </modify-function>
2491 2492 <modify-function signature="setModel(QAbstractItemModel*)">
2492 2493 <modify-argument index="1">
2493 2494 <reference-count declare-variable="QAbstractItemView" action="set" variable-name="__rcItemModel"/>
2494 2495 </modify-argument>
2495 2496 </modify-function>
2496 2497 <modify-function signature="setSelectionModel(QItemSelectionModel*)">
2497 2498 <modify-argument index="1">
2498 2499 <no-null-pointer/>
2499 2500 <reference-count declare-variable="QAbstractItemView" action="set" variable-name="__rcItemSelectionModel"/>
2500 2501 </modify-argument>
2501 2502 </modify-function>
2502 2503
2503 2504 <modify-function signature="sortByColumn(int)" remove="all"/> <!--### Obsolete in 4.3-->
2504 2505 </object-type>
2505 2506 <object-type name="QUndoCommand">
2506 2507 <modify-function signature="mergeWith(const QUndoCommand*)">
2507 2508 <modify-argument index="1" invalidate-after-use="yes"/>
2508 2509 </modify-function>
2509 2510 </object-type>
2510 2511 <object-type name="QUndoGroup">
2511 2512 <modify-function signature="addStack(QUndoStack*)">
2512 2513 <modify-argument index="1">
2513 2514 <reference-count action="add" variable-name="__rcStacks"/>
2514 2515 </modify-argument>
2515 2516 </modify-function>
2516 2517 <modify-function signature="removeStack(QUndoStack*)">
2517 2518 <modify-argument index="1">
2518 2519 <reference-count action="remove" variable-name="__rcStacks"/>
2519 2520 </modify-argument>
2520 2521 </modify-function>
2521 2522 <modify-function signature="setActiveStack(QUndoStack*)">
2522 2523 <modify-argument index="1">
2523 2524 <reference-count action="ignore"/>
2524 2525 </modify-argument>
2525 2526 </modify-function>
2526 2527 </object-type>
2527 2528
2528 2529 <object-type name="QUndoStack"/>
2529 2530
2530 2531 <object-type name="QUndoView">
2531 2532 <modify-function signature="setGroup(QUndoGroup *)">
2532 2533 <modify-argument index="1">
2533 2534 <reference-count action="set" variable-name="__rcGroupOrStack"/>
2534 2535 </modify-argument>
2535 2536 </modify-function>
2536 2537 <modify-function signature="setStack(QUndoStack *)">
2537 2538 <modify-argument index="1">
2538 2539 <reference-count action="set" variable-name="__rcGroupOrStack"/>
2539 2540 </modify-argument>
2540 2541 </modify-function>
2541 2542 <modify-function signature="QUndoView(QUndoGroup *,QWidget *)">
2542 2543 <modify-argument index="1">
2543 2544 <reference-count action="set" variable-name="__rcGroupOrStack"/>
2544 2545 </modify-argument>
2545 2546 </modify-function>
2546 2547 <modify-function signature="QUndoView(QUndoStack *,QWidget *)">
2547 2548 <modify-argument index="1">
2548 2549 <reference-count action="set" variable-name="__rcGroupOrStack"/>
2549 2550 </modify-argument>
2550 2551 </modify-function>
2551 2552 </object-type>
2552 2553 <object-type name="QVBoxLayout"/>
2553 2554 <object-type name="QValidator"/>
2554 2555 <object-type name="QWhatsThis"/>
2555 2556 <object-type name="QWidgetAction">
2556 2557 <modify-function signature="createWidget(QWidget*)">
2557 2558 <modify-argument index="return">
2558 2559 <define-ownership class="shell" owner="c++"/>
2559 2560 </modify-argument>
2560 2561 </modify-function>
2561 2562 </object-type>
2562 2563 <object-type name="QWidgetItem"/>
2563 2564 <object-type name="QWindowsStyle">
2564 2565 <modify-function signature="standardPixmap(QStyle::StandardPixmap, const QStyleOption*, const QWidget*)const" remove="all"/> <!--### Obsolete in 4.3-->
2565 2566 <modify-function signature="standardIconImplementation(QStyle::StandardPixmap, const QStyleOption *, const QWidget *)const" virtual-slot="yes"/>
2566 2567 </object-type>
2567 2568 <object-type name="QWorkspace">
2568 2569 <modify-function signature="addWindow(QWidget*,QFlags&lt;Qt::WindowType&gt;)">
2569 2570 <modify-argument index="1">
2570 2571 <reference-count action="ignore"/>
2571 2572 </modify-argument>
2572 2573 </modify-function>
2573 2574 <modify-function signature="setActiveWindow(QWidget*)">
2574 2575 <modify-argument index="1">
2575 2576 <reference-count action="ignore"/>
2576 2577 </modify-argument>
2577 2578 </modify-function>
2578 2579 </object-type>
2579 2580
2580 2581 <object-type name="QActionEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::ActionAdded || %1-&gt;type() == QEvent::ActionRemoved || %1-&gt;type() == QEvent::ActionChanged"/>
2581 2582 <object-type name="QClipboardEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::Clipboard"/>
2582 2583 <object-type name="QCloseEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::Close"/>
2583 2584 <object-type name="QContextMenuEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::ContextMenu"/>
2584 2585 <object-type name="QDragEnterEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::DragEnter"/>
2585 2586 <object-type name="QDragLeaveEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::DragLeave"/>
2586 2587 <object-type name="QDragMoveEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::DragMove">
2587 2588 <modify-function signature="accept()" remove="all"/>
2588 2589 <modify-function signature="ignore()" remove="all"/>
2589 2590 </object-type>
2590 2591 <object-type name="QDropEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::Drop">
2591 2592 <modify-function signature="encodedData(const char*)const">
2592 2593 <remove/>
2593 2594 </modify-function>
2594 2595
2595 2596 <modify-function signature="format(int)const">
2596 2597 <remove/>
2597 2598 </modify-function>
2598 2599
2599 2600 <modify-function signature="provides(const char*)const">
2600 2601 <remove/>
2601 2602 </modify-function>
2602 2603
2603 2604
2604 2605 </object-type>
2605 2606 <object-type name="QFileOpenEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::FileOpen"/>
2606 2607 <object-type name="QFocusEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::FocusIn || %1-&gt;type() == QEvent::FocusOut">
2607 2608 <modify-function signature="reason()const">
2608 2609 <remove/>
2609 2610 </modify-function>
2610 2611 </object-type>
2611 2612
2612 2613 <object-type name="QGraphicsSceneContextMenuEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::GraphicsSceneContextMenu"/>
2613 2614 <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">
2614 2615 <modify-function signature="setMimeData(const QMimeData *)">
2615 2616 <remove/>
2616 2617 </modify-function>
2617 2618 <modify-function signature="setSource(QWidget *)">
2618 2619 <remove/>
2619 2620 </modify-function>
2620 2621 </object-type>
2621 2622 <object-type name="QGraphicsSceneEvent">
2622 2623 <modify-function signature="setWidget(QWidget *)">
2623 2624 <remove/>
2624 2625 </modify-function>
2625 2626 </object-type>
2626 2627 <object-type name="QGraphicsSceneMoveEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::GraphicsSceneMove"/>
2627 2628 <object-type name="QGraphicsSceneResizeEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::GraphicsSceneResize"/>
2628 2629 <object-type name="QGraphicsSceneHelpEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::GraphicsSceneHelp"/>
2629 2630 <object-type name="QGraphicsSceneHoverEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::GraphicsSceneHoverEnter || %1-&gt;type() == QEvent::GraphicsSceneHoverLeave || %1-&gt;type() == QEvent::GraphicsSceneHoverMove"/>
2630 2631 <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"/>
2631 2632 <object-type name="QGraphicsSceneWheelEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::GraphicsSceneWheel"/>
2632 2633 <object-type name="QHelpEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::ToolTip || %1-&gt;type() == QEvent::WhatsThis"/>
2633 2634 <object-type name="QHideEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::Hide"/>
2634 2635 <object-type name="QHoverEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::HoverEnter || %1-&gt;type() == QEvent::HoverLeave || %1-&gt;type() == QEvent::HoverMove"/>
2635 2636 <object-type name="QIconDragEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::IconDrag"/>
2636 2637 <object-type name="QInputMethodEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::InputMethod"/>
2637 2638 <object-type name="QMoveEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::Move"/>
2638 2639 <object-type name="QResizeEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::Resize"/>
2639 2640 <object-type name="QShortcutEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::Shortcut">
2640 2641 <!-- All these have const overloads that are used instead -->
2641 2642 <modify-function signature="isAmbiguous()">
2642 2643 <remove/>
2643 2644 </modify-function>
2644 2645 <modify-function signature="shortcutId()">
2645 2646 <remove/>
2646 2647 </modify-function>
2647 2648 <modify-function signature="key()">
2648 2649 <remove/>
2649 2650 </modify-function>
2650 2651 </object-type>
2651 2652 <object-type name="QShowEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::Show"/>
2652 2653 <object-type name="QStatusTipEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::StatusTip"/>
2653 2654 <object-type name="QTabletEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::TabletMove || %1-&gt;type() == QEvent::TabletPress || %1-&gt;type() == QEvent::TabletRelease"/>
2654 2655 <object-type name="QToolBarChangeEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::ToolBarChange"/>
2655 2656 <object-type name="QWhatsThisClickedEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::WhatsThisClicked"/>
2656 2657 <object-type name="QWheelEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::Wheel"/>
2657 2658 <object-type name="QWindowStateChangeEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::WindowStateChange"/>
2658 2659 <object-type name="QDragResponseEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::DragResponse"/>
2659 2660 <object-type name="QInputEvent">
2660 2661 <modify-function signature="modifiers()const" access="non-final"/>
2661 2662 </object-type>
2662 2663 <object-type name="QKeyEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::KeyPress || %1-&gt;type() == QEvent::KeyRelease"/>
2663 2664 <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"/>
2664 2665 <object-type name="QPaintEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::Paint"/>
2665 2666 <object-type name="QAccessibleEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::AccessibilityDescription || %1-&gt;type() == QEvent::AccessibilityHelp"/>
2666 2667
2667 2668 <object-type name="QAbstractButton"/>
2668 2669
2669 2670 <object-type name="QStyle">
2670 2671 <modify-function signature="standardIconImplementation(QStyle::StandardPixmap, const QStyleOption *, const QWidget *)const" virtual-slot="yes"/>
2671 2672 <modify-function signature="layoutSpacingImplementation(QSizePolicy::ControlType, QSizePolicy::ControlType, Qt::Orientation, const QStyleOption *, const QWidget *) const" virtual-slot="yes"/>
2672 2673
2673 2674 <modify-function signature="drawComplexControl(QStyle::ComplexControl,const QStyleOptionComplex*,QPainter*,const QWidget*)const">
2674 2675 <modify-argument index="3" invalidate-after-use="yes"/>
2675 2676 </modify-function>
2676 2677 <modify-function signature="drawControl(QStyle::ControlElement,const QStyleOption*,QPainter*,const QWidget*)const">
2677 2678 <modify-argument index="3" invalidate-after-use="yes"/>
2678 2679 </modify-function>
2679 2680 <modify-function signature="drawPrimitive(QStyle::PrimitiveElement,const QStyleOption*,QPainter*,const QWidget*)const">
2680 2681 <modify-argument index="3" invalidate-after-use="yes"/>
2681 2682 </modify-function>
2682 2683 <modify-function signature="styleHint(QStyle::StyleHint,const QStyleOption*,const QWidget*,QStyleHintReturn*)const">
2683 2684 <modify-argument index="4" invalidate-after-use="yes"/>
2684 2685 </modify-function>
2685 2686 <modify-function signature="drawItemPixmap(QPainter*,QRect,int,QPixmap)const">
2686 2687 <modify-argument index="1" invalidate-after-use="yes"/>
2687 2688 </modify-function>
2688 2689 <modify-function signature="drawItemText(QPainter*,QRect,int,QPalette,bool,QString,QPalette::ColorRole)const">
2689 2690 <modify-argument index="1" invalidate-after-use="yes"/>
2690 2691 </modify-function>
2691 2692
2692 2693
2693 2694 <modify-function signature="itemTextRect(QFontMetrics,QRect,int,bool,QString)const" remove="all"/>
2694 2695 </object-type>
2695 2696
2696 2697 <object-type name="QColorDialog">
2697 2698
2698 2699 <modify-function signature="getColor(const QColor &amp;, QWidget *)">
2699 2700 <modify-argument index="1">
2700 2701 <replace-default-expression with="QColor.white"/>
2701 2702 </modify-argument>
2702 2703 </modify-function>
2703 2704 <modify-function signature="getRgba(uint,bool*,QWidget*)">
2704 2705 <rename to="getRgba_internal"/>
2705 2706 <access modifier="private"/>
2706 2707 <modify-argument index="1">
2707 2708 <remove-default-expression/>
2708 2709 </modify-argument>
2709 2710 <modify-argument index="2">
2710 2711 <remove-default-expression/>
2711 2712 </modify-argument>
2712 2713 <modify-argument index="3">
2713 2714 <remove-default-expression/>
2714 2715 </modify-argument>
2715 2716 </modify-function>
2716 2717 </object-type>
2717 2718
2718 2719 <object-type name="QLayout">
2719 2720 <modify-function signature="addItem(QLayoutItem*)">
2720 2721 <modify-argument index="1" invalidate-after-use="yes"/>
2721 2722 </modify-function>
2722 2723
2723 2724 <modify-function signature="setSpacing(int)" rename="setWidgetSpacing"/>
2724 2725 <modify-function signature="spacing()const" rename="widgetSpacing"/>
2725 2726 <modify-function signature="addWidget(QWidget *)">
2726 2727 <modify-argument index="1">
2727 2728 <no-null-pointer/>
2728 2729 <reference-count variable-name="__rcWidgets" action="add"/>
2729 2730 </modify-argument>
2730 2731 </modify-function>
2731 2732 <modify-function signature="addChildWidget(QWidget *)">
2732 2733 <modify-argument index="1">
2733 2734 <no-null-pointer/>
2734 2735 <reference-count variable-name="__rcWidgets" action="add"/>
2735 2736 </modify-argument>
2736 2737 </modify-function>
2737 2738 <modify-function signature="removeWidget(QWidget *)">
2738 2739 <modify-argument index="1">
2739 2740 <no-null-pointer/>
2740 2741 <reference-count variable-name="__rcWidgets" action="remove"/>
2741 2742 </modify-argument>
2742 2743 </modify-function>
2743 2744
2744 2745 <modify-function signature="setAlignment(QWidget*,QFlags&lt;Qt::AlignmentFlag&gt;)">
2745 2746 <modify-argument index="1">
2746 2747 <reference-count action="ignore"/>
2747 2748 </modify-argument>
2748 2749 </modify-function>
2749 2750 <modify-function signature="setAlignment(QLayout*,QFlags&lt;Qt::AlignmentFlag&gt;)">
2750 2751 <modify-argument index="1">
2751 2752 <reference-count action="ignore"/>
2752 2753 </modify-argument>
2753 2754 </modify-function>
2754 2755 <modify-function signature="setMenuBar(QWidget*)">
2755 2756 <modify-argument index="1">
2756 2757 <reference-count action="set" variable-name="__rcMenuBar"/>
2757 2758 </modify-argument>
2758 2759 </modify-function>
2759 2760 <modify-function signature="getContentsMargins(int*,int*,int*,int*)const">
2760 2761 <access modifier="private"/>
2761 2762 </modify-function>
2762 2763
2763 2764 <modify-function signature="margin()const" remove="all"/> <!--### Obsolete in 4.3-->
2764 2765 <!-- <modify-function signature="setMargin(int)" remove="all"/> --> <!--### Obsolete in 4.3-->
2765 2766 </object-type>
2766 2767
2767 2768 <object-type name="QStackedLayout">
2768 2769 <modify-function signature="addItem(QLayoutItem *)">
2769 2770 <modify-argument index="1">
2770 2771 <define-ownership class="java" owner="c++"/>
2771 2772 </modify-argument>
2772 2773 </modify-function>
2773 2774 <modify-function signature="itemAt(int) const">
2774 2775 <modify-argument index="return">
2775 2776 <define-ownership class="java" owner="c++"/>
2776 2777 </modify-argument>
2777 2778 </modify-function>
2778 2779 <modify-function signature="addWidget(QWidget *)">
2779 2780 <rename to="addStackedWidget"/>
2780 2781 <modify-argument index="1">
2781 2782 <no-null-pointer/>
2782 2783 <reference-count action="add" declare-variable="QLayout" variable-name="__rcWidgets"/>
2783 2784 </modify-argument>
2784 2785 </modify-function>
2785 2786 <modify-function signature="insertWidget(int,QWidget*)">
2786 2787 <modify-argument index="2">
2787 2788 <no-null-pointer/>
2788 2789 <reference-count action="add" declare-variable="QLayout" variable-name="__rcWidgets"/>
2789 2790 </modify-argument>
2790 2791 </modify-function>
2791 2792 <modify-function signature="setCurrentWidget(QWidget*)">
2792 2793 <modify-argument index="1">
2793 2794 <!-- Safe to ignore because current widget must have been added to layout already -->
2794 2795 <reference-count action="ignore"/>
2795 2796 </modify-argument>
2796 2797 </modify-function>
2797 2798 </object-type>
2798 2799
2799 2800 <object-type name="QBoxLayout">
2800 2801 <modify-function signature="addWidget(QWidget *, int, QFlags&lt;Qt::AlignmentFlag&gt;)">
2801 2802 <modify-argument index="1">
2802 2803 <no-null-pointer/>
2803 2804 </modify-argument>
2804 2805 </modify-function>
2805 2806 <modify-function signature="addItem(QLayoutItem *)">
2806 2807 <modify-argument index="1">
2807 2808 <define-ownership class="java" owner="c++"/>
2808 2809 </modify-argument>
2809 2810 </modify-function>
2810 2811 <modify-function signature="insertLayout(int, QLayout *, int)">
2811 2812 <modify-argument index="2">
2812 2813 <define-ownership class="java" owner="c++"/>
2813 2814 </modify-argument>
2814 2815 </modify-function>
2815 2816 <modify-function signature="insertItem(int, QLayoutItem *)">
2816 2817 <modify-argument index="2">
2817 2818 <define-ownership class="java" owner="c++"/>
2818 2819 </modify-argument>
2819 2820 </modify-function>
2820 2821 <modify-function signature="addSpacerItem(QSpacerItem*)">
2821 2822 <modify-argument index="1">
2822 2823 <define-ownership class="java" owner="c++"/>
2823 2824 </modify-argument>
2824 2825 </modify-function>
2825 2826 <modify-function signature="insertSpacerItem(int,QSpacerItem*)">
2826 2827 <modify-argument index="2">
2827 2828 <define-ownership class="java" owner="c++"/>
2828 2829 </modify-argument>
2829 2830 </modify-function>
2830 2831
2831 2832 <modify-function signature="addLayout(QLayout *, int)">
2832 2833 <modify-argument index="1">
2833 2834 <define-ownership class="java" owner="c++"/>
2834 2835 </modify-argument>
2835 2836 </modify-function>
2836 2837 <modify-function signature="addWidget(QWidget*,int,QFlags&lt;Qt::AlignmentFlag&gt;)">
2837 2838 <modify-argument index="1">
2838 2839 <reference-count declare-variable="QLayout" action="add" variable-name="__rcWidgets"/>
2839 2840 </modify-argument>
2840 2841 </modify-function>
2841 2842 <modify-function signature="insertWidget(int,QWidget*,int,QFlags&lt;Qt::AlignmentFlag&gt;)">
2842 2843 <modify-argument index="2">
2843 2844 <reference-count declare-variable="QLayout" action="add" variable-name="__rcWidgets"/>
2844 2845 </modify-argument>
2845 2846 </modify-function>
2846 2847 <modify-function signature="setStretchFactor(QWidget*,int)">
2847 2848 <modify-argument index="1">
2848 2849 <reference-count action="ignore"/>
2849 2850 </modify-argument>
2850 2851 </modify-function>
2851 2852 <modify-function signature="setStretchFactor(QLayout*,int)">
2852 2853 <modify-argument index="1">
2853 2854 <reference-count action="ignore"/>
2854 2855 </modify-argument>
2855 2856 </modify-function>
2856 2857 </object-type>
2857 2858
2858 2859 <object-type name="QGridLayout">
2859 2860 <modify-function signature="addWidget(QWidget *)" remove="all"/>
2860 2861 <modify-function signature="addItem(QLayoutItem *)">
2861 2862 <modify-argument index="1">
2862 2863 <define-ownership class="java" owner="c++"/>
2863 2864 </modify-argument>
2864 2865 </modify-function>
2865 2866 <modify-function signature="addItem(QLayoutItem *, int, int, int, int, QFlags&lt;Qt::AlignmentFlag&gt;)">
2866 2867 <modify-argument index="1">
2867 2868 <define-ownership class="java" owner="c++"/>
2868 2869 </modify-argument>
2869 2870 </modify-function>
2870 2871 <modify-function signature="addLayout(QLayout *, int, int, QFlags&lt;Qt::AlignmentFlag&gt;)">
2871 2872 <modify-argument index="1">
2872 2873 <define-ownership class="java" owner="c++"/>
2873 2874 </modify-argument>
2874 2875 </modify-function>
2875 2876 <modify-function signature="addLayout(QLayout *, int, int, int, int, QFlags&lt;Qt::AlignmentFlag&gt;)">
2876 2877 <modify-argument index="1">
2877 2878 <define-ownership class="java" owner="c++"/>
2878 2879 </modify-argument>
2879 2880 </modify-function>
2880 2881 <modify-function signature="addWidget(QWidget*,int,int,QFlags&lt;Qt::AlignmentFlag&gt;)">
2881 2882 <modify-argument index="1">
2882 2883 <reference-count declare-variable="QLayout" action="add" variable-name="__rcWidgets"/>
2883 2884 </modify-argument>
2884 2885 </modify-function>
2885 2886 <modify-function signature="addWidget(QWidget*,int,int,int,int,QFlags&lt;Qt::AlignmentFlag&gt;)">
2886 2887 <modify-argument index="1">
2887 2888 <reference-count declare-variable="QLayout" action="add" variable-name="__rcWidgets"/>
2888 2889 </modify-argument>
2889 2890 </modify-function>
2890 2891 <modify-function signature="addWidget(QWidget*)">
2891 2892 <modify-argument index="1">
2892 2893 <reference-count declare-variable="QLayout" action="add" variable-name="__rcWidgets"/>
2893 2894 </modify-argument>
2894 2895 </modify-function>
2895 2896 <modify-function signature="getItemPosition(int,int*,int*,int*,int*)">
2896 2897 <access modifier="private"/>
2897 2898 </modify-function>
2898 2899 </object-type>
2899 2900
2900 2901 <object-type name="QGraphicsView">
2901 2902 <extra-includes>
2902 2903 <include file-name="QPainterPath" location="global"/>
2903 2904 <include file-name="QVarLengthArray" location="global"/>
2904 2905 </extra-includes>
2905 2906 <modify-function signature="fitInView(const QGraphicsItem *, Qt::AspectRatioMode)">
2906 2907 <modify-argument index="1">
2907 2908 <no-null-pointer/>
2908 2909 </modify-argument>
2909 2910 </modify-function>
2910 2911 <modify-function signature="setupViewport(QWidget *)" access="non-final"/>
2911 2912 <modify-function signature="setScene(QGraphicsScene*)">
2912 2913 <modify-argument index="1">
2913 2914 <reference-count action="set" variable-name="__rcScene"/>
2914 2915 </modify-argument>
2915 2916 </modify-function>
2916 2917 <modify-function signature="setupViewport(QWidget*)">
2917 2918 <modify-argument index="1">
2918 2919 <reference-count action="ignore"/>
2919 2920 </modify-argument>
2920 2921 </modify-function>
2921 2922
2922 2923 <modify-function signature="drawBackground(QPainter*,QRectF)">
2923 2924 <modify-argument index="1" invalidate-after-use="yes"/>
2924 2925 </modify-function>
2925 2926 <modify-function signature="drawForeground(QPainter*,QRectF)">
2926 2927 <modify-argument index="1" invalidate-after-use="yes"/>
2927 2928 </modify-function>
2928 2929 <modify-function signature="drawItems(QPainter*,int,QGraphicsItem**,const QStyleOptionGraphicsItem*)">
2929 2930 <modify-argument index="1" invalidate-after-use="yes"/>
2930 2931 </modify-function>
2931 2932
2932 2933 <modify-function signature="drawItems(QPainter*,int,QGraphicsItem**,const QStyleOptionGraphicsItem*)">
2933 2934 <modify-argument index="2">
2934 2935 <remove-argument/>
2935 2936 <conversion-rule class="shell">
2936 2937 // nothing
2937 2938 </conversion-rule>
2938 2939 <conversion-rule class="native">
2939 2940 <insert-template name="core.get_array_length">
2940 2941 <replace from="%ARRAY" to="%3"/>
2941 2942 </insert-template>
2942 2943 int __length = %out;
2943 2944 </conversion-rule>
2944 2945 </modify-argument>
2945 2946
2946 2947 <modify-argument index="3">
2947 2948 <replace-type modified-type="com.trolltech.qt.gui.QGraphicsItemInterface[]"/>
2948 2949 <conversion-rule class="shell">
2949 2950 <insert-template name="gui.convert_graphicsitem_array_to_java">
2950 2951 <replace from="%LENGTH" to="%2"/>
2951 2952 </insert-template>
2952 2953 jobjectArray graphicsItemArrayHolder = %out;
2953 2954 </conversion-rule>
2954 2955 <conversion-rule class="native">
2955 2956 <insert-template name="gui.convert_graphicsitem_array_from_java"/>
2956 2957 </conversion-rule>
2957 2958 </modify-argument>
2958 2959
2959 2960 <modify-argument index="4">
2960 2961 <replace-type modified-type="com.trolltech.qt.gui.QStyleOptionGraphicsItem[]"/>
2961 2962 <conversion-rule class="shell">
2962 2963 <insert-template name="gui.convert_styleoptiongraphicsitem_array_to_java">
2963 2964 <replace from="%LENGTH" to="%2"/>
2964 2965 </insert-template>
2965 2966 jobjectArray styleOptionArrayHolder = %out;
2966 2967 </conversion-rule>
2967 2968 <conversion-rule class="native">
2968 2969 <insert-template name="gui.convert_styleoptiongraphicsitem_array_from_java"/>
2969 2970 </conversion-rule>
2970 2971 </modify-argument>
2971 2972
2972 2973 <modify-argument index="return">
2973 2974 <conversion-rule class="shell">
2974 2975 qtjambi_invalidate_array(__jni_env, styleOptionArrayHolder);
2975 2976 qtjambi_invalidate_array(__jni_env, graphicsItemArrayHolder);
2976 2977 </conversion-rule>
2977 2978 </modify-argument>
2978 2979
2979 2980 </modify-function>
2980 2981 </object-type>
2981 2982
2982 2983 <object-type name="QInputDialog">
2983 2984
2984 2985 <modify-function signature="getInt(QWidget*,QString,QString,int,int,int,int,bool*,QFlags&lt;Qt::WindowType&gt;)">
2985 2986 <rename to="getInt_private"/>
2986 2987 <access modifier="private"/>
2987 2988 <modify-argument index="4">
2988 2989 <remove-default-expression/>
2989 2990 </modify-argument>
2990 2991 <modify-argument index="5">
2991 2992 <remove-default-expression/>
2992 2993 </modify-argument>
2993 2994 <modify-argument index="6">
2994 2995 <remove-default-expression/>
2995 2996 </modify-argument>
2996 2997 <modify-argument index="7">
2997 2998 <remove-default-expression/>
2998 2999 </modify-argument>
2999 3000 <modify-argument index="8">
3000 3001 <remove-default-expression/>
3001 3002 </modify-argument>
3002 3003 <modify-argument index="9">
3003 3004 <remove-default-expression/>
3004 3005 </modify-argument>
3005 3006 </modify-function>
3006 3007
3007 3008 <modify-function signature="getDouble(QWidget *, const QString &amp;, const QString &amp;, double, double, double, int, bool *, QFlags&lt;Qt::WindowType&gt;)">
3008 3009 <rename to="getDouble_internal"/>
3009 3010 <access modifier="private"/>
3010 3011 <modify-argument index="4">
3011 3012 <remove-default-expression/>
3012 3013 </modify-argument>
3013 3014 <modify-argument index="5">
3014 3015 <remove-default-expression/>
3015 3016 </modify-argument>
3016 3017 <modify-argument index="6">
3017 3018 <remove-default-expression/>
3018 3019 </modify-argument>
3019 3020 <modify-argument index="7">
3020 3021 <remove-default-expression/>
3021 3022 </modify-argument>
3022 3023 <modify-argument index="8">
3023 3024 <remove-default-expression/>
3024 3025 </modify-argument>
3025 3026 <modify-argument index="9">
3026 3027 <remove-default-expression/>
3027 3028 </modify-argument>
3028 3029 </modify-function>
3029 3030
3030 3031 <modify-function signature="getInteger(QWidget *, const QString &amp;, const QString &amp;, int, int, int, int, bool *, QFlags&lt;Qt::WindowType&gt;)">
3031 3032 <rename to="getInteger_internal"/>
3032 3033 <access modifier="private"/>
3033 3034 <modify-argument index="4">
3034 3035 <remove-default-expression/>
3035 3036 </modify-argument>
3036 3037 <modify-argument index="5">
3037 3038 <remove-default-expression/>
3038 3039 </modify-argument>
3039 3040 <modify-argument index="6">
3040 3041 <remove-default-expression/>
3041 3042 </modify-argument>
3042 3043 <modify-argument index="7">
3043 3044 <remove-default-expression/>
3044 3045 </modify-argument>
3045 3046 <modify-argument index="8">
3046 3047 <remove-default-expression/>
3047 3048 </modify-argument>
3048 3049 <modify-argument index="9">
3049 3050 <remove-default-expression/>
3050 3051 </modify-argument>
3051 3052 </modify-function>
3052 3053
3053 3054 <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;)">
3054 3055 <rename to="getItem_internal"/>
3055 3056 <access modifier="private"/>
3056 3057 <modify-argument index="4">
3057 3058 <remove-default-expression/>
3058 3059 </modify-argument>
3059 3060 <modify-argument index="5">
3060 3061 <remove-default-expression/>
3061 3062 </modify-argument>
3062 3063 <modify-argument index="6">
3063 3064 <remove-default-expression/>
3064 3065 </modify-argument>
3065 3066 <modify-argument index="7">
3066 3067 <remove-default-expression/>
3067 3068 </modify-argument>
3068 3069 <modify-argument index="8">
3069 3070 <remove-default-expression/>
3070 3071 </modify-argument>
3071 3072 </modify-function>
3072 3073
3073 3074 <modify-function signature="getText(QWidget *, const QString &amp;, const QString &amp;, QLineEdit::EchoMode, const QString &amp;, bool *, QFlags&lt;Qt::WindowType&gt;)">
3074 3075 <rename to="getText_internal"/>
3075 3076 <access modifier="private"/>
3076 3077 <modify-argument index="4">
3077 3078 <remove-default-expression/>
3078 3079 </modify-argument>
3079 3080 <modify-argument index="5">
3080 3081 <remove-default-expression/>
3081 3082 </modify-argument>
3082 3083 <modify-argument index="6">
3083 3084 <remove-default-expression/>
3084 3085 </modify-argument>
3085 3086 <modify-argument index="7">
3086 3087 <remove-default-expression/>
3087 3088 </modify-argument>
3088 3089 </modify-function>
3089 3090
3090 3091 <inject-code class="native" position="beginning">
3091 3092 Q_DECLARE_METATYPE(QScriptValue)
3092 3093 </inject-code>
3093 3094 <modify-function signature="getDouble(QWidget *, const QString &amp;, const QString &amp;, double, double, double, int, bool *, QFlags&lt;Qt::WindowType&gt;)">
3094 3095 <modify-argument index="8">
3095 3096 <remove-argument/>
3096 3097 <conversion-rule class="native">
3097 3098 <insert-template name="core.prepare_removed_bool*_argument"/>
3098 3099 </conversion-rule>
3099 3100 </modify-argument>
3100 3101 <modify-argument index="return">
3101 3102 <conversion-rule class="native">
3102 3103 <insert-template name="core.convert_to_null_or_primitive"/>
3103 3104 </conversion-rule>
3104 3105 </modify-argument>
3105 3106 </modify-function>
3106 3107
3107 3108 <modify-function signature="getInteger(QWidget *, const QString &amp;, const QString &amp;, int, int, int, int, bool *, QFlags&lt;Qt::WindowType&gt;)">
3108 3109 <modify-argument index="8">
3109 3110 <remove-argument/>
3110 3111 <conversion-rule class="native">
3111 3112 <insert-template name="core.prepare_removed_bool*_argument"/>
3112 3113 </conversion-rule>
3113 3114 </modify-argument>
3114 3115 <modify-argument index="return">
3115 3116 <conversion-rule class="native">
3116 3117 <insert-template name="core.convert_to_null_or_primitive"/>
3117 3118 </conversion-rule>
3118 3119 </modify-argument>
3119 3120 </modify-function>
3120 3121
3121 3122 <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;)">
3122 3123 <modify-argument index="7">
3123 3124 <remove-argument/>
3124 3125 <conversion-rule class="native">
3125 3126 <insert-template name="core.prepare_removed_bool*_argument"/>
3126 3127 </conversion-rule>
3127 3128 </modify-argument>
3128 3129 <modify-argument index="return">
3129 3130 <conversion-rule class="native">
3130 3131 <insert-template name="core.convert_to_null_or_primitive"/>
3131 3132 </conversion-rule>
3132 3133 </modify-argument>
3133 3134 </modify-function>
3134 3135
3135 3136 <modify-function signature="getText(QWidget *, const QString &amp;, const QString &amp;, QLineEdit::EchoMode, const QString &amp;, bool *, QFlags&lt;Qt::WindowType&gt;)">
3136 3137 <modify-argument index="6">
3137 3138 <remove-argument/>
3138 3139 <conversion-rule class="native">
3139 3140 <insert-template name="core.prepare_removed_bool*_argument"/>
3140 3141 </conversion-rule>
3141 3142 </modify-argument>
3142 3143 <modify-argument index="return">
3143 3144 <conversion-rule class="native">
3144 3145 <insert-template name="core.convert_to_null_or_primitive"/>
3145 3146 </conversion-rule>
3146 3147 </modify-argument>
3147 3148 </modify-function>
3148 3149 </object-type>
3149 3150
3150 3151
3151 3152 <object-type name="QGraphicsScene">
3152 3153 <extra-includes>
3153 3154 <include file-name="QVarLengthArray" location="global"/>
3154 3155 </extra-includes>
3155 3156
3156 3157 <modify-function signature="contextMenuEvent(QGraphicsSceneContextMenuEvent*)">
3157 3158 <modify-argument index="1" invalidate-after-use="yes"/>
3158 3159 </modify-function>
3159 3160 <modify-function signature="dragEnterEvent(QGraphicsSceneDragDropEvent*)">
3160 3161 <modify-argument index="1" invalidate-after-use="yes"/>
3161 3162 </modify-function>
3162 3163 <modify-function signature="dragLeaveEvent(QGraphicsSceneDragDropEvent*)">
3163 3164 <modify-argument index="1" invalidate-after-use="yes"/>
3164 3165 </modify-function>
3165 3166 <modify-function signature="dragMoveEvent(QGraphicsSceneDragDropEvent*)">
3166 3167 <modify-argument index="1" invalidate-after-use="yes"/>
3167 3168 </modify-function>
3168 3169 <modify-function signature="drawBackground(QPainter*,QRectF)">
3169 3170 <modify-argument index="1" invalidate-after-use="yes"/>
3170 3171 </modify-function>
3171 3172 <modify-function signature="drawForeground(QPainter*,QRectF)">
3172 3173 <modify-argument index="1" invalidate-after-use="yes"/>
3173 3174 </modify-function>
3174 3175 <modify-function signature="drawItems(QPainter*,int,QGraphicsItem**,const QStyleOptionGraphicsItem*,QWidget*)">
3175 3176 <modify-argument index="1" invalidate-after-use="yes"/>
3176 3177 </modify-function>
3177 3178 <modify-function signature="dropEvent(QGraphicsSceneDragDropEvent*)">
3178 3179 <modify-argument index="1" invalidate-after-use="yes"/>
3179 3180 </modify-function>
3180 3181 <modify-function signature="focusInEvent(QFocusEvent*)">
3181 3182 <modify-argument index="1" invalidate-after-use="yes"/>
3182 3183 </modify-function>
3183 3184 <modify-function signature="focusOutEvent(QFocusEvent*)">
3184 3185 <modify-argument index="1" invalidate-after-use="yes"/>
3185 3186 </modify-function>
3186 3187 <modify-function signature="helpEvent(QGraphicsSceneHelpEvent*)">
3187 3188 <modify-argument index="1" invalidate-after-use="yes"/>
3188 3189 </modify-function>
3189 3190 <modify-function signature="inputMethodEvent(QInputMethodEvent*)">
3190 3191 <modify-argument index="1" invalidate-after-use="yes"/>
3191 3192 </modify-function>
3192 3193 <modify-function signature="keyPressEvent(QKeyEvent*)">
3193 3194 <modify-argument index="1" invalidate-after-use="yes"/>
3194 3195 </modify-function>
3195 3196 <modify-function signature="keyReleaseEvent(QKeyEvent*)">
3196 3197 <modify-argument index="1" invalidate-after-use="yes"/>
3197 3198 </modify-function>
3198 3199 <modify-function signature="mouseDoubleClickEvent(QGraphicsSceneMouseEvent*)">
3199 3200 <modify-argument index="1" invalidate-after-use="yes"/>
3200 3201 </modify-function>
3201 3202 <modify-function signature="mouseMoveEvent(QGraphicsSceneMouseEvent*)">
3202 3203 <modify-argument index="1" invalidate-after-use="yes"/>
3203 3204 </modify-function>
3204 3205 <modify-function signature="mousePressEvent(QGraphicsSceneMouseEvent*)">
3205 3206 <modify-argument index="1" invalidate-after-use="yes"/>
3206 3207 </modify-function>
3207 3208 <modify-function signature="mouseReleaseEvent(QGraphicsSceneMouseEvent*)">
3208 3209 <modify-argument index="1" invalidate-after-use="yes"/>
3209 3210 </modify-function>
3210 3211 <modify-function signature="wheelEvent(QGraphicsSceneWheelEvent*)">
3211 3212 <modify-argument index="1" invalidate-after-use="yes"/>
3212 3213 </modify-function>
3213 3214
3214 3215 <modify-function signature="setActiveWindow(QGraphicsWidget*)">
3215 3216 <modify-argument index="1">
3216 3217 <reference-count action="ignore"/>
3217 3218 </modify-argument>
3218 3219 </modify-function>
3219 3220 <modify-function signature="setStyle(QStyle*)">
3220 3221 <modify-argument index="1">
3221 3222 <reference-count action="ignore"/>
3222 3223 </modify-argument>
3223 3224 </modify-function>
3224 3225
3225 3226 <modify-function signature="addItem(QGraphicsItem *)">
3226 3227 <modify-argument index="1">
3227 3228 <define-ownership class="java" owner="c++"/>
3228 3229 </modify-argument>
3229 3230 </modify-function>
3230 3231 <modify-function signature="addEllipse(const QRectF &amp;, const QPen &amp;, const QBrush &amp;)">
3231 3232 <modify-argument index="return">
3232 3233 <define-ownership class="java" owner="c++"/>
3233 3234 </modify-argument>
3234 3235 </modify-function>
3235 3236 <modify-function signature="addLine(const QLineF &amp;, const QPen &amp;)">
3236 3237 <modify-argument index="return">
3237 3238 <define-ownership class="java" owner="c++"/>
3238 3239 </modify-argument>
3239 3240 </modify-function>
3240 3241 <modify-function signature="addPath(const QPainterPath &amp;, const QPen &amp;, const QBrush &amp;)">
3241 3242 <modify-argument index="return">
3242 3243 <define-ownership class="java" owner="c++"/>
3243 3244 </modify-argument>
3244 3245 </modify-function>
3245 3246 <modify-function signature="addPixmap(const QPixmap &amp;)">
3246 3247 <modify-argument index="return">
3247 3248 <define-ownership class="java" owner="c++"/>
3248 3249 </modify-argument>
3249 3250 </modify-function>
3250 3251 <modify-function signature="addPolygon(const QPolygonF &amp;, const QPen &amp;, const QBrush &amp;)">
3251 3252 <modify-argument index="return">
3252 3253 <define-ownership class="java" owner="c++"/>
3253 3254 </modify-argument>
3254 3255 </modify-function>
3255 3256 <modify-function signature="addRect(const QRectF &amp;, const QPen &amp;, const QBrush &amp;)">
3256 3257 <modify-argument index="return">
3257 3258 <define-ownership class="java" owner="c++"/>
3258 3259 </modify-argument>
3259 3260 </modify-function>
3260 3261 <modify-function signature="addText(const QString &amp;, const QFont &amp;)">
3261 3262 <modify-argument index="return">
3262 3263 <define-ownership class="java" owner="c++"/>
3263 3264 </modify-argument>
3264 3265 </modify-function>
3265 3266 <modify-function signature="addWidget(QWidget*,QFlags&lt;Qt::WindowType&gt;)">
3266 3267 <modify-argument index="return">
3267 3268 <define-ownership class="java" owner="c++"/>
3268 3269 </modify-argument>
3269 3270 <modify-argument index="1">
3270 3271 <define-ownership class="java" owner="c++"/>
3271 3272 </modify-argument>
3272 3273 </modify-function>
3273 3274 <modify-function signature="removeItem(QGraphicsItem*)">
3274 3275 <modify-argument index="1">
3275 3276 <define-ownership class="java" owner="default"/>
3276 3277 </modify-argument>
3277 3278 </modify-function>
3278 3279 <modify-function signature="setFocusItem(QGraphicsItem*,Qt::FocusReason)">
3279 3280 <modify-argument index="1">
3280 3281 <reference-count action="set" variable-name="__rcFocusItem"/>
3281 3282 </modify-argument>
3282 3283 </modify-function>
3283 3284 </object-type>
3284 3285
3285 3286
3286 3287 <object-type name="QCalendarWidget">
3287 3288 <extra-includes>
3288 3289 <include file-name="QTextCharFormat" location="global"/>
3289 3290 </extra-includes>
3290 3291
3291 3292 <modify-function signature="isHeaderVisible()const" remove="all"/> <!--### Obsolete in 4.3-->
3292 3293 <modify-function signature="setHeaderVisible(bool)" remove="all"/> <!--### Obsolete in 4.3-->
3293 3294
3294 3295 <modify-function signature="paintCell(QPainter*,QRect,QDate)const">
3295 3296 <modify-argument invalidate-after-use="yes" index="1"/>
3296 3297 </modify-function>
3297 3298
3298 3299 <modify-function signature="sizeHint()const" rename="getSizeHint"/>
3299 3300 <modify-function signature="minimumSizeHint()const" rename="getMinimumSizeHint"/>
3300 3301 </object-type>
3301 3302
3302 3303 <object-type name="QTreeWidget">
3303 3304 <modify-function signature="setSelectionModel(QItemSelectionModel*)">
3304 3305 <modify-argument index="1">
3305 3306 <no-null-pointer/>
3306 3307 <reference-count declare-variable="QAbstractItemView" action="set" variable-name="__rcItemSelectionModel"/>
3307 3308 </modify-argument>
3308 3309 </modify-function>
3309 3310 <modify-function signature="removeItemWidget(QTreeWidgetItem*,int)">
3310 3311 <modify-argument index="1">
3311 3312 <reference-count action="ignore"/>
3312 3313 </modify-argument>
3313 3314 </modify-function>
3314 3315 <modify-function signature="mimeData(const QList&lt;QTreeWidgetItem*&gt;)const">
3315 3316 <modify-argument index="1" invalidate-after-use="yes"/>
3316 3317 </modify-function>
3317 3318 <modify-function signature="dropMimeData(QTreeWidgetItem*,int,const QMimeData*,Qt::DropAction)">
3318 3319 <modify-argument index="1" invalidate-after-use="yes"/>
3319 3320 </modify-function>
3320 3321 <modify-function signature="isSortingEnabled()const" remove="all"/>
3321 3322 <modify-function signature="setSortingEnabled(bool)" remove="all"/>
3322 3323 <modify-function signature="indexOfTopLevelItem(QTreeWidgetItem *)">
3323 3324 <remove/>
3324 3325 </modify-function>
3325 3326 <modify-function signature="addTopLevelItem(QTreeWidgetItem *)">
3326 3327 <modify-argument index="1">
3327 3328 <define-ownership class="java" owner="c++"/>
3328 3329 </modify-argument>
3329 3330 </modify-function>
3330 3331 <modify-function signature="takeTopLevelItem(int)">
3331 3332 <modify-argument index="return">
3332 3333 <define-ownership class="java" owner="default"/>
3333 3334 </modify-argument>
3334 3335 </modify-function>
3335 3336 <modify-function signature="addTopLevelItems(const QList&lt;QTreeWidgetItem*&gt; &amp;)">
3336 3337 <modify-argument index="1">
3337 3338 <define-ownership class="java" owner="c++"/>
3338 3339 </modify-argument>
3339 3340 </modify-function>
3340 3341 <modify-function signature="insertTopLevelItem(int, QTreeWidgetItem *)">
3341 3342 <modify-argument index="2">
3342 3343 <define-ownership class="java" owner="c++"/>
3343 3344 </modify-argument>
3344 3345 </modify-function>
3345 3346 <modify-function signature="insertTopLevelItems(int, const QList&lt;QTreeWidgetItem*&gt; &amp;)">
3346 3347 <modify-argument index="2">
3347 3348 <define-ownership class="java" owner="c++"/>
3348 3349 </modify-argument>
3349 3350 </modify-function>
3350 3351 <modify-function signature="setHeaderItem(QTreeWidgetItem *)">
3351 3352 <modify-argument index="1">
3352 3353 <define-ownership class="java" owner="c++"/>
3353 3354 </modify-argument>
3354 3355 </modify-function>
3355 3356 <modify-function signature="takeTopLevelItem(int)">
3356 3357 <modify-argument index="return">
3357 3358 <define-ownership class="java" owner="default"/>
3358 3359 </modify-argument>
3359 3360 </modify-function>
3360 3361 <modify-function signature="setCurrentItem(QTreeWidgetItem*,int,QFlags&lt;QItemSelectionModel::SelectionFlag&gt;)">
3361 3362 <modify-argument index="1">
3362 3363 <reference-count action="ignore"/>
3363 3364 </modify-argument>
3364 3365 </modify-function>
3365 3366 <modify-function signature="setFirstItemColumnSpanned(const QTreeWidgetItem*,bool)">
3366 3367 <modify-argument index="1">
3367 3368 <reference-count action="ignore"/>
3368 3369 </modify-argument>
3369 3370 </modify-function>
3370 3371 <modify-function signature="setCurrentItem(QTreeWidgetItem*)">
3371 3372 <modify-argument index="1">
3372 3373 <reference-count action="ignore"/>
3373 3374 </modify-argument>
3374 3375 </modify-function>
3375 3376 <modify-function signature="setCurrentItem(QTreeWidgetItem*,int)">
3376 3377 <modify-argument index="1">
3377 3378 <reference-count action="ignore"/>
3378 3379 </modify-argument>
3379 3380 </modify-function>
3380 3381 <modify-function signature="setItemExpanded(const QTreeWidgetItem*,bool)">
3381 3382 <remove/>
3382 3383 </modify-function>
3383 3384 <modify-function signature="isItemExpanded(const QTreeWidgetItem*)const">
3384 3385 <remove/>
3385 3386 </modify-function>
3386 3387 <modify-function signature="setItemHidden(const QTreeWidgetItem*,bool)">
3387 3388 <remove/>
3388 3389 </modify-function>
3389 3390 <modify-function signature="isItemHidden(const QTreeWidgetItem*)const">
3390 3391 <remove/>
3391 3392 </modify-function>
3392 3393 <modify-function signature="isItemSelected(const QTreeWidgetItem*)const">
3393 3394 <remove/>
3394 3395 </modify-function>
3395 3396 <modify-function signature="setItemSelected(const QTreeWidgetItem*,bool)">
3396 3397 <remove/>
3397 3398 </modify-function>
3398 3399 <modify-function signature="setItemWidget(QTreeWidgetItem*,int,QWidget*)">
3399 3400 <modify-argument index="1">
3400 3401 <reference-count action="ignore"/>
3401 3402 </modify-argument>
3402 3403 <modify-argument index="3">
3403 3404 <reference-count action="ignore"/>
3404 3405 </modify-argument>
3405 3406 </modify-function>
3406 3407 <modify-function signature="setModel(QAbstractItemModel*)">
3407 3408 <modify-argument index="1">
3408 3409 <reference-count action="ignore"/>
3409 3410 </modify-argument>
3410 3411 </modify-function>
3411 3412
3412 3413 <modify-function signature="items(const QMimeData*)const" remove="all"/> <!--### Obsolete in 4.3-->
3413 3414
3414 3415 <modify-function signature="mimeData(const QList&lt;QTreeWidgetItem*&gt;)const" remove="all"/>
3415 3416 </object-type>
3416 3417
3417 3418 <object-type name="QAbstractItemDelegate">
3418 3419 <modify-function signature="setEditorData(QWidget*,QModelIndex)const">
3419 3420 <modify-argument index="1">
3420 3421 <!-- Safe to ignore because this implementation is documented to do nothing -->
3421 3422 <reference-count action="ignore"/>
3422 3423 </modify-argument>
3423 3424 </modify-function>
3424 3425 <modify-function signature="setModelData(QWidget*,QAbstractItemModel*,QModelIndex)const">
3425 3426 <modify-argument index="1">
3426 3427 <reference-count action="ignore"/>
3427 3428 </modify-argument>
3428 3429 <modify-argument index="2">
3429 3430 <reference-count action="ignore"/>
3430 3431 </modify-argument>
3431 3432 </modify-function>
3432 3433
3433 3434 <modify-function signature="paint(QPainter*,QStyleOptionViewItem,QModelIndex)const">
3434 3435 <modify-argument index="1" invalidate-after-use="yes"/>
3435 3436 </modify-function>
3436 3437 <modify-function signature="editorEvent(QEvent*,QAbstractItemModel*,QStyleOptionViewItem,QModelIndex)">
3437 3438 <modify-argument index="1" invalidate-after-use="yes"/>
3438 3439 </modify-function>
3439 3440
3440 3441 <modify-function signature="elidedText(QFontMetrics, int, Qt::TextElideMode, QString)" remove="all"/> <!--### Obsolete in 4.3-->
3441 3442 </object-type>
3442 3443
3443 3444 <object-type name="QTableWidgetItem" delete-in-main-thread="yes">
3444 3445 <modify-function signature="operator=(const QTableWidgetItem&amp;)" remove="all"/>
3445 3446 <modify-function signature="clone() const">
3446 3447 <modify-argument index="return">
3447 3448 <define-ownership class="shell" owner="c++"/>
3448 3449 </modify-argument>
3449 3450 </modify-function>
3450 3451
3451 3452 <modify-function signature="backgroundColor()const" remove="all"/> <!--### Obsolete in 4.3-->
3452 3453 <modify-function signature="setBackgroundColor(QColor)" remove="all"/> <!--### Obsolete in 4.3-->
3453 3454 <modify-function signature="setTextColor(QColor)" remove="all"/> <!--### Obsolete in 4.3-->
3454 3455 <modify-function signature="textColor()const" remove="all"/> <!--### Obsolete in 4.3-->
3455 3456
3456 3457 <modify-function signature="operator&lt;(QTableWidgetItem)const">
3457 3458 <modify-argument index="1" invalidate-after-use="yes"/>
3458 3459 </modify-function>
3459 3460 <modify-function signature="read(QDataStream&amp;)">
3460 3461 <modify-argument index="1" invalidate-after-use="yes"/>
3461 3462 </modify-function>
3462 3463 <modify-function signature="write(QDataStream&amp;)const">
3463 3464 <modify-argument index="1" invalidate-after-use="yes"/>
3464 3465 </modify-function>
3465 3466
3466 3467
3467 3468 <modify-function signature="read(QDataStream &amp;)" remove="all"/>
3468 3469 <modify-function signature="write(QDataStream &amp;)const" remove="all"/>
3469 3470 <modify-function signature="QTableWidgetItem(QTableWidgetItem)" remove="all"/>
3470 3471 <modify-function signature="operator=(QTableWidgetItem)" remove="all"/>
3471 3472 <modify-function signature="operator&lt;(QTableWidgetItem)const" remove="all"/>
3472 3473 </object-type>
3473 3474
3474 3475 <object-type name="QListWidgetItem" delete-in-main-thread="yes">
3475 3476
3476 3477 <modify-function signature="operator&lt;(QListWidgetItem)const">
3477 3478 <modify-argument index="1" invalidate-after-use="yes"/>
3478 3479 </modify-function>
3479 3480 <modify-function signature="read(QDataStream&amp;)">
3480 3481 <modify-argument index="1" invalidate-after-use="yes"/>
3481 3482 </modify-function>
3482 3483 <modify-function signature="write(QDataStream&amp;)const">
3483 3484 <modify-argument index="1" invalidate-after-use="yes"/>
3484 3485 </modify-function>
3485 3486
3486 3487
3487 3488 <modify-function signature="operator=(const QListWidgetItem&amp;)" remove="all"/>
3488 3489 <modify-function signature="QListWidgetItem(QListWidget *, int)">
3489 3490 <modify-argument index="this">
3490 3491 <define-ownership class="java" owner="c++"/>
3491 3492 </modify-argument>
3492 3493 </modify-function>
3493 3494 <modify-function signature="QListWidgetItem(const QString &amp;, QListWidget *, int)">
3494 3495 <modify-argument index="this">
3495 3496 <define-ownership class="java" owner="c++"/>
3496 3497 </modify-argument>
3497 3498 </modify-function>
3498 3499 <modify-function signature="QListWidgetItem(const QIcon &amp;, const QString &amp;, QListWidget *, int)">
3499 3500 <modify-argument index="this">
3500 3501 <define-ownership class="java" owner="c++"/>
3501 3502 </modify-argument>
3502 3503 </modify-function>
3503 3504 <modify-function signature="clone() const">
3504 3505 <modify-argument index="return">
3505 3506 <define-ownership class="shell" owner="c++"/>
3506 3507 </modify-argument>
3507 3508 </modify-function>
3508 3509
3509 3510 <modify-function signature="backgroundColor()const" remove="all"/> <!--### Obsolete in 4.3-->
3510 3511 <modify-function signature="setBackgroundColor(QColor)" remove="all"/> <!--### Obsolete in 4.3-->
3511 3512 <modify-function signature="setTextColor(QColor)" remove="all"/> <!--### Obsolete in 4.3-->
3512 3513 <modify-function signature="textColor()const" remove="all"/> <!--### Obsolete in 4.3-->
3513 3514
3514 3515 <modify-function signature="read(QDataStream &amp;)" remove="all"/>
3515 3516 <modify-function signature="write(QDataStream &amp;)const" remove="all"/>
3516 3517 <modify-function signature="QListWidgetItem(QListWidgetItem)" remove="all"/>
3517 3518 <modify-function signature="operator=(QListWidgetItem)" remove="all"/>
3518 3519 <modify-function signature="operator&lt;(QListWidgetItem)const" remove="all"/>
3519 3520 </object-type>
3520 3521
3521 <object-type name="QGraphicsTextItem"> <!-- a QObject so main-thread delete redundant -->
3522 <object-type name="QGraphicsTextItem" polymorphic-id-expression="%1-&gt;type() == QGraphicsTextItem::Type"> <!-- a QObject so main-thread delete redundant -->
3522 3523 <extra-includes>
3523 3524 <include file-name="QTextCursor" location="global"/>
3524 3525 </extra-includes>
3525 3526 <modify-function signature="QGraphicsTextItem(QGraphicsItem*,QGraphicsScene*)">
3526 3527 <inject-code position="end">
3527 3528 <argument-map index="1" meta-name="%1"/>
3528 3529 if (%1 != null) disableGarbageCollection();
3529 3530 </inject-code>
3530 3531 </modify-function>
3531 3532 <modify-function signature="QGraphicsTextItem(const QString &amp;,QGraphicsItem*,QGraphicsScene*)">
3532 3533 <inject-code position="end">
3533 3534 <argument-map index="2" meta-name="%2"/>
3534 3535 if (%2 != null) disableGarbageCollection();
3535 3536 </inject-code>
3536 3537 </modify-function>
3537 3538 <modify-function signature="setDocument(QTextDocument*)">
3538 3539 <modify-argument index="1">
3539 3540 <reference-count action="set" variable-name="__rcDocument"/>
3540 3541 </modify-argument>
3541 3542 </modify-function>
3542 3543
3543 3544 <modify-function signature="matrix()const" remove="all"/> <!--### Obsolete in 4.3-->
3544 3545 <modify-function signature="resetMatrix()" remove="all"/> <!--### Obsolete in 4.3-->
3545 3546 <modify-function signature="sceneMatrix()const" remove="all"/> <!--### Obsolete in 4.3-->
3546 3547 <modify-function signature="setMatrix(QMatrix, bool)" remove="all"/> <!--### Obsolete in 4.3-->
3547 3548 </object-type>
3548 3549
3549 3550 <object-type name="QCompleter">
3550 3551 <modify-function signature="activated(const QModelIndex &amp;)">
3551 3552 <rename to="activatedIndex"/>
3552 3553 </modify-function>
3553 3554 <modify-function signature="highlighted(const QModelIndex &amp;)">
3554 3555 <rename to="highlightedIndex"/>
3555 3556 </modify-function>
3556 3557 <modify-function signature="setModel(QAbstractItemModel *)">
3557 3558 <modify-argument index="1">
3558 3559 <reference-count action="set" variable-name="__rcModel"/>
3559 3560 </modify-argument>
3560 3561 </modify-function>
3561 3562 <modify-function signature="setPopup(QAbstractItemView *)">
3562 3563 <modify-argument index="1">
3563 3564 <no-null-pointer/>
3564 3565 <define-ownership class="java" owner="c++"/>
3565 3566 </modify-argument>
3566 3567 </modify-function>
3567 3568 <modify-function signature="setWidget(QWidget *)">
3568 3569 <modify-argument index="1">
3569 3570 <reference-count action="set" variable-name="__rcWidget"/>
3570 3571 </modify-argument>
3571 3572 </modify-function>
3572 3573 </object-type>
3573 3574
3574 3575
3575 3576 <object-type name="QTreeWidgetItem" delete-in-main-thread="yes">
3576 3577
3577 3578 <modify-function signature="operator&lt;(QTreeWidgetItem)const">
3578 3579 <modify-argument index="1" invalidate-after-use="yes"/>
3579 3580 </modify-function>
3580 3581 <modify-function signature="read(QDataStream&amp;)">
3581 3582 <modify-argument index="1" invalidate-after-use="yes"/>
3582 3583 </modify-function>
3583 3584 <modify-function signature="write(QDataStream&amp;)const">
3584 3585 <modify-argument index="1" invalidate-after-use="yes"/>
3585 3586 </modify-function>
3586 3587
3587 3588 <modify-function signature="QTreeWidgetItem(const QTreeWidgetItem &amp;)" remove="all"/>
3588 3589 <modify-function signature="operator=(const QTreeWidgetItem&amp;)" remove="all"/>
3589 3590
3590 3591 <modify-function signature="QTreeWidgetItem(QTreeWidget *,int)">
3591 3592 <modify-argument index="this">
3592 3593 <define-ownership class="java" owner="c++"/>
3593 3594 </modify-argument>
3594 3595 </modify-function>
3595 3596 <modify-function signature="QTreeWidgetItem(QTreeWidget *,const QStringList&lt;QString&gt; &amp;,int)">
3596 3597 <modify-argument index="this">
3597 3598 <define-ownership class="java" owner="c++"/>
3598 3599 </modify-argument>
3599 3600 </modify-function>
3600 3601 <modify-function signature="QTreeWidgetItem(QTreeWidget *,QTreeWidgetItem *,int)">
3601 3602 <modify-argument index="this">
3602 3603 <define-ownership class="java" owner="c++"/>
3603 3604 </modify-argument>
3604 3605 </modify-function>
3605 3606 <modify-function signature="QTreeWidgetItem(QTreeWidgetItem *,int)">
3606 3607 <modify-argument index="this">
3607 3608 <define-ownership class="java" owner="c++"/>
3608 3609 </modify-argument>
3609 3610 </modify-function>
3610 3611 <modify-function signature="QTreeWidgetItem(QTreeWidgetItem *,const QStringList&lt;QString&gt; &amp;,int)">
3611 3612 <modify-argument index="this">
3612 3613 <define-ownership class="java" owner="c++"/>
3613 3614 </modify-argument>
3614 3615 </modify-function>
3615 3616 <modify-function signature="QTreeWidgetItem(QTreeWidgetItem *,QTreeWidgetItem *,int)">
3616 3617 <modify-argument index="this">
3617 3618 <define-ownership class="java" owner="c++"/>
3618 3619 </modify-argument>
3619 3620 </modify-function>
3620 3621 <modify-function signature="clone() const">
3621 3622 <modify-argument index="return">
3622 3623 <define-ownership class="shell" owner="c++"/>
3623 3624 </modify-argument>
3624 3625 </modify-function>
3625 3626 <modify-function signature="addChild(QTreeWidgetItem *)">
3626 3627 <modify-argument index="1">
3627 3628 <define-ownership class="java" owner="c++"/>
3628 3629 </modify-argument>
3629 3630 </modify-function>
3630 3631 <modify-function signature="addChildren(const QList&lt;QTreeWidgetItem*&gt; &amp;)">
3631 3632 <modify-argument index="1">
3632 3633 <define-ownership class="java" owner="c++"/>
3633 3634 </modify-argument>
3634 3635 </modify-function>
3635 3636 <modify-function signature="insertChild(int, QTreeWidgetItem *)">
3636 3637 <modify-argument index="2">
3637 3638 <define-ownership class="java" owner="c++"/>
3638 3639 </modify-argument>
3639 3640 </modify-function>
3640 3641 <modify-function signature="insertChildren(int, const QList&lt;QTreeWidgetItem*&gt; &amp;)">
3641 3642 <modify-argument index="2">
3642 3643 <define-ownership class="java" owner="c++"/>
3643 3644 </modify-argument>
3644 3645 </modify-function>
3645 3646 <modify-function signature="removeChild(QTreeWidgetItem*)">
3646 3647 <modify-argument index="1">
3647 3648 <define-ownership class="java" owner="default"/>
3648 3649 </modify-argument>
3649 3650 </modify-function>
3650 3651 <modify-function signature="takeChild(int)">
3651 3652 <modify-argument index="return">
3652 3653 <define-ownership class="java" owner="default"/>
3653 3654 </modify-argument>
3654 3655 </modify-function>
3655 3656 <modify-function signature="takeChildren()">
3656 3657 <modify-argument index="return">
3657 3658 <define-ownership class="java" owner="default"/>
3658 3659 </modify-argument>
3659 3660 </modify-function>
3660 3661
3661 3662 <modify-function signature="backgroundColor(int)const" remove="all"/> <!--### Obsolete in 4.3-->
3662 3663 <modify-function signature="setBackgroundColor(int, QColor)" remove="all"/> <!--### Obsolete in 4.3-->
3663 3664 <modify-function signature="setTextColor(int, QColor)" remove="all"/> <!--### Obsolete in 4.3-->
3664 3665 <modify-function signature="textColor(int)const" remove="all"/> <!--### Obsolete in 4.3-->
3665 3666
3666 3667 <modify-function signature="read(QDataStream &amp;)" remove="all"/>
3667 3668 <modify-function signature="write(QDataStream &amp;)const" remove="all"/>
3668 3669 <modify-function signature="QTreeWidgetItem(QTreeWidgetItem)" remove="all"/>
3669 3670 <modify-function signature="operator=(QTreeWidgetItem)" remove="all"/>
3670 3671 <modify-function signature="operator&lt;(QTreeWidgetItem)const" remove="all"/>
3671 3672 </object-type>
3672 3673
3673 3674 <object-type name="QListWidget">
3674 3675 <modify-function signature="mimeData(const QList&lt;QListWidgetItem *&gt;)const">
3675 3676 <modify-argument index="1" invalidate-after-use="yes"/>
3676 3677 </modify-function>
3677 3678 <modify-function signature="addItem(QListWidgetItem *)">
3678 3679 <modify-argument index="1">
3679 3680 <define-ownership class="java" owner="c++"/>
3680 3681 </modify-argument>
3681 3682 </modify-function>
3682 3683 <modify-function signature="insertItem(int, QListWidgetItem *)">
3683 3684 <modify-argument index="2">
3684 3685 <define-ownership class="java" owner="c++"/>
3685 3686 </modify-argument>
3686 3687 </modify-function>
3687 3688 <modify-function signature="setCurrentItem(QListWidgetItem*)">
3688 3689 <modify-argument index="1">
3689 3690 <reference-count action="ignore"/>
3690 3691 </modify-argument>
3691 3692 </modify-function>
3692 3693 <modify-function signature="setCurrentItem(QListWidgetItem*,QFlags&lt;QItemSelectionModel::SelectionFlag&gt;)">
3693 3694 <modify-argument index="1">
3694 3695 <reference-count action="ignore"/>
3695 3696 </modify-argument>
3696 3697 </modify-function>
3697 3698 <modify-function signature="setItemHidden(const QListWidgetItem*,bool)">
3698 3699 <remove/>
3699 3700 </modify-function>
3700 3701 <modify-function signature="isItemHidden(const QListWidgetItem*)const">
3701 3702 <remove/>
3702 3703 </modify-function>
3703 3704 <modify-function signature="setItemSelected(const QListWidgetItem*,bool)">
3704 3705 <remove/>
3705 3706 </modify-function>
3706 3707 <modify-function signature="isItemSelected(const QListWidgetItem*)const">
3707 3708 <remove/>
3708 3709 </modify-function>
3709 3710 <modify-function signature="takeItem(int)">
3710 3711 <modify-argument index="return">
3711 3712 <define-ownership class="java" owner="default"/>
3712 3713 </modify-argument>
3713 3714 </modify-function>
3714 3715 <modify-function signature="setItemWidget(QListWidgetItem*,QWidget*)">
3715 3716 <modify-argument index="1">
3716 3717 <reference-count action="ignore"/>
3717 3718 </modify-argument>
3718 3719 <modify-argument index="2">
3719 3720 <reference-count action="ignore"/>
3720 3721 </modify-argument>
3721 3722 </modify-function>
3722 3723 <modify-function signature="removeItemWidget(QListWidgetItem*)">
3723 3724 <modify-argument index="1">
3724 3725 <reference-count action="ignore"/>
3725 3726 </modify-argument>
3726 3727 </modify-function>
3727 3728 <modify-function signature="setModel(QAbstractItemModel*)">
3728 3729 <modify-argument index="1">
3729 3730 <reference-count action="ignore"/>
3730 3731 </modify-argument>
3731 3732 </modify-function>
3732 3733
3733 3734
3734 3735 <modify-function signature="mimeData(const QList&lt;QListWidgetItem*&gt;)const" remove="all"/>
3735 3736 </object-type>
3736 3737
3737 3738 <object-type name="QWidget">
3738 3739 <extra-includes>
3739 3740 <include file-name="QIcon" location="global"/>
3740 3741 <include file-name="QMessageBox" location="global"/>
3741 3742 </extra-includes>
3742 3743
3743 3744 <modify-function signature="actionEvent(QActionEvent*)">
3744 3745 <modify-argument index="1" invalidate-after-use="yes"/>
3745 3746 </modify-function>
3746 3747 <modify-function signature="changeEvent(QEvent*)">
3747 3748 <modify-argument index="1" invalidate-after-use="yes"/>
3748 3749 </modify-function>
3749 3750 <modify-function signature="closeEvent(QCloseEvent*)">
3750 3751 <modify-argument index="1" invalidate-after-use="yes"/>
3751 3752 </modify-function>
3752 3753 <modify-function signature="contextMenuEvent(QContextMenuEvent*)">
3753 3754 <modify-argument index="1" invalidate-after-use="yes"/>
3754 3755 </modify-function>
3755 3756 <modify-function signature="dragEnterEvent(QDragEnterEvent*)">
3756 3757 <modify-argument index="1" invalidate-after-use="yes"/>
3757 3758 </modify-function>
3758 3759 <modify-function signature="dragLeaveEvent(QDragLeaveEvent*)">
3759 3760 <modify-argument index="1" invalidate-after-use="yes"/>
3760 3761 </modify-function>
3761 3762 <modify-function signature="dragMoveEvent(QDragMoveEvent*)">
3762 3763 <modify-argument index="1" invalidate-after-use="yes"/>
3763 3764 </modify-function>
3764 3765 <modify-function signature="dropEvent(QDropEvent*)">
3765 3766 <modify-argument index="1" invalidate-after-use="yes"/>
3766 3767 </modify-function>
3767 3768 <modify-function signature="enterEvent(QEvent*)">
3768 3769 <modify-argument index="1" invalidate-after-use="yes"/>
3769 3770 </modify-function>
3770 3771 <modify-function signature="focusInEvent(QFocusEvent*)">
3771 3772 <modify-argument index="1" invalidate-after-use="yes"/>
3772 3773 </modify-function>
3773 3774 <modify-function signature="focusOutEvent(QFocusEvent*)">
3774 3775 <modify-argument index="1" invalidate-after-use="yes"/>
3775 3776 </modify-function>
3776 3777 <modify-function signature="hideEvent(QHideEvent*)">
3777 3778 <modify-argument index="1" invalidate-after-use="yes"/>
3778 3779 </modify-function>
3779 3780 <modify-function signature="inputMethodEvent(QInputMethodEvent*)">
3780 3781 <modify-argument index="1" invalidate-after-use="yes"/>
3781 3782 </modify-function>
3782 3783 <modify-function signature="keyPressEvent(QKeyEvent*)">
3783 3784 <modify-argument index="1" invalidate-after-use="yes"/>
3784 3785 </modify-function>
3785 3786 <modify-function signature="keyReleaseEvent(QKeyEvent*)">
3786 3787 <modify-argument index="1" invalidate-after-use="yes"/>
3787 3788 </modify-function>
3788 3789 <modify-function signature="leaveEvent(QEvent*)">
3789 3790 <modify-argument index="1" invalidate-after-use="yes"/>
3790 3791 </modify-function>
3791 3792 <modify-function signature="mouseDoubleClickEvent(QMouseEvent*)">
3792 3793 <modify-argument index="1" invalidate-after-use="yes"/>
3793 3794 </modify-function>
3794 3795 <modify-function signature="mouseMoveEvent(QMouseEvent*)">
3795 3796 <modify-argument index="1" invalidate-after-use="yes"/>
3796 3797 </modify-function>
3797 3798 <modify-function signature="mousePressEvent(QMouseEvent*)">
3798 3799 <modify-argument index="1" invalidate-after-use="yes"/>
3799 3800 </modify-function>
3800 3801 <modify-function signature="mouseReleaseEvent(QMouseEvent*)">
3801 3802 <modify-argument index="1" invalidate-after-use="yes"/>
3802 3803 </modify-function>
3803 3804 <modify-function signature="moveEvent(QMoveEvent*)">
3804 3805 <modify-argument index="1" invalidate-after-use="yes"/>
3805 3806 </modify-function>
3806 3807 <modify-function signature="paintEvent(QPaintEvent*)">
3807 3808 <modify-argument index="1" invalidate-after-use="yes"/>
3808 3809 </modify-function>
3809 3810 <modify-function signature="resizeEvent(QResizeEvent*)">
3810 3811 <modify-argument index="1" invalidate-after-use="yes"/>
3811 3812 </modify-function>
3812 3813 <modify-function signature="showEvent(QShowEvent*)">
3813 3814 <modify-argument index="1" invalidate-after-use="yes"/>
3814 3815 </modify-function>
3815 3816 <modify-function signature="tabletEvent(QTabletEvent*)">
3816 3817 <modify-argument index="1" invalidate-after-use="yes"/>
3817 3818 </modify-function>
3818 3819 <modify-function signature="wheelEvent(QWheelEvent*)">
3819 3820 <modify-argument index="1" invalidate-after-use="yes"/>
3820 3821 </modify-function>
3821 3822
3822 3823 <modify-function signature="render(QPainter*,QPoint,QRegion,QFlags&lt;QWidget::RenderFlag&gt;)">
3823 3824 <modify-argument index="2">
3824 3825 <!-- Removed because the render(QPainter*) overload conflicts with the identical function in QGraphicsView -->
3825 3826 <remove-default-expression/>
3826 3827 </modify-argument>
3827 3828 </modify-function>
3828 3829
3829 3830 <inject-code class="native">
3830 3831 extern "C" JNIEXPORT void JNICALL QTJAMBI_FUNCTION_PREFIX(Java_com_trolltech_qt_gui_QWidget__1_1qt_1QMessageBox_1setWindowTitle)
3831 3832 (JNIEnv *__jni_env,
3832 3833 jclass,
3833 3834 jlong __this_nativeId,
3834 3835 jobject title0)
3835 3836 {
3836 3837 QTJAMBI_DEBUG_TRACE("(native) entering: QMessageBox::setWindowTitle(const QString &amp; title)");
3837 3838 QString __qt_title0 = qtjambi_to_qstring(__jni_env, (jstring) title0);
3838 3839 QTJAMBI_EXCEPTION_CHECK(__jni_env);
3839 3840 QMessageBox *__qt_this = (QMessageBox *) qtjambi_from_jlong(__this_nativeId);
3840 3841 QTJAMBI_EXCEPTION_CHECK(__jni_env);
3841 3842 Q_ASSERT(__qt_this);
3842 3843 __qt_this-&gt;setWindowTitle((const QString&amp; )__qt_title0);
3843 3844 QTJAMBI_DEBUG_TRACE("(native) -&gt; leaving: QMessageBox::setWindowTitle(const QString &amp; title)");
3844 3845 }
3845 3846 </inject-code>
3846 3847
3847 3848 <inject-code class="native">
3848 3849 extern "C" JNIEXPORT void JNICALL QTJAMBI_FUNCTION_PREFIX(Java_com_trolltech_qt_gui_QWidget__1_1qt_1QMessageBox_1setWindowModality)
3849 3850 (JNIEnv *__jni_env,
3850 3851 jclass,
3851 3852 jlong __this_nativeId,
3852 3853 jint windowModality0)
3853 3854 {
3854 3855 Q_UNUSED(__jni_env);
3855 3856 QTJAMBI_DEBUG_TRACE("(native) entering: QMessageBox::setWindowModality(Qt::WindowModality modality)");
3856 3857 Qt::WindowModality __qt_windowModality0 = (Qt::WindowModality) windowModality0;
3857 3858 QTJAMBI_EXCEPTION_CHECK(__jni_env);
3858 3859 QMessageBox *__qt_this = (QMessageBox *) qtjambi_from_jlong(__this_nativeId);
3859 3860 QTJAMBI_EXCEPTION_CHECK(__jni_env);
3860 3861 Q_ASSERT(__qt_this);
3861 3862 __qt_this-&gt;setWindowModality((Qt::WindowModality )__qt_windowModality0);
3862 3863 QTJAMBI_DEBUG_TRACE("(native) -&gt; leaving: QMessageBox::setWindowModality(Qt::WindowModality modality)");
3863 3864 }
3864 3865 </inject-code>
3865 3866
3866 3867 <modify-function signature="render(QPaintDevice *, const QPoint &amp;, const QRegion &amp;, QFlags&lt;QWidget::RenderFlag&gt;)">
3867 3868 <modify-argument index="4">
3868 3869 <replace-default-expression with="RenderFlag.DrawWindowBackground, RenderFlag.DrawChildren"/>
3869 3870 </modify-argument>
3870 3871 </modify-function>
3871 3872 <modify-function signature="render(QPainter *, const QPoint &amp;, const QRegion &amp;, QFlags&lt;QWidget::RenderFlag&gt;)">
3872 3873 <modify-argument index="4">
3873 3874 <replace-default-expression with="RenderFlag.DrawWindowBackground, RenderFlag.DrawChildren"/>
3874 3875 </modify-argument>
3875 3876 </modify-function>
3876 3877 <modify-function signature="setFocusProxy(QWidget*)">
3877 3878 <modify-argument index="1">
3878 3879 <reference-count action="set" variable-name="__rcFocusProxy"/>
3879 3880 </modify-argument>
3880 3881 </modify-function>
3881 3882 <modify-function signature="setInputContext(QInputContext*)">
3882 3883 <modify-argument index="1">
3883 3884 <define-ownership class="java" owner="c++"/>
3884 3885 </modify-argument>
3885 3886 </modify-function>
3886 3887 <modify-function signature="setLayout(QLayout*)">
3887 3888 <modify-argument index="1">
3888 3889 <no-null-pointer/>
3889 3890 <reference-count action="ignore"/>
3890 3891 </modify-argument>
3891 3892 </modify-function>
3892 3893 <modify-function signature="setParent(QWidget*,QFlags&lt;Qt::WindowType&gt;)">
3893 3894 <modify-argument index="1">
3894 3895 <reference-count action="ignore"/>
3895 3896 </modify-argument>
3896 3897 </modify-function>
3897 3898 <modify-function signature="setParent(QWidget*)">
3898 3899 <modify-argument index="1">
3899 3900 <reference-count action="ignore"/>
3900 3901 </modify-argument>
3901 3902 </modify-function>
3902 3903 <modify-function signature="setStyle(QStyle*)">
3903 3904 <modify-argument index="1">
3904 3905 <reference-count action="set" variable-name="__rcStyle"/>
3905 3906 </modify-argument>
3906 3907 </modify-function>
3907 3908 <modify-function signature="setTabOrder(QWidget*,QWidget*)">
3908 3909 <modify-argument index="1">
3909 3910 <reference-count action="ignore"/>
3910 3911 </modify-argument>
3911 3912 <modify-argument index="2">
3912 3913 <reference-count action="ignore"/>
3913 3914 </modify-argument>
3914 3915 </modify-function>
3915 3916 <modify-function signature="getContentsMargins(int*,int*,int*,int*)const">
3916 3917 <access modifier="private"/>
3917 3918 </modify-function>
3918 3919
3919 3920 <modify-function signature="addAction(QAction *)">
3920 3921 <modify-argument index="1">
3921 3922 <reference-count action="add" variable-name="__rcActions"/>
3922 3923 </modify-argument>
3923 3924 </modify-function>
3924 3925
3925 3926 <modify-function signature="insertAction(QAction *, QAction *)">
3926 3927 <modify-argument index="2">
3927 3928 <reference-count action="add" variable-name="__rcActions"/>
3928 3929 </modify-argument>
3929 3930 </modify-function>
3930 3931
3931 3932 <modify-function signature="addActions(const QList&lt;QAction *&gt; &amp;)">
3932 3933 <modify-argument index="1">
3933 3934 <reference-count action="add-all" variable-name="__rcActions"/>
3934 3935 </modify-argument>
3935 3936 </modify-function>
3936 3937
3937 3938 <modify-function signature="insertActions(QAction *, const QList&lt;QAction *&gt; &amp;)">
3938 3939 <modify-argument index="2">
3939 3940 <reference-count action="add-all" variable-name="__rcActions"/>
3940 3941 </modify-argument>
3941 3942 </modify-function>
3942 3943
3943 3944 <modify-function signature="removeAction(QAction *)">
3944 3945 <modify-argument index="1">
3945 3946 <reference-count action="remove" variable-name="__rcActions"/>
3946 3947 </modify-argument>
3947 3948 </modify-function>
3948 3949 <modify-function signature="enabledChange(bool)" remove="all"/> <!--### Obsolete in 4.3-->
3949 3950 <modify-function signature="fontChange(QFont)" remove="all"/> <!--### Obsolete in 4.3-->
3950 3951 <modify-function signature="isEnabledToTLW()const" remove="all"/> <!--### Obsolete in 4.3-->
3951 3952 <modify-function signature="isTopLevel()const" remove="all"/> <!--### Obsolete in 4.3-->
3952 3953 <modify-function signature="paletteChange(QPalette)" remove="all"/> <!--### Obsolete in 4.3-->
3953 3954 <modify-function signature="setShown(bool)" remove="all"/> <!--### Obsolete in 4.3-->
3954 3955 <modify-function signature="topLevelWidget()const" remove="all"/> <!--### Obsolete in 4.3-->
3955 3956 <modify-function signature="windowActivationChange(bool)" remove="all"/> <!--### Obsolete in 4.3-->
3956 3957
3957 3958 <modify-function signature="fontInfo()const" remove="all"/>
3958 3959 <modify-function signature="fontMetrics()const" remove="all"/>
3959 3960 <modify-function signature="sizeHint()const" rename="getSizeHint"/>
3960 3961 <modify-function signature="minimumSizeHint()const" rename="getMinimumSizeHint"/>
3961 3962 <modify-function signature="setVisible(bool)" remove="all"/>
3962 3963 </object-type>
3963 3964
3964 3965 <object-type name="QMessageBox">
3965 3966
3966 3967
3967 3968 <modify-function signature="setWindowTitle(const QString &amp;)" remove="all"/>
3968 3969 <modify-function signature="setWindowModality(Qt::WindowModality)" remove="all"/>
3969 3970 <extra-includes>
3970 3971 <include file-name="QPixmap" location="global"/>
3971 3972 </extra-includes>
3972 3973 <modify-function signature="addButton(QAbstractButton*,QMessageBox::ButtonRole)">
3973 3974 <modify-argument index="1">
3974 3975 <reference-count action="ignore"/>
3975 3976 </modify-argument>
3976 3977 </modify-function>
3977 3978 <modify-function signature="removeButton(QAbstractButton*)">
3978 3979 <modify-argument index="1">
3979 3980 <reference-count action="ignore"/>
3980 3981 </modify-argument>
3981 3982 </modify-function>
3982 3983 <modify-function signature="setDefaultButton(QPushButton*)">
3983 3984 <modify-argument index="1">
3984 3985 <reference-count action="ignore"/>
3985 3986 </modify-argument>
3986 3987 </modify-function>
3987 3988 <modify-function signature="setEscapeButton(QAbstractButton*)">
3988 3989 <modify-argument index="1">
3989 3990 <reference-count action="ignore"/>
3990 3991 </modify-argument>
3991 3992 </modify-function>
3992 3993
3993 3994 <modify-function signature="QMessageBox(QString,QString,QMessageBox::Icon,int,int,int,QWidget*,QFlags&lt;Qt::WindowType&gt;)" remove="all"/> <!--### Obsolete in 4.3-->
3994 3995 <modify-function signature="buttonText(int)const" remove="all"/> <!--### Obsolete in 4.3-->
3995 3996 <modify-function signature="setButtonText(int, QString)" remove="all"/> <!--### Obsolete in 4.3-->
3996 3997 <modify-function signature="standardIcon(QMessageBox::Icon)" remove="all"/> <!--### Obsolete in 4.3-->
3997 3998
3998 3999 <modify-function signature="critical(QWidget*,QString,QString,int,int,int)" remove="all"/> <!--### Obsolete in 4.3-->
3999 4000 <modify-function signature="critical(QWidget*,QString,QString,QString,QString,QString,int,int)" remove="all"/> <!--### Obsolete in 4.3-->
4000 4001 <modify-function signature="information(QWidget*,QString,QString,int,int,int)" remove="all"/> <!--### Obsolete in 4.3-->
4001 4002 <modify-function signature="information(QWidget*,QString,QString,QString,QString,QString,int,int)" remove="all"/> <!--### Obsolete in 4.3-->
4002 4003 <modify-function signature="question(QWidget*, QString, QString, int, int, int)" remove="all"/> <!--### Obsolete in 4.3-->
4003 4004 <modify-function signature="question(QWidget*, QString, QString, QString, QString, QString, int, int)" remove="all"/> <!--### Obsolete in 4.3-->
4004 4005 <modify-function signature="warning(QWidget*, QString, QString, int, int, int)" remove="all"/> <!--### Obsolete in 4.3-->
4005 4006 <modify-function signature="warning(QWidget*, QString, QString, QString, QString, QString, int, int)" remove="all"/> <!--### Obsolete in 4.3-->
4006 4007 </object-type>
4007 4008
4008 4009 <object-type name="QAbstractSpinBox">
4009 4010 <modify-function signature="initStyleOption(QStyleOptionSpinBox*)const">
4010 4011 <access modifier="private"/>
4011 4012 </modify-function>
4012 4013 <modify-function signature="setLineEdit(QLineEdit*)">
4013 4014 <modify-argument index="1">
4014 4015 <!-- Safe to ignore because the spinbox reparents the line edit -->
4015 4016 <reference-count action="ignore"/>
4016 4017 <no-null-pointer/>
4017 4018 </modify-argument>
4018 4019 </modify-function>
4019 4020 </object-type>
4020 4021
4021 4022 <object-type name="QTextFrame" delete-in-main-thread="yes">
4022 4023 <extra-includes>
4023 4024 <include file-name="QTextCursor" location="global"/>
4024 4025 </extra-includes>
4025 4026 </object-type>
4026 4027
4027 4028 <object-type name="QImageIOHandler">
4028 4029 <extra-includes>
4029 4030 <include file-name="QRect" location="global"/>
4030 4031 </extra-includes>
4031 4032 <modify-function signature="setFormat(const QByteArray &amp;)const">
4032 4033 <remove/>
4033 4034 </modify-function>
4034 4035 <modify-function signature="setDevice(QIODevice*)">
4035 4036 <modify-argument index="1">
4036 4037 <reference-count action="set" variable-name="__rcDevice"/>
4037 4038 </modify-argument>
4038 4039 </modify-function>
4039 4040 <modify-function signature="read(QImage*)">
4040 4041 <modify-argument index="1">
4041 4042 <replace-type modified-type="com.trolltech.qt.gui.QImage"/>
4042 4043 <conversion-rule class="shell">
4043 4044 jobject %out = qtjambi_from_object(__jni_env, %in, "QImage", "com/trolltech/qt/gui/", false);
4044 4045
4045 4046 QtJambiLink *__link = %out != 0 ? QtJambiLink::findLink(__jni_env, %out) : 0;
4046 4047 </conversion-rule>
4047 4048 <conversion-rule class="native">
4048 4049 QImage *%out = (QImage *) qtjambi_to_object(__jni_env, %in);
4049 4050 </conversion-rule>
4050 4051 </modify-argument>
4051 4052 <modify-argument index="0">
4052 4053 <conversion-rule class="shell">
4053 4054 // Invalidate object
4054 4055 if (__link != 0) __link-&gt;resetObject(__jni_env);
4055 4056 bool %out = (bool) %in;
4056 4057 </conversion-rule>
4057 4058 </modify-argument>
4058 4059 </modify-function>
4059 4060
4060 4061 <modify-function signature="name()const" remove="all"/> <!--### Obsolete in 4.3-->
4061 4062 </object-type>
4062 4063
4063 4064 <object-type name="QProxyModel">
4064 4065 <modify-function signature="parent()const" remove="all"/>
4065 4066 <extra-includes>
4066 4067 <include file-name="QPixmap" location="global"/>
4067 4068 <include file-name="QStringList" location="global"/>
4068 4069 <include file-name="QSize" location="global"/>
4069 4070 </extra-includes>
4070 4071 <modify-function signature="setModel(QAbstractItemModel*)">
4071 4072 <modify-argument index="1">
4072 4073 <reference-count action="set" variable-name="__rcModel"/>
4073 4074 </modify-argument>
4074 4075 </modify-function>
4075 4076 </object-type>
4076 4077
4077 4078 <object-type name="QImageReader">
4078 4079 <extra-includes>
4079 4080 <include file-name="QColor" location="global"/>
4080 4081 <include file-name="QRect" location="global"/>
4081 4082 <include file-name="QSize" location="global"/>
4082 4083 <include file-name="QStringList" location="global"/>
4083 4084 <include file-name="QImage" location="global"/>
4084 4085 </extra-includes>
4085 4086 <modify-function signature="read(QImage*) ">
4086 4087 <remove/>
4087 4088 </modify-function>
4088 4089 <modify-function signature="setDevice(QIODevice*)">
4089 4090 <modify-argument index="1">
4090 4091 <reference-count action="set" variable-name="__rcDevice"/>
4091 4092 </modify-argument>
4092 4093 </modify-function>
4093 4094 </object-type>
4094 4095
4095 4096 <object-type name="QMovie">
4096 4097 <extra-includes>
4097 4098 <include file-name="QColor" location="global"/>
4098 4099 <include file-name="QImage" location="global"/>
4099 4100 <include file-name="QPixmap" location="global"/>
4100 4101 <include file-name="QRect" location="global"/>
4101 4102 <include file-name="QSize" location="global"/>
4102 4103 </extra-includes>
4103 4104 <modify-function signature="cacheMode()">
4104 4105 <remove/>
4105 4106 </modify-function>
4106 4107 <modify-function signature="setDevice(QIODevice*)">
4107 4108 <modify-argument index="1">
4108 4109 <reference-count action="set" variable-name="__rcDevice"/>
4109 4110 </modify-argument>
4110 4111 </modify-function>
4111 4112 </object-type>
4112 4113
4113 4114 <object-type name="QPageSetupDialog"/>
4114 4115
4115 4116 <object-type name="QTabWidget">
4116 4117 <modify-function signature="initStyleOption(QStyleOptionTabWidgetFrame*)const">
4117 4118 <access modifier="private"/>
4118 4119 </modify-function>
4119 4120 <inject-code>
4120 4121 <insert-template name="gui.init_style_option">
4121 4122 <replace from="%TYPE" to="QStyleOptionTabWidgetFrame"/>
4122 4123 </insert-template>
4123 4124 </inject-code>
4124 4125 <modify-function signature="addTab(QWidget*,QIcon,QString)">
4125 4126 <modify-argument index="1">
4126 4127 <reference-count action="ignore"/>
4127 4128 </modify-argument>
4128 4129 </modify-function>
4129 4130 <modify-function signature="addTab(QWidget*,QString)">
4130 4131 <modify-argument index="1">
4131 4132 <reference-count action="ignore"/>
4132 4133 </modify-argument>
4133 4134 </modify-function>
4134 4135 <modify-function signature="insertTab(int,QWidget*,QString)">
4135 4136 <modify-argument index="2">
4136 4137 <reference-count action="ignore"/>
4137 4138 </modify-argument>
4138 4139 </modify-function>
4139 4140 <modify-function signature="insertTab(int,QWidget*,QIcon,QString)">
4140 4141 <modify-argument index="2">
4141 4142 <reference-count action="ignore"/>
4142 4143 </modify-argument>
4143 4144 </modify-function>
4144 4145 <modify-function signature="setCornerWidget(QWidget*,Qt::Corner)">
4145 4146 <modify-argument index="1">
4146 4147 <reference-count action="ignore"/>
4147 4148 </modify-argument>
4148 4149 </modify-function>
4149 4150 <modify-function signature="setCurrentWidget(QWidget*)">
4150 4151 <modify-argument index="1">
4151 4152 <reference-count action="ignore"/>
4152 4153 </modify-argument>
4153 4154 </modify-function>
4154 4155 <modify-function signature="setTabBar(QTabBar*)">
4155 4156 <modify-argument index="1">
4156 4157 <reference-count action="ignore"/>
4157 4158 </modify-argument>
4158 4159 </modify-function>
4159 4160 </object-type>
4160 4161 <object-type name="QDrag">
4161 4162 <extra-includes>
4162 4163 <include file-name="QPoint" location="global"/>
4163 4164 <include file-name="QPixmap" location="global"/>
4164 4165 </extra-includes>
4165 4166 <modify-function signature="setMimeData(QMimeData*)">
4166 4167 <modify-argument index="1">
4167 4168 <define-ownership class="java" owner="c++"/>
4168 4169 </modify-argument>
4169 4170 </modify-function>
4170 4171
4171 4172 <modify-function signature="start(QFlags&lt;Qt::DropAction&gt;)" remove="all"/> <!--### Obsolete in 4.3-->
4172 4173 </object-type>
4173 4174
4174 4175 <object-type name="QDateTimeEdit">
4175 4176 <modify-function signature="initStyleOption(QStyleOptionSpinBox*)const" access="private" rename="initDateTimeEditStyleOption"/>
4176 4177 <modify-function signature="setCalendarWidget(QCalendarWidget*)">
4177 4178 <modify-argument index="1">
4178 4179 <!-- Safe to ignore because widget is reparented -->
4179 4180 <reference-count action="ignore"/>
4180 4181 </modify-argument>
4181 4182 </modify-function>
4182 4183
4183 4184 </object-type>
4184 4185
4185 4186 <object-type name="QSortFilterProxyModel">
4186 4187 <modify-function signature="parent()const" remove="all"/>
4187 4188 <extra-includes>
4188 4189 <include file-name="QItemSelection" location="global"/>
4189 4190 <include file-name="QStringList" location="global"/>
4190 4191 <include file-name="QSize" location="global"/>
4191 4192 </extra-includes>
4192 4193
4193 4194 <modify-function signature="setSourceModel(QAbstractItemModel *)">
4194 4195 <modify-argument index="1">
4195 4196 <reference-count action="set" variable-name="__rcSourceModel"/>
4196 4197 </modify-argument>
4197 4198 </modify-function>
4198 4199
4199 4200 <modify-function signature="clear()" remove="all"/> <!--### Obsolete in 4.3-->
4200 4201 <modify-function signature="filterChanged()" remove="all"/> <!--### Obsolete in 4.3-->
4201 4202 </object-type>
4202 4203
4203 4204 <object-type name="QSlider">
4204 4205 <modify-function signature="initStyleOption(QStyleOptionSlider*)const">
4205 4206 <access modifier="private"/>
4206 4207 </modify-function>
4207 4208 </object-type>
4208 4209
4209 4210 <object-type name="QInputContext">
4210 4211 <extra-includes>
4211 4212 <include file-name="QTextFormat" location="global"/>
4212 4213 </extra-includes>
4213 4214 <modify-function signature="setFocusWidget(QWidget*)">
4214 4215 <remove/>
4215 4216 </modify-function>
4216 4217 <modify-function signature="filterEvent(const QEvent*)">
4217 4218 <modify-argument index="1" invalidate-after-use="yes"/>
4218 4219 </modify-function>
4219 4220 <modify-function signature="mouseHandler(int,QMouseEvent*)">
4220 4221 <modify-argument index="2" invalidate-after-use="yes"/>
4221 4222 </modify-function>
4222 4223
4223 4224 </object-type>
4224 4225
4225 4226 <object-type name="QProgressDialog">
4226 4227
4227 4228 <modify-function signature="setBar(QProgressBar*)">
4228 4229 <modify-argument index="1">
4229 4230 <define-ownership class="java" owner="c++"/>
4230 4231 </modify-argument>
4231 4232 </modify-function>
4232 4233 <modify-function signature="setCancelButton(QPushButton*)">
4233 4234 <modify-argument index="1">
4234 4235 <!-- Safe to ignore because button is reparented -->
4235 4236 <reference-count action="ignore"/>
4236 4237 </modify-argument>
4237 4238 </modify-function>
4238 4239 <modify-function signature="setLabel(QLabel*)">
4239 4240 <modify-argument index="1">
4240 4241 <!-- Safe to ignore because label is reparented -->
4241 4242 <reference-count action="ignore"/>
4242 4243 </modify-argument>
4243 4244 </modify-function>
4244 4245
4245 4246 </object-type>
4246 4247
4247 4248 <object-type name="QLabel">
4248 4249 <modify-function signature="picture()const">
4249 4250 <access modifier="private"/>
4250 4251 <rename to="picture_private"/>
4251 4252 </modify-function>
4252 4253
4253 4254 <modify-function signature="setBuddy(QWidget *)">
4254 4255 <modify-argument index="1">
4255 4256 <reference-count action="set" variable-name="__rcBuddy"/>
4256 4257 </modify-argument>
4257 4258 </modify-function>
4258 4259 <modify-function signature="setMovie(QMovie *)">
4259 4260 <modify-argument index="1">
4260 4261 <reference-count action="set" variable-name="__rcMovie"/>
4261 4262 </modify-argument>
4262 4263 </modify-function>
4263 4264 <modify-function signature="pixmap()const">
4264 4265 <access modifier="private"/>
4265 4266 <rename to="pixmap_private"/>
4266 4267 </modify-function>
4267 4268 </object-type>
4268 4269
4269 4270 <object-type name="QFileDialog">
4270 4271 <extra-includes>
4271 4272 <include file-name="QUrl" location="global"/>
4272 4273 </extra-includes>
4273 4274
4274 4275 <modify-function signature="getOpenFileName(QWidget*,QString,QString,QString,QString*,QFlags&lt;QFileDialog::Option&gt;)">
4275 4276 <access modifier="private"/>
4276 4277 <modify-argument index="1">
4277 4278 <remove-default-expression/>
4278 4279 </modify-argument>
4279 4280 <modify-argument index="2">
4280 4281 <remove-default-expression/>
4281 4282 </modify-argument>
4282 4283 <modify-argument index="3">
4283 4284 <remove-default-expression/>
4284 4285 </modify-argument>
4285 4286 <modify-argument index="4">
4286 4287 <remove-default-expression/>
4287 4288 </modify-argument>
4288 4289 <modify-argument index="5">
4289 4290 <remove-default-expression/>
4290 4291 </modify-argument>
4291 4292 <modify-argument index="6">
4292 4293 <remove-default-expression/>
4293 4294 </modify-argument>
4294 4295 </modify-function>
4295 4296
4296 4297 <modify-function signature="getOpenFileNames(QWidget*,QString,QString,QString,QString*,QFlags&lt;QFileDialog::Option&gt;)">
4297 4298 <access modifier="private"/>
4298 4299 <modify-argument index="1">
4299 4300 <remove-default-expression/>
4300 4301 </modify-argument>
4301 4302 <modify-argument index="2">
4302 4303 <remove-default-expression/>
4303 4304 </modify-argument>
4304 4305 <modify-argument index="3">
4305 4306 <remove-default-expression/>
4306 4307 </modify-argument>
4307 4308 <modify-argument index="4">
4308 4309 <remove-default-expression/>
4309 4310 </modify-argument>
4310 4311 <modify-argument index="5">
4311 4312 <remove-default-expression/>
4312 4313 </modify-argument>
4313 4314 <modify-argument index="6">
4314 4315 <remove-default-expression/>
4315 4316 </modify-argument>
4316 4317 </modify-function>
4317 4318
4318 4319 <modify-function signature="getSaveFileName(QWidget*,QString,QString,QString,QString*,QFlags&lt;QFileDialog::Option&gt;)">
4319 4320 <access modifier="private"/>
4320 4321 <modify-argument index="1">
4321 4322 <remove-default-expression/>
4322 4323 </modify-argument>
4323 4324 <modify-argument index="2">
4324 4325 <remove-default-expression/>
4325 4326 </modify-argument>
4326 4327 <modify-argument index="3">
4327 4328 <remove-default-expression/>
4328 4329 </modify-argument>
4329 4330 <modify-argument index="4">
4330 4331 <remove-default-expression/>
4331 4332 </modify-argument>
4332 4333 <modify-argument index="5">
4333 4334 <remove-default-expression/>
4334 4335 </modify-argument>
4335 4336 <modify-argument index="6">
4336 4337 <remove-default-expression/>
4337 4338 </modify-argument>
4338 4339 </modify-function>
4339 4340
4340 4341 <modify-function signature="setIconProvider(QFileIconProvider*)">
4341 4342 <modify-argument index="1">
4342 4343 <reference-count action="set" variable-name="__rcIconProvider"/>
4343 4344 </modify-argument>
4344 4345 </modify-function>
4345 4346
4346 4347 <modify-function signature="setItemDelegate(QAbstractItemDelegate*)">
4347 4348 <modify-argument index="1">
4348 4349 <reference-count action="set" variable-name="__rcItemDelegate"/>
4349 4350 </modify-argument>
4350 4351 </modify-function>
4351 4352
4352 4353 <modify-function signature="setProxyModel(QAbstractProxyModel*)">
4353 4354 <modify-argument index="1">
4354 4355 <!-- Reparented -->
4355 4356 <reference-count action="ignore"/>
4356 4357 </modify-argument>
4357 4358 </modify-function>
4358 4359
4359 4360 </object-type>
4360 4361
4361 4362 <object-type name="QErrorMessage"/>
4362 4363
4363 4364 <object-type name="QTabBar">
4364 4365 <extra-includes>
4365 4366 <include file-name="QIcon" location="global"/>
4366 4367 </extra-includes>
4367 4368 <modify-function signature="initStyleOption(QStyleOptionTab*,int)const">
4368 4369 <access modifier="private"/>
4369 4370 </modify-function>
4370 4371 <modify-function signature="setTabButton(int,QTabBar::ButtonPosition,QWidget*)">
4371 4372 <modify-argument index="3">
4372 4373 <reference-count action="ignore"/>
4373 4374 </modify-argument>
4374 4375 </modify-function>
4375 4376 </object-type>
4376 4377
4377 4378 <object-type name="QStandardItemModel">
4378 4379 <modify-function signature="insertColumn(int,const QModelIndex &amp;)" remove="all"/>
4379 4380 <modify-function signature="insertRow(int,const QModelIndex &amp;)" remove="all"/>
4380 4381 <modify-function signature="parent()const" remove="all"/>
4381 4382 <extra-includes>
4382 4383 <include file-name="QStringList" location="global"/>
4383 4384 <include file-name="QSize" location="global"/>
4384 4385 </extra-includes>
4385 4386
4386 4387 <modify-function signature="appendColumn(const QList&lt;QStandardItem *&gt;&amp;)">
4387 4388 <modify-argument index="1">
4388 4389 <define-ownership class="java" owner="c++"/>
4389 4390 </modify-argument>
4390 4391 </modify-function>
4391 4392 <modify-function signature="takeColumn(int)">
4392 4393 <modify-argument index="return">
4393 4394 <define-ownership class="java" owner="default"/>
4394 4395 </modify-argument>
4395 4396 </modify-function>
4396 4397 <modify-function signature="takeRow(int)">
4397 4398 <modify-argument index="return">
4398 4399 <define-ownership class="java" owner="default"/>
4399 4400 </modify-argument>
4400 4401 </modify-function>
4401 4402 <modify-function signature="takeHorizontalHeaderItem(int)">
4402 4403 <modify-argument index="return">
4403 4404 <define-ownership class="java" owner="default"/>
4404 4405 </modify-argument>
4405 4406 </modify-function>
4406 4407 <modify-function signature="takeVerticalHeaderItem(int)">
4407 4408 <modify-argument index="return">
4408 4409 <define-ownership class="java" owner="default"/>
4409 4410 </modify-argument>
4410 4411 </modify-function>
4411 4412 <modify-function signature="takeItem(int,int)">
4412 4413 <modify-argument index="return">
4413 4414 <define-ownership class="java" owner="default"/>
4414 4415 </modify-argument>
4415 4416 </modify-function>
4416 4417 <modify-function signature="appendRow(const QList&lt;QStandardItem *&gt;&amp;)">
4417 4418 <modify-argument index="1">
4418 4419 <define-ownership class="java" owner="c++"/>
4419 4420 </modify-argument>
4420 4421 </modify-function>
4421 4422 <modify-function signature="appendRow(QStandardItem *)">
4422 4423 <modify-argument index="1">
4423 4424 <define-ownership class="java" owner="c++"/>
4424 4425 </modify-argument>
4425 4426 </modify-function>
4426 4427 <modify-function signature="insertColumn(int, const QList&lt;QStandardItem *&gt;&amp;)">
4427 4428 <modify-argument index="2">
4428 4429 <define-ownership class="java" owner="c++"/>
4429 4430 </modify-argument>
4430 4431 </modify-function>
4431 4432 <modify-function signature="insertRow(int, const QList&lt;QStandardItem *&gt;&amp;)">
4432 4433 <modify-argument index="2">
4433 4434 <define-ownership class="java" owner="c++"/>
4434 4435 </modify-argument>
4435 4436 </modify-function>
4436 4437 <modify-function signature="insertRow(int, QStandardItem *)">
4437 4438 <modify-argument index="2">
4438 4439 <define-ownership class="java" owner="c++"/>
4439 4440 </modify-argument>
4440 4441 </modify-function>
4441 4442 <modify-function signature="setHorizontalHeaderItem(int, QStandardItem *)">
4442 4443 <modify-argument index="2">
4443 4444 <define-ownership class="java" owner="c++"/>
4444 4445 </modify-argument>
4445 4446 </modify-function>
4446 4447 <modify-function signature="setItem(int, int, QStandardItem *)">
4447 4448 <modify-argument index="3">
4448 4449 <define-ownership class="java" owner="c++"/>
4449 4450 </modify-argument>
4450 4451 </modify-function>
4451 4452 <modify-function signature="setItem(int, QStandardItem *)">
4452 4453 <modify-argument index="2">
4453 4454 <define-ownership class="java" owner="c++"/>
4454 4455 </modify-argument>
4455 4456 </modify-function>
4456 4457 <modify-function signature="setItemPrototype(const QStandardItem *)">
4457 4458 <modify-argument index="1">
4458 4459 <define-ownership class="java" owner="c++"/>
4459 4460 </modify-argument>
4460 4461 </modify-function>
4461 4462 <modify-function signature="setVerticalHeaderItem(int, QStandardItem *)">
4462 4463 <modify-argument index="2">
4463 4464 <define-ownership class="java" owner="c++"/>
4464 4465 </modify-argument>
4465 4466 </modify-function>
4466 4467 </object-type>
4467 4468
4468 4469 <object-type name="QRadioButton">
4469 4470 <modify-function signature="initStyleOption(QStyleOptionButton*)const">
4470 4471 <access modifier="private"/>
4471 4472 </modify-function>
4472 4473 </object-type>
4473 4474
4474 4475 <object-type name="QScrollBar">
4475 4476 <modify-function signature="initStyleOption(QStyleOptionSlider*)const">
4476 4477 <access modifier="private"/>
4477 4478 </modify-function>
4478 4479 </object-type>
4479 4480
4480 4481 <object-type name="QClipboard">
4481 4482 <extra-includes>
4482 4483 <include file-name="QImage" location="global"/>
4483 4484 <include file-name="QPixmap" location="global"/>
4484 4485 </extra-includes>
4485 4486 <modify-function signature="setMimeData(QMimeData *, QClipboard::Mode)">
4486 4487 <modify-argument index="1">
4487 4488 <define-ownership class="java" owner="c++"/>
4488 4489 </modify-argument>
4489 4490 </modify-function>
4490 4491 <modify-function signature="text(QString&amp;,QClipboard::Mode)const">
4491 4492 <access modifier="private"/>
4492 4493 <modify-argument index="2">
4493 4494 <remove-default-expression/>
4494 4495 </modify-argument>
4495 4496 </modify-function>
4496 4497
4497 4498 </object-type>
4498 4499
4499 4500 <object-type name="QAbstractScrollArea">
4500 4501 <modify-function signature="setupViewport(QWidget *)" access="non-final"/>
4501 4502 <modify-function signature="addScrollBarWidget(QWidget*,QFlags&lt;Qt::AlignmentFlag&gt;)">
4502 4503 <modify-argument index="1">
4503 4504 <reference-count action="ignore"/>
4504 4505 </modify-argument>
4505 4506 </modify-function>
4506 4507 <modify-function signature="setCornerWidget(QWidget*)">
4507 4508 <modify-argument index="1">
4508 4509 <reference-count action="ignore"/>
4509 4510 </modify-argument>
4510 4511 </modify-function>
4511 4512 <modify-function signature="setHorizontalScrollBar(QScrollBar*)">
4512 4513 <modify-argument index="1">
4513 4514 <reference-count action="ignore"/>
4514 4515 </modify-argument>
4515 4516 </modify-function>
4516 4517
4517 4518 <modify-function signature="setVerticalScrollBar(QScrollBar*)">
4518 4519 <modify-argument index="1">
4519 4520 <reference-count action="ignore"/>
4520 4521 </modify-argument>
4521 4522 </modify-function>
4522 4523
4523 4524 <modify-function signature="setViewport(QWidget*)">
4524 4525 <modify-argument index="1">
4525 4526 <reference-count action="ignore"/>
4526 4527 </modify-argument>
4527 4528 </modify-function>
4528 4529
4529 4530 <modify-function signature="setupViewport(QWidget*)">
4530 4531 <modify-argument index="1">
4531 4532 <reference-count action="ignore"/>
4532 4533 </modify-argument>
4533 4534 </modify-function>
4534 4535
4535 4536 <modify-function signature="viewportEvent(QEvent*)">
4536 4537 <modify-argument index="1" invalidate-after-use="yes"/>
4537 4538 </modify-function>
4538 4539
4539 4540 </object-type>
4540 4541
4541 4542 <object-type name="QPaintEngineState">
4542 4543 <extra-includes>
4543 4544 <include file-name="QPainterPath" location="global"/>
4544 4545 </extra-includes>
4545 4546 </object-type>
4546 4547
4547 4548 <object-type name="QRubberBand">
4548 4549 <modify-function signature="initStyleOption(QStyleOptionRubberBand*)const">
4549 4550 <access modifier="private"/>
4550 4551 </modify-function>
4551 4552 <modify-function signature="move(int,int)" rename="moveRubberBand"/>
4552 4553 <modify-function signature="move(const QPoint &amp;)" rename="moveRubberBand"/>
4553 4554 <modify-function signature="resize(int,int)" rename="resizeRubberBand"/>
4554 4555 <modify-function signature="resize(const QSize &amp;)" rename="resizeRubberBand"/>
4555 4556 <modify-function signature="setGeometry(int,int,int,int)" rename="setRubberBandGeometry"/>
4556 4557 <modify-function signature="setGeometry(const QRect &amp;)" rename="setRubberBandGeometry"/>
4557 4558 </object-type>
4558 4559
4559 4560 <object-type name="QTextLayout">
4560 4561 <extra-includes>
4561 4562 <include file-name="QTextOption" location="global"/>
4562 4563 </extra-includes>
4563 4564 </object-type>
4564 4565
4565 4566 <object-type name="QTableWidget">
4566 4567 <modify-function signature="mimeData(const QList&lt;QTableWidgetItem*&gt;)const">
4567 4568 <modify-argument index="1" invalidate-after-use="yes"/>
4568 4569 </modify-function>
4569 4570 <modify-function signature="isSortingEnabled()const" remove="all"/>
4570 4571 <modify-function signature="setSortingEnabled(bool)" remove="all"/>
4571 4572 <modify-function signature="setHorizontalHeaderItem(int, QTableWidgetItem *)">
4572 4573 <modify-argument index="2">
4573 4574 <define-ownership class="java" owner="c++"/>
4574 4575 </modify-argument>
4575 4576 </modify-function>
4576 4577 <modify-function signature="setItem(int, int, QTableWidgetItem *)">
4577 4578 <modify-argument index="3">
4578 4579 <define-ownership class="java" owner="c++"/>
4579 4580 </modify-argument>
4580 4581 </modify-function>
4581 4582 <modify-function signature="takeHorizontalHeaderItem(int)">
4582 4583 <modify-argument index="return">
4583 4584 <define-ownership class="java" owner="default"/>
4584 4585 </modify-argument>
4585 4586 </modify-function>
4586 4587 <modify-function signature="takeVerticalHeaderItem(int)">
4587 4588 <modify-argument index="return">
4588 4589 <define-ownership class="java" owner="default"/>
4589 4590 </modify-argument>
4590 4591 </modify-function>
4591 4592 <modify-function signature="takeItem(int,int)">
4592 4593 <modify-argument index="return">
4593 4594 <define-ownership class="java" owner="default"/>
4594 4595 </modify-argument>
4595 4596 </modify-function>
4596 4597 <modify-function signature="setItemPrototype(const QTableWidgetItem *)">
4597 4598 <modify-argument index="1">
4598 4599 <define-ownership class="java" owner="c++"/>
4599 4600 </modify-argument>
4600 4601 </modify-function>
4601 4602 <modify-function signature="setVerticalHeaderItem(int, QTableWidgetItem *)">
4602 4603 <modify-argument index="2">
4603 4604 <define-ownership class="java" owner="c++"/>
4604 4605 </modify-argument>
4605 4606 </modify-function>
4606 4607 <modify-function signature="setCellWidget(int,int,QWidget*)">
4607 4608 <modify-argument index="3">
4608 4609 <reference-count action="ignore"/>
4609 4610 </modify-argument>
4610 4611 </modify-function>
4611 4612 <modify-function signature="setCurrentItem(QTableWidgetItem*)">
4612 4613 <modify-argument index="1">
4613 4614 <reference-count action="ignore"/>
4614 4615 </modify-argument>
4615 4616 </modify-function>
4616 4617 <modify-function signature="setCurrentItem(QTableWidgetItem*,QFlags&lt;QItemSelectionModel::SelectionFlag&gt;)">
4617 4618 <modify-argument index="1">
4618 4619 <reference-count action="ignore"/>
4619 4620 </modify-argument>
4620 4621 </modify-function>
4621 4622 <modify-function signature="setItemSelected(const QTableWidgetItem*,bool)">
4622 4623 <remove/>
4623 4624 </modify-function>
4624 4625 <modify-function signature="isItemSelected(const QTableWidgetItem*)const">
4625 4626 <remove/>
4626 4627 </modify-function>
4627 4628 <modify-function signature="setModel(QAbstractItemModel*)">
4628 4629 <modify-argument index="1">
4629 4630 <reference-count action="ignore"/>
4630 4631 </modify-argument>
4631 4632 </modify-function>
4632 4633
4633 4634 <modify-function signature="mimeData(const QList&lt;QTableWidgetItem*&gt;)const" remove="all"/>
4634 4635 </object-type>
4635 4636 <object-type name="QTextDocument">
4636 4637 <extra-includes>
4637 4638 <include file-name="QTextBlock" location="global"/>
4638 4639 <include file-name="QTextFormat" location="global"/>
4639 4640 <include file-name="QTextCursor" location="global"/>
4640 4641 </extra-includes>
4641 4642 <modify-function signature="redo(QTextCursor*)">
4642 4643 <access modifier="private"/>
4643 4644 </modify-function>
4644 4645 <modify-function signature="setDocumentLayout(QAbstractTextDocumentLayout*)">
4645 4646 <modify-argument index="1">
4646 4647 <define-ownership class="java" owner="c++"/>
4647 4648 </modify-argument>
4648 4649 </modify-function>
4649 4650
4650 4651 <modify-function signature="undo(QTextCursor*)">
4651 4652 <access modifier="private"/>
4652 4653 </modify-function>
4653 4654 </object-type>
4654 4655
4655 4656 <object-type name="QTextDocumentWriter">
4656 4657 <modify-function signature="setCodec(QTextCodec*)">
4657 4658 <modify-argument index="1">
4658 4659 <reference-count action="set" variable-name="__rcCodec"/>
4659 4660 </modify-argument>
4660 4661 </modify-function>
4661 4662 <modify-function signature="setDevice(QIODevice*)">
4662 4663 <modify-argument index="1">
4663 4664 <reference-count action="set" variable-name="__rcDevice"/>
4664 4665 </modify-argument>
4665 4666 </modify-function>
4666 4667 </object-type>
4667 4668
4668 4669 <object-type name="QSplitter">
4669 4670
4670 4671 <modify-function signature="getRange(int,int*,int*)const">
4671 4672 <access modifier="private"/>
4672 4673 </modify-function>
4673 4674 <modify-function signature="addWidget(QWidget *)">
4674 4675 <modify-argument index="1">
4675 4676 <reference-count action="ignore"/>
4676 4677 </modify-argument>
4677 4678 </modify-function>
4678 4679 <modify-function signature="insertWidget(int, QWidget *)">
4679 4680 <modify-argument index="2">
4680 4681 <reference-count action="ignore"/>
4681 4682 </modify-argument>
4682 4683 </modify-function>
4683 4684 </object-type>
4684 4685
4685 4686 <object-type name="QGroupBox">
4686 4687 <modify-function signature="initStyleOption(QStyleOptionGroupBox*)const">
4687 4688 <access modifier="private"/>
4688 4689 </modify-function>
4689 4690 </object-type>
4690 4691
4691 4692 <object-type name="QStackedWidget">
4692 4693 <modify-function signature="addWidget(QWidget*)">
4693 4694 <modify-argument index="1">
4694 4695 <reference-count action="ignore"/>
4695 4696 </modify-argument>
4696 4697 </modify-function>
4697 4698 <modify-function signature="insertWidget(int,QWidget*)">
4698 4699 <modify-argument index="2">
4699 4700 <reference-count action="ignore"/>
4700 4701 </modify-argument>
4701 4702 </modify-function>
4702 4703 <modify-function signature="removeWidget(QWidget*)">
4703 4704 <modify-argument index="1">
4704 4705 <reference-count action="ignore"/>
4705 4706 </modify-argument>
4706 4707 </modify-function>
4707 4708 <modify-function signature="setCurrentWidget(QWidget*)">
4708 4709 <modify-argument index="1">
4709 4710 <reference-count action="ignore"/>
4710 4711 </modify-argument>
4711 4712 </modify-function>
4712 4713 </object-type>
4713 4714
4714 4715 <object-type name="QSplitterHandle">
4715 4716 </object-type>
4716 4717
4717 4718 <object-type name="QDial">
4718 4719 <modify-function signature="initStyleOption(QStyleOptionSlider*)const">
4719 4720 <access modifier="private"/>
4720 4721 </modify-function>
4721 4722 </object-type>
4722 4723
4723 4724 <object-type name="QLineEdit">
4724 4725 <modify-function signature="initStyleOption(QStyleOptionFrame*)const">
4725 4726 <access modifier="private"/>
4726 4727 </modify-function>
4727 4728 <modify-function signature="setCompleter(QCompleter *)">
4728 4729 <modify-argument index="1">
4729 4730 <reference-count action="set" variable-name="__rcCompleter"/>
4730 4731 </modify-argument>
4731 4732 </modify-function>
4732 4733 <modify-function signature="setValidator(const QValidator *)">
4733 4734 <modify-argument index="1">
4734 4735 <reference-count action="set" variable-name="__rcValidator"/>
4735 4736 </modify-argument>
4736 4737 </modify-function>
4737 4738 </object-type>
4738 4739
4739 4740 <object-type name="QLCDNumber"/>
4740 4741
4741 4742 <object-type name="QSplashScreen">
4742 4743 <modify-function signature="showMessage(const QString &amp;, int, const QColor &amp;)">
4743 4744 <modify-argument index="3">
4744 4745 <replace-default-expression with="QColor.black"/>
4745 4746 </modify-argument>
4746 4747 </modify-function>
4747 4748 <modify-function signature="repaint()" remove="all"/>
4748 4749 <modify-function signature="drawContents(QPainter*)">
4749 4750 <modify-argument index="1" invalidate-after-use="yes"/>
4750 4751 </modify-function>
4751 4752 </object-type>
4752 4753
4753 4754 <object-type name="QDockWidget">
4754 4755 <modify-function signature="initStyleOption(QStyleOptionDockWidget*)const">
4755 4756 <access modifier="private"/>
4756 4757 </modify-function>
4757 4758 <inject-code>
4758 4759 <insert-template name="gui.init_style_option">
4759 4760 <replace from="%TYPE" to="QStyleOptionDockWidget"/>
4760 4761 </insert-template>
4761 4762 </inject-code>
4762 4763 <modify-function signature="setTitleBarWidget(QWidget*)">
4763 4764 <modify-argument index="1">
4764 4765 <reference-count action="ignore"/>
4765 4766 </modify-argument>
4766 4767 </modify-function>
4767 4768 <modify-function signature="setWidget(QWidget*)">
4768 4769 <modify-argument index="1">
4769 4770 <reference-count action="ignore"/>
4770 4771 </modify-argument>
4771 4772 </modify-function>
4772 4773 </object-type>
4773 4774
4774 4775 <object-type name="QAbstractProxyModel">
4775 4776 <extra-includes>
4776 4777 <include file-name="QItemSelection" location="global"/>
4777 4778 <include file-name="QStringList" location="global"/>
4778 4779 <include file-name="QSize" location="global"/>
4779 4780 </extra-includes>
4780 4781
4781 4782 <modify-function signature="setSourceModel(QAbstractItemModel *)">
4782 4783 <modify-argument index="1">
4783 4784 <reference-count action="set" variable-name="__rcSourceModel"/>
4784 4785 </modify-argument>
4785 4786 </modify-function>
4786 4787
4787 4788 </object-type>
4788 4789
4789 4790 <object-type name="QDesktopWidget">
4790 4791 </object-type>
4791 4792
4792 4793 <object-type name="QFrame">
4793 4794 </object-type>
4794 4795
4795 4796 <object-type name="QTextTable">
4796 4797 <modify-function signature="format() const">
4797 4798 <rename to="tableFormat"/>
4798 4799 </modify-function>
4799 4800 <extra-includes>
4800 4801 <include file-name="QTextCursor" location="global"/>
4801 4802 </extra-includes>
4802 4803 </object-type>
4803 4804
4804 4805 <object-type name="QSpinBox">
4805 4806 <modify-function signature="valueChanged(const QString &amp;)">
4806 4807 <rename to="valueStringChanged"/>
4807 4808 </modify-function>
4808 4809 </object-type>
4809 4810
4810 4811 <object-type name="QTextBrowser">
4811 4812 <modify-function signature="highlighted(const QString &amp;)">
4812 4813 <rename to="highlightedString"/>
4813 4814 </modify-function>
4814 4815 </object-type>
4815 4816
4816 4817 <object-type name="QDoubleSpinBox">
4817 4818 <modify-function signature="valueChanged(const QString &amp;)">
4818 4819 <rename to="valueStringChanged"/>
4819 4820 </modify-function>
4820 4821 </object-type>
4821 4822
4822 4823 <object-type name="QButtonGroup">
4823 4824 <modify-function signature="buttonClicked(int)">
4824 4825 <rename to="buttonIdClicked"/>
4825 4826 </modify-function>
4826 4827 <modify-function signature="buttonPressed(int)">
4827 4828 <rename to="buttonIdPressed"/>
4828 4829 </modify-function>
4829 4830 <modify-function signature="buttonReleased(int)">
4830 4831 <rename to="buttonIdReleased"/>
4831 4832 </modify-function>
4832 4833 <modify-function signature="addButton(QAbstractButton *)">
4833 4834 <modify-argument index="1">
4834 4835 <reference-count action="add" variable-name="__rcButtons"/>
4835 4836 <no-null-pointer/>
4836 4837 </modify-argument>
4837 4838 </modify-function>
4838 4839 <modify-function signature="addButton(QAbstractButton *, int)">
4839 4840 <modify-argument index="1">
4840 4841 <reference-count action="add" variable-name="__rcButtons"/>
4841 4842 <no-null-pointer/>
4842 4843 </modify-argument>
4843 4844 </modify-function>
4844 4845 <modify-function signature="removeButton(QAbstractButton *)">
4845 4846 <modify-argument index="1">
4846 4847 <reference-count action="remove" variable-name="__rcButtons"/>
4847 4848 <no-null-pointer/>
4848 4849 </modify-argument>
4849 4850 </modify-function>
4850 4851 <modify-function signature="setId(QAbstractButton *,int)">
4851 4852 <modify-argument index="1">
4852 4853 <reference-count action="ignore"/>
4853 4854 </modify-argument>
4854 4855 </modify-function>
4855 4856 </object-type>
4856 4857
4857 4858 <object-type name="QToolBar">
4858 4859 <modify-function signature="addWidget(QWidget*)">
4859 4860 <modify-argument index="1">
4860 4861 <define-ownership class="java" owner="c++"/>
4861 4862 </modify-argument>
4862 4863 </modify-function>
4863 4864 <modify-function signature="insertWidget(QAction*,QWidget*)">
4864 4865 <modify-argument index="1">
4865 4866 <reference-count action="ignore"/>
4866 4867 </modify-argument>
4867 4868 <modify-argument index="2">
4868 4869 <define-ownership class="java" owner="c++"/>
4869 4870 </modify-argument>
4870 4871 </modify-function>
4871 4872 <modify-function signature="insertSeparator(QAction*)">
4872 4873 <modify-argument index="1">
4873 4874 <reference-count action="ignore"/>
4874 4875 </modify-argument>
4875 4876 </modify-function>
4876 4877
4877 4878 <inject-code class="pywrap-h">
4878 4879 QAction* addAction (QToolBar* menu, const QString &amp; text, PyObject* callable)
4879 4880 {
4880 4881 QAction* a = menu-&gt;addAction(text);
4881 4882 PythonQt::self()-&gt;addSignalHandler(a, SIGNAL(triggered(bool)), callable);
4882 4883 return a;
4883 4884 }
4884 4885
4885 4886 QAction* addAction (QToolBar* menu, const QIcon&amp; icon, const QString&amp; text, PyObject* callable)
4886 4887 {
4887 4888 QAction* a = menu-&gt;addAction(text);
4888 4889 a-&gt;setIcon(icon);
4889 4890 PythonQt::self()-&gt;addSignalHandler(a, SIGNAL(triggered(bool)), callable);
4890 4891 return a;
4891 4892 }
4892 4893 </inject-code>
4893 4894 </object-type>
4894 4895
4895 4896 <object-type name="QPaintEngine">
4896 4897
4897 4898 <modify-function signature="begin(QPaintDevice*)">
4898 4899 <modify-argument index="1" invalidate-after-use="yes"/>
4899 4900 </modify-function>
4900 4901 <modify-function signature="updateState(QPaintEngineState)">
4901 4902 <modify-argument index="1" invalidate-after-use="yes"/>
4902 4903 </modify-function>
4903 4904 <modify-function signature="drawTextItem(QPointF,QTextItem)">
4904 4905 <modify-argument index="2" invalidate-after-use="yes"/>
4905 4906 </modify-function>
4906 4907
4907 4908 <extra-includes>
4908 4909 <include file-name="QVarLengthArray" location="global"/>
4909 4910 </extra-includes>
4910 4911 <modify-function signature="setPaintDevice(QPaintDevice*)">
4911 4912 <remove/>
4912 4913 </modify-function>
4913 4914 <modify-field name="state" read="false" write="false"/>
4914 4915 </object-type>
4915 4916
4916 4917 <object-type name="QAbstractTableModel">
4917 4918 <extra-includes>
4918 4919 <include file-name="QStringList" location="global"/>
4919 4920 <include file-name="QSize" location="global"/>
4920 4921 </extra-includes>
4921 4922 </object-type>
4922 4923
4923 4924 <object-type name="QGuiSignalMapper"/>
4924 4925
4925 4926 <object-type name="QComboBox">
4926 4927 <modify-function signature="initStyleOption(QStyleOptionComboBox*)const">
4927 4928 <access modifier="private"/>
4928 4929 </modify-function>
4929 4930 <modify-function signature="setCompleter(QCompleter*)">
4930 4931 <modify-argument index="1">
4931 4932 <reference-count variable-name="__rcCompleter" action="set"/>
4932 4933 </modify-argument>
4933 4934 </modify-function>
4934 4935 <modify-function signature="setValidator(const QValidator*)">
4935 4936 <modify-argument index="1">
4936 4937 <reference-count variable-name="__rcValidator" action="set"/>
4937 4938 </modify-argument>
4938 4939 </modify-function>
4939 4940 <modify-function signature="setItemDelegate(QAbstractItemDelegate *)">
4940 4941 <modify-argument index="1">
4941 4942 <define-ownership class="java" owner="c++"/>
4942 4943 <no-null-pointer/>
4943 4944 </modify-argument>
4944 4945 </modify-function>
4945 4946 <modify-function signature="setView(QAbstractItemView *)">
4946 4947 <modify-argument index="1">
4947 4948 <no-null-pointer/>
4948 4949 <!-- Safe to ignore because combo box reparents view -->
4949 4950 <reference-count action="ignore"/>
4950 4951 </modify-argument>
4951 4952 </modify-function>
4952 4953 <modify-function signature="setLineEdit(QLineEdit *)">
4953 4954 <modify-argument index="1">
4954 4955 <no-null-pointer/>
4955 4956 <!-- Safe to ignore because combo box reparents line edit -->
4956 4957 <reference-count action="ignore"/>
4957 4958 </modify-argument>
4958 4959 </modify-function>
4959 4960 <modify-function signature="setModel(QAbstractItemModel *)">
4960 4961 <modify-argument index="1">
4961 4962 <no-null-pointer/>
4962 4963 <reference-count action="set" variable-name="__rcModel"/>
4963 4964 </modify-argument>
4964 4965 </modify-function>
4965 4966 <inject-code>
4966 4967 <insert-template name="gui.init_style_option">
4967 4968 <replace from="%TYPE" to="QStyleOptionComboBox"/>
4968 4969 </insert-template>
4969 4970 </inject-code>
4970 4971 <modify-function signature="activated(int)">&gt;
4971 4972 <rename to="activatedIndex"/>
4972 4973 </modify-function>
4973 4974 <modify-function signature="currentIndexChanged(const QString &amp;)">
4974 4975 <rename to="currentStringChanged"/>
4975 4976 </modify-function>
4976 4977 <modify-function signature="highlighted(int)">
4977 4978 <rename to="highlightedIndex"/>
4978 4979 </modify-function>
4979 4980
4980 4981 <modify-function signature="autoCompletion()const" remove="all"/> <!--### Obsolete in 4.3-->
4981 4982 <modify-function signature="autoCompletionCaseSensitivity()const" remove="all"/> <!--### Obsolete in 4.3-->
4982 4983 <modify-function signature="setAutoCompletion(bool)" remove="all"/> <!--### Obsolete in 4.3-->
4983 4984 <modify-function signature="setAutoCompletionCaseSensitivity(Qt::CaseSensitivity)" remove="all"/> <!--### Obsolete in 4.3-->
4984 4985 </object-type>
4985 4986
4986 4987 <object-type name="QTextEdit">
4987 4988 <extra-includes>
4988 4989 <include file-name="QTextCursor" location="global"/>
4989 4990 </extra-includes>
4990 4991 <modify-function signature="setDocument(QTextDocument*)">
4991 4992 <modify-argument index="1">
4992 4993 <reference-count action="set" variable-name="__rcDocument"/>
4993 4994 </modify-argument>
4994 4995 </modify-function>
4995 4996 <modify-function signature="insertFromMimeData(const QMimeData*) ">
4996 4997 <modify-argument index="1">
4997 4998 <reference-count action="ignore"/>
4998 4999 </modify-argument>
4999 5000 </modify-function>
5000 5001 </object-type>
5001 5002
5002 5003 <object-type name="QPrinter" delete-in-main-thread="yes">
5003 5004 <modify-function signature="setEngines(QPrintEngine*,QPaintEngine*)">
5004 5005 <modify-argument index="1">
5005 5006 <reference-count action="set" variable-name="__rcPrintEngine"/>
5006 5007 </modify-argument>
5007 5008 <modify-argument index="2">
5008 5009 <reference-count action="set" variable-name="__rcPaintEngine"/>
5009 5010 </modify-argument>
5010 5011 </modify-function>
5011 5012
5012 5013 <extra-includes>
5013 5014 <include file-name="QPrinterInfo" location="global"/>
5014 5015 </extra-includes>
5015 5016 </object-type>
5016 5017
5017 5018 <object-type name="QAction">
5018 5019 <modify-function signature="setMenu(QMenu*)">
5019 5020 <modify-argument index="1">
5020 5021 <reference-count action="set" variable-name="__rcMenu"/>
5021 5022 </modify-argument>
5022 5023 </modify-function>
5023 5024
5024 5025 </object-type>
5025 5026
5026 5027 <object-type name="QPainter">
5027 5028 <extra-includes>
5028 5029 <include file-name="QWidget" location="global"/>
5029 5030 <include file-name="QPainterPath" location="global"/>
5030 5031 <include file-name="QPixmap" location="global"/>
5031 5032 </extra-includes>
5032 5033
5033 5034 <modify-function signature="drawText(const QPointF &amp;, const QString &amp;, int, int)" remove="all"/>
5034 5035
5035 5036 <modify-function signature="drawConvexPolygon(const QPoint *, int)">
5036 5037 <remove/>
5037 5038 </modify-function>
5038 5039 <modify-function signature="drawConvexPolygon(const QPointF *, int)">
5039 5040 <remove/>
5040 5041 </modify-function>
5041 5042 <modify-function signature="drawLines(const QLine *, int)">
5042 5043 <remove/>
5043 5044 </modify-function>
5044 5045 <modify-function signature="drawLines(const QLineF *, int)">
5045 5046 <remove/>
5046 5047 </modify-function>
5047 5048 <modify-function signature="drawLines(const QPoint *, int)">
5048 5049 <remove/>
5049 5050 </modify-function>
5050 5051 <modify-function signature="drawLines(const QPointF *, int)">
5051 5052 <remove/>
5052 5053 </modify-function>
5053 5054 <modify-function signature="drawPoints(const QPoint *, int)">
5054 5055 <remove/>
5055 5056 </modify-function>
5056 5057 <modify-function signature="drawPoints(const QPointF *, int)">
5057 5058 <remove/>
5058 5059 </modify-function>
5059 5060 <modify-function signature="drawPolygon(const QPoint *, int, Qt::FillRule)">
5060 5061 <remove/>
5061 5062 </modify-function>
5062 5063 <modify-function signature="drawPolygon(const QPointF *, int, Qt::FillRule)">
5063 5064 <remove/>
5064 5065 </modify-function>
5065 5066 <modify-function signature="drawPolyline(const QPoint *, int)">
5066 5067 <remove/>
5067 5068 </modify-function>
5068 5069 <modify-function signature="drawPolyline(const QPointF *, int)">
5069 5070 <remove/>
5070 5071 </modify-function>
5071 5072 <modify-function signature="drawRects(const QRect *, int)">
5072 5073 <remove/>
5073 5074 </modify-function>
5074 5075 <modify-function signature="drawRects(const QRectF *, int)">
5075 5076 <remove/>
5076 5077 </modify-function>
5077 5078 <modify-function signature="drawLines(const QVector&lt;QPoint&gt; &amp;)">
5078 5079 <rename to="drawLinesFromPoints"/>
5079 5080 </modify-function>
5080 5081 <modify-function signature="drawLines(const QVector&lt;QPointF&gt; &amp;)">
5081 5082 <rename to="drawLinesFromPointsF"/>
5082 5083 </modify-function>
5083 5084 <modify-function signature="drawLines(const QVector&lt;QLineF&gt; &amp;)">
5084 5085 <rename to="drawLinesF"/>
5085 5086 </modify-function>
5086 5087 <modify-function signature="drawRects(const QVector&lt;QRectF&gt; &amp;)">
5087 5088 <rename to="drawRectsF"/>
5088 5089 </modify-function>
5089 5090
5090 5091 <modify-function signature="QPainter(QPaintDevice *)">
5091 5092 <modify-argument index="1">
5092 5093 <no-null-pointer/>
5093 5094 </modify-argument>
5094 5095 </modify-function>
5095 5096 <modify-function signature="begin(QPaintDevice *)">
5096 5097 <modify-argument index="1">
5097 5098 <no-null-pointer/>
5098 5099 </modify-argument>
5099 5100 </modify-function>
5100 5101 <modify-function signature="initFrom(const QWidget *)">
5101 5102 <modify-argument index="1">
5102 5103 <no-null-pointer/>
5103 5104 </modify-argument>
5104 5105 </modify-function>
5105 5106 <modify-function signature="setRedirected(const QPaintDevice *, QPaintDevice *, const QPoint &amp;)">
5106 5107 <modify-argument index="1">
5107 5108 <no-null-pointer/>
5108 5109 </modify-argument>
5109 5110 </modify-function>
5110 5111 <modify-function signature="restoreRedirected(const QPaintDevice *)">
5111 5112 <modify-argument index="1">
5112 5113 <no-null-pointer/>
5113 5114 </modify-argument>
5114 5115 </modify-function>
5115 5116
5116 5117 <modify-function signature="drawText(QRect,int,QString,QRect*)">
5117 5118 <access modifier="private"/>
5118 5119 <modify-argument index="4">
5119 5120 <remove-default-expression/>
5120 5121 </modify-argument>
5121 5122 </modify-function>
5122 5123
5123 5124 <modify-function signature="drawText(QRectF,int,QString,QRectF*)">
5124 5125 <access modifier="private"/>
5125 5126 <modify-argument index="4">
5126 5127 <remove-default-expression/>
5127 5128 </modify-argument>
5128 5129 </modify-function>
5129 5130
5130 5131 <modify-function signature="drawText(int,int,int,int,int,QString,QRect*)">
5131 5132 <access modifier="private"/>
5132 5133 <modify-argument index="7">
5133 5134 <remove-default-expression/>
5134 5135 </modify-argument>
5135 5136 </modify-function>
5136 5137
5137 5138 <modify-function signature="redirected(const QPaintDevice*,QPoint*)">
5138 5139 <access modifier="private"/>
5139 5140 <modify-argument index="2">
5140 5141 <remove-default-expression/>
5141 5142 </modify-argument>
5142 5143 </modify-function>
5143 5144 <modify-function signature="matrix()const" remove="all"/> <!--### Obsolete in 4.3-->
5144 5145 <modify-function signature="matrixEnabled()const" remove="all"/> <!--### Obsolete in 4.3-->
5145 5146 <modify-function signature="setMatrix(QMatrix, bool)" remove="all"/> <!--### Obsolete in 4.3-->
5146 5147 <modify-function signature="setMatrixEnabled(bool)" remove="all"/> <!--### Obsolete in 4.3-->
5147 5148
5148 5149 <modify-function signature="fontInfo()const" remove="all"/>
5149 5150 <modify-function signature="fontMetrics()const" remove="all"/>
5150 5151 <modify-function signature="QPainter(QPaintDevice*)" remove="all"/>
5151 5152
5152 5153 <modify-function signature="begin(QPaintDevice*)">
5153 5154 <modify-argument index="1">
5154 5155 <conversion-rule class="native">
5155 5156 <insert-template name="core.convert_pointer_arg_and_check_null">
5156 5157 <replace from="%TYPE%" to="QPaintDevice*"/>
5157 5158 <replace from="%CLASS_NAME%" to="QPainter"/>
5158 5159 <replace from="%FUNCTION_NAME%" to="begin"/>
5159 5160 </insert-template>
5160 5161 </conversion-rule>
5161 5162 </modify-argument>
5162 5163 </modify-function>
5163 5164 </object-type>
5164 5165
5165 5166 <object-type name="QApplication">
5166 5167 <extra-includes>
5167 5168 <include file-name="QBasicTimer" location="global"/>
5168 5169 <include file-name="QFont" location="global"/>
5169 5170 <include file-name="QFontMetrics" location="global"/>
5170 5171 <include file-name="QPalette" location="global"/>
5171 5172 <include file-name="QIcon" location="global"/>
5172 5173 <include file-name="QLocale" location="global"/>
5173 5174 </extra-includes>
5174 5175
5175 5176 <modify-function signature="QApplication(int &amp;, char **, int)">
5176 5177 <access modifier="private"/>
5177 5178 </modify-function>
5178 5179 <modify-function signature="QApplication(int &amp;, char **, QApplication::Type, int)">
5179 5180 <remove/>
5180 5181 </modify-function>
5181 5182 <modify-function signature="QApplication(int &amp;, char **, bool, int)">
5182 5183 <remove/>
5183 5184 </modify-function>
5184 5185
5185 5186 <modify-function signature="font(const char*)">
5186 5187 <remove/>
5187 5188 </modify-function>
5188 5189 <modify-function signature="setFont(QFont,const char*)">
5189 5190 <access modifier="private"/>
5190 5191 <modify-argument index="2">
5191 5192 <remove-default-expression/>
5192 5193 </modify-argument>
5193 5194 </modify-function>
5194 5195
5195 5196 <modify-function signature="palette(const char*)">
5196 5197 <remove/>
5197 5198 </modify-function>
5198 5199 <modify-function signature="setPalette(QPalette,const char*)">
5199 5200 <access modifier="private"/>
5200 5201 <modify-argument index="2">
5201 5202 <remove-default-expression/>
5202 5203 </modify-argument>
5203 5204 </modify-function>
5204 5205
5205 5206 <modify-function signature="overrideCursor()">
5206 5207 <access modifier="private"/>
5207 5208 <rename to="overrideCursor_private"/>
5208 5209 </modify-function>
5209 5210
5210 5211 <modify-function signature="setInputContext(QInputContext*)">
5211 5212 <modify-argument index="1">
5212 5213 <define-ownership class="java" owner="c++"/>
5213 5214 </modify-argument>
5214 5215 </modify-function>
5215 5216 <modify-function signature="setActiveWindow(QWidget*)">
5216 5217 <modify-argument index="1">
5217 5218 <reference-count action="ignore"/>
5218 5219 </modify-argument>
5219 5220 </modify-function>
5220 5221 <modify-function signature="setStyle(QStyle*)">
5221 5222 <modify-argument index="1">
5222 5223 <reference-count action="ignore"/>
5223 5224 </modify-argument>
5224 5225 </modify-function>
5225 5226
5226 5227 <modify-function signature="QApplication(int&amp;,char**,QApplication::Type,int)" remove="all"/>
5227 5228 <modify-function signature="QApplication(int&amp;,char**,bool,int)" remove="all"/>
5228 5229 <modify-function signature="QApplication(int&amp;,char**,int)" remove="all"/>
5229 5230 <modify-function signature="commitData(QSessionManager&amp;)" remove="all"/>
5230 5231 <modify-function signature="saveState(QSessionManager&amp;)" remove="all"/>
5231 5232 <modify-function signature="fontMetrics()" remove="all"/>
5232 5233 <modify-function signature="setFont(QFont,const char*)">
5233 5234 <modify-argument index="2">
5234 5235 <replace-type modified-type="QString"/>
5235 5236 <conversion-rule class="native">
5236 5237 <insert-template name="core.convert_string_arg_to_char*"/>
5237 5238 </conversion-rule>
5238 5239 </modify-argument>
5239 5240 </modify-function>
5240 5241 <modify-function signature="setPalette(QPalette,const char*)">
5241 5242 <modify-argument index="2">
5242 5243 <replace-type modified-type="QString"/>
5243 5244 <conversion-rule class="native">
5244 5245 <insert-template name="core.convert_string_arg_to_char*"/>
5245 5246 </conversion-rule>
5246 5247 </modify-argument>
5247 5248 </modify-function>
5248 5249 </object-type>
5249 5250
5250 5251 <object-type name="QMouseEventTransition"/>
5251 5252 <object-type name="QKeyEventTransition"/>
5252 5253 <value-type name="QQuaternion"/>
5253 5254
5254 5255 <object-type name="QCommandLinkButton"/>
5255 5256 <object-type name="QFileSystemModel">
5256 5257 <modify-function signature="setIconProvider(QFileIconProvider*)">
5257 5258 <modify-argument index="1">
5258 5259 <reference-count action="set" variable-name="__rcIconProvider"/>
5259 5260 </modify-argument>
5260 5261 </modify-function>
5261 5262 </object-type>
5262 5263 <object-type name="QFormLayout">
5263 5264 <modify-function signature="addRow(QWidget*,QWidget*)">
5264 5265 <modify-argument index="1">
5265 5266 <reference-count action="ignore"/>
5266 5267 </modify-argument>
5267 5268 <modify-argument index="2">
5268 5269 <reference-count action="ignore"/>
5269 5270 </modify-argument>
5270 5271 </modify-function>
5271 5272 <modify-function signature="addRow(QLayout*)">
5272 5273 <modify-argument index="1">
5273 5274 <reference-count action="ignore"/>
5274 5275 </modify-argument>
5275 5276 </modify-function>
5276 5277 <modify-function signature="addRow(QWidget*,QLayout*)">
5277 5278 <modify-argument index="1">
5278 5279 <reference-count action="ignore"/>
5279 5280 </modify-argument>
5280 5281 <modify-argument index="2">
5281 5282 <reference-count action="ignore"/>
5282 5283 </modify-argument>
5283 5284 </modify-function>
5284 5285
5285 5286 <modify-function signature="addRow(QWidget*)">
5286 5287 <modify-argument index="1">
5287 5288 <reference-count action="ignore"/>
5288 5289 </modify-argument>
5289 5290 </modify-function>
5290 5291 <modify-function signature="addRow(QString,QLayout*)">
5291 5292 <modify-argument index="2">
5292 5293 <reference-count action="ignore"/>
5293 5294 </modify-argument>
5294 5295 </modify-function>
5295 5296 <modify-function signature="addRow(QString,QWidget*)">
5296 5297 <modify-argument index="2">
5297 5298 <reference-count action="ignore"/>
5298 5299 </modify-argument>
5299 5300 </modify-function>
5300 5301 <modify-function signature="insertRow(int,QLayout*)">
5301 5302 <modify-argument index="2">
5302 5303 <reference-count action="ignore"/>
5303 5304 </modify-argument>
5304 5305 </modify-function>
5305 5306 <modify-function signature="insertRow(int,QWidget*,QLayout*)">
5306 5307 <modify-argument index="2">
5307 5308 <reference-count action="ignore"/>
5308 5309 </modify-argument>
5309 5310 <modify-argument index="3">
5310 5311 <reference-count action="ignore"/>
5311 5312 </modify-argument>
5312 5313 </modify-function>
5313 5314 <modify-function signature="insertRow(int,QWidget*,QWidget*)">
5314 5315 <modify-argument index="2">
5315 5316 <reference-count action="ignore"/>
5316 5317 </modify-argument>
5317 5318 <modify-argument index="3">
5318 5319 <reference-count action="ignore"/>
5319 5320 </modify-argument>
5320 5321 </modify-function>
5321 5322 <modify-function signature="insertRow(int,QWidget*)">
5322 5323 <modify-argument index="2">
5323 5324 <reference-count action="ignore"/>
5324 5325 </modify-argument>
5325 5326 </modify-function>
5326 5327 <modify-function signature="insertRow(int,QString,QLayout*)">
5327 5328 <modify-argument index="3">
5328 5329 <reference-count action="ignore"/>
5329 5330 </modify-argument>
5330 5331 </modify-function>
5331 5332 <modify-function signature="insertRow(int,QString,QWidget*)">
5332 5333 <modify-argument index="3">
5333 5334 <reference-count action="ignore"/>
5334 5335 </modify-argument>
5335 5336 </modify-function>
5336 5337 <modify-function signature="setLayout(int,QFormLayout::ItemRole,QLayout*)">
5337 5338 <modify-argument index="3">
5338 5339 <reference-count action="ignore"/>
5339 5340 </modify-argument>
5340 5341 </modify-function>
5341 5342 <modify-function signature="setWidget(int,QFormLayout::ItemRole,QWidget*)">
5342 5343 <modify-argument index="3">
5343 5344 <reference-count action="ignore"/>
5344 5345 </modify-argument>
5345 5346 </modify-function>
5346 5347 <modify-function signature="setItem(int,QFormLayout::ItemRole,QLayoutItem*)" access="private" rename="setItem_private">
5347 5348 <modify-argument index="3">
5348 5349 <define-ownership class="java" owner="c++"/>
5349 5350 </modify-argument>
5350 5351 </modify-function>
5351 5352 <modify-function signature="addItem(QLayoutItem*)">
5352 5353 <modify-argument index="1">
5353 5354 <define-ownership class="java" owner="c++"/>
5354 5355 </modify-argument>
5355 5356 </modify-function>
5356 5357 </object-type>
5357 5358 <object-type name="QGraphicsGridLayout" delete-in-main-thread="yes">
5358 5359 <modify-function signature="addItem(QGraphicsLayoutItem*,int,int,QFlags&lt;Qt::AlignmentFlag&gt;)">
5359 5360 <modify-argument index="1">
5360 5361 <reference-count action="add" variable-name="__rcItems"/>
5361 5362 </modify-argument>
5362 5363 </modify-function>
5363 5364 <modify-function signature="addItem(QGraphicsLayoutItem*,int,int,int,int,QFlags&lt;Qt::AlignmentFlag&gt;)">
5364 5365 <modify-argument index="1">
5365 5366 <reference-count action="add" variable-name="__rcItems"/>
5366 5367 </modify-argument>
5367 5368 </modify-function>
5368 5369 <modify-function signature="setAlignment(QGraphicsLayoutItem*,QFlags&lt;Qt::AlignmentFlag&gt;)">
5369 5370 <modify-argument index="1">
5370 5371 <reference-count action="ignore"/>
5371 5372 </modify-argument>
5372 5373 </modify-function>
5373 5374 </object-type>
5374 5375 <object-type name="QGraphicsLayout" delete-in-main-thread="yes">
5375 5376
5376 5377 <modify-function signature="widgetEvent(QEvent*)">
5377 5378 <modify-argument index="1" invalidate-after-use="yes"/>
5378 5379 </modify-function>
5379 5380 <modify-function signature="setParentLayoutItem(QGraphicsLayoutItem*)">
5380 5381 <modify-argument index="1">
5381 5382 <reference-count action="set" variable-name="__rcParentLayoutItem"/>
5382 5383 </modify-argument>
5383 5384 </modify-function>
5384 5385 <modify-function signature="setGraphicsItem(QGraphicsItem*)">
5385 5386 <modify-argument index="1">
5386 5387 <reference-count action="set" variable-name="__rcItem"/>
5387 5388 </modify-argument>
5388 5389 </modify-function>
5389 5390 </object-type>
5390 5391 <interface-type name="QGraphicsLayoutItem" delete-in-main-thread="yes">
5391 5392 <modify-function signature="setParentLayoutItem(QGraphicsLayoutItem*)">
5392 5393 <modify-argument index="1">
5393 5394 <reference-count action="set" variable-name="__rcParentLayoutItem"/>
5394 5395 </modify-argument>
5395 5396 </modify-function>
5396 5397 <modify-function signature="setGraphicsItem(QGraphicsItem*)">
5397 5398 <modify-argument index="1">
5398 5399 <reference-count action="set" variable-name="__rcItem"/>
5399 5400 </modify-argument>
5400 5401 </modify-function>
5401 5402 </interface-type>
5402 5403 <object-type name="QGraphicsLinearLayout" delete-in-main-thread="yes">
5403 5404 <modify-function signature="addItem(QGraphicsLayoutItem*)">
5404 5405 <modify-argument index="1">
5405 5406 <reference-count action="add" variable-name="__rcItems"/>
5406 5407 </modify-argument>
5407 5408 </modify-function>
5408 5409 <modify-function signature="insertItem(int,QGraphicsLayoutItem*)">
5409 5410 <modify-argument index="2">
5410 5411 <reference-count action="add" variable-name="__rcItems"/>
5411 5412 </modify-argument>
5412 5413 </modify-function>
5413 5414 <modify-function signature="removeItem(QGraphicsLayoutItem*)">
5414 5415 <modify-argument index="1">
5415 5416 <reference-count action="remove" variable-name="__rcItems"/>
5416 5417 </modify-argument>
5417 5418 </modify-function>
5418 5419 <modify-function signature="setAlignment(QGraphicsLayoutItem*,QFlags&lt;Qt::AlignmentFlag&gt;)">
5419 5420 <modify-argument index="1">
5420 5421 <reference-count action="ignore"/>
5421 5422 </modify-argument>
5422 5423 </modify-function>
5423 5424 <modify-function signature="setStretchFactor(QGraphicsLayoutItem*,int)">
5424 5425 <modify-argument index="1">
5425 5426 <reference-count action="ignore"/>
5426 5427 </modify-argument>
5427 5428 </modify-function>
5428 5429 </object-type>
5429 5430 <object-type name="QGraphicsProxyWidget"/> <!-- a QObject so main-thread delete redundant -->
5430 <object-type name="QGraphicsWidget"> <!-- a QObject so main-thread delete redundant -->
5431 <object-type name="QGraphicsWidget"
5432 polymorphic-id-expression="%1-&gt;isWidget()">
5433 <!-- a QObject so main-thread delete redundant -->
5431 5434 <!-- Duplicate function to QObject::children() to override accidental shadowing which is not present in Jambi -->
5432 5435 <modify-function signature="children()const" remove="all"/>
5433 5436 <modify-function signature="setLayout(QGraphicsLayout*)">
5434 5437 <modify-argument index="1">
5435 5438 <reference-count action="set" variable-name="__rcLayout"/>
5436 5439 </modify-argument>
5437 5440 </modify-function>
5438 5441
5439 5442 <modify-function signature="addAction(QAction*)">
5440 5443 <modify-argument index="1">
5441 5444 <reference-count action="add" variable-name="__rcActions"/>
5442 5445 </modify-argument>
5443 5446 </modify-function>
5444 5447 <modify-function signature="insertAction(QAction*,QAction*)">
5445 5448 <modify-argument index="2">
5446 5449 <reference-count action="add" variable-name="__rcActions"/>
5447 5450 </modify-argument>
5448 5451 </modify-function>
5449 5452 <modify-function signature="insertActions(QAction*,QList&lt;QAction*&gt;)">
5450 5453 <modify-argument index="2">
5451 5454 <reference-count action="add" variable-name="__rcActions"/>
5452 5455 </modify-argument>
5453 5456 </modify-function>
5454 5457 <modify-function signature="removeAction(QAction*)">
5455 5458 <modify-argument index="1">
5456 5459 <reference-count action="remove" variable-name="__rcActions"/>
5457 5460 </modify-argument>
5458 5461 </modify-function>
5459 5462
5460 5463
5461 5464 <modify-function signature="changeEvent(QEvent*)">
5462 5465 <modify-argument index="1" invalidate-after-use="yes"/>
5463 5466 </modify-function>
5464 5467 <modify-function signature="closeEvent(QCloseEvent*)">
5465 5468 <modify-argument index="1" invalidate-after-use="yes"/>
5466 5469 </modify-function>
5467 5470 <modify-function signature="grabKeyboardEvent(QEvent*)">
5468 5471 <modify-argument index="1" invalidate-after-use="yes"/>
5469 5472 </modify-function>
5470 5473 <modify-function signature="grabMouseEvent(QEvent*)">
5471 5474 <modify-argument index="1" invalidate-after-use="yes"/>
5472 5475 </modify-function>
5473 5476 <modify-function signature="hideEvent(QHideEvent*)">
5474 5477 <modify-argument index="1" invalidate-after-use="yes"/>
5475 5478 </modify-function>
5476 5479 <modify-function signature="moveEvent(QGraphicsSceneMoveEvent*)">
5477 5480 <modify-argument index="1" invalidate-after-use="yes"/>
5478 5481 </modify-function>
5479 5482 <modify-function signature="paintWindowFrame(QPainter*,const QStyleOptionGraphicsItem*,QWidget*)">
5480 5483 <modify-argument index="1" invalidate-after-use="yes"/>
5481 5484 </modify-function>
5482 5485 <modify-function signature="resizeEvent(QGraphicsSceneResizeEvent*)">
5483 5486 <modify-argument index="1" invalidate-after-use="yes"/>
5484 5487 </modify-function>
5485 5488 <modify-function signature="showEvent(QShowEvent*)">
5486 5489 <modify-argument index="1" invalidate-after-use="yes"/>
5487 5490 </modify-function>
5488 5491 <modify-function signature="ungrabKeyboardEvent(QEvent*)">
5489 5492 <modify-argument index="1" invalidate-after-use="yes"/>
5490 5493 </modify-function>
5491 5494 <modify-function signature="ungrabMouseEvent(QEvent*)">
5492 5495 <modify-argument index="1" invalidate-after-use="yes"/>
5493 5496 </modify-function>
5494 5497 <modify-function signature="windowFrameEvent(QEvent*)">
5495 5498 <modify-argument index="1" invalidate-after-use="yes"/>
5496 5499 </modify-function>
5497 5500
5498 5501 <modify-function signature="setStyle(QStyle*)">
5499 5502 <modify-argument index="1">
5500 5503 <reference-count action="set" variable-name="__rcStyle"/>
5501 5504 </modify-argument>
5502 5505 </modify-function>
5503 5506 <modify-function signature="setTabOrder(QGraphicsWidget*,QGraphicsWidget*)">
5504 5507 <modify-argument index="1">
5505 5508 <reference-count action="ignore"/>
5506 5509 </modify-argument>
5507 5510 <modify-argument index="2">
5508 5511 <reference-count action="ignore"/>
5509 5512 </modify-argument>
5510 5513 </modify-function>
5511 5514 </object-type>
5512 5515 <object-type name="QPlainTextDocumentLayout"/>
5513 5516 <object-type name="QPlainTextEdit">
5514 5517 <modify-function signature="setDocument(QTextDocument*)">
5515 5518 <modify-argument index="1">
5516 5519 <reference-count action="set" variable-name="__rcDocument"/>
5517 5520 </modify-argument>
5518 5521 </modify-function>
5519 5522 <modify-function signature="insertFromMimeData(const QMimeData*)">
5520 5523 <modify-argument index="1">
5521 5524 <reference-count action="ignore"/>
5522 5525 </modify-argument>
5523 5526 </modify-function>
5524 5527 </object-type>
5525 5528 <object-type name="QPrintPreviewDialog">
5526 5529 </object-type>
5527 5530 <object-type name="QPrintPreviewWidget"/>
5528 5531 <object-type name="QStyledItemDelegate">
5529 5532 <modify-function signature="setItemEditorFactory(QItemEditorFactory*)">
5530 5533 <modify-argument index="1">
5531 5534 <reference-count action="set" variable-name="__rcItemEditorFactory"/>
5532 5535 </modify-argument>
5533 5536 </modify-function>
5534 5537 <modify-function signature="setEditorData(QWidget*,QModelIndex)const">
5535 5538 <modify-argument index="1">
5536 5539 <reference-count action="ignore"/>
5537 5540 </modify-argument>
5538 5541 </modify-function>
5539 5542 <modify-function signature="setModelData(QWidget*,QAbstractItemModel*,QModelIndex)const">
5540 5543 <modify-argument index="1">
5541 5544 <reference-count action="ignore"/>
5542 5545 </modify-argument>
5543 5546 </modify-function>
5544 5547 </object-type>
5545 5548
5546 5549 <interface-type name="QAccessibleFactoryInterface" java-name="QAbstractAccessibleFactory"/>
5547 5550 <interface-type name="QIconEngineFactoryInterfaceV2" java-name="QAbstractIconEngineFactoryV2"/>
5548 5551 <interface-type name="QImageIOHandlerFactoryInterface" java-name="QAbstractImageIOHandlerFactory"/>
5549 5552 <interface-type name="QInputContextFactoryInterface" java-name="QAbstractInputContextFactory"/>
5550 5553 <interface-type name="QStyleFactoryInterface" java-name="QAbstractStyleFactory"/>
5551 5554 <interface-type name="QTextCodecFactoryInterface" java-name="QAbstractTextCodecFactory"/>
5552 5555 <interface-type name="QPictureFormatInterface" java-name="QAbstractPictureFormat"/>
5553 5556
5554 5557 <object-type name="QIconEnginePluginV2"/>
5555 5558 <object-type name="QAccessiblePlugin"/>
5556 5559 <object-type name="QImageIOPlugin"/>
5557 5560 <object-type name="QInputContextPlugin"/>
5558 5561 <object-type name="QPictureFormatPlugin"/>
5559 5562 <object-type name="QStylePlugin"/>
5560 5563 <object-type name="QTextCodecPlugin"/>
5561 5564 <object-type name="QGesture"/>
5562 5565 <object-type name="QGraphicsAnchorLayout"/>
5563 5566 <object-type name="QGraphicsAnchor"/>
5564 5567 <object-type name="QGraphicsEffect"/>
5565 5568 <object-type name="QGraphicsObject">
5566 5569 <!-- Duplicate function to QObject::children() to override accidental shadowing which is not present in Jambi -->
5567 5570 <modify-function signature="children()const" remove="all"/>
5568 5571 </object-type>
5569 5572 <object-type name="QGraphicsBlurEffect"/>
5570 5573 <object-type name="QGraphicsColorizeEffect"/>
5571 5574 <object-type name="QGraphicsDropShadowEffect"/>
5572 5575 <object-type name="QGraphicsOpacityEffect"/>
5573 5576 <object-type name="QGraphicsPixelizeEffect"/>
5574 5577 <object-type name="QGraphicsRotation"/>
5575 5578 <object-type name="QGraphicsScale"/>
5576 5579 <object-type name="QGraphicsTransform"/>
5577 5580 <object-type name="QPanGesture"/>
5578 5581 <object-type name="QPinchGesture"/>
5579 5582 <object-type name="QProxyStyle"/>
5580 5583 <object-type name="QSwipeGesture"/>
5581 5584 <object-type name="QTouchEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::TouchBegin || %1-&gt;type() == QEvent::TouchUpdate || %1-&gt;type() == QEvent::TouchEnd"/>
5582 5585
5583 5586 <!-- Inefficient hash codes -->
5584 5587 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextFrame_iterator' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
5585 5588 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextTableCell' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
5586 5589 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextOption_Tab' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
5587 5590 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextLength' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
5588 5591 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextBlock_iterator' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
5589 5592 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextBlock' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
5590 5593 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextCursor' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
5591 5594 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QPainterPath_Element' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
5592 5595 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QPainterPath' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
5593 5596 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QItemSelection' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
5594 5597 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QKeySequence' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
5595 5598 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QSizePolicy' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
5596 5599 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextFragment' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
5597 5600 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QFontMetrics' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
5598 5601 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QGradient' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
5599 5602 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QFontMetricsF' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
5600 5603 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextFormat' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
5601 5604 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QEasingCurve' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
5602 5605 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QGenericMatrix' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
5603 5606 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QMatrix4x4' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
5604 5607 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QMargins' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
5605 5608 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QPixmapCache_Key' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
5606 5609 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QVector4D' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
5607 5610 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QQuaternion' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
5608 5611 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QVector2D' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
5609 5612 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QVector3D' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
5610 5613
5611 5614 <suppress-warning text="WARNING(MetaJavaBuilder) :: private virtual function 'eventFilter(QObject * receiver, QEvent * event)' in 'QPanGesture'"/>
5612 5615 <suppress-warning text="WARNING(MetaJavaBuilder) :: private virtual function 'event(QEvent * event)' in 'QPanGesture'"/>
5613 5616 <suppress-warning text="WARNING(MetaJavaBuilder) :: private virtual function 'eventFilter(QObject * receiver, QEvent * event)' in 'QSwipeGesture'"/>
5614 5617 <suppress-warning text="WARNING(MetaJavaBuilder) :: private virtual function 'eventFilter(QObject * receiver, QEvent * event)' in 'QPinchGesture'"/>
5615 5618 <suppress-warning text="WARNING(MetaJavaBuilder) :: private virtual function 'event(QEvent * event)' in 'QPinchGesture'"/>
5616 5619
5617 5620 <!-- Intentional omissions. See explanation for QtJambiTextObjectInterface class in typesystem and headers. -->
5618 5621 <suppress-warning text="WARNING(MetaJavaBuilder) :: class 'QTextObjectInterface' inherits from unknown base class 'QTextObjectInterface'"/>
5619 5622 <suppress-warning text="WARNING(MetaJavaBuilder) :: unknown interface for 'QTextObjectInterface': 'QTextObjectInterfaceInterface'"/>
5620 5623
5621 5624 <suppress-warning text="WARNING(MetaInfoGenerator) :: class 'QPixmapFilter' inherits from polymorphic class 'QPixmapFilter', but has no polymorphic id set"/>
5622 5625 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QPixmap::QPixmap', unmatched parameter type 'QPixmapData*'"/>
5623 5626 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type '*Private&amp;'"/>
5624 5627 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type '*Private\*'"/>
5625 5628 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type '*Private const\*'"/>
5626 5629 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QTextEngine\*'"/>
5627 5630 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QFontEngine\*'"/>
5628 5631 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QPixmap::Type'"/>
5629 5632 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QInputDialog::Type'"/>
5630 5633 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QTextFrameLayoutData\*'"/>
5631 5634 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QAbstractUndoItem\*'"/>
5632 5635 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type '*QImageTextKeyLang*'"/>
5633 5636 <suppress-warning text="WARNING(MetaJavaBuilder) :: non-public function '*' in interface '*'"/>
5634 5637 <suppress-warning text="WARNING(MetaJavaBuilder) :: visibility of function '*' modified in class '*'"/>
5635 5638 <suppress-warning text="WARNING(MetaJavaBuilder) :: hiding of function '*' in class '*'"/>
5636 5639 <suppress-warning text="WARNING(MetaJavaBuilder) :: unsupported default value 'QVector&lt;FormatRange&gt;()' of argument in function '*', class '*'"/>
5637 5640 <suppress-warning text="WARNING(MetaJavaBuilder) :: unsupported default value 'QVariantList()' of argument in function '*', class '*'"/>
5638 5641 <suppress-warning text="WARNING(CppImplGenerator) :: protected function '*' in final class '*'"/>
5639 5642 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QTextLayout::QTextLayout', unmatched parameter type 'QTextEngine*'"/>
5640 5643 <suppress-warning text="WARNING(MetaJavaBuilder) :: unsupported default value of argument in function 'doAction', class 'QAccessibleInterface'"/>
5641 5644 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QFileDialog::QFileDialog', unmatched parameter type 'QFileDialogArgs const&amp;'"/>
5642 5645 <suppress-warning text="WARNING(MetaJavaBuilder) :: unsupported default value '0., 0., 1000000000., 1000000000.' of argument in function 'update', class 'QAbstractTextDocumentLayout'"/>
5643 5646 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QWidget::windowSurface', unmatched return type 'QWindowSurface*'"/>
5644 5647 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QWidget::setWindowSurface', unmatched parameter type 'QWindowSurface*'"/>
5645 5648 <suppress-warning text="WARNING(MetaJavaBuilder) :: enum 'QStyleOption::StyleOptionType' does not have a type entry or is not an enum"/>
5646 5649 <suppress-warning text="WARNING(MetaJavaBuilder) :: unhandled enum value: ~FlagMask in QMessageBox::StandardButton"/>
5647 5650 <suppress-warning text="WARNING(MetaJavaBuilder) :: unmatched enum ~FlagMask"/>
5648 5651 <suppress-warning text="WARNING(MetaInfoGenerator) :: class 'QGraphicsSceneEvent' inherits from polymorphic class 'QEvent', but has no polymorphic id set"/>
5649 5652 <suppress-warning text="WARNING(MetaInfoGenerator) :: class 'QInputEvent' inherits from polymorphic class 'QEvent', but has no polymorphic id set"/>
5650 5653 <suppress-warning text="WARNING(JavaGenerator) :: either add or remove specified for reference count variable '__rcMenus' in 'com.trolltech.qt.gui.QMenu' but not both"/>
5651 5654 <suppress-warning text="WARNING(JavaGenerator) :: either add or remove specified for reference count variable '__rcMenus' in 'com.trolltech.qt.gui.QMenuBar' but not both"/>
5652 5655
5653 5656 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QPixmap::pixmapData', unmatched return type 'QPixmapData*'"/>
5654 5657 <suppress-warning text="WARNING(MetaJavaBuilder) :: object type 'QAccessible' extended by interface type 'QAbstractAccessibleFactory'. The resulting API will be less expressive than the original."/>
5655 5658
5656 5659 <suppress-warning text="WARNING(MetaJavaBuilder) :: Rejected enum has no alternative...: QPalette::NColorRoles"/>
5657 5660
5658 5661 <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'QtSharedPointer' does not have a type entry"/>
5659 5662
5660 5663 </typesystem>
General Comments 0
You need to be logged in to leave comments. Login now