
/*

  KLayout Layout Viewer
  Copyright (C) 2006-2016 Matthias Koefferlein

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

*/

/**
*  @file gsiDeclQMetaObject.cc 
*
*  DO NOT EDIT THIS FILE. 
*  This file has been created automatically
*/

#include "gsiQtCore.h"
#include "gsiDeclQtTypeTraits.h"
#include "gsiDeclQMetaObject_Enums.h"
#include <memory>

// -----------------------------------------------------------------------
// class QMetaObject

//  Constructor QMetaObject::QMetaObject()


static void _init_ctor_QMetaObject_0 (qt_gsi::GenericStaticMethod *decl)
{
  decl->set_return_new<QMetaObject *> ();
}

static void _call_ctor_QMetaObject_0 (const qt_gsi::GenericStaticMethod *decl, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  ret.write<QMetaObject *> (new QMetaObject ());
}

static qt_gsi::GenericStaticMethod *_create_ctor_QMetaObject_0 ()
{
  return new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QMetaObject::QMetaObject()\nThis method creates an object of class QMetaObject.", &_init_ctor_QMetaObject_0, &_call_ctor_QMetaObject_0);
}

// QObject *QMetaObject::cast(QObject *obj)


static void _init_f_cast_c1302 (qt_gsi::GenericMethod *decl)
{
  static gsi::ArgSpecBase argspec_0 ("obj");
  decl->add_arg<QObject * > (argspec_0);
  decl->set_return<QObject * > ();
}

static void _call_f_cast_c1302 (const qt_gsi::GenericMethod *decl, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  QObject *arg1 = args.read<QObject * > ();
  ret.write<QObject * > ((QObject *)((QMetaObject *)cls)->cast (arg1));
}

static qt_gsi::GenericMethod *_create_f_cast_c1302 ()
{
  return new qt_gsi::GenericMethod ("cast", "@brief Method QObject *QMetaObject::cast(QObject *obj)\n", true, &_init_f_cast_c1302, &_call_f_cast_c1302);
}

// QMetaClassInfo QMetaObject::classInfo(int index)


static void _init_f_classInfo_c767 (qt_gsi::GenericMethod *decl)
{
  static gsi::ArgSpecBase argspec_0 ("index");
  decl->add_arg<int > (argspec_0);
  decl->set_return<QMetaClassInfo > ();
}

static void _call_f_classInfo_c767 (const qt_gsi::GenericMethod *decl, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  int arg1 = args.read<int > ();
  ret.write<QMetaClassInfo > ((QMetaClassInfo)((QMetaObject *)cls)->classInfo (arg1));
}

static qt_gsi::GenericMethod *_create_f_classInfo_c767 ()
{
  return new qt_gsi::GenericMethod ("classInfo", "@brief Method QMetaClassInfo QMetaObject::classInfo(int index)\n", true, &_init_f_classInfo_c767, &_call_f_classInfo_c767);
}

// int QMetaObject::classInfoCount()


static void _init_f_classInfoCount_c0 (qt_gsi::GenericMethod *decl)
{
  decl->set_return<int > ();
}

static void _call_f_classInfoCount_c0 (const qt_gsi::GenericMethod *decl, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  ret.write<int > ((int)((QMetaObject *)cls)->classInfoCount ());
}

static qt_gsi::GenericMethod *_create_f_classInfoCount_c0 ()
{
  return new qt_gsi::GenericMethod ("classInfoCount", "@brief Method int QMetaObject::classInfoCount()\n", true, &_init_f_classInfoCount_c0, &_call_f_classInfoCount_c0);
}

// int QMetaObject::classInfoOffset()


static void _init_f_classInfoOffset_c0 (qt_gsi::GenericMethod *decl)
{
  decl->set_return<int > ();
}

static void _call_f_classInfoOffset_c0 (const qt_gsi::GenericMethod *decl, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  ret.write<int > ((int)((QMetaObject *)cls)->classInfoOffset ());
}

static qt_gsi::GenericMethod *_create_f_classInfoOffset_c0 ()
{
  return new qt_gsi::GenericMethod ("classInfoOffset", "@brief Method int QMetaObject::classInfoOffset()\n", true, &_init_f_classInfoOffset_c0, &_call_f_classInfoOffset_c0);
}

// const char *QMetaObject::className()


static void _init_f_className_c0 (qt_gsi::GenericMethod *decl)
{
  decl->set_return<const char * > ();
}

static void _call_f_className_c0 (const qt_gsi::GenericMethod *decl, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  ret.write<const char * > ((const char *)((QMetaObject *)cls)->className ());
}

static qt_gsi::GenericMethod *_create_f_className_c0 ()
{
  return new qt_gsi::GenericMethod ("className", "@brief Method const char *QMetaObject::className()\n", true, &_init_f_className_c0, &_call_f_className_c0);
}

// QMetaMethod QMetaObject::constructor(int index)


static void _init_f_constructor_c767 (qt_gsi::GenericMethod *decl)
{
  static gsi::ArgSpecBase argspec_0 ("index");
  decl->add_arg<int > (argspec_0);
  decl->set_return<QMetaMethod > ();
}

static void _call_f_constructor_c767 (const qt_gsi::GenericMethod *decl, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  int arg1 = args.read<int > ();
  ret.write<QMetaMethod > ((QMetaMethod)((QMetaObject *)cls)->constructor (arg1));
}

static qt_gsi::GenericMethod *_create_f_constructor_c767 ()
{
  return new qt_gsi::GenericMethod ("constructor", "@brief Method QMetaMethod QMetaObject::constructor(int index)\n", true, &_init_f_constructor_c767, &_call_f_constructor_c767);
}

// int QMetaObject::constructorCount()


static void _init_f_constructorCount_c0 (qt_gsi::GenericMethod *decl)
{
  decl->set_return<int > ();
}

static void _call_f_constructorCount_c0 (const qt_gsi::GenericMethod *decl, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  ret.write<int > ((int)((QMetaObject *)cls)->constructorCount ());
}

static qt_gsi::GenericMethod *_create_f_constructorCount_c0 ()
{
  return new qt_gsi::GenericMethod ("constructorCount", "@brief Method int QMetaObject::constructorCount()\n", true, &_init_f_constructorCount_c0, &_call_f_constructorCount_c0);
}

// QMetaEnum QMetaObject::enumerator(int index)


static void _init_f_enumerator_c767 (qt_gsi::GenericMethod *decl)
{
  static gsi::ArgSpecBase argspec_0 ("index");
  decl->add_arg<int > (argspec_0);
  decl->set_return<QMetaEnum > ();
}

static void _call_f_enumerator_c767 (const qt_gsi::GenericMethod *decl, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  int arg1 = args.read<int > ();
  ret.write<QMetaEnum > ((QMetaEnum)((QMetaObject *)cls)->enumerator (arg1));
}

static qt_gsi::GenericMethod *_create_f_enumerator_c767 ()
{
  return new qt_gsi::GenericMethod ("enumerator", "@brief Method QMetaEnum QMetaObject::enumerator(int index)\n", true, &_init_f_enumerator_c767, &_call_f_enumerator_c767);
}

// int QMetaObject::enumeratorCount()


static void _init_f_enumeratorCount_c0 (qt_gsi::GenericMethod *decl)
{
  decl->set_return<int > ();
}

static void _call_f_enumeratorCount_c0 (const qt_gsi::GenericMethod *decl, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  ret.write<int > ((int)((QMetaObject *)cls)->enumeratorCount ());
}

static qt_gsi::GenericMethod *_create_f_enumeratorCount_c0 ()
{
  return new qt_gsi::GenericMethod ("enumeratorCount", "@brief Method int QMetaObject::enumeratorCount()\n", true, &_init_f_enumeratorCount_c0, &_call_f_enumeratorCount_c0);
}

// int QMetaObject::enumeratorOffset()


static void _init_f_enumeratorOffset_c0 (qt_gsi::GenericMethod *decl)
{
  decl->set_return<int > ();
}

static void _call_f_enumeratorOffset_c0 (const qt_gsi::GenericMethod *decl, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  ret.write<int > ((int)((QMetaObject *)cls)->enumeratorOffset ());
}

static qt_gsi::GenericMethod *_create_f_enumeratorOffset_c0 ()
{
  return new qt_gsi::GenericMethod ("enumeratorOffset", "@brief Method int QMetaObject::enumeratorOffset()\n", true, &_init_f_enumeratorOffset_c0, &_call_f_enumeratorOffset_c0);
}

// int QMetaObject::indexOfClassInfo(const char *name)


static void _init_f_indexOfClassInfo_c1731 (qt_gsi::GenericMethod *decl)
{
  static gsi::ArgSpecBase argspec_0 ("name");
  decl->add_arg<const char * > (argspec_0);
  decl->set_return<int > ();
}

static void _call_f_indexOfClassInfo_c1731 (const qt_gsi::GenericMethod *decl, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  const char *arg1 = args.read<const char * > ();
  ret.write<int > ((int)((QMetaObject *)cls)->indexOfClassInfo (arg1));
}

static qt_gsi::GenericMethod *_create_f_indexOfClassInfo_c1731 ()
{
  return new qt_gsi::GenericMethod ("indexOfClassInfo", "@brief Method int QMetaObject::indexOfClassInfo(const char *name)\n", true, &_init_f_indexOfClassInfo_c1731, &_call_f_indexOfClassInfo_c1731);
}

// int QMetaObject::indexOfConstructor(const char *constructor)


static void _init_f_indexOfConstructor_c1731 (qt_gsi::GenericMethod *decl)
{
  static gsi::ArgSpecBase argspec_0 ("constructor");
  decl->add_arg<const char * > (argspec_0);
  decl->set_return<int > ();
}

static void _call_f_indexOfConstructor_c1731 (const qt_gsi::GenericMethod *decl, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  const char *arg1 = args.read<const char * > ();
  ret.write<int > ((int)((QMetaObject *)cls)->indexOfConstructor (arg1));
}

static qt_gsi::GenericMethod *_create_f_indexOfConstructor_c1731 ()
{
  return new qt_gsi::GenericMethod ("indexOfConstructor", "@brief Method int QMetaObject::indexOfConstructor(const char *constructor)\n", true, &_init_f_indexOfConstructor_c1731, &_call_f_indexOfConstructor_c1731);
}

// int QMetaObject::indexOfEnumerator(const char *name)


static void _init_f_indexOfEnumerator_c1731 (qt_gsi::GenericMethod *decl)
{
  static gsi::ArgSpecBase argspec_0 ("name");
  decl->add_arg<const char * > (argspec_0);
  decl->set_return<int > ();
}

static void _call_f_indexOfEnumerator_c1731 (const qt_gsi::GenericMethod *decl, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  const char *arg1 = args.read<const char * > ();
  ret.write<int > ((int)((QMetaObject *)cls)->indexOfEnumerator (arg1));
}

static qt_gsi::GenericMethod *_create_f_indexOfEnumerator_c1731 ()
{
  return new qt_gsi::GenericMethod ("indexOfEnumerator", "@brief Method int QMetaObject::indexOfEnumerator(const char *name)\n", true, &_init_f_indexOfEnumerator_c1731, &_call_f_indexOfEnumerator_c1731);
}

// int QMetaObject::indexOfMethod(const char *method)


static void _init_f_indexOfMethod_c1731 (qt_gsi::GenericMethod *decl)
{
  static gsi::ArgSpecBase argspec_0 ("method");
  decl->add_arg<const char * > (argspec_0);
  decl->set_return<int > ();
}

static void _call_f_indexOfMethod_c1731 (const qt_gsi::GenericMethod *decl, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  const char *arg1 = args.read<const char * > ();
  ret.write<int > ((int)((QMetaObject *)cls)->indexOfMethod (arg1));
}

static qt_gsi::GenericMethod *_create_f_indexOfMethod_c1731 ()
{
  return new qt_gsi::GenericMethod ("indexOfMethod", "@brief Method int QMetaObject::indexOfMethod(const char *method)\n", true, &_init_f_indexOfMethod_c1731, &_call_f_indexOfMethod_c1731);
}

// int QMetaObject::indexOfProperty(const char *name)


static void _init_f_indexOfProperty_c1731 (qt_gsi::GenericMethod *decl)
{
  static gsi::ArgSpecBase argspec_0 ("name");
  decl->add_arg<const char * > (argspec_0);
  decl->set_return<int > ();
}

static void _call_f_indexOfProperty_c1731 (const qt_gsi::GenericMethod *decl, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  const char *arg1 = args.read<const char * > ();
  ret.write<int > ((int)((QMetaObject *)cls)->indexOfProperty (arg1));
}

static qt_gsi::GenericMethod *_create_f_indexOfProperty_c1731 ()
{
  return new qt_gsi::GenericMethod ("indexOfProperty", "@brief Method int QMetaObject::indexOfProperty(const char *name)\n", true, &_init_f_indexOfProperty_c1731, &_call_f_indexOfProperty_c1731);
}

// int QMetaObject::indexOfSignal(const char *signal)


static void _init_f_indexOfSignal_c1731 (qt_gsi::GenericMethod *decl)
{
  static gsi::ArgSpecBase argspec_0 ("signal");
  decl->add_arg<const char * > (argspec_0);
  decl->set_return<int > ();
}

static void _call_f_indexOfSignal_c1731 (const qt_gsi::GenericMethod *decl, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  const char *arg1 = args.read<const char * > ();
  ret.write<int > ((int)((QMetaObject *)cls)->indexOfSignal (arg1));
}

static qt_gsi::GenericMethod *_create_f_indexOfSignal_c1731 ()
{
  return new qt_gsi::GenericMethod ("indexOfSignal", "@brief Method int QMetaObject::indexOfSignal(const char *signal)\n", true, &_init_f_indexOfSignal_c1731, &_call_f_indexOfSignal_c1731);
}

// int QMetaObject::indexOfSlot(const char *slot)


static void _init_f_indexOfSlot_c1731 (qt_gsi::GenericMethod *decl)
{
  static gsi::ArgSpecBase argspec_0 ("slot");
  decl->add_arg<const char * > (argspec_0);
  decl->set_return<int > ();
}

static void _call_f_indexOfSlot_c1731 (const qt_gsi::GenericMethod *decl, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  const char *arg1 = args.read<const char * > ();
  ret.write<int > ((int)((QMetaObject *)cls)->indexOfSlot (arg1));
}

static qt_gsi::GenericMethod *_create_f_indexOfSlot_c1731 ()
{
  return new qt_gsi::GenericMethod ("indexOfSlot", "@brief Method int QMetaObject::indexOfSlot(const char *slot)\n", true, &_init_f_indexOfSlot_c1731, &_call_f_indexOfSlot_c1731);
}

// QMetaMethod QMetaObject::method(int index)


static void _init_f_method_c767 (qt_gsi::GenericMethod *decl)
{
  static gsi::ArgSpecBase argspec_0 ("index");
  decl->add_arg<int > (argspec_0);
  decl->set_return<QMetaMethod > ();
}

static void _call_f_method_c767 (const qt_gsi::GenericMethod *decl, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  int arg1 = args.read<int > ();
  ret.write<QMetaMethod > ((QMetaMethod)((QMetaObject *)cls)->method (arg1));
}

static qt_gsi::GenericMethod *_create_f_method_c767 ()
{
  return new qt_gsi::GenericMethod ("method", "@brief Method QMetaMethod QMetaObject::method(int index)\n", true, &_init_f_method_c767, &_call_f_method_c767);
}

// int QMetaObject::methodCount()


static void _init_f_methodCount_c0 (qt_gsi::GenericMethod *decl)
{
  decl->set_return<int > ();
}

static void _call_f_methodCount_c0 (const qt_gsi::GenericMethod *decl, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  ret.write<int > ((int)((QMetaObject *)cls)->methodCount ());
}

static qt_gsi::GenericMethod *_create_f_methodCount_c0 ()
{
  return new qt_gsi::GenericMethod ("methodCount", "@brief Method int QMetaObject::methodCount()\n", true, &_init_f_methodCount_c0, &_call_f_methodCount_c0);
}

// int QMetaObject::methodOffset()


static void _init_f_methodOffset_c0 (qt_gsi::GenericMethod *decl)
{
  decl->set_return<int > ();
}

static void _call_f_methodOffset_c0 (const qt_gsi::GenericMethod *decl, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  ret.write<int > ((int)((QMetaObject *)cls)->methodOffset ());
}

static qt_gsi::GenericMethod *_create_f_methodOffset_c0 ()
{
  return new qt_gsi::GenericMethod ("methodOffset", "@brief Method int QMetaObject::methodOffset()\n", true, &_init_f_methodOffset_c0, &_call_f_methodOffset_c0);
}

// QMetaProperty QMetaObject::property(int index)


static void _init_f_property_c767 (qt_gsi::GenericMethod *decl)
{
  static gsi::ArgSpecBase argspec_0 ("index");
  decl->add_arg<int > (argspec_0);
  decl->set_return<QMetaProperty > ();
}

static void _call_f_property_c767 (const qt_gsi::GenericMethod *decl, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  int arg1 = args.read<int > ();
  ret.write<QMetaProperty > ((QMetaProperty)((QMetaObject *)cls)->property (arg1));
}

static qt_gsi::GenericMethod *_create_f_property_c767 ()
{
  return new qt_gsi::GenericMethod ("property", "@brief Method QMetaProperty QMetaObject::property(int index)\n", true, &_init_f_property_c767, &_call_f_property_c767);
}

// int QMetaObject::propertyCount()


static void _init_f_propertyCount_c0 (qt_gsi::GenericMethod *decl)
{
  decl->set_return<int > ();
}

static void _call_f_propertyCount_c0 (const qt_gsi::GenericMethod *decl, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  ret.write<int > ((int)((QMetaObject *)cls)->propertyCount ());
}

static qt_gsi::GenericMethod *_create_f_propertyCount_c0 ()
{
  return new qt_gsi::GenericMethod ("propertyCount", "@brief Method int QMetaObject::propertyCount()\n", true, &_init_f_propertyCount_c0, &_call_f_propertyCount_c0);
}

// int QMetaObject::propertyOffset()


static void _init_f_propertyOffset_c0 (qt_gsi::GenericMethod *decl)
{
  decl->set_return<int > ();
}

static void _call_f_propertyOffset_c0 (const qt_gsi::GenericMethod *decl, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  ret.write<int > ((int)((QMetaObject *)cls)->propertyOffset ());
}

static qt_gsi::GenericMethod *_create_f_propertyOffset_c0 ()
{
  return new qt_gsi::GenericMethod ("propertyOffset", "@brief Method int QMetaObject::propertyOffset()\n", true, &_init_f_propertyOffset_c0, &_call_f_propertyOffset_c0);
}

// const QMetaObject *QMetaObject::superClass()


static void _init_f_superClass_c0 (qt_gsi::GenericMethod *decl)
{
  decl->set_return<const QMetaObject * > ();
}

static void _call_f_superClass_c0 (const qt_gsi::GenericMethod *decl, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  ret.write<const QMetaObject * > ((const QMetaObject *)((QMetaObject *)cls)->superClass ());
}

static qt_gsi::GenericMethod *_create_f_superClass_c0 ()
{
  return new qt_gsi::GenericMethod ("superClass", "@brief Method const QMetaObject *QMetaObject::superClass()\n", true, &_init_f_superClass_c0, &_call_f_superClass_c0);
}

// QString QMetaObject::tr(const char *s, const char *c)


static void _init_f_tr_c3354 (qt_gsi::GenericMethod *decl)
{
  static gsi::ArgSpecBase argspec_0 ("s");
  decl->add_arg<const char * > (argspec_0);
  static gsi::ArgSpecBase argspec_1 ("c");
  decl->add_arg<const char * > (argspec_1);
  decl->set_return<QString > ();
}

static void _call_f_tr_c3354 (const qt_gsi::GenericMethod *decl, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  const char *arg1 = args.read<const char * > ();
  const char *arg2 = args.read<const char * > ();
  ret.write<QString > ((QString)((QMetaObject *)cls)->tr (arg1, arg2));
}

static qt_gsi::GenericMethod *_create_f_tr_c3354 ()
{
  return new qt_gsi::GenericMethod ("tr", "@brief Method QString QMetaObject::tr(const char *s, const char *c)\n", true, &_init_f_tr_c3354, &_call_f_tr_c3354);
}

// QString QMetaObject::tr(const char *s, const char *c, int n)


static void _init_f_tr_c4013 (qt_gsi::GenericMethod *decl)
{
  static gsi::ArgSpecBase argspec_0 ("s");
  decl->add_arg<const char * > (argspec_0);
  static gsi::ArgSpecBase argspec_1 ("c");
  decl->add_arg<const char * > (argspec_1);
  static gsi::ArgSpecBase argspec_2 ("n");
  decl->add_arg<int > (argspec_2);
  decl->set_return<QString > ();
}

static void _call_f_tr_c4013 (const qt_gsi::GenericMethod *decl, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  const char *arg1 = args.read<const char * > ();
  const char *arg2 = args.read<const char * > ();
  int arg3 = args.read<int > ();
  ret.write<QString > ((QString)((QMetaObject *)cls)->tr (arg1, arg2, arg3));
}

static qt_gsi::GenericMethod *_create_f_tr_c4013 ()
{
  return new qt_gsi::GenericMethod ("tr", "@brief Method QString QMetaObject::tr(const char *s, const char *c, int n)\n", true, &_init_f_tr_c4013, &_call_f_tr_c4013);
}

// QString QMetaObject::trUtf8(const char *s, const char *c)


static void _init_f_trUtf8_c3354 (qt_gsi::GenericMethod *decl)
{
  static gsi::ArgSpecBase argspec_0 ("s");
  decl->add_arg<const char * > (argspec_0);
  static gsi::ArgSpecBase argspec_1 ("c");
  decl->add_arg<const char * > (argspec_1);
  decl->set_return<QString > ();
}

static void _call_f_trUtf8_c3354 (const qt_gsi::GenericMethod *decl, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  const char *arg1 = args.read<const char * > ();
  const char *arg2 = args.read<const char * > ();
  ret.write<QString > ((QString)((QMetaObject *)cls)->trUtf8 (arg1, arg2));
}

static qt_gsi::GenericMethod *_create_f_trUtf8_c3354 ()
{
  return new qt_gsi::GenericMethod ("trUtf8", "@brief Method QString QMetaObject::trUtf8(const char *s, const char *c)\n", true, &_init_f_trUtf8_c3354, &_call_f_trUtf8_c3354);
}

// QString QMetaObject::trUtf8(const char *s, const char *c, int n)


static void _init_f_trUtf8_c4013 (qt_gsi::GenericMethod *decl)
{
  static gsi::ArgSpecBase argspec_0 ("s");
  decl->add_arg<const char * > (argspec_0);
  static gsi::ArgSpecBase argspec_1 ("c");
  decl->add_arg<const char * > (argspec_1);
  static gsi::ArgSpecBase argspec_2 ("n");
  decl->add_arg<int > (argspec_2);
  decl->set_return<QString > ();
}

static void _call_f_trUtf8_c4013 (const qt_gsi::GenericMethod *decl, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  const char *arg1 = args.read<const char * > ();
  const char *arg2 = args.read<const char * > ();
  int arg3 = args.read<int > ();
  ret.write<QString > ((QString)((QMetaObject *)cls)->trUtf8 (arg1, arg2, arg3));
}

static qt_gsi::GenericMethod *_create_f_trUtf8_c4013 ()
{
  return new qt_gsi::GenericMethod ("trUtf8", "@brief Method QString QMetaObject::trUtf8(const char *s, const char *c, int n)\n", true, &_init_f_trUtf8_c4013, &_call_f_trUtf8_c4013);
}

// QMetaProperty QMetaObject::userProperty()


static void _init_f_userProperty_c0 (qt_gsi::GenericMethod *decl)
{
  decl->set_return<QMetaProperty > ();
}

static void _call_f_userProperty_c0 (const qt_gsi::GenericMethod *decl, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  ret.write<QMetaProperty > ((QMetaProperty)((QMetaObject *)cls)->userProperty ());
}

static qt_gsi::GenericMethod *_create_f_userProperty_c0 ()
{
  return new qt_gsi::GenericMethod ("userProperty", "@brief Method QMetaProperty QMetaObject::userProperty()\n", true, &_init_f_userProperty_c0, &_call_f_userProperty_c0);
}

// static bool QMetaObject::checkConnectArgs(const char *signal, const char *method)


static void _init_f_checkConnectArgs_3354 (qt_gsi::GenericStaticMethod *decl)
{
  static gsi::ArgSpecBase argspec_0 ("signal");
  decl->add_arg<const char * > (argspec_0);
  static gsi::ArgSpecBase argspec_1 ("method");
  decl->add_arg<const char * > (argspec_1);
  decl->set_return<bool > ();
}

static void _call_f_checkConnectArgs_3354 (const qt_gsi::GenericStaticMethod *decl, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  const char *arg1 = args.read<const char * > ();
  const char *arg2 = args.read<const char * > ();
  ret.write<bool > ((bool)QMetaObject::checkConnectArgs (arg1, arg2));
}

static qt_gsi::GenericStaticMethod *_create_f_checkConnectArgs_3354 ()
{
  return new qt_gsi::GenericStaticMethod ("checkConnectArgs", "@brief Static method bool QMetaObject::checkConnectArgs(const char *signal, const char *method)\nThis method is static and can be called without an instance.", &_init_f_checkConnectArgs_3354, &_call_f_checkConnectArgs_3354);
}

// static bool QMetaObject::connect(const QObject *sender, int signal_index, const QObject *receiver, int method_index, int type, int *types)


static void _init_f_connect_6708 (qt_gsi::GenericStaticMethod *decl)
{
  static gsi::ArgSpecBase argspec_0 ("sender");
  decl->add_arg<const QObject * > (argspec_0);
  static gsi::ArgSpecBase argspec_1 ("signal_index");
  decl->add_arg<int > (argspec_1);
  static gsi::ArgSpecBase argspec_2 ("receiver");
  decl->add_arg<const QObject * > (argspec_2);
  static gsi::ArgSpecBase argspec_3 ("method_index");
  decl->add_arg<int > (argspec_3);
  static gsi::ArgSpecBase argspec_4 ("type", true, "0");
  decl->add_arg<int > (argspec_4);
  static gsi::ArgSpecBase argspec_5 ("types", true, "0");
  decl->add_arg<int * > (argspec_5);
  decl->set_return<bool > ();
}

static void _call_f_connect_6708 (const qt_gsi::GenericStaticMethod *decl, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  const QObject *arg1 = args.read<const QObject * > ();
  int arg2 = args.read<int > ();
  const QObject *arg3 = args.read<const QObject * > ();
  int arg4 = args.read<int > ();
  int arg5 = args ? args.read<int > () : (int)(0);
  int *arg6 = args ? args.read<int * > () : (int *)(0);
  ret.write<bool > ((bool)QMetaObject::connect (arg1, arg2, arg3, arg4, arg5, arg6));
}

static qt_gsi::GenericStaticMethod *_create_f_connect_6708 ()
{
  return new qt_gsi::GenericStaticMethod ("connect", "@brief Static method bool QMetaObject::connect(const QObject *sender, int signal_index, const QObject *receiver, int method_index, int type, int *types)\nThis method is static and can be called without an instance.", &_init_f_connect_6708, &_call_f_connect_6708);
}

// static void QMetaObject::connectSlotsByName(QObject *o)


static void _init_f_connectSlotsByName_1302 (qt_gsi::GenericStaticMethod *decl)
{
  static gsi::ArgSpecBase argspec_0 ("o");
  decl->add_arg<QObject * > (argspec_0);
  decl->set_return<void > ();
}

static void _call_f_connectSlotsByName_1302 (const qt_gsi::GenericStaticMethod *decl, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  QObject *arg1 = args.read<QObject * > ();
  QMetaObject::connectSlotsByName (arg1);
}

static qt_gsi::GenericStaticMethod *_create_f_connectSlotsByName_1302 ()
{
  return new qt_gsi::GenericStaticMethod ("connectSlotsByName", "@brief Static method void QMetaObject::connectSlotsByName(QObject *o)\nThis method is static and can be called without an instance.", &_init_f_connectSlotsByName_1302, &_call_f_connectSlotsByName_1302);
}

// static bool QMetaObject::disconnect(const QObject *sender, int signal_index, const QObject *receiver, int method_index)


static void _init_f_disconnect_5204 (qt_gsi::GenericStaticMethod *decl)
{
  static gsi::ArgSpecBase argspec_0 ("sender");
  decl->add_arg<const QObject * > (argspec_0);
  static gsi::ArgSpecBase argspec_1 ("signal_index");
  decl->add_arg<int > (argspec_1);
  static gsi::ArgSpecBase argspec_2 ("receiver");
  decl->add_arg<const QObject * > (argspec_2);
  static gsi::ArgSpecBase argspec_3 ("method_index");
  decl->add_arg<int > (argspec_3);
  decl->set_return<bool > ();
}

static void _call_f_disconnect_5204 (const qt_gsi::GenericStaticMethod *decl, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  const QObject *arg1 = args.read<const QObject * > ();
  int arg2 = args.read<int > ();
  const QObject *arg3 = args.read<const QObject * > ();
  int arg4 = args.read<int > ();
  ret.write<bool > ((bool)QMetaObject::disconnect (arg1, arg2, arg3, arg4));
}

static qt_gsi::GenericStaticMethod *_create_f_disconnect_5204 ()
{
  return new qt_gsi::GenericStaticMethod ("disconnect", "@brief Static method bool QMetaObject::disconnect(const QObject *sender, int signal_index, const QObject *receiver, int method_index)\nThis method is static and can be called without an instance.", &_init_f_disconnect_5204, &_call_f_disconnect_5204);
}

// static bool QMetaObject::disconnectOne(const QObject *sender, int signal_index, const QObject *receiver, int method_index)


static void _init_f_disconnectOne_5204 (qt_gsi::GenericStaticMethod *decl)
{
  static gsi::ArgSpecBase argspec_0 ("sender");
  decl->add_arg<const QObject * > (argspec_0);
  static gsi::ArgSpecBase argspec_1 ("signal_index");
  decl->add_arg<int > (argspec_1);
  static gsi::ArgSpecBase argspec_2 ("receiver");
  decl->add_arg<const QObject * > (argspec_2);
  static gsi::ArgSpecBase argspec_3 ("method_index");
  decl->add_arg<int > (argspec_3);
  decl->set_return<bool > ();
}

static void _call_f_disconnectOne_5204 (const qt_gsi::GenericStaticMethod *decl, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  const QObject *arg1 = args.read<const QObject * > ();
  int arg2 = args.read<int > ();
  const QObject *arg3 = args.read<const QObject * > ();
  int arg4 = args.read<int > ();
  ret.write<bool > ((bool)QMetaObject::disconnectOne (arg1, arg2, arg3, arg4));
}

static qt_gsi::GenericStaticMethod *_create_f_disconnectOne_5204 ()
{
  return new qt_gsi::GenericStaticMethod ("disconnectOne", "@brief Static method bool QMetaObject::disconnectOne(const QObject *sender, int signal_index, const QObject *receiver, int method_index)\nThis method is static and can be called without an instance.", &_init_f_disconnectOne_5204, &_call_f_disconnectOne_5204);
}

// static QByteArray QMetaObject::normalizedSignature(const char *method)


static void _init_f_normalizedSignature_1731 (qt_gsi::GenericStaticMethod *decl)
{
  static gsi::ArgSpecBase argspec_0 ("method");
  decl->add_arg<const char * > (argspec_0);
  decl->set_return<QByteArray > ();
}

static void _call_f_normalizedSignature_1731 (const qt_gsi::GenericStaticMethod *decl, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  const char *arg1 = args.read<const char * > ();
  ret.write<QByteArray > ((QByteArray)QMetaObject::normalizedSignature (arg1));
}

static qt_gsi::GenericStaticMethod *_create_f_normalizedSignature_1731 ()
{
  return new qt_gsi::GenericStaticMethod ("normalizedSignature", "@brief Static method QByteArray QMetaObject::normalizedSignature(const char *method)\nThis method is static and can be called without an instance.", &_init_f_normalizedSignature_1731, &_call_f_normalizedSignature_1731);
}

// static QByteArray QMetaObject::normalizedType(const char *type)


static void _init_f_normalizedType_1731 (qt_gsi::GenericStaticMethod *decl)
{
  static gsi::ArgSpecBase argspec_0 ("type");
  decl->add_arg<const char * > (argspec_0);
  decl->set_return<QByteArray > ();
}

static void _call_f_normalizedType_1731 (const qt_gsi::GenericStaticMethod *decl, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  const char *arg1 = args.read<const char * > ();
  ret.write<QByteArray > ((QByteArray)QMetaObject::normalizedType (arg1));
}

static qt_gsi::GenericStaticMethod *_create_f_normalizedType_1731 ()
{
  return new qt_gsi::GenericStaticMethod ("normalizedType", "@brief Static method QByteArray QMetaObject::normalizedType(const char *type)\nThis method is static and can be called without an instance.", &_init_f_normalizedType_1731, &_call_f_normalizedType_1731);
}


namespace gsi
{
gsi::Class<QMetaObject> decl_QMetaObject ("QMetaObject",
  gsi::Methods(_create_ctor_QMetaObject_0 ()) +
  gsi::Methods(_create_f_cast_c1302 ()) +
  gsi::Methods(_create_f_classInfo_c767 ()) +
  gsi::Methods(_create_f_classInfoCount_c0 ()) +
  gsi::Methods(_create_f_classInfoOffset_c0 ()) +
  gsi::Methods(_create_f_className_c0 ()) +
  gsi::Methods(_create_f_constructor_c767 ()) +
  gsi::Methods(_create_f_constructorCount_c0 ()) +
  gsi::Methods(_create_f_enumerator_c767 ()) +
  gsi::Methods(_create_f_enumeratorCount_c0 ()) +
  gsi::Methods(_create_f_enumeratorOffset_c0 ()) +
  gsi::Methods(_create_f_indexOfClassInfo_c1731 ()) +
  gsi::Methods(_create_f_indexOfConstructor_c1731 ()) +
  gsi::Methods(_create_f_indexOfEnumerator_c1731 ()) +
  gsi::Methods(_create_f_indexOfMethod_c1731 ()) +
  gsi::Methods(_create_f_indexOfProperty_c1731 ()) +
  gsi::Methods(_create_f_indexOfSignal_c1731 ()) +
  gsi::Methods(_create_f_indexOfSlot_c1731 ()) +
  gsi::Methods(_create_f_method_c767 ()) +
  gsi::Methods(_create_f_methodCount_c0 ()) +
  gsi::Methods(_create_f_methodOffset_c0 ()) +
  gsi::Methods(_create_f_property_c767 ()) +
  gsi::Methods(_create_f_propertyCount_c0 ()) +
  gsi::Methods(_create_f_propertyOffset_c0 ()) +
  gsi::Methods(_create_f_superClass_c0 ()) +
  gsi::Methods(_create_f_tr_c3354 ()) +
  gsi::Methods(_create_f_tr_c4013 ()) +
  gsi::Methods(_create_f_trUtf8_c3354 ()) +
  gsi::Methods(_create_f_trUtf8_c4013 ()) +
  gsi::Methods(_create_f_userProperty_c0 ()) +
  gsi::Methods(_create_f_checkConnectArgs_3354 ()) +
  gsi::Methods(_create_f_connect_6708 ()) +
  gsi::Methods(_create_f_connectSlotsByName_1302 ()) +
  gsi::Methods(_create_f_disconnect_5204 ()) +
  gsi::Methods(_create_f_disconnectOne_5204 ()) +
  gsi::Methods(_create_f_normalizedSignature_1731 ()) +
  gsi::Methods(_create_f_normalizedType_1731 ()),
  "@qt\n@brief Binding of QMetaObject");

}

