/** * @file gsiDeclQAbstractXmlNodeModel.cc * * DO NOT EDIT THIS FILE. * This file has been created automatically */ #include #include #include #include #include #include #include "gsiQt.h" #include "gsiQtCommon.h" #include "gsiDeclQtTypeTraits.h" #include // ----------------------------------------------------------------------- // class QAbstractXmlNodeModel // QUrl QAbstractXmlNodeModel::baseUri(const QXmlNodeModelIndex &ni) static void _init_f_baseUri_c3090 (qt_gsi::GenericMethod *decl) { static gsi::ArgSpecBase argspec_0 ("ni"); decl->add_arg (argspec_0); decl->set_return (); } static void _call_f_baseUri_c3090 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); tl::Heap heap; const QXmlNodeModelIndex &arg1 = args.read (heap); ret.write ((QUrl)((QAbstractXmlNodeModel *)cls)->baseUri (arg1)); } // QXmlNodeModelIndex::DocumentOrder QAbstractXmlNodeModel::compareOrder(const QXmlNodeModelIndex &ni1, const QXmlNodeModelIndex &ni2) static void _init_f_compareOrder_c6072 (qt_gsi::GenericMethod *decl) { static gsi::ArgSpecBase argspec_0 ("ni1"); decl->add_arg (argspec_0); static gsi::ArgSpecBase argspec_1 ("ni2"); decl->add_arg (argspec_1); decl->set_return::target_type > (); } static void _call_f_compareOrder_c6072 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); tl::Heap heap; const QXmlNodeModelIndex &arg1 = args.read (heap); const QXmlNodeModelIndex &arg2 = args.read (heap); ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QAbstractXmlNodeModel *)cls)->compareOrder (arg1, arg2))); } // void QAbstractXmlNodeModel::copyNodeTo(const QXmlNodeModelIndex &node, QAbstractXmlReceiver *const receiver, const QFlags &) static void _init_f_copyNodeTo_c11827 (qt_gsi::GenericMethod *decl) { static gsi::ArgSpecBase argspec_0 ("node"); decl->add_arg (argspec_0); static gsi::ArgSpecBase argspec_1 ("receiver"); decl->add_arg (argspec_1); static gsi::ArgSpecBase argspec_2 ("arg3"); decl->add_arg & > (argspec_2); decl->set_return (); } static void _call_f_copyNodeTo_c11827 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); tl::Heap heap; const QXmlNodeModelIndex &arg1 = args.read (heap); QAbstractXmlReceiver *const arg2 = args.read (heap); const QFlags &arg3 = args.read & > (heap); __SUPPRESS_UNUSED_WARNING(ret); ((QAbstractXmlNodeModel *)cls)->copyNodeTo (arg1, arg2, arg3); } // QUrl QAbstractXmlNodeModel::documentUri(const QXmlNodeModelIndex &ni) static void _init_f_documentUri_c3090 (qt_gsi::GenericMethod *decl) { static gsi::ArgSpecBase argspec_0 ("ni"); decl->add_arg (argspec_0); decl->set_return (); } static void _call_f_documentUri_c3090 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); tl::Heap heap; const QXmlNodeModelIndex &arg1 = args.read (heap); ret.write ((QUrl)((QAbstractXmlNodeModel *)cls)->documentUri (arg1)); } // QXmlNodeModelIndex QAbstractXmlNodeModel::elementById(const QXmlName &NCName) static void _init_f_elementById_c2084 (qt_gsi::GenericMethod *decl) { static gsi::ArgSpecBase argspec_0 ("NCName"); decl->add_arg (argspec_0); decl->set_return (); } static void _call_f_elementById_c2084 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); tl::Heap heap; const QXmlName &arg1 = args.read (heap); ret.write ((QXmlNodeModelIndex)((QAbstractXmlNodeModel *)cls)->elementById (arg1)); } // bool QAbstractXmlNodeModel::isDeepEqual(const QXmlNodeModelIndex &ni1, const QXmlNodeModelIndex &ni2) static void _init_f_isDeepEqual_c6072 (qt_gsi::GenericMethod *decl) { static gsi::ArgSpecBase argspec_0 ("ni1"); decl->add_arg (argspec_0); static gsi::ArgSpecBase argspec_1 ("ni2"); decl->add_arg (argspec_1); decl->set_return (); } static void _call_f_isDeepEqual_c6072 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); tl::Heap heap; const QXmlNodeModelIndex &arg1 = args.read (heap); const QXmlNodeModelIndex &arg2 = args.read (heap); ret.write ((bool)((QAbstractXmlNodeModel *)cls)->isDeepEqual (arg1, arg2)); } // QXmlNodeModelIndex::NodeKind QAbstractXmlNodeModel::kind(const QXmlNodeModelIndex &ni) static void _init_f_kind_c3090 (qt_gsi::GenericMethod *decl) { static gsi::ArgSpecBase argspec_0 ("ni"); decl->add_arg (argspec_0); decl->set_return::target_type > (); } static void _call_f_kind_c3090 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); tl::Heap heap; const QXmlNodeModelIndex &arg1 = args.read (heap); ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QAbstractXmlNodeModel *)cls)->kind (arg1))); } // QXmlName QAbstractXmlNodeModel::name(const QXmlNodeModelIndex &ni) static void _init_f_name_c3090 (qt_gsi::GenericMethod *decl) { static gsi::ArgSpecBase argspec_0 ("ni"); decl->add_arg (argspec_0); decl->set_return (); } static void _call_f_name_c3090 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); tl::Heap heap; const QXmlNodeModelIndex &arg1 = args.read (heap); ret.write ((QXmlName)((QAbstractXmlNodeModel *)cls)->name (arg1)); } // QVector QAbstractXmlNodeModel::namespaceBindings(const QXmlNodeModelIndex &n) static void _init_f_namespaceBindings_c3090 (qt_gsi::GenericMethod *decl) { static gsi::ArgSpecBase argspec_0 ("n"); decl->add_arg (argspec_0); decl->set_return > (); } static void _call_f_namespaceBindings_c3090 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); tl::Heap heap; const QXmlNodeModelIndex &arg1 = args.read (heap); ret.write > ((QVector)((QAbstractXmlNodeModel *)cls)->namespaceBindings (arg1)); } // qint16 QAbstractXmlNodeModel::namespaceForPrefix(const QXmlNodeModelIndex &ni, const qint16 prefix) static void _init_f_namespaceForPrefix_c4660 (qt_gsi::GenericMethod *decl) { static gsi::ArgSpecBase argspec_0 ("ni"); decl->add_arg (argspec_0); static gsi::ArgSpecBase argspec_1 ("prefix"); decl->add_arg (argspec_1); decl->set_return (); } static void _call_f_namespaceForPrefix_c4660 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); tl::Heap heap; const QXmlNodeModelIndex &arg1 = args.read (heap); const qint16 arg2 = args.read (heap); ret.write ((qint16)((QAbstractXmlNodeModel *)cls)->namespaceForPrefix (arg1, arg2)); } // QVector QAbstractXmlNodeModel::nodesByIdref(const QXmlName &NCName) static void _init_f_nodesByIdref_c2084 (qt_gsi::GenericMethod *decl) { static gsi::ArgSpecBase argspec_0 ("NCName"); decl->add_arg (argspec_0); decl->set_return > (); } static void _call_f_nodesByIdref_c2084 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); tl::Heap heap; const QXmlName &arg1 = args.read (heap); ret.write > ((QVector)((QAbstractXmlNodeModel *)cls)->nodesByIdref (arg1)); } // QXmlNodeModelIndex QAbstractXmlNodeModel::root(const QXmlNodeModelIndex &n) static void _init_f_root_c3090 (qt_gsi::GenericMethod *decl) { static gsi::ArgSpecBase argspec_0 ("n"); decl->add_arg (argspec_0); decl->set_return (); } static void _call_f_root_c3090 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); tl::Heap heap; const QXmlNodeModelIndex &arg1 = args.read (heap); ret.write ((QXmlNodeModelIndex)((QAbstractXmlNodeModel *)cls)->root (arg1)); } // void QAbstractXmlNodeModel::sendNamespaces(const QXmlNodeModelIndex &n, QAbstractXmlReceiver *const receiver) static void _init_f_sendNamespaces_c6182 (qt_gsi::GenericMethod *decl) { static gsi::ArgSpecBase argspec_0 ("n"); decl->add_arg (argspec_0); static gsi::ArgSpecBase argspec_1 ("receiver"); decl->add_arg (argspec_1); decl->set_return (); } static void _call_f_sendNamespaces_c6182 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); tl::Heap heap; const QXmlNodeModelIndex &arg1 = args.read (heap); QAbstractXmlReceiver *const arg2 = args.read (heap); __SUPPRESS_UNUSED_WARNING(ret); ((QAbstractXmlNodeModel *)cls)->sendNamespaces (arg1, arg2); } // QSourceLocation QAbstractXmlNodeModel::sourceLocation(const QXmlNodeModelIndex &index) static void _init_f_sourceLocation_c3090 (qt_gsi::GenericMethod *decl) { static gsi::ArgSpecBase argspec_0 ("index"); decl->add_arg (argspec_0); decl->set_return (); } static void _call_f_sourceLocation_c3090 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); tl::Heap heap; const QXmlNodeModelIndex &arg1 = args.read (heap); ret.write ((QSourceLocation)((QAbstractXmlNodeModel *)cls)->sourceLocation (arg1)); } // QString QAbstractXmlNodeModel::stringValue(const QXmlNodeModelIndex &n) static void _init_f_stringValue_c3090 (qt_gsi::GenericMethod *decl) { static gsi::ArgSpecBase argspec_0 ("n"); decl->add_arg (argspec_0); decl->set_return (); } static void _call_f_stringValue_c3090 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); tl::Heap heap; const QXmlNodeModelIndex &arg1 = args.read (heap); ret.write ((QString)((QAbstractXmlNodeModel *)cls)->stringValue (arg1)); } namespace gsi { static gsi::Methods methods_QAbstractXmlNodeModel () { gsi::Methods methods; methods += new qt_gsi::GenericMethod ("baseUri", "@brief Method QUrl QAbstractXmlNodeModel::baseUri(const QXmlNodeModelIndex &ni)\n", true, &_init_f_baseUri_c3090, &_call_f_baseUri_c3090); methods += new qt_gsi::GenericMethod ("compareOrder", "@brief Method QXmlNodeModelIndex::DocumentOrder QAbstractXmlNodeModel::compareOrder(const QXmlNodeModelIndex &ni1, const QXmlNodeModelIndex &ni2)\n", true, &_init_f_compareOrder_c6072, &_call_f_compareOrder_c6072); methods += new qt_gsi::GenericMethod ("copyNodeTo", "@brief Method void QAbstractXmlNodeModel::copyNodeTo(const QXmlNodeModelIndex &node, QAbstractXmlReceiver *const receiver, const QFlags &)\n", true, &_init_f_copyNodeTo_c11827, &_call_f_copyNodeTo_c11827); methods += new qt_gsi::GenericMethod ("documentUri", "@brief Method QUrl QAbstractXmlNodeModel::documentUri(const QXmlNodeModelIndex &ni)\n", true, &_init_f_documentUri_c3090, &_call_f_documentUri_c3090); methods += new qt_gsi::GenericMethod ("elementById", "@brief Method QXmlNodeModelIndex QAbstractXmlNodeModel::elementById(const QXmlName &NCName)\n", true, &_init_f_elementById_c2084, &_call_f_elementById_c2084); methods += new qt_gsi::GenericMethod ("isDeepEqual?", "@brief Method bool QAbstractXmlNodeModel::isDeepEqual(const QXmlNodeModelIndex &ni1, const QXmlNodeModelIndex &ni2)\n", true, &_init_f_isDeepEqual_c6072, &_call_f_isDeepEqual_c6072); methods += new qt_gsi::GenericMethod ("kind", "@brief Method QXmlNodeModelIndex::NodeKind QAbstractXmlNodeModel::kind(const QXmlNodeModelIndex &ni)\n", true, &_init_f_kind_c3090, &_call_f_kind_c3090); methods += new qt_gsi::GenericMethod ("name", "@brief Method QXmlName QAbstractXmlNodeModel::name(const QXmlNodeModelIndex &ni)\n", true, &_init_f_name_c3090, &_call_f_name_c3090); methods += new qt_gsi::GenericMethod ("namespaceBindings", "@brief Method QVector QAbstractXmlNodeModel::namespaceBindings(const QXmlNodeModelIndex &n)\n", true, &_init_f_namespaceBindings_c3090, &_call_f_namespaceBindings_c3090); methods += new qt_gsi::GenericMethod ("namespaceForPrefix", "@brief Method qint16 QAbstractXmlNodeModel::namespaceForPrefix(const QXmlNodeModelIndex &ni, const qint16 prefix)\n", true, &_init_f_namespaceForPrefix_c4660, &_call_f_namespaceForPrefix_c4660); methods += new qt_gsi::GenericMethod ("nodesByIdref", "@brief Method QVector QAbstractXmlNodeModel::nodesByIdref(const QXmlName &NCName)\n", true, &_init_f_nodesByIdref_c2084, &_call_f_nodesByIdref_c2084); methods += new qt_gsi::GenericMethod ("root", "@brief Method QXmlNodeModelIndex QAbstractXmlNodeModel::root(const QXmlNodeModelIndex &n)\n", true, &_init_f_root_c3090, &_call_f_root_c3090); methods += new qt_gsi::GenericMethod ("sendNamespaces", "@brief Method void QAbstractXmlNodeModel::sendNamespaces(const QXmlNodeModelIndex &n, QAbstractXmlReceiver *const receiver)\n", true, &_init_f_sendNamespaces_c6182, &_call_f_sendNamespaces_c6182); methods += new qt_gsi::GenericMethod ("sourceLocation", "@brief Method QSourceLocation QAbstractXmlNodeModel::sourceLocation(const QXmlNodeModelIndex &index)\n", true, &_init_f_sourceLocation_c3090, &_call_f_sourceLocation_c3090); methods += new qt_gsi::GenericMethod ("stringValue", "@brief Method QString QAbstractXmlNodeModel::stringValue(const QXmlNodeModelIndex &n)\n", true, &_init_f_stringValue_c3090, &_call_f_stringValue_c3090); return methods; } gsi::Class decl_QAbstractXmlNodeModel ("QAbstractXmlNodeModel", methods_QAbstractXmlNodeModel (), "@qt\n@brief Binding of QAbstractXmlNodeModel"); GSIQT_PUBLIC gsi::Class &qtdecl_QAbstractXmlNodeModel () { return decl_QAbstractXmlNodeModel; } } // Implementation of the enum wrapper class for QAbstractXmlNodeModel::NodeCopySetting namespace qt_gsi { static gsi::Enum decl_QAbstractXmlNodeModel_NodeCopySetting_Enum ("QAbstractXmlNodeModel_NodeCopySetting", gsi::enum_const ("InheritNamespaces", QAbstractXmlNodeModel::InheritNamespaces, "@brief Enum constant QAbstractXmlNodeModel::InheritNamespaces") + gsi::enum_const ("PreserveNamespaces", QAbstractXmlNodeModel::PreserveNamespaces, "@brief Enum constant QAbstractXmlNodeModel::PreserveNamespaces"), "@qt\n@brief This class represents the QAbstractXmlNodeModel::NodeCopySetting enum"); static gsi::QFlagsClass decl_QAbstractXmlNodeModel_NodeCopySetting_Enums ("QAbstractXmlNodeModel_QFlags_NodeCopySetting", "@qt\n@brief This class represents the QFlags flag set"); // Inject the declarations into the parent static gsi::ClassExt inject_QAbstractXmlNodeModel_NodeCopySetting_Enum_in_parent (decl_QAbstractXmlNodeModel_NodeCopySetting_Enum.defs ()); static gsi::ClassExt decl_QAbstractXmlNodeModel_NodeCopySetting_Enum_as_child (decl_QAbstractXmlNodeModel_NodeCopySetting_Enum, "NodeCopySetting"); static gsi::ClassExt decl_QAbstractXmlNodeModel_NodeCopySetting_Enums_as_child (decl_QAbstractXmlNodeModel_NodeCopySetting_Enums, "QFlags_NodeCopySetting"); }