35
35
36
36
// -----------------------------------------------------------------------
37
37
// class QDomNodeList
38
+ static bool QDomNodeList_operator_eq (const QDomNodeList *a, const QDomNodeList &b) {
39
+ return *a == b;
40
+ }
41
+ static bool QDomNodeList_operator_ne (const QDomNodeList *a, const QDomNodeList &b) {
42
+ return !(*a == b);
43
+ }
38
44
39
45
// Constructor QDomNodeList::QDomNodeList()
40
46
@@ -153,25 +159,6 @@ static void _call_f_length_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls
153
159
}
154
160
155
161
156
- // bool QDomNodeList::operator!=(const QDomNodeList &)
157
-
158
-
159
- static void _init_f_operator_excl__eq__c2484 (qt_gsi::GenericMethod *decl)
160
- {
161
- static gsi::ArgSpecBase argspec_0 (" arg1" );
162
- decl->add_arg <const QDomNodeList & > (argspec_0);
163
- decl->set_return <bool > ();
164
- }
165
-
166
- static void _call_f_operator_excl__eq__c2484 (const qt_gsi::GenericMethod * /* decl*/ , void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
167
- {
168
- __SUPPRESS_UNUSED_WARNING (args);
169
- tl::Heap heap;
170
- const QDomNodeList &arg1 = gsi::arg_reader<const QDomNodeList & >() (args, heap);
171
- ret.write <bool > ((bool )((QDomNodeList *)cls)->operator != (arg1));
172
- }
173
-
174
-
175
162
// QDomNodeList &QDomNodeList::operator=(const QDomNodeList &)
176
163
177
164
@@ -191,25 +178,6 @@ static void _call_f_operator_eq__2484 (const qt_gsi::GenericMethod * /*decl*/, v
191
178
}
192
179
193
180
194
- // bool QDomNodeList::operator==(const QDomNodeList &)
195
-
196
-
197
- static void _init_f_operator_eq__eq__c2484 (qt_gsi::GenericMethod *decl)
198
- {
199
- static gsi::ArgSpecBase argspec_0 (" arg1" );
200
- decl->add_arg <const QDomNodeList & > (argspec_0);
201
- decl->set_return <bool > ();
202
- }
203
-
204
- static void _call_f_operator_eq__eq__c2484 (const qt_gsi::GenericMethod * /* decl*/ , void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
205
- {
206
- __SUPPRESS_UNUSED_WARNING (args);
207
- tl::Heap heap;
208
- const QDomNodeList &arg1 = gsi::arg_reader<const QDomNodeList & >() (args, heap);
209
- ret.write <bool > ((bool )((QDomNodeList *)cls)->operator == (arg1));
210
- }
211
-
212
-
213
181
// int QDomNodeList::size()
214
182
215
183
@@ -238,14 +206,15 @@ static gsi::Methods methods_QDomNodeList () {
238
206
methods += new qt_gsi::GenericMethod (" isEmpty?" , " @brief Method bool QDomNodeList::isEmpty()\n " , true , &_init_f_isEmpty_c0, &_call_f_isEmpty_c0);
239
207
methods += new qt_gsi::GenericMethod (" item" , " @brief Method QDomNode QDomNodeList::item(int index)\n " , true , &_init_f_item_c767, &_call_f_item_c767);
240
208
methods += new qt_gsi::GenericMethod (" length" , " @brief Method int QDomNodeList::length()\n " , true , &_init_f_length_c0, &_call_f_length_c0);
241
- methods += new qt_gsi::GenericMethod (" !=" , " @brief Method bool QDomNodeList::operator!=(const QDomNodeList &)\n " , true , &_init_f_operator_excl__eq__c2484, &_call_f_operator_excl__eq__c2484);
242
209
methods += new qt_gsi::GenericMethod (" assign" , " @brief Method QDomNodeList &QDomNodeList::operator=(const QDomNodeList &)\n " , false , &_init_f_operator_eq__2484, &_call_f_operator_eq__2484);
243
- methods += new qt_gsi::GenericMethod (" ==" , " @brief Method bool QDomNodeList::operator==(const QDomNodeList &)\n " , true , &_init_f_operator_eq__eq__c2484, &_call_f_operator_eq__eq__c2484);
244
210
methods += new qt_gsi::GenericMethod (" size" , " @brief Method int QDomNodeList::size()\n " , true , &_init_f_size_c0, &_call_f_size_c0);
245
211
return methods;
246
212
}
247
213
248
214
gsi::Class<QDomNodeList> decl_QDomNodeList (" QtXml" , " QDomNodeList" ,
215
+ gsi::method_ext (" ==" , &QDomNodeList_operator_eq, gsi::arg (" other" ), "@brief Method bool QDomNodeList::operator==(const QDomNodeList &) const ") +
216
+ gsi::method_ext(" !=" , &QDomNodeList_operator_ne, gsi::arg (" other" ), "@brief Method bool QDomNodeList::operator!=(const QDomNodeList &) const ")
217
+ +
249
218
methods_QDomNodeList (),
250
219
"@qt\n@brief Binding of QDomNodeList");
251
220
0 commit comments