mirror of https://github.com/KLayout/klayout.git
WIP: removed old Qt5 binding code, fixed a segfault (static argc), enabled pya without interpreter
This commit is contained in:
parent
3cabb23be1
commit
ea31e5bcde
|
|
@ -1318,14 +1318,14 @@ rename "QPrintDialog", /QPrintDialog::accepted\(QPrinter/, "accepted_sig"
|
|||
|
||||
# special implementations:
|
||||
|
||||
drop_method "QApplication", /QApplication::QApplication/ # geht nicht wegen char** und wird auch nicht gebraucht wegen singleton
|
||||
drop_method "QApplication", /QApplication::QApplication/ # uses char **
|
||||
|
||||
# provide a dummy application for the constructor for test purposes
|
||||
add_native_impl("QApplication", <<'CODE', <<'DECL')
|
||||
static QApplication *ctor_QApplication()
|
||||
{
|
||||
static char *(dummy_argv[]) = { (char *)"undefined_application" };
|
||||
int argc = 1;
|
||||
static int argc = 1;
|
||||
return new QApplication (argc, dummy_argv);
|
||||
}
|
||||
CODE
|
||||
|
|
|
|||
|
|
@ -1443,7 +1443,7 @@ add_native_impl("QApplication", <<'CODE', <<'DECL')
|
|||
static QApplication *ctor_QApplication()
|
||||
{
|
||||
static char *(dummy_argv[]) = { (char *)"undefined_application" };
|
||||
int argc = 1;
|
||||
static int argc = 1;
|
||||
return new QApplication (argc, dummy_argv);
|
||||
}
|
||||
CODE
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ static void _call_smo (const qt_gsi::GenericStaticMethod *, gsi::SerialArgs &, g
|
|||
static QApplication *ctor_QApplication()
|
||||
{
|
||||
static char *(dummy_argv[]) = { (char *)"undefined_application" };
|
||||
int argc = 1;
|
||||
static int argc = 1;
|
||||
return new QApplication (argc, dummy_argv);
|
||||
}
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -1,83 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAbstractEventDispatcher_TimerInfo.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAbstractEventDispatcher>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// struct QAbstractEventDispatcher::TimerInfo
|
||||
|
||||
// Constructor QAbstractEventDispatcher::TimerInfo::TimerInfo(int id, int i, Qt::TimerType t)
|
||||
|
||||
|
||||
static void _init_ctor_QAbstractEventDispatcher_TimerInfo_2998 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("id");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("i");
|
||||
decl->add_arg<int > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("t");
|
||||
decl->add_arg<const qt_gsi::Converter<Qt::TimerType>::target_type & > (argspec_2);
|
||||
decl->set_return_new<QAbstractEventDispatcher::TimerInfo> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAbstractEventDispatcher_TimerInfo_2998 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
int arg2 = args.read<int > (heap);
|
||||
const qt_gsi::Converter<Qt::TimerType>::target_type & arg3 = args.read<const qt_gsi::Converter<Qt::TimerType>::target_type & > (heap);
|
||||
ret.write<QAbstractEventDispatcher::TimerInfo *> (new QAbstractEventDispatcher::TimerInfo (arg1, arg2, qt_gsi::QtToCppAdaptor<Qt::TimerType>(arg3).cref()));
|
||||
}
|
||||
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAbstractEventDispatcher_TimerInfo () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAbstractEventDispatcher::TimerInfo::TimerInfo(int id, int i, Qt::TimerType t)\nThis method creates an object of class QAbstractEventDispatcher::TimerInfo.", &_init_ctor_QAbstractEventDispatcher_TimerInfo_2998, &_call_ctor_QAbstractEventDispatcher_TimerInfo_2998);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAbstractEventDispatcher::TimerInfo> decl_QAbstractEventDispatcher_TimerInfo ("QAbstractEventDispatcher_TimerInfo",
|
||||
methods_QAbstractEventDispatcher_TimerInfo (),
|
||||
"@qt\n@brief Binding of QAbstractEventDispatcher::TimerInfo");
|
||||
|
||||
gsi::ClassExt<QAbstractEventDispatcher> decl_QAbstractEventDispatcher_TimerInfo_as_child (decl_QAbstractEventDispatcher_TimerInfo, "TimerInfo");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAbstractEventDispatcher::TimerInfo> &qtdecl_QAbstractEventDispatcher_TimerInfo () { return decl_QAbstractEventDispatcher_TimerInfo; }
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,172 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAbstractExtensionFactory.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAbstractExtensionFactory>
|
||||
#include <QObject>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAbstractExtensionFactory
|
||||
|
||||
// QObject *QAbstractExtensionFactory::extension(QObject *object, const QString &iid)
|
||||
|
||||
|
||||
static void _init_f_extension_c3219 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("object");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("iid");
|
||||
decl->add_arg<const QString & > (argspec_1);
|
||||
decl->set_return<QObject * > ();
|
||||
}
|
||||
|
||||
static void _call_f_extension_c3219 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args.read<QObject * > (heap);
|
||||
const QString &arg2 = args.read<const QString & > (heap);
|
||||
ret.write<QObject * > ((QObject *)((QAbstractExtensionFactory *)cls)->extension (arg1, arg2));
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAbstractExtensionFactory () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericMethod ("extension", "@brief Method QObject *QAbstractExtensionFactory::extension(QObject *object, const QString &iid)\n", true, &_init_f_extension_c3219, &_call_f_extension_c3219);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAbstractExtensionFactory> decl_QAbstractExtensionFactory ("QAbstractExtensionFactory_Native",
|
||||
methods_QAbstractExtensionFactory (),
|
||||
"@hide\n@alias QAbstractExtensionFactory");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAbstractExtensionFactory> &qtdecl_QAbstractExtensionFactory () { return decl_QAbstractExtensionFactory; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QAbstractExtensionFactory_Adaptor : public QAbstractExtensionFactory, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QAbstractExtensionFactory_Adaptor();
|
||||
|
||||
// [adaptor ctor] QAbstractExtensionFactory::QAbstractExtensionFactory()
|
||||
QAbstractExtensionFactory_Adaptor() : QAbstractExtensionFactory()
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor impl] QObject *QAbstractExtensionFactory::extension(QObject *object, const QString &iid)
|
||||
QObject * cbs_extension_c3219_0(QObject *object, const QString &iid) const
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (object);
|
||||
__SUPPRESS_UNUSED_WARNING (iid);
|
||||
throw qt_gsi::AbstractMethodCalledException("extension");
|
||||
}
|
||||
|
||||
virtual QObject * extension(QObject *object, const QString &iid) const
|
||||
{
|
||||
if (cb_extension_c3219_0.can_issue()) {
|
||||
return cb_extension_c3219_0.issue<QAbstractExtensionFactory_Adaptor, QObject *, QObject *, const QString &>(&QAbstractExtensionFactory_Adaptor::cbs_extension_c3219_0, object, iid);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("extension");
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_extension_c3219_0;
|
||||
};
|
||||
|
||||
QAbstractExtensionFactory_Adaptor::~QAbstractExtensionFactory_Adaptor() { }
|
||||
|
||||
// Constructor QAbstractExtensionFactory::QAbstractExtensionFactory() (adaptor class)
|
||||
|
||||
static void _init_ctor_QAbstractExtensionFactory_Adaptor_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return_new<QAbstractExtensionFactory_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAbstractExtensionFactory_Adaptor_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAbstractExtensionFactory_Adaptor *> (new QAbstractExtensionFactory_Adaptor ());
|
||||
}
|
||||
|
||||
|
||||
// QObject *QAbstractExtensionFactory::extension(QObject *object, const QString &iid)
|
||||
|
||||
static void _init_cbs_extension_c3219_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("object");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("iid");
|
||||
decl->add_arg<const QString & > (argspec_1);
|
||||
decl->set_return<QObject * > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_extension_c3219_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args.read<QObject * > (heap);
|
||||
const QString &arg2 = args.read<const QString & > (heap);
|
||||
ret.write<QObject * > ((QObject *)((QAbstractExtensionFactory_Adaptor *)cls)->cbs_extension_c3219_0 (arg1, arg2));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_extension_c3219_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractExtensionFactory_Adaptor *)cls)->cb_extension_c3219_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QAbstractExtensionFactory> &qtdecl_QAbstractExtensionFactory ();
|
||||
|
||||
static gsi::Methods methods_QAbstractExtensionFactory_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAbstractExtensionFactory::QAbstractExtensionFactory()\nThis method creates an object of class QAbstractExtensionFactory.", &_init_ctor_QAbstractExtensionFactory_Adaptor_0, &_call_ctor_QAbstractExtensionFactory_Adaptor_0);
|
||||
methods += new qt_gsi::GenericMethod ("extension", "@hide", true, &_init_cbs_extension_c3219_0, &_call_cbs_extension_c3219_0);
|
||||
methods += new qt_gsi::GenericMethod ("extension", "@brief Virtual method QObject *QAbstractExtensionFactory::extension(QObject *object, const QString &iid)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_extension_c3219_0, &_call_cbs_extension_c3219_0, &_set_callback_cbs_extension_c3219_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAbstractExtensionFactory_Adaptor> decl_QAbstractExtensionFactory_Adaptor (qtdecl_QAbstractExtensionFactory (), "QAbstractExtensionFactory",
|
||||
methods_QAbstractExtensionFactory_Adaptor (),
|
||||
"@qt\n@brief Binding of QAbstractExtensionFactory");
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,315 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAbstractExtensionManager.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAbstractExtensionManager>
|
||||
#include <QAbstractExtensionFactory>
|
||||
#include <QObject>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAbstractExtensionManager
|
||||
|
||||
// QObject *QAbstractExtensionManager::extension(QObject *object, const QString &iid)
|
||||
|
||||
|
||||
static void _init_f_extension_c3219 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("object");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("iid");
|
||||
decl->add_arg<const QString & > (argspec_1);
|
||||
decl->set_return<QObject * > ();
|
||||
}
|
||||
|
||||
static void _call_f_extension_c3219 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args.read<QObject * > (heap);
|
||||
const QString &arg2 = args.read<const QString & > (heap);
|
||||
ret.write<QObject * > ((QObject *)((QAbstractExtensionManager *)cls)->extension (arg1, arg2));
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractExtensionManager::registerExtensions(QAbstractExtensionFactory *factory, const QString &iid)
|
||||
|
||||
|
||||
static void _init_f_registerExtensions_5125 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("factory");
|
||||
decl->add_arg<QAbstractExtensionFactory * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("iid");
|
||||
decl->add_arg<const QString & > (argspec_1);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_registerExtensions_5125 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAbstractExtensionFactory *arg1 = args.read<QAbstractExtensionFactory * > (heap);
|
||||
const QString &arg2 = args.read<const QString & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractExtensionManager *)cls)->registerExtensions (arg1, arg2);
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractExtensionManager::unregisterExtensions(QAbstractExtensionFactory *factory, const QString &iid)
|
||||
|
||||
|
||||
static void _init_f_unregisterExtensions_5125 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("factory");
|
||||
decl->add_arg<QAbstractExtensionFactory * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("iid");
|
||||
decl->add_arg<const QString & > (argspec_1);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_unregisterExtensions_5125 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAbstractExtensionFactory *arg1 = args.read<QAbstractExtensionFactory * > (heap);
|
||||
const QString &arg2 = args.read<const QString & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractExtensionManager *)cls)->unregisterExtensions (arg1, arg2);
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAbstractExtensionManager () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericMethod ("extension", "@brief Method QObject *QAbstractExtensionManager::extension(QObject *object, const QString &iid)\n", true, &_init_f_extension_c3219, &_call_f_extension_c3219);
|
||||
methods += new qt_gsi::GenericMethod ("registerExtensions", "@brief Method void QAbstractExtensionManager::registerExtensions(QAbstractExtensionFactory *factory, const QString &iid)\n", false, &_init_f_registerExtensions_5125, &_call_f_registerExtensions_5125);
|
||||
methods += new qt_gsi::GenericMethod ("unregisterExtensions", "@brief Method void QAbstractExtensionManager::unregisterExtensions(QAbstractExtensionFactory *factory, const QString &iid)\n", false, &_init_f_unregisterExtensions_5125, &_call_f_unregisterExtensions_5125);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAbstractExtensionManager> decl_QAbstractExtensionManager ("QAbstractExtensionManager_Native",
|
||||
methods_QAbstractExtensionManager (),
|
||||
"@hide\n@alias QAbstractExtensionManager");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAbstractExtensionManager> &qtdecl_QAbstractExtensionManager () { return decl_QAbstractExtensionManager; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QAbstractExtensionManager_Adaptor : public QAbstractExtensionManager, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QAbstractExtensionManager_Adaptor();
|
||||
|
||||
// [adaptor ctor] QAbstractExtensionManager::QAbstractExtensionManager()
|
||||
QAbstractExtensionManager_Adaptor() : QAbstractExtensionManager()
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor impl] QObject *QAbstractExtensionManager::extension(QObject *object, const QString &iid)
|
||||
QObject * cbs_extension_c3219_0(QObject *object, const QString &iid) const
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (object);
|
||||
__SUPPRESS_UNUSED_WARNING (iid);
|
||||
throw qt_gsi::AbstractMethodCalledException("extension");
|
||||
}
|
||||
|
||||
virtual QObject * extension(QObject *object, const QString &iid) const
|
||||
{
|
||||
if (cb_extension_c3219_0.can_issue()) {
|
||||
return cb_extension_c3219_0.issue<QAbstractExtensionManager_Adaptor, QObject *, QObject *, const QString &>(&QAbstractExtensionManager_Adaptor::cbs_extension_c3219_0, object, iid);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("extension");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractExtensionManager::registerExtensions(QAbstractExtensionFactory *factory, const QString &iid)
|
||||
void cbs_registerExtensions_5125_0(QAbstractExtensionFactory *factory, const QString &iid)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (factory);
|
||||
__SUPPRESS_UNUSED_WARNING (iid);
|
||||
throw qt_gsi::AbstractMethodCalledException("registerExtensions");
|
||||
}
|
||||
|
||||
virtual void registerExtensions(QAbstractExtensionFactory *factory, const QString &iid)
|
||||
{
|
||||
if (cb_registerExtensions_5125_0.can_issue()) {
|
||||
cb_registerExtensions_5125_0.issue<QAbstractExtensionManager_Adaptor, QAbstractExtensionFactory *, const QString &>(&QAbstractExtensionManager_Adaptor::cbs_registerExtensions_5125_0, factory, iid);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("registerExtensions");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractExtensionManager::unregisterExtensions(QAbstractExtensionFactory *factory, const QString &iid)
|
||||
void cbs_unregisterExtensions_5125_0(QAbstractExtensionFactory *factory, const QString &iid)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (factory);
|
||||
__SUPPRESS_UNUSED_WARNING (iid);
|
||||
throw qt_gsi::AbstractMethodCalledException("unregisterExtensions");
|
||||
}
|
||||
|
||||
virtual void unregisterExtensions(QAbstractExtensionFactory *factory, const QString &iid)
|
||||
{
|
||||
if (cb_unregisterExtensions_5125_0.can_issue()) {
|
||||
cb_unregisterExtensions_5125_0.issue<QAbstractExtensionManager_Adaptor, QAbstractExtensionFactory *, const QString &>(&QAbstractExtensionManager_Adaptor::cbs_unregisterExtensions_5125_0, factory, iid);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("unregisterExtensions");
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_extension_c3219_0;
|
||||
gsi::Callback cb_registerExtensions_5125_0;
|
||||
gsi::Callback cb_unregisterExtensions_5125_0;
|
||||
};
|
||||
|
||||
QAbstractExtensionManager_Adaptor::~QAbstractExtensionManager_Adaptor() { }
|
||||
|
||||
// Constructor QAbstractExtensionManager::QAbstractExtensionManager() (adaptor class)
|
||||
|
||||
static void _init_ctor_QAbstractExtensionManager_Adaptor_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return_new<QAbstractExtensionManager_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAbstractExtensionManager_Adaptor_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAbstractExtensionManager_Adaptor *> (new QAbstractExtensionManager_Adaptor ());
|
||||
}
|
||||
|
||||
|
||||
// QObject *QAbstractExtensionManager::extension(QObject *object, const QString &iid)
|
||||
|
||||
static void _init_cbs_extension_c3219_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("object");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("iid");
|
||||
decl->add_arg<const QString & > (argspec_1);
|
||||
decl->set_return<QObject * > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_extension_c3219_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args.read<QObject * > (heap);
|
||||
const QString &arg2 = args.read<const QString & > (heap);
|
||||
ret.write<QObject * > ((QObject *)((QAbstractExtensionManager_Adaptor *)cls)->cbs_extension_c3219_0 (arg1, arg2));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_extension_c3219_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractExtensionManager_Adaptor *)cls)->cb_extension_c3219_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractExtensionManager::registerExtensions(QAbstractExtensionFactory *factory, const QString &iid)
|
||||
|
||||
static void _init_cbs_registerExtensions_5125_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("factory");
|
||||
decl->add_arg<QAbstractExtensionFactory * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("iid");
|
||||
decl->add_arg<const QString & > (argspec_1);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_registerExtensions_5125_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAbstractExtensionFactory *arg1 = args.read<QAbstractExtensionFactory * > (heap);
|
||||
const QString &arg2 = args.read<const QString & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractExtensionManager_Adaptor *)cls)->cbs_registerExtensions_5125_0 (arg1, arg2);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_registerExtensions_5125_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractExtensionManager_Adaptor *)cls)->cb_registerExtensions_5125_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractExtensionManager::unregisterExtensions(QAbstractExtensionFactory *factory, const QString &iid)
|
||||
|
||||
static void _init_cbs_unregisterExtensions_5125_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("factory");
|
||||
decl->add_arg<QAbstractExtensionFactory * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("iid");
|
||||
decl->add_arg<const QString & > (argspec_1);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_unregisterExtensions_5125_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAbstractExtensionFactory *arg1 = args.read<QAbstractExtensionFactory * > (heap);
|
||||
const QString &arg2 = args.read<const QString & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractExtensionManager_Adaptor *)cls)->cbs_unregisterExtensions_5125_0 (arg1, arg2);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_unregisterExtensions_5125_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractExtensionManager_Adaptor *)cls)->cb_unregisterExtensions_5125_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QAbstractExtensionManager> &qtdecl_QAbstractExtensionManager ();
|
||||
|
||||
static gsi::Methods methods_QAbstractExtensionManager_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAbstractExtensionManager::QAbstractExtensionManager()\nThis method creates an object of class QAbstractExtensionManager.", &_init_ctor_QAbstractExtensionManager_Adaptor_0, &_call_ctor_QAbstractExtensionManager_Adaptor_0);
|
||||
methods += new qt_gsi::GenericMethod ("extension", "@hide", true, &_init_cbs_extension_c3219_0, &_call_cbs_extension_c3219_0);
|
||||
methods += new qt_gsi::GenericMethod ("extension", "@brief Virtual method QObject *QAbstractExtensionManager::extension(QObject *object, const QString &iid)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_extension_c3219_0, &_call_cbs_extension_c3219_0, &_set_callback_cbs_extension_c3219_0);
|
||||
methods += new qt_gsi::GenericMethod ("registerExtensions", "@hide", false, &_init_cbs_registerExtensions_5125_0, &_call_cbs_registerExtensions_5125_0);
|
||||
methods += new qt_gsi::GenericMethod ("registerExtensions", "@brief Virtual method void QAbstractExtensionManager::registerExtensions(QAbstractExtensionFactory *factory, const QString &iid)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_registerExtensions_5125_0, &_call_cbs_registerExtensions_5125_0, &_set_callback_cbs_registerExtensions_5125_0);
|
||||
methods += new qt_gsi::GenericMethod ("unregisterExtensions", "@hide", false, &_init_cbs_unregisterExtensions_5125_0, &_call_cbs_unregisterExtensions_5125_0);
|
||||
methods += new qt_gsi::GenericMethod ("unregisterExtensions", "@brief Virtual method void QAbstractExtensionManager::unregisterExtensions(QAbstractExtensionFactory *factory, const QString &iid)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_unregisterExtensions_5125_0, &_call_cbs_unregisterExtensions_5125_0, &_set_callback_cbs_unregisterExtensions_5125_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAbstractExtensionManager_Adaptor> decl_QAbstractExtensionManager_Adaptor (qtdecl_QAbstractExtensionManager (), "QAbstractExtensionManager",
|
||||
methods_QAbstractExtensionManager_Adaptor (),
|
||||
"@qt\n@brief Binding of QAbstractExtensionManager");
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,194 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAbstractFormBuilder.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAbstractFormBuilder>
|
||||
#include <QAbstractButton>
|
||||
#include <QAbstractItemView>
|
||||
#include <QAction>
|
||||
#include <QActionGroup>
|
||||
#include <QBrush>
|
||||
#include <QButtonGroup>
|
||||
#include <QComboBox>
|
||||
#include <QDir>
|
||||
#include <QIODevice>
|
||||
#include <QIcon>
|
||||
#include <QLayout>
|
||||
#include <QLayoutItem>
|
||||
#include <QListWidget>
|
||||
#include <QMetaEnum>
|
||||
#include <QMetaObject>
|
||||
#include <QObject>
|
||||
#include <QPalette>
|
||||
#include <QPixmap>
|
||||
#include <QSpacerItem>
|
||||
#include <QTableWidget>
|
||||
#include <QTreeWidget>
|
||||
#include <QWidget>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAbstractFormBuilder
|
||||
|
||||
// Constructor QAbstractFormBuilder::QAbstractFormBuilder()
|
||||
|
||||
|
||||
static void _init_ctor_QAbstractFormBuilder_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return_new<QAbstractFormBuilder> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAbstractFormBuilder_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAbstractFormBuilder *> (new QAbstractFormBuilder ());
|
||||
}
|
||||
|
||||
|
||||
// QString QAbstractFormBuilder::errorString()
|
||||
|
||||
|
||||
static void _init_f_errorString_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_errorString_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QString > ((QString)((QAbstractFormBuilder *)cls)->errorString ());
|
||||
}
|
||||
|
||||
|
||||
// QWidget *QAbstractFormBuilder::load(QIODevice *dev, QWidget *parentWidget)
|
||||
|
||||
|
||||
static void _init_f_load_2654 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("dev");
|
||||
decl->add_arg<QIODevice * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("parentWidget", true, "0");
|
||||
decl->add_arg<QWidget * > (argspec_1);
|
||||
decl->set_return_new<QWidget * > ();
|
||||
}
|
||||
|
||||
static void _call_f_load_2654 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QIODevice *arg1 = args.read<QIODevice * > (heap);
|
||||
QWidget *arg2 = args ? args.read<QWidget * > (heap) : (QWidget *)(0);
|
||||
ret.write<QWidget * > ((QWidget *)((QAbstractFormBuilder *)cls)->load (arg1, arg2));
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractFormBuilder::save(QIODevice *dev, QWidget *widget)
|
||||
|
||||
|
||||
static void _init_f_save_2654 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("dev");
|
||||
decl->add_arg<QIODevice * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("widget");
|
||||
decl->add_arg<QWidget * > (argspec_1);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_save_2654 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QIODevice *arg1 = args.read<QIODevice * > (heap);
|
||||
QWidget *arg2 = args.read<QWidget * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractFormBuilder *)cls)->save (arg1, arg2);
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractFormBuilder::setWorkingDirectory(const QDir &directory)
|
||||
|
||||
|
||||
static void _init_f_setWorkingDirectory_1681 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("directory");
|
||||
decl->add_arg<const QDir & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setWorkingDirectory_1681 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QDir &arg1 = args.read<const QDir & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractFormBuilder *)cls)->setWorkingDirectory (arg1);
|
||||
}
|
||||
|
||||
|
||||
// QDir QAbstractFormBuilder::workingDirectory()
|
||||
|
||||
|
||||
static void _init_f_workingDirectory_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QDir > ();
|
||||
}
|
||||
|
||||
static void _call_f_workingDirectory_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QDir > ((QDir)((QAbstractFormBuilder *)cls)->workingDirectory ());
|
||||
}
|
||||
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAbstractFormBuilder () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAbstractFormBuilder::QAbstractFormBuilder()\nThis method creates an object of class QAbstractFormBuilder.", &_init_ctor_QAbstractFormBuilder_0, &_call_ctor_QAbstractFormBuilder_0);
|
||||
methods += new qt_gsi::GenericMethod ("errorString", "@brief Method QString QAbstractFormBuilder::errorString()\n", true, &_init_f_errorString_c0, &_call_f_errorString_c0);
|
||||
methods += new qt_gsi::GenericMethod ("load", "@brief Method QWidget *QAbstractFormBuilder::load(QIODevice *dev, QWidget *parentWidget)\n", false, &_init_f_load_2654, &_call_f_load_2654);
|
||||
methods += new qt_gsi::GenericMethod ("save", "@brief Method void QAbstractFormBuilder::save(QIODevice *dev, QWidget *widget)\n", false, &_init_f_save_2654, &_call_f_save_2654);
|
||||
methods += new qt_gsi::GenericMethod ("setWorkingDirectory|workingDirectory=", "@brief Method void QAbstractFormBuilder::setWorkingDirectory(const QDir &directory)\n", false, &_init_f_setWorkingDirectory_1681, &_call_f_setWorkingDirectory_1681);
|
||||
methods += new qt_gsi::GenericMethod (":workingDirectory", "@brief Method QDir QAbstractFormBuilder::workingDirectory()\n", true, &_init_f_workingDirectory_c0, &_call_f_workingDirectory_c0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAbstractFormBuilder> decl_QAbstractFormBuilder ("QAbstractFormBuilder",
|
||||
methods_QAbstractFormBuilder (),
|
||||
"@qt\n@brief Binding of QAbstractFormBuilder");
|
||||
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAbstractFormBuilder> &qtdecl_QAbstractFormBuilder () { return decl_QAbstractFormBuilder; }
|
||||
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -1,640 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAbstractMessageHandler.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAbstractMessageHandler>
|
||||
#include <QChildEvent>
|
||||
#include <QEvent>
|
||||
#include <QMetaMethod>
|
||||
#include <QObject>
|
||||
#include <QSourceLocation>
|
||||
#include <QThread>
|
||||
#include <QTimerEvent>
|
||||
#include <QUrl>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAbstractMessageHandler
|
||||
|
||||
// get static meta object
|
||||
|
||||
static void _init_smo (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return<const QMetaObject &> ();
|
||||
}
|
||||
|
||||
static void _call_smo (const qt_gsi::GenericStaticMethod *, gsi::SerialArgs &, gsi::SerialArgs &ret)
|
||||
{
|
||||
ret.write<const QMetaObject &> (QAbstractMessageHandler::staticMetaObject);
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractMessageHandler::message(QtMsgType type, const QString &description, const QUrl &identifier, const QSourceLocation &sourceLocation)
|
||||
|
||||
|
||||
static void _init_f_message_7592 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("type");
|
||||
decl->add_arg<const qt_gsi::Converter<QtMsgType>::target_type & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("description");
|
||||
decl->add_arg<const QString & > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("identifier", true, "QUrl()");
|
||||
decl->add_arg<const QUrl & > (argspec_2);
|
||||
static gsi::ArgSpecBase argspec_3 ("sourceLocation", true, "QSourceLocation()");
|
||||
decl->add_arg<const QSourceLocation & > (argspec_3);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_message_7592 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const qt_gsi::Converter<QtMsgType>::target_type & arg1 = args.read<const qt_gsi::Converter<QtMsgType>::target_type & > (heap);
|
||||
const QString &arg2 = args.read<const QString & > (heap);
|
||||
const QUrl &arg3 = args ? args.read<const QUrl & > (heap) : (const QUrl &)(QUrl());
|
||||
const QSourceLocation &arg4 = args ? args.read<const QSourceLocation & > (heap) : (const QSourceLocation &)(QSourceLocation());
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractMessageHandler *)cls)->message (qt_gsi::QtToCppAdaptor<QtMsgType>(arg1).cref(), arg2, arg3, arg4);
|
||||
}
|
||||
|
||||
|
||||
// static QString QAbstractMessageHandler::tr(const char *s, const char *c, int n)
|
||||
|
||||
|
||||
static void _init_f_tr_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("s");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("c", true, "__null");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_tr_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(__null);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QAbstractMessageHandler::tr (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
// static QString QAbstractMessageHandler::trUtf8(const char *s, const char *c, int n)
|
||||
|
||||
|
||||
static void _init_f_trUtf8_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("s");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("c", true, "__null");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_trUtf8_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(__null);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QAbstractMessageHandler::trUtf8 (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAbstractMessageHandler () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("staticMetaObject", "@brief Obtains the static MetaObject for this class.", &_init_smo, &_call_smo);
|
||||
methods += new qt_gsi::GenericMethod ("message", "@brief Method void QAbstractMessageHandler::message(QtMsgType type, const QString &description, const QUrl &identifier, const QSourceLocation &sourceLocation)\n", false, &_init_f_message_7592, &_call_f_message_7592);
|
||||
methods += gsi::qt_signal<QObject * > ("destroyed(QObject *)", "destroyed", gsi::arg("arg1"), "@brief Signal declaration for QAbstractMessageHandler::destroyed(QObject *)\nYou can bind a procedure to this signal.");
|
||||
methods += new qt_gsi::GenericStaticMethod ("tr", "@brief Static method QString QAbstractMessageHandler::tr(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_tr_4013, &_call_f_tr_4013);
|
||||
methods += new qt_gsi::GenericStaticMethod ("trUtf8", "@brief Static method QString QAbstractMessageHandler::trUtf8(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_trUtf8_4013, &_call_f_trUtf8_4013);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QObject> &qtdecl_QObject ();
|
||||
|
||||
qt_gsi::QtNativeClass<QAbstractMessageHandler> decl_QAbstractMessageHandler (qtdecl_QObject (), "QAbstractMessageHandler_Native",
|
||||
methods_QAbstractMessageHandler (),
|
||||
"@hide\n@alias QAbstractMessageHandler");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAbstractMessageHandler> &qtdecl_QAbstractMessageHandler () { return decl_QAbstractMessageHandler; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QAbstractMessageHandler_Adaptor : public QAbstractMessageHandler, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QAbstractMessageHandler_Adaptor();
|
||||
|
||||
// [adaptor ctor] QAbstractMessageHandler::QAbstractMessageHandler(QObject *parent)
|
||||
QAbstractMessageHandler_Adaptor() : QAbstractMessageHandler()
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor ctor] QAbstractMessageHandler::QAbstractMessageHandler(QObject *parent)
|
||||
QAbstractMessageHandler_Adaptor(QObject *parent) : QAbstractMessageHandler(parent)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [expose] bool QAbstractMessageHandler::isSignalConnected(const QMetaMethod &signal)
|
||||
bool fp_QAbstractMessageHandler_isSignalConnected_c2394 (const QMetaMethod &signal) const {
|
||||
return QAbstractMessageHandler::isSignalConnected(signal);
|
||||
}
|
||||
|
||||
// [expose] int QAbstractMessageHandler::receivers(const char *signal)
|
||||
int fp_QAbstractMessageHandler_receivers_c1731 (const char *signal) const {
|
||||
return QAbstractMessageHandler::receivers(signal);
|
||||
}
|
||||
|
||||
// [expose] QObject *QAbstractMessageHandler::sender()
|
||||
QObject * fp_QAbstractMessageHandler_sender_c0 () const {
|
||||
return QAbstractMessageHandler::sender();
|
||||
}
|
||||
|
||||
// [expose] int QAbstractMessageHandler::senderSignalIndex()
|
||||
int fp_QAbstractMessageHandler_senderSignalIndex_c0 () const {
|
||||
return QAbstractMessageHandler::senderSignalIndex();
|
||||
}
|
||||
|
||||
// [emitter impl] void QAbstractMessageHandler::destroyed(QObject *)
|
||||
void emitter_QAbstractMessageHandler_destroyed_1302(QObject *arg1)
|
||||
{
|
||||
emit QAbstractMessageHandler::destroyed(arg1);
|
||||
}
|
||||
|
||||
// [adaptor impl] bool QAbstractMessageHandler::event(QEvent *)
|
||||
bool cbs_event_1217_0(QEvent *arg1)
|
||||
{
|
||||
return QAbstractMessageHandler::event(arg1);
|
||||
}
|
||||
|
||||
virtual bool event(QEvent *arg1)
|
||||
{
|
||||
if (cb_event_1217_0.can_issue()) {
|
||||
return cb_event_1217_0.issue<QAbstractMessageHandler_Adaptor, bool, QEvent *>(&QAbstractMessageHandler_Adaptor::cbs_event_1217_0, arg1);
|
||||
} else {
|
||||
return QAbstractMessageHandler::event(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] bool QAbstractMessageHandler::eventFilter(QObject *, QEvent *)
|
||||
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
|
||||
{
|
||||
return QAbstractMessageHandler::eventFilter(arg1, arg2);
|
||||
}
|
||||
|
||||
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
|
||||
{
|
||||
if (cb_eventFilter_2411_0.can_issue()) {
|
||||
return cb_eventFilter_2411_0.issue<QAbstractMessageHandler_Adaptor, bool, QObject *, QEvent *>(&QAbstractMessageHandler_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
|
||||
} else {
|
||||
return QAbstractMessageHandler::eventFilter(arg1, arg2);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractMessageHandler::childEvent(QChildEvent *)
|
||||
void cbs_childEvent_1701_0(QChildEvent *arg1)
|
||||
{
|
||||
QAbstractMessageHandler::childEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void childEvent(QChildEvent *arg1)
|
||||
{
|
||||
if (cb_childEvent_1701_0.can_issue()) {
|
||||
cb_childEvent_1701_0.issue<QAbstractMessageHandler_Adaptor, QChildEvent *>(&QAbstractMessageHandler_Adaptor::cbs_childEvent_1701_0, arg1);
|
||||
} else {
|
||||
QAbstractMessageHandler::childEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractMessageHandler::customEvent(QEvent *)
|
||||
void cbs_customEvent_1217_0(QEvent *arg1)
|
||||
{
|
||||
QAbstractMessageHandler::customEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void customEvent(QEvent *arg1)
|
||||
{
|
||||
if (cb_customEvent_1217_0.can_issue()) {
|
||||
cb_customEvent_1217_0.issue<QAbstractMessageHandler_Adaptor, QEvent *>(&QAbstractMessageHandler_Adaptor::cbs_customEvent_1217_0, arg1);
|
||||
} else {
|
||||
QAbstractMessageHandler::customEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractMessageHandler::disconnectNotify(const QMetaMethod &signal)
|
||||
void cbs_disconnectNotify_2394_0(const QMetaMethod &signal)
|
||||
{
|
||||
QAbstractMessageHandler::disconnectNotify(signal);
|
||||
}
|
||||
|
||||
virtual void disconnectNotify(const QMetaMethod &signal)
|
||||
{
|
||||
if (cb_disconnectNotify_2394_0.can_issue()) {
|
||||
cb_disconnectNotify_2394_0.issue<QAbstractMessageHandler_Adaptor, const QMetaMethod &>(&QAbstractMessageHandler_Adaptor::cbs_disconnectNotify_2394_0, signal);
|
||||
} else {
|
||||
QAbstractMessageHandler::disconnectNotify(signal);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractMessageHandler::handleMessage(QtMsgType type, const QString &description, const QUrl &identifier, const QSourceLocation &sourceLocation)
|
||||
void cbs_handleMessage_7592_0(const qt_gsi::Converter<QtMsgType>::target_type & type, const QString &description, const QUrl &identifier, const QSourceLocation &sourceLocation)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (type);
|
||||
__SUPPRESS_UNUSED_WARNING (description);
|
||||
__SUPPRESS_UNUSED_WARNING (identifier);
|
||||
__SUPPRESS_UNUSED_WARNING (sourceLocation);
|
||||
throw qt_gsi::AbstractMethodCalledException("handleMessage");
|
||||
}
|
||||
|
||||
virtual void handleMessage(QtMsgType type, const QString &description, const QUrl &identifier, const QSourceLocation &sourceLocation)
|
||||
{
|
||||
if (cb_handleMessage_7592_0.can_issue()) {
|
||||
cb_handleMessage_7592_0.issue<QAbstractMessageHandler_Adaptor, const qt_gsi::Converter<QtMsgType>::target_type &, const QString &, const QUrl &, const QSourceLocation &>(&QAbstractMessageHandler_Adaptor::cbs_handleMessage_7592_0, qt_gsi::CppToQtAdaptor<QtMsgType>(type), description, identifier, sourceLocation);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("handleMessage");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractMessageHandler::timerEvent(QTimerEvent *)
|
||||
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
|
||||
{
|
||||
QAbstractMessageHandler::timerEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void timerEvent(QTimerEvent *arg1)
|
||||
{
|
||||
if (cb_timerEvent_1730_0.can_issue()) {
|
||||
cb_timerEvent_1730_0.issue<QAbstractMessageHandler_Adaptor, QTimerEvent *>(&QAbstractMessageHandler_Adaptor::cbs_timerEvent_1730_0, arg1);
|
||||
} else {
|
||||
QAbstractMessageHandler::timerEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_event_1217_0;
|
||||
gsi::Callback cb_eventFilter_2411_0;
|
||||
gsi::Callback cb_childEvent_1701_0;
|
||||
gsi::Callback cb_customEvent_1217_0;
|
||||
gsi::Callback cb_disconnectNotify_2394_0;
|
||||
gsi::Callback cb_handleMessage_7592_0;
|
||||
gsi::Callback cb_timerEvent_1730_0;
|
||||
};
|
||||
|
||||
QAbstractMessageHandler_Adaptor::~QAbstractMessageHandler_Adaptor() { }
|
||||
|
||||
// Constructor QAbstractMessageHandler::QAbstractMessageHandler(QObject *parent) (adaptor class)
|
||||
|
||||
static void _init_ctor_QAbstractMessageHandler_Adaptor_1302 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("parent", true, "0");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
decl->set_return_new<QAbstractMessageHandler_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAbstractMessageHandler_Adaptor_1302 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args ? args.read<QObject * > (heap) : (QObject *)(0);
|
||||
ret.write<QAbstractMessageHandler_Adaptor *> (new QAbstractMessageHandler_Adaptor (arg1));
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractMessageHandler::childEvent(QChildEvent *)
|
||||
|
||||
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QChildEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_childEvent_1701_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QChildEvent *arg1 = args.read<QChildEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractMessageHandler_Adaptor *)cls)->cbs_childEvent_1701_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractMessageHandler_Adaptor *)cls)->cb_childEvent_1701_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractMessageHandler::customEvent(QEvent *)
|
||||
|
||||
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_customEvent_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractMessageHandler_Adaptor *)cls)->cbs_customEvent_1217_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractMessageHandler_Adaptor *)cls)->cb_customEvent_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// emitter void QAbstractMessageHandler::destroyed(QObject *)
|
||||
|
||||
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args ? args.read<QObject * > (heap) : (QObject *)(0);
|
||||
((QAbstractMessageHandler_Adaptor *)cls)->emitter_QAbstractMessageHandler_destroyed_1302 (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractMessageHandler::disconnectNotify(const QMetaMethod &signal)
|
||||
|
||||
static void _init_cbs_disconnectNotify_2394_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("signal");
|
||||
decl->add_arg<const QMetaMethod & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_disconnectNotify_2394_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QMetaMethod &arg1 = args.read<const QMetaMethod & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractMessageHandler_Adaptor *)cls)->cbs_disconnectNotify_2394_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_disconnectNotify_2394_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractMessageHandler_Adaptor *)cls)->cb_disconnectNotify_2394_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// bool QAbstractMessageHandler::event(QEvent *)
|
||||
|
||||
static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_event_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
ret.write<bool > ((bool)((QAbstractMessageHandler_Adaptor *)cls)->cbs_event_1217_0 (arg1));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractMessageHandler_Adaptor *)cls)->cb_event_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// bool QAbstractMessageHandler::eventFilter(QObject *, QEvent *)
|
||||
|
||||
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("arg2");
|
||||
decl->add_arg<QEvent * > (argspec_1);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_eventFilter_2411_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args.read<QObject * > (heap);
|
||||
QEvent *arg2 = args.read<QEvent * > (heap);
|
||||
ret.write<bool > ((bool)((QAbstractMessageHandler_Adaptor *)cls)->cbs_eventFilter_2411_0 (arg1, arg2));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_eventFilter_2411_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractMessageHandler_Adaptor *)cls)->cb_eventFilter_2411_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractMessageHandler::handleMessage(QtMsgType type, const QString &description, const QUrl &identifier, const QSourceLocation &sourceLocation)
|
||||
|
||||
static void _init_cbs_handleMessage_7592_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("type");
|
||||
decl->add_arg<const qt_gsi::Converter<QtMsgType>::target_type & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("description");
|
||||
decl->add_arg<const QString & > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("identifier");
|
||||
decl->add_arg<const QUrl & > (argspec_2);
|
||||
static gsi::ArgSpecBase argspec_3 ("sourceLocation");
|
||||
decl->add_arg<const QSourceLocation & > (argspec_3);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_handleMessage_7592_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const qt_gsi::Converter<QtMsgType>::target_type & arg1 = args.read<const qt_gsi::Converter<QtMsgType>::target_type & > (heap);
|
||||
const QString &arg2 = args.read<const QString & > (heap);
|
||||
const QUrl &arg3 = args.read<const QUrl & > (heap);
|
||||
const QSourceLocation &arg4 = args.read<const QSourceLocation & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractMessageHandler_Adaptor *)cls)->cbs_handleMessage_7592_0 (arg1, arg2, arg3, arg4);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_handleMessage_7592_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractMessageHandler_Adaptor *)cls)->cb_handleMessage_7592_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// exposed bool QAbstractMessageHandler::isSignalConnected(const QMetaMethod &signal)
|
||||
|
||||
static void _init_fp_isSignalConnected_c2394 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("signal");
|
||||
decl->add_arg<const QMetaMethod & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_fp_isSignalConnected_c2394 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QMetaMethod &arg1 = args.read<const QMetaMethod & > (heap);
|
||||
ret.write<bool > ((bool)((QAbstractMessageHandler_Adaptor *)cls)->fp_QAbstractMessageHandler_isSignalConnected_c2394 (arg1));
|
||||
}
|
||||
|
||||
|
||||
// exposed int QAbstractMessageHandler::receivers(const char *signal)
|
||||
|
||||
static void _init_fp_receivers_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_fp_receivers_c1731 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
ret.write<int > ((int)((QAbstractMessageHandler_Adaptor *)cls)->fp_QAbstractMessageHandler_receivers_c1731 (arg1));
|
||||
}
|
||||
|
||||
|
||||
// exposed QObject *QAbstractMessageHandler::sender()
|
||||
|
||||
static void _init_fp_sender_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QObject * > ();
|
||||
}
|
||||
|
||||
static void _call_fp_sender_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QObject * > ((QObject *)((QAbstractMessageHandler_Adaptor *)cls)->fp_QAbstractMessageHandler_sender_c0 ());
|
||||
}
|
||||
|
||||
|
||||
// exposed int QAbstractMessageHandler::senderSignalIndex()
|
||||
|
||||
static void _init_fp_senderSignalIndex_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_fp_senderSignalIndex_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAbstractMessageHandler_Adaptor *)cls)->fp_QAbstractMessageHandler_senderSignalIndex_c0 ());
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractMessageHandler::timerEvent(QTimerEvent *)
|
||||
|
||||
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QTimerEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_timerEvent_1730_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QTimerEvent *arg1 = args.read<QTimerEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractMessageHandler_Adaptor *)cls)->cbs_timerEvent_1730_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_timerEvent_1730_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractMessageHandler_Adaptor *)cls)->cb_timerEvent_1730_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QAbstractMessageHandler> &qtdecl_QAbstractMessageHandler ();
|
||||
|
||||
static gsi::Methods methods_QAbstractMessageHandler_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAbstractMessageHandler::QAbstractMessageHandler(QObject *parent)\nThis method creates an object of class QAbstractMessageHandler.", &_init_ctor_QAbstractMessageHandler_Adaptor_1302, &_call_ctor_QAbstractMessageHandler_Adaptor_1302);
|
||||
methods += new qt_gsi::GenericMethod ("*childEvent", "@hide", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0);
|
||||
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QAbstractMessageHandler::childEvent(QChildEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0, &_set_callback_cbs_childEvent_1701_0);
|
||||
methods += new qt_gsi::GenericMethod ("*customEvent", "@hide", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("*customEvent", "@brief Virtual method void QAbstractMessageHandler::customEvent(QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0, &_set_callback_cbs_customEvent_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("emit_destroyed", "@brief Emitter for signal void QAbstractMessageHandler::destroyed(QObject *)\nCall this method to emit this signal.", false, &_init_emitter_destroyed_1302, &_call_emitter_destroyed_1302);
|
||||
methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@hide", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0);
|
||||
methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@brief Virtual method void QAbstractMessageHandler::disconnectNotify(const QMetaMethod &signal)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0, &_set_callback_cbs_disconnectNotify_2394_0);
|
||||
methods += new qt_gsi::GenericMethod ("event", "@hide", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("event", "@brief Virtual method bool QAbstractMessageHandler::event(QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0, &_set_callback_cbs_event_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("eventFilter", "@hide", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0);
|
||||
methods += new qt_gsi::GenericMethod ("eventFilter", "@brief Virtual method bool QAbstractMessageHandler::eventFilter(QObject *, QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0, &_set_callback_cbs_eventFilter_2411_0);
|
||||
methods += new qt_gsi::GenericMethod ("*handleMessage", "@hide", false, &_init_cbs_handleMessage_7592_0, &_call_cbs_handleMessage_7592_0);
|
||||
methods += new qt_gsi::GenericMethod ("*handleMessage", "@brief Virtual method void QAbstractMessageHandler::handleMessage(QtMsgType type, const QString &description, const QUrl &identifier, const QSourceLocation &sourceLocation)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_handleMessage_7592_0, &_call_cbs_handleMessage_7592_0, &_set_callback_cbs_handleMessage_7592_0);
|
||||
methods += new qt_gsi::GenericMethod ("*isSignalConnected", "@brief Method bool QAbstractMessageHandler::isSignalConnected(const QMetaMethod &signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_isSignalConnected_c2394, &_call_fp_isSignalConnected_c2394);
|
||||
methods += new qt_gsi::GenericMethod ("*receivers", "@brief Method int QAbstractMessageHandler::receivers(const char *signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_receivers_c1731, &_call_fp_receivers_c1731);
|
||||
methods += new qt_gsi::GenericMethod ("*sender", "@brief Method QObject *QAbstractMessageHandler::sender()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_sender_c0, &_call_fp_sender_c0);
|
||||
methods += new qt_gsi::GenericMethod ("*senderSignalIndex", "@brief Method int QAbstractMessageHandler::senderSignalIndex()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_senderSignalIndex_c0, &_call_fp_senderSignalIndex_c0);
|
||||
methods += new qt_gsi::GenericMethod ("*timerEvent", "@hide", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0);
|
||||
methods += new qt_gsi::GenericMethod ("*timerEvent", "@brief Virtual method void QAbstractMessageHandler::timerEvent(QTimerEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0, &_set_callback_cbs_timerEvent_1730_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAbstractMessageHandler_Adaptor> decl_QAbstractMessageHandler_Adaptor (qtdecl_QAbstractMessageHandler (), "QAbstractMessageHandler",
|
||||
methods_QAbstractMessageHandler_Adaptor (),
|
||||
"@qt\n@brief Binding of QAbstractMessageHandler");
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,178 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAbstractNativeEventFilter.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAbstractNativeEventFilter>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAbstractNativeEventFilter
|
||||
|
||||
// bool QAbstractNativeEventFilter::nativeEventFilter(const QByteArray &eventType, void *message, long int *result)
|
||||
|
||||
|
||||
static void _init_f_nativeEventFilter_4678 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("eventType");
|
||||
decl->add_arg<const QByteArray & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("message");
|
||||
decl->add_arg<void * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("result");
|
||||
decl->add_arg<long int * > (argspec_2);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_nativeEventFilter_4678 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QByteArray &arg1 = args.read<const QByteArray & > (heap);
|
||||
void *arg2 = args.read<void * > (heap);
|
||||
long int *arg3 = args.read<long int * > (heap);
|
||||
ret.write<bool > ((bool)((QAbstractNativeEventFilter *)cls)->nativeEventFilter (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAbstractNativeEventFilter () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericMethod ("nativeEventFilter", "@brief Method bool QAbstractNativeEventFilter::nativeEventFilter(const QByteArray &eventType, void *message, long int *result)\n", false, &_init_f_nativeEventFilter_4678, &_call_f_nativeEventFilter_4678);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAbstractNativeEventFilter> decl_QAbstractNativeEventFilter ("QAbstractNativeEventFilter_Native",
|
||||
methods_QAbstractNativeEventFilter (),
|
||||
"@hide\n@alias QAbstractNativeEventFilter");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAbstractNativeEventFilter> &qtdecl_QAbstractNativeEventFilter () { return decl_QAbstractNativeEventFilter; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QAbstractNativeEventFilter_Adaptor : public QAbstractNativeEventFilter, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QAbstractNativeEventFilter_Adaptor();
|
||||
|
||||
// [adaptor ctor] QAbstractNativeEventFilter::QAbstractNativeEventFilter()
|
||||
QAbstractNativeEventFilter_Adaptor() : QAbstractNativeEventFilter()
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor impl] bool QAbstractNativeEventFilter::nativeEventFilter(const QByteArray &eventType, void *message, long int *result)
|
||||
bool cbs_nativeEventFilter_4678_0(const QByteArray &eventType, void *message, long int *result)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (eventType);
|
||||
__SUPPRESS_UNUSED_WARNING (message);
|
||||
__SUPPRESS_UNUSED_WARNING (result);
|
||||
throw qt_gsi::AbstractMethodCalledException("nativeEventFilter");
|
||||
}
|
||||
|
||||
virtual bool nativeEventFilter(const QByteArray &eventType, void *message, long int *result)
|
||||
{
|
||||
if (cb_nativeEventFilter_4678_0.can_issue()) {
|
||||
return cb_nativeEventFilter_4678_0.issue<QAbstractNativeEventFilter_Adaptor, bool, const QByteArray &, void *, long int *>(&QAbstractNativeEventFilter_Adaptor::cbs_nativeEventFilter_4678_0, eventType, message, result);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("nativeEventFilter");
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_nativeEventFilter_4678_0;
|
||||
};
|
||||
|
||||
QAbstractNativeEventFilter_Adaptor::~QAbstractNativeEventFilter_Adaptor() { }
|
||||
|
||||
// Constructor QAbstractNativeEventFilter::QAbstractNativeEventFilter() (adaptor class)
|
||||
|
||||
static void _init_ctor_QAbstractNativeEventFilter_Adaptor_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return_new<QAbstractNativeEventFilter_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAbstractNativeEventFilter_Adaptor_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAbstractNativeEventFilter_Adaptor *> (new QAbstractNativeEventFilter_Adaptor ());
|
||||
}
|
||||
|
||||
|
||||
// bool QAbstractNativeEventFilter::nativeEventFilter(const QByteArray &eventType, void *message, long int *result)
|
||||
|
||||
static void _init_cbs_nativeEventFilter_4678_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("eventType");
|
||||
decl->add_arg<const QByteArray & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("message");
|
||||
decl->add_arg<void * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("result");
|
||||
decl->add_arg<long int * > (argspec_2);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_nativeEventFilter_4678_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QByteArray &arg1 = args.read<const QByteArray & > (heap);
|
||||
void *arg2 = args.read<void * > (heap);
|
||||
long int *arg3 = args.read<long int * > (heap);
|
||||
ret.write<bool > ((bool)((QAbstractNativeEventFilter_Adaptor *)cls)->cbs_nativeEventFilter_4678_0 (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_nativeEventFilter_4678_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractNativeEventFilter_Adaptor *)cls)->cb_nativeEventFilter_4678_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QAbstractNativeEventFilter> &qtdecl_QAbstractNativeEventFilter ();
|
||||
|
||||
static gsi::Methods methods_QAbstractNativeEventFilter_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAbstractNativeEventFilter::QAbstractNativeEventFilter()\nThis method creates an object of class QAbstractNativeEventFilter.", &_init_ctor_QAbstractNativeEventFilter_Adaptor_0, &_call_ctor_QAbstractNativeEventFilter_Adaptor_0);
|
||||
methods += new qt_gsi::GenericMethod ("nativeEventFilter", "@hide", false, &_init_cbs_nativeEventFilter_4678_0, &_call_cbs_nativeEventFilter_4678_0);
|
||||
methods += new qt_gsi::GenericMethod ("nativeEventFilter", "@brief Virtual method bool QAbstractNativeEventFilter::nativeEventFilter(const QByteArray &eventType, void *message, long int *result)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_nativeEventFilter_4678_0, &_call_cbs_nativeEventFilter_4678_0, &_set_callback_cbs_nativeEventFilter_4678_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAbstractNativeEventFilter_Adaptor> decl_QAbstractNativeEventFilter_Adaptor (qtdecl_QAbstractNativeEventFilter (), "QAbstractNativeEventFilter",
|
||||
methods_QAbstractNativeEventFilter_Adaptor (),
|
||||
"@qt\n@brief Binding of QAbstractNativeEventFilter");
|
||||
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -1,684 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAbstractState.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAbstractState>
|
||||
#include <QChildEvent>
|
||||
#include <QEvent>
|
||||
#include <QMetaMethod>
|
||||
#include <QObject>
|
||||
#include <QState>
|
||||
#include <QStateMachine>
|
||||
#include <QThread>
|
||||
#include <QTimerEvent>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAbstractState
|
||||
|
||||
// get static meta object
|
||||
|
||||
static void _init_smo (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return<const QMetaObject &> ();
|
||||
}
|
||||
|
||||
static void _call_smo (const qt_gsi::GenericStaticMethod *, gsi::SerialArgs &, gsi::SerialArgs &ret)
|
||||
{
|
||||
ret.write<const QMetaObject &> (QAbstractState::staticMetaObject);
|
||||
}
|
||||
|
||||
|
||||
// bool QAbstractState::active()
|
||||
|
||||
|
||||
static void _init_f_active_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_active_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<bool > ((bool)((QAbstractState *)cls)->active ());
|
||||
}
|
||||
|
||||
|
||||
// QStateMachine *QAbstractState::machine()
|
||||
|
||||
|
||||
static void _init_f_machine_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QStateMachine * > ();
|
||||
}
|
||||
|
||||
static void _call_f_machine_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QStateMachine * > ((QStateMachine *)((QAbstractState *)cls)->machine ());
|
||||
}
|
||||
|
||||
|
||||
// QState *QAbstractState::parentState()
|
||||
|
||||
|
||||
static void _init_f_parentState_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QState * > ();
|
||||
}
|
||||
|
||||
static void _call_f_parentState_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QState * > ((QState *)((QAbstractState *)cls)->parentState ());
|
||||
}
|
||||
|
||||
|
||||
// static QString QAbstractState::tr(const char *s, const char *c, int n)
|
||||
|
||||
|
||||
static void _init_f_tr_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("s");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("c", true, "__null");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_tr_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(__null);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QAbstractState::tr (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
// static QString QAbstractState::trUtf8(const char *s, const char *c, int n)
|
||||
|
||||
|
||||
static void _init_f_trUtf8_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("s");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("c", true, "__null");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_trUtf8_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(__null);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QAbstractState::trUtf8 (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAbstractState () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("staticMetaObject", "@brief Obtains the static MetaObject for this class.", &_init_smo, &_call_smo);
|
||||
methods += new qt_gsi::GenericMethod (":active", "@brief Method bool QAbstractState::active()\n", true, &_init_f_active_c0, &_call_f_active_c0);
|
||||
methods += new qt_gsi::GenericMethod ("machine", "@brief Method QStateMachine *QAbstractState::machine()\n", true, &_init_f_machine_c0, &_call_f_machine_c0);
|
||||
methods += new qt_gsi::GenericMethod ("parentState", "@brief Method QState *QAbstractState::parentState()\n", true, &_init_f_parentState_c0, &_call_f_parentState_c0);
|
||||
methods += gsi::qt_signal<bool > ("activeChanged(bool)", "activeChanged", gsi::arg("active"), "@brief Signal declaration for QAbstractState::activeChanged(bool active)\nYou can bind a procedure to this signal.");
|
||||
methods += gsi::qt_signal<QObject * > ("destroyed(QObject *)", "destroyed", gsi::arg("arg1"), "@brief Signal declaration for QAbstractState::destroyed(QObject *)\nYou can bind a procedure to this signal.");
|
||||
methods += new qt_gsi::GenericStaticMethod ("tr", "@brief Static method QString QAbstractState::tr(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_tr_4013, &_call_f_tr_4013);
|
||||
methods += new qt_gsi::GenericStaticMethod ("trUtf8", "@brief Static method QString QAbstractState::trUtf8(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_trUtf8_4013, &_call_f_trUtf8_4013);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QObject> &qtdecl_QObject ();
|
||||
|
||||
qt_gsi::QtNativeClass<QAbstractState> decl_QAbstractState (qtdecl_QObject (), "QAbstractState_Native",
|
||||
methods_QAbstractState (),
|
||||
"@hide\n@alias QAbstractState");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAbstractState> &qtdecl_QAbstractState () { return decl_QAbstractState; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QAbstractState_Adaptor : public QAbstractState, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QAbstractState_Adaptor();
|
||||
|
||||
// [expose] bool QAbstractState::isSignalConnected(const QMetaMethod &signal)
|
||||
bool fp_QAbstractState_isSignalConnected_c2394 (const QMetaMethod &signal) const {
|
||||
return QAbstractState::isSignalConnected(signal);
|
||||
}
|
||||
|
||||
// [expose] int QAbstractState::receivers(const char *signal)
|
||||
int fp_QAbstractState_receivers_c1731 (const char *signal) const {
|
||||
return QAbstractState::receivers(signal);
|
||||
}
|
||||
|
||||
// [expose] QObject *QAbstractState::sender()
|
||||
QObject * fp_QAbstractState_sender_c0 () const {
|
||||
return QAbstractState::sender();
|
||||
}
|
||||
|
||||
// [expose] int QAbstractState::senderSignalIndex()
|
||||
int fp_QAbstractState_senderSignalIndex_c0 () const {
|
||||
return QAbstractState::senderSignalIndex();
|
||||
}
|
||||
|
||||
// [emitter impl] void QAbstractState::activeChanged(bool active)
|
||||
void emitter_QAbstractState_activeChanged_864(bool active)
|
||||
{
|
||||
emit QAbstractState::activeChanged(active);
|
||||
}
|
||||
|
||||
// [emitter impl] void QAbstractState::destroyed(QObject *)
|
||||
void emitter_QAbstractState_destroyed_1302(QObject *arg1)
|
||||
{
|
||||
emit QAbstractState::destroyed(arg1);
|
||||
}
|
||||
|
||||
// [adaptor impl] bool QAbstractState::eventFilter(QObject *, QEvent *)
|
||||
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
|
||||
{
|
||||
return QAbstractState::eventFilter(arg1, arg2);
|
||||
}
|
||||
|
||||
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
|
||||
{
|
||||
if (cb_eventFilter_2411_0.can_issue()) {
|
||||
return cb_eventFilter_2411_0.issue<QAbstractState_Adaptor, bool, QObject *, QEvent *>(&QAbstractState_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
|
||||
} else {
|
||||
return QAbstractState::eventFilter(arg1, arg2);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractState::childEvent(QChildEvent *)
|
||||
void cbs_childEvent_1701_0(QChildEvent *arg1)
|
||||
{
|
||||
QAbstractState::childEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void childEvent(QChildEvent *arg1)
|
||||
{
|
||||
if (cb_childEvent_1701_0.can_issue()) {
|
||||
cb_childEvent_1701_0.issue<QAbstractState_Adaptor, QChildEvent *>(&QAbstractState_Adaptor::cbs_childEvent_1701_0, arg1);
|
||||
} else {
|
||||
QAbstractState::childEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractState::customEvent(QEvent *)
|
||||
void cbs_customEvent_1217_0(QEvent *arg1)
|
||||
{
|
||||
QAbstractState::customEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void customEvent(QEvent *arg1)
|
||||
{
|
||||
if (cb_customEvent_1217_0.can_issue()) {
|
||||
cb_customEvent_1217_0.issue<QAbstractState_Adaptor, QEvent *>(&QAbstractState_Adaptor::cbs_customEvent_1217_0, arg1);
|
||||
} else {
|
||||
QAbstractState::customEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractState::disconnectNotify(const QMetaMethod &signal)
|
||||
void cbs_disconnectNotify_2394_0(const QMetaMethod &signal)
|
||||
{
|
||||
QAbstractState::disconnectNotify(signal);
|
||||
}
|
||||
|
||||
virtual void disconnectNotify(const QMetaMethod &signal)
|
||||
{
|
||||
if (cb_disconnectNotify_2394_0.can_issue()) {
|
||||
cb_disconnectNotify_2394_0.issue<QAbstractState_Adaptor, const QMetaMethod &>(&QAbstractState_Adaptor::cbs_disconnectNotify_2394_0, signal);
|
||||
} else {
|
||||
QAbstractState::disconnectNotify(signal);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] bool QAbstractState::event(QEvent *e)
|
||||
bool cbs_event_1217_0(QEvent *e)
|
||||
{
|
||||
return QAbstractState::event(e);
|
||||
}
|
||||
|
||||
virtual bool event(QEvent *e)
|
||||
{
|
||||
if (cb_event_1217_0.can_issue()) {
|
||||
return cb_event_1217_0.issue<QAbstractState_Adaptor, bool, QEvent *>(&QAbstractState_Adaptor::cbs_event_1217_0, e);
|
||||
} else {
|
||||
return QAbstractState::event(e);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractState::onEntry(QEvent *event)
|
||||
void cbs_onEntry_1217_0(QEvent *event)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (event);
|
||||
throw qt_gsi::AbstractMethodCalledException("onEntry");
|
||||
}
|
||||
|
||||
virtual void onEntry(QEvent *event)
|
||||
{
|
||||
if (cb_onEntry_1217_0.can_issue()) {
|
||||
cb_onEntry_1217_0.issue<QAbstractState_Adaptor, QEvent *>(&QAbstractState_Adaptor::cbs_onEntry_1217_0, event);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("onEntry");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractState::onExit(QEvent *event)
|
||||
void cbs_onExit_1217_0(QEvent *event)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (event);
|
||||
throw qt_gsi::AbstractMethodCalledException("onExit");
|
||||
}
|
||||
|
||||
virtual void onExit(QEvent *event)
|
||||
{
|
||||
if (cb_onExit_1217_0.can_issue()) {
|
||||
cb_onExit_1217_0.issue<QAbstractState_Adaptor, QEvent *>(&QAbstractState_Adaptor::cbs_onExit_1217_0, event);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("onExit");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractState::timerEvent(QTimerEvent *)
|
||||
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
|
||||
{
|
||||
QAbstractState::timerEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void timerEvent(QTimerEvent *arg1)
|
||||
{
|
||||
if (cb_timerEvent_1730_0.can_issue()) {
|
||||
cb_timerEvent_1730_0.issue<QAbstractState_Adaptor, QTimerEvent *>(&QAbstractState_Adaptor::cbs_timerEvent_1730_0, arg1);
|
||||
} else {
|
||||
QAbstractState::timerEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_eventFilter_2411_0;
|
||||
gsi::Callback cb_childEvent_1701_0;
|
||||
gsi::Callback cb_customEvent_1217_0;
|
||||
gsi::Callback cb_disconnectNotify_2394_0;
|
||||
gsi::Callback cb_event_1217_0;
|
||||
gsi::Callback cb_onEntry_1217_0;
|
||||
gsi::Callback cb_onExit_1217_0;
|
||||
gsi::Callback cb_timerEvent_1730_0;
|
||||
};
|
||||
|
||||
QAbstractState_Adaptor::~QAbstractState_Adaptor() { }
|
||||
|
||||
// emitter void QAbstractState::activeChanged(bool active)
|
||||
|
||||
static void _init_emitter_activeChanged_864 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("active");
|
||||
decl->add_arg<bool > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_activeChanged_864 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
bool arg1 = args.read<bool > (heap);
|
||||
((QAbstractState_Adaptor *)cls)->emitter_QAbstractState_activeChanged_864 (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractState::childEvent(QChildEvent *)
|
||||
|
||||
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QChildEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_childEvent_1701_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QChildEvent *arg1 = args.read<QChildEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractState_Adaptor *)cls)->cbs_childEvent_1701_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractState_Adaptor *)cls)->cb_childEvent_1701_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractState::customEvent(QEvent *)
|
||||
|
||||
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_customEvent_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractState_Adaptor *)cls)->cbs_customEvent_1217_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractState_Adaptor *)cls)->cb_customEvent_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// emitter void QAbstractState::destroyed(QObject *)
|
||||
|
||||
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args ? args.read<QObject * > (heap) : (QObject *)(0);
|
||||
((QAbstractState_Adaptor *)cls)->emitter_QAbstractState_destroyed_1302 (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractState::disconnectNotify(const QMetaMethod &signal)
|
||||
|
||||
static void _init_cbs_disconnectNotify_2394_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("signal");
|
||||
decl->add_arg<const QMetaMethod & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_disconnectNotify_2394_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QMetaMethod &arg1 = args.read<const QMetaMethod & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractState_Adaptor *)cls)->cbs_disconnectNotify_2394_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_disconnectNotify_2394_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractState_Adaptor *)cls)->cb_disconnectNotify_2394_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// bool QAbstractState::event(QEvent *e)
|
||||
|
||||
static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("e");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_event_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
ret.write<bool > ((bool)((QAbstractState_Adaptor *)cls)->cbs_event_1217_0 (arg1));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractState_Adaptor *)cls)->cb_event_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// bool QAbstractState::eventFilter(QObject *, QEvent *)
|
||||
|
||||
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("arg2");
|
||||
decl->add_arg<QEvent * > (argspec_1);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_eventFilter_2411_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args.read<QObject * > (heap);
|
||||
QEvent *arg2 = args.read<QEvent * > (heap);
|
||||
ret.write<bool > ((bool)((QAbstractState_Adaptor *)cls)->cbs_eventFilter_2411_0 (arg1, arg2));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_eventFilter_2411_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractState_Adaptor *)cls)->cb_eventFilter_2411_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// exposed bool QAbstractState::isSignalConnected(const QMetaMethod &signal)
|
||||
|
||||
static void _init_fp_isSignalConnected_c2394 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("signal");
|
||||
decl->add_arg<const QMetaMethod & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_fp_isSignalConnected_c2394 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QMetaMethod &arg1 = args.read<const QMetaMethod & > (heap);
|
||||
ret.write<bool > ((bool)((QAbstractState_Adaptor *)cls)->fp_QAbstractState_isSignalConnected_c2394 (arg1));
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractState::onEntry(QEvent *event)
|
||||
|
||||
static void _init_cbs_onEntry_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("event");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_onEntry_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractState_Adaptor *)cls)->cbs_onEntry_1217_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_onEntry_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractState_Adaptor *)cls)->cb_onEntry_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractState::onExit(QEvent *event)
|
||||
|
||||
static void _init_cbs_onExit_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("event");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_onExit_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractState_Adaptor *)cls)->cbs_onExit_1217_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_onExit_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractState_Adaptor *)cls)->cb_onExit_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// exposed int QAbstractState::receivers(const char *signal)
|
||||
|
||||
static void _init_fp_receivers_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_fp_receivers_c1731 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
ret.write<int > ((int)((QAbstractState_Adaptor *)cls)->fp_QAbstractState_receivers_c1731 (arg1));
|
||||
}
|
||||
|
||||
|
||||
// exposed QObject *QAbstractState::sender()
|
||||
|
||||
static void _init_fp_sender_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QObject * > ();
|
||||
}
|
||||
|
||||
static void _call_fp_sender_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QObject * > ((QObject *)((QAbstractState_Adaptor *)cls)->fp_QAbstractState_sender_c0 ());
|
||||
}
|
||||
|
||||
|
||||
// exposed int QAbstractState::senderSignalIndex()
|
||||
|
||||
static void _init_fp_senderSignalIndex_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_fp_senderSignalIndex_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAbstractState_Adaptor *)cls)->fp_QAbstractState_senderSignalIndex_c0 ());
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractState::timerEvent(QTimerEvent *)
|
||||
|
||||
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QTimerEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_timerEvent_1730_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QTimerEvent *arg1 = args.read<QTimerEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractState_Adaptor *)cls)->cbs_timerEvent_1730_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_timerEvent_1730_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractState_Adaptor *)cls)->cb_timerEvent_1730_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QAbstractState> &qtdecl_QAbstractState ();
|
||||
|
||||
static gsi::Methods methods_QAbstractState_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericMethod ("emit_activeChanged", "@brief Emitter for signal void QAbstractState::activeChanged(bool active)\nCall this method to emit this signal.", false, &_init_emitter_activeChanged_864, &_call_emitter_activeChanged_864);
|
||||
methods += new qt_gsi::GenericMethod ("*childEvent", "@hide", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0);
|
||||
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QAbstractState::childEvent(QChildEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0, &_set_callback_cbs_childEvent_1701_0);
|
||||
methods += new qt_gsi::GenericMethod ("*customEvent", "@hide", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("*customEvent", "@brief Virtual method void QAbstractState::customEvent(QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0, &_set_callback_cbs_customEvent_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("emit_destroyed", "@brief Emitter for signal void QAbstractState::destroyed(QObject *)\nCall this method to emit this signal.", false, &_init_emitter_destroyed_1302, &_call_emitter_destroyed_1302);
|
||||
methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@hide", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0);
|
||||
methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@brief Virtual method void QAbstractState::disconnectNotify(const QMetaMethod &signal)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0, &_set_callback_cbs_disconnectNotify_2394_0);
|
||||
methods += new qt_gsi::GenericMethod ("*event", "@hide", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("*event", "@brief Virtual method bool QAbstractState::event(QEvent *e)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0, &_set_callback_cbs_event_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("eventFilter", "@hide", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0);
|
||||
methods += new qt_gsi::GenericMethod ("eventFilter", "@brief Virtual method bool QAbstractState::eventFilter(QObject *, QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0, &_set_callback_cbs_eventFilter_2411_0);
|
||||
methods += new qt_gsi::GenericMethod ("*isSignalConnected", "@brief Method bool QAbstractState::isSignalConnected(const QMetaMethod &signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_isSignalConnected_c2394, &_call_fp_isSignalConnected_c2394);
|
||||
methods += new qt_gsi::GenericMethod ("*onEntry", "@hide", false, &_init_cbs_onEntry_1217_0, &_call_cbs_onEntry_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("*onEntry", "@brief Virtual method void QAbstractState::onEntry(QEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_onEntry_1217_0, &_call_cbs_onEntry_1217_0, &_set_callback_cbs_onEntry_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("*onExit", "@hide", false, &_init_cbs_onExit_1217_0, &_call_cbs_onExit_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("*onExit", "@brief Virtual method void QAbstractState::onExit(QEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_onExit_1217_0, &_call_cbs_onExit_1217_0, &_set_callback_cbs_onExit_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("*receivers", "@brief Method int QAbstractState::receivers(const char *signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_receivers_c1731, &_call_fp_receivers_c1731);
|
||||
methods += new qt_gsi::GenericMethod ("*sender", "@brief Method QObject *QAbstractState::sender()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_sender_c0, &_call_fp_sender_c0);
|
||||
methods += new qt_gsi::GenericMethod ("*senderSignalIndex", "@brief Method int QAbstractState::senderSignalIndex()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_senderSignalIndex_c0, &_call_fp_senderSignalIndex_c0);
|
||||
methods += new qt_gsi::GenericMethod ("*timerEvent", "@hide", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0);
|
||||
methods += new qt_gsi::GenericMethod ("*timerEvent", "@brief Virtual method void QAbstractState::timerEvent(QTimerEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0, &_set_callback_cbs_timerEvent_1730_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAbstractState_Adaptor> decl_QAbstractState_Adaptor (qtdecl_QAbstractState (), "QAbstractState",
|
||||
methods_QAbstractState_Adaptor (),
|
||||
"@qt\n@brief Binding of QAbstractState");
|
||||
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -1,73 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAbstractTextDocumentLayout_PaintContext.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAbstractTextDocumentLayout>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// struct QAbstractTextDocumentLayout::PaintContext
|
||||
|
||||
// Constructor QAbstractTextDocumentLayout::PaintContext::PaintContext()
|
||||
|
||||
|
||||
static void _init_ctor_QAbstractTextDocumentLayout_PaintContext_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return_new<QAbstractTextDocumentLayout::PaintContext> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAbstractTextDocumentLayout_PaintContext_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAbstractTextDocumentLayout::PaintContext *> (new QAbstractTextDocumentLayout::PaintContext ());
|
||||
}
|
||||
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAbstractTextDocumentLayout_PaintContext () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAbstractTextDocumentLayout::PaintContext::PaintContext()\nThis method creates an object of class QAbstractTextDocumentLayout::PaintContext.", &_init_ctor_QAbstractTextDocumentLayout_PaintContext_0, &_call_ctor_QAbstractTextDocumentLayout_PaintContext_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAbstractTextDocumentLayout::PaintContext> decl_QAbstractTextDocumentLayout_PaintContext ("QAbstractTextDocumentLayout_PaintContext",
|
||||
methods_QAbstractTextDocumentLayout_PaintContext (),
|
||||
"@qt\n@brief Binding of QAbstractTextDocumentLayout::PaintContext");
|
||||
|
||||
gsi::ClassExt<QAbstractTextDocumentLayout> decl_QAbstractTextDocumentLayout_PaintContext_as_child (decl_QAbstractTextDocumentLayout_PaintContext, "PaintContext");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAbstractTextDocumentLayout::PaintContext> &qtdecl_QAbstractTextDocumentLayout_PaintContext () { return decl_QAbstractTextDocumentLayout_PaintContext; }
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,73 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAbstractTextDocumentLayout_Selection.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAbstractTextDocumentLayout>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// struct QAbstractTextDocumentLayout::Selection
|
||||
|
||||
// Constructor QAbstractTextDocumentLayout::Selection::Selection()
|
||||
|
||||
|
||||
static void _init_ctor_QAbstractTextDocumentLayout_Selection_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return_new<QAbstractTextDocumentLayout::Selection> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAbstractTextDocumentLayout_Selection_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAbstractTextDocumentLayout::Selection *> (new QAbstractTextDocumentLayout::Selection ());
|
||||
}
|
||||
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAbstractTextDocumentLayout_Selection () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAbstractTextDocumentLayout::Selection::Selection()\nThis method creates an object of class QAbstractTextDocumentLayout::Selection.", &_init_ctor_QAbstractTextDocumentLayout_Selection_0, &_call_ctor_QAbstractTextDocumentLayout_Selection_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAbstractTextDocumentLayout::Selection> decl_QAbstractTextDocumentLayout_Selection ("QAbstractTextDocumentLayout_Selection",
|
||||
methods_QAbstractTextDocumentLayout_Selection (),
|
||||
"@qt\n@brief Binding of QAbstractTextDocumentLayout::Selection");
|
||||
|
||||
gsi::ClassExt<QAbstractTextDocumentLayout> decl_QAbstractTextDocumentLayout_Selection_as_child (decl_QAbstractTextDocumentLayout_Selection, "Selection");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAbstractTextDocumentLayout::Selection> &qtdecl_QAbstractTextDocumentLayout_Selection () { return decl_QAbstractTextDocumentLayout_Selection; }
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,863 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAbstractTransition.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAbstractTransition>
|
||||
#include <QAbstractAnimation>
|
||||
#include <QAbstractState>
|
||||
#include <QChildEvent>
|
||||
#include <QEvent>
|
||||
#include <QMetaMethod>
|
||||
#include <QObject>
|
||||
#include <QState>
|
||||
#include <QStateMachine>
|
||||
#include <QThread>
|
||||
#include <QTimerEvent>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAbstractTransition
|
||||
|
||||
// get static meta object
|
||||
|
||||
static void _init_smo (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return<const QMetaObject &> ();
|
||||
}
|
||||
|
||||
static void _call_smo (const qt_gsi::GenericStaticMethod *, gsi::SerialArgs &, gsi::SerialArgs &ret)
|
||||
{
|
||||
ret.write<const QMetaObject &> (QAbstractTransition::staticMetaObject);
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractTransition::addAnimation(QAbstractAnimation *animation)
|
||||
|
||||
|
||||
static void _init_f_addAnimation_2451 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("animation");
|
||||
decl->add_arg<QAbstractAnimation * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_addAnimation_2451 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAbstractAnimation *arg1 = args.read<QAbstractAnimation * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractTransition *)cls)->addAnimation (arg1);
|
||||
}
|
||||
|
||||
|
||||
// QList<QAbstractAnimation*> QAbstractTransition::animations()
|
||||
|
||||
|
||||
static void _init_f_animations_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QList<QAbstractAnimation*> > ();
|
||||
}
|
||||
|
||||
static void _call_f_animations_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QList<QAbstractAnimation*> > ((QList<QAbstractAnimation*>)((QAbstractTransition *)cls)->animations ());
|
||||
}
|
||||
|
||||
|
||||
// QStateMachine *QAbstractTransition::machine()
|
||||
|
||||
|
||||
static void _init_f_machine_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QStateMachine * > ();
|
||||
}
|
||||
|
||||
static void _call_f_machine_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QStateMachine * > ((QStateMachine *)((QAbstractTransition *)cls)->machine ());
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractTransition::removeAnimation(QAbstractAnimation *animation)
|
||||
|
||||
|
||||
static void _init_f_removeAnimation_2451 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("animation");
|
||||
decl->add_arg<QAbstractAnimation * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_removeAnimation_2451 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAbstractAnimation *arg1 = args.read<QAbstractAnimation * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractTransition *)cls)->removeAnimation (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractTransition::setTargetState(QAbstractState *target)
|
||||
|
||||
|
||||
static void _init_f_setTargetState_2036 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("target");
|
||||
decl->add_arg<QAbstractState * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setTargetState_2036 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAbstractState *arg1 = args.read<QAbstractState * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractTransition *)cls)->setTargetState (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractTransition::setTargetStates(const QList<QAbstractState*> &targets)
|
||||
|
||||
|
||||
static void _init_f_setTargetStates_3384 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("targets");
|
||||
decl->add_arg<const QList<QAbstractState*> & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setTargetStates_3384 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QList<QAbstractState*> &arg1 = args.read<const QList<QAbstractState*> & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractTransition *)cls)->setTargetStates (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractTransition::setTransitionType(QAbstractTransition::TransitionType type)
|
||||
|
||||
|
||||
static void _init_f_setTransitionType_4005 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("type");
|
||||
decl->add_arg<const qt_gsi::Converter<QAbstractTransition::TransitionType>::target_type & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setTransitionType_4005 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const qt_gsi::Converter<QAbstractTransition::TransitionType>::target_type & arg1 = args.read<const qt_gsi::Converter<QAbstractTransition::TransitionType>::target_type & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractTransition *)cls)->setTransitionType (qt_gsi::QtToCppAdaptor<QAbstractTransition::TransitionType>(arg1).cref());
|
||||
}
|
||||
|
||||
|
||||
// QState *QAbstractTransition::sourceState()
|
||||
|
||||
|
||||
static void _init_f_sourceState_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QState * > ();
|
||||
}
|
||||
|
||||
static void _call_f_sourceState_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QState * > ((QState *)((QAbstractTransition *)cls)->sourceState ());
|
||||
}
|
||||
|
||||
|
||||
// QAbstractState *QAbstractTransition::targetState()
|
||||
|
||||
|
||||
static void _init_f_targetState_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QAbstractState * > ();
|
||||
}
|
||||
|
||||
static void _call_f_targetState_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAbstractState * > ((QAbstractState *)((QAbstractTransition *)cls)->targetState ());
|
||||
}
|
||||
|
||||
|
||||
// QList<QAbstractState*> QAbstractTransition::targetStates()
|
||||
|
||||
|
||||
static void _init_f_targetStates_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QList<QAbstractState*> > ();
|
||||
}
|
||||
|
||||
static void _call_f_targetStates_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QList<QAbstractState*> > ((QList<QAbstractState*>)((QAbstractTransition *)cls)->targetStates ());
|
||||
}
|
||||
|
||||
|
||||
// QAbstractTransition::TransitionType QAbstractTransition::transitionType()
|
||||
|
||||
|
||||
static void _init_f_transitionType_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<qt_gsi::Converter<QAbstractTransition::TransitionType>::target_type > ();
|
||||
}
|
||||
|
||||
static void _call_f_transitionType_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<qt_gsi::Converter<QAbstractTransition::TransitionType>::target_type > ((qt_gsi::Converter<QAbstractTransition::TransitionType>::target_type)qt_gsi::CppToQtAdaptor<QAbstractTransition::TransitionType>(((QAbstractTransition *)cls)->transitionType ()));
|
||||
}
|
||||
|
||||
|
||||
// static QString QAbstractTransition::tr(const char *s, const char *c, int n)
|
||||
|
||||
|
||||
static void _init_f_tr_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("s");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("c", true, "__null");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_tr_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(__null);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QAbstractTransition::tr (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
// static QString QAbstractTransition::trUtf8(const char *s, const char *c, int n)
|
||||
|
||||
|
||||
static void _init_f_trUtf8_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("s");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("c", true, "__null");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_trUtf8_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(__null);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QAbstractTransition::trUtf8 (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAbstractTransition () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("staticMetaObject", "@brief Obtains the static MetaObject for this class.", &_init_smo, &_call_smo);
|
||||
methods += new qt_gsi::GenericMethod ("addAnimation", "@brief Method void QAbstractTransition::addAnimation(QAbstractAnimation *animation)\n", false, &_init_f_addAnimation_2451, &_call_f_addAnimation_2451);
|
||||
methods += new qt_gsi::GenericMethod ("animations", "@brief Method QList<QAbstractAnimation*> QAbstractTransition::animations()\n", true, &_init_f_animations_c0, &_call_f_animations_c0);
|
||||
methods += new qt_gsi::GenericMethod ("machine", "@brief Method QStateMachine *QAbstractTransition::machine()\n", true, &_init_f_machine_c0, &_call_f_machine_c0);
|
||||
methods += new qt_gsi::GenericMethod ("removeAnimation", "@brief Method void QAbstractTransition::removeAnimation(QAbstractAnimation *animation)\n", false, &_init_f_removeAnimation_2451, &_call_f_removeAnimation_2451);
|
||||
methods += new qt_gsi::GenericMethod ("setTargetState|targetState=", "@brief Method void QAbstractTransition::setTargetState(QAbstractState *target)\n", false, &_init_f_setTargetState_2036, &_call_f_setTargetState_2036);
|
||||
methods += new qt_gsi::GenericMethod ("setTargetStates|targetStates=", "@brief Method void QAbstractTransition::setTargetStates(const QList<QAbstractState*> &targets)\n", false, &_init_f_setTargetStates_3384, &_call_f_setTargetStates_3384);
|
||||
methods += new qt_gsi::GenericMethod ("setTransitionType|transitionType=", "@brief Method void QAbstractTransition::setTransitionType(QAbstractTransition::TransitionType type)\n", false, &_init_f_setTransitionType_4005, &_call_f_setTransitionType_4005);
|
||||
methods += new qt_gsi::GenericMethod (":sourceState", "@brief Method QState *QAbstractTransition::sourceState()\n", true, &_init_f_sourceState_c0, &_call_f_sourceState_c0);
|
||||
methods += new qt_gsi::GenericMethod (":targetState", "@brief Method QAbstractState *QAbstractTransition::targetState()\n", true, &_init_f_targetState_c0, &_call_f_targetState_c0);
|
||||
methods += new qt_gsi::GenericMethod (":targetStates", "@brief Method QList<QAbstractState*> QAbstractTransition::targetStates()\n", true, &_init_f_targetStates_c0, &_call_f_targetStates_c0);
|
||||
methods += new qt_gsi::GenericMethod (":transitionType", "@brief Method QAbstractTransition::TransitionType QAbstractTransition::transitionType()\n", true, &_init_f_transitionType_c0, &_call_f_transitionType_c0);
|
||||
methods += gsi::qt_signal<QObject * > ("destroyed(QObject *)", "destroyed", gsi::arg("arg1"), "@brief Signal declaration for QAbstractTransition::destroyed(QObject *)\nYou can bind a procedure to this signal.");
|
||||
methods += new qt_gsi::GenericStaticMethod ("tr", "@brief Static method QString QAbstractTransition::tr(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_tr_4013, &_call_f_tr_4013);
|
||||
methods += new qt_gsi::GenericStaticMethod ("trUtf8", "@brief Static method QString QAbstractTransition::trUtf8(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_trUtf8_4013, &_call_f_trUtf8_4013);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QObject> &qtdecl_QObject ();
|
||||
|
||||
qt_gsi::QtNativeClass<QAbstractTransition> decl_QAbstractTransition (qtdecl_QObject (), "QAbstractTransition_Native",
|
||||
methods_QAbstractTransition (),
|
||||
"@hide\n@alias QAbstractTransition");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAbstractTransition> &qtdecl_QAbstractTransition () { return decl_QAbstractTransition; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QAbstractTransition_Adaptor : public QAbstractTransition, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QAbstractTransition_Adaptor();
|
||||
|
||||
// [adaptor ctor] QAbstractTransition::QAbstractTransition(QState *sourceState)
|
||||
QAbstractTransition_Adaptor() : QAbstractTransition()
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor ctor] QAbstractTransition::QAbstractTransition(QState *sourceState)
|
||||
QAbstractTransition_Adaptor(QState *sourceState) : QAbstractTransition(sourceState)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [expose] bool QAbstractTransition::isSignalConnected(const QMetaMethod &signal)
|
||||
bool fp_QAbstractTransition_isSignalConnected_c2394 (const QMetaMethod &signal) const {
|
||||
return QAbstractTransition::isSignalConnected(signal);
|
||||
}
|
||||
|
||||
// [expose] int QAbstractTransition::receivers(const char *signal)
|
||||
int fp_QAbstractTransition_receivers_c1731 (const char *signal) const {
|
||||
return QAbstractTransition::receivers(signal);
|
||||
}
|
||||
|
||||
// [expose] QObject *QAbstractTransition::sender()
|
||||
QObject * fp_QAbstractTransition_sender_c0 () const {
|
||||
return QAbstractTransition::sender();
|
||||
}
|
||||
|
||||
// [expose] int QAbstractTransition::senderSignalIndex()
|
||||
int fp_QAbstractTransition_senderSignalIndex_c0 () const {
|
||||
return QAbstractTransition::senderSignalIndex();
|
||||
}
|
||||
|
||||
// [emitter impl] void QAbstractTransition::destroyed(QObject *)
|
||||
void emitter_QAbstractTransition_destroyed_1302(QObject *arg1)
|
||||
{
|
||||
emit QAbstractTransition::destroyed(arg1);
|
||||
}
|
||||
|
||||
// [adaptor impl] bool QAbstractTransition::eventFilter(QObject *, QEvent *)
|
||||
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
|
||||
{
|
||||
return QAbstractTransition::eventFilter(arg1, arg2);
|
||||
}
|
||||
|
||||
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
|
||||
{
|
||||
if (cb_eventFilter_2411_0.can_issue()) {
|
||||
return cb_eventFilter_2411_0.issue<QAbstractTransition_Adaptor, bool, QObject *, QEvent *>(&QAbstractTransition_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
|
||||
} else {
|
||||
return QAbstractTransition::eventFilter(arg1, arg2);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractTransition::childEvent(QChildEvent *)
|
||||
void cbs_childEvent_1701_0(QChildEvent *arg1)
|
||||
{
|
||||
QAbstractTransition::childEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void childEvent(QChildEvent *arg1)
|
||||
{
|
||||
if (cb_childEvent_1701_0.can_issue()) {
|
||||
cb_childEvent_1701_0.issue<QAbstractTransition_Adaptor, QChildEvent *>(&QAbstractTransition_Adaptor::cbs_childEvent_1701_0, arg1);
|
||||
} else {
|
||||
QAbstractTransition::childEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractTransition::customEvent(QEvent *)
|
||||
void cbs_customEvent_1217_0(QEvent *arg1)
|
||||
{
|
||||
QAbstractTransition::customEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void customEvent(QEvent *arg1)
|
||||
{
|
||||
if (cb_customEvent_1217_0.can_issue()) {
|
||||
cb_customEvent_1217_0.issue<QAbstractTransition_Adaptor, QEvent *>(&QAbstractTransition_Adaptor::cbs_customEvent_1217_0, arg1);
|
||||
} else {
|
||||
QAbstractTransition::customEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractTransition::disconnectNotify(const QMetaMethod &signal)
|
||||
void cbs_disconnectNotify_2394_0(const QMetaMethod &signal)
|
||||
{
|
||||
QAbstractTransition::disconnectNotify(signal);
|
||||
}
|
||||
|
||||
virtual void disconnectNotify(const QMetaMethod &signal)
|
||||
{
|
||||
if (cb_disconnectNotify_2394_0.can_issue()) {
|
||||
cb_disconnectNotify_2394_0.issue<QAbstractTransition_Adaptor, const QMetaMethod &>(&QAbstractTransition_Adaptor::cbs_disconnectNotify_2394_0, signal);
|
||||
} else {
|
||||
QAbstractTransition::disconnectNotify(signal);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] bool QAbstractTransition::event(QEvent *e)
|
||||
bool cbs_event_1217_0(QEvent *e)
|
||||
{
|
||||
return QAbstractTransition::event(e);
|
||||
}
|
||||
|
||||
virtual bool event(QEvent *e)
|
||||
{
|
||||
if (cb_event_1217_0.can_issue()) {
|
||||
return cb_event_1217_0.issue<QAbstractTransition_Adaptor, bool, QEvent *>(&QAbstractTransition_Adaptor::cbs_event_1217_0, e);
|
||||
} else {
|
||||
return QAbstractTransition::event(e);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] bool QAbstractTransition::eventTest(QEvent *event)
|
||||
bool cbs_eventTest_1217_0(QEvent *event)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (event);
|
||||
throw qt_gsi::AbstractMethodCalledException("eventTest");
|
||||
}
|
||||
|
||||
virtual bool eventTest(QEvent *event)
|
||||
{
|
||||
if (cb_eventTest_1217_0.can_issue()) {
|
||||
return cb_eventTest_1217_0.issue<QAbstractTransition_Adaptor, bool, QEvent *>(&QAbstractTransition_Adaptor::cbs_eventTest_1217_0, event);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("eventTest");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractTransition::onTransition(QEvent *event)
|
||||
void cbs_onTransition_1217_0(QEvent *event)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (event);
|
||||
throw qt_gsi::AbstractMethodCalledException("onTransition");
|
||||
}
|
||||
|
||||
virtual void onTransition(QEvent *event)
|
||||
{
|
||||
if (cb_onTransition_1217_0.can_issue()) {
|
||||
cb_onTransition_1217_0.issue<QAbstractTransition_Adaptor, QEvent *>(&QAbstractTransition_Adaptor::cbs_onTransition_1217_0, event);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("onTransition");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractTransition::timerEvent(QTimerEvent *)
|
||||
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
|
||||
{
|
||||
QAbstractTransition::timerEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void timerEvent(QTimerEvent *arg1)
|
||||
{
|
||||
if (cb_timerEvent_1730_0.can_issue()) {
|
||||
cb_timerEvent_1730_0.issue<QAbstractTransition_Adaptor, QTimerEvent *>(&QAbstractTransition_Adaptor::cbs_timerEvent_1730_0, arg1);
|
||||
} else {
|
||||
QAbstractTransition::timerEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_eventFilter_2411_0;
|
||||
gsi::Callback cb_childEvent_1701_0;
|
||||
gsi::Callback cb_customEvent_1217_0;
|
||||
gsi::Callback cb_disconnectNotify_2394_0;
|
||||
gsi::Callback cb_event_1217_0;
|
||||
gsi::Callback cb_eventTest_1217_0;
|
||||
gsi::Callback cb_onTransition_1217_0;
|
||||
gsi::Callback cb_timerEvent_1730_0;
|
||||
};
|
||||
|
||||
QAbstractTransition_Adaptor::~QAbstractTransition_Adaptor() { }
|
||||
|
||||
// Constructor QAbstractTransition::QAbstractTransition(QState *sourceState) (adaptor class)
|
||||
|
||||
static void _init_ctor_QAbstractTransition_Adaptor_1216 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("sourceState", true, "0");
|
||||
decl->add_arg<QState * > (argspec_0);
|
||||
decl->set_return_new<QAbstractTransition_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAbstractTransition_Adaptor_1216 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QState *arg1 = args ? args.read<QState * > (heap) : (QState *)(0);
|
||||
ret.write<QAbstractTransition_Adaptor *> (new QAbstractTransition_Adaptor (arg1));
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractTransition::childEvent(QChildEvent *)
|
||||
|
||||
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QChildEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_childEvent_1701_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QChildEvent *arg1 = args.read<QChildEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractTransition_Adaptor *)cls)->cbs_childEvent_1701_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractTransition_Adaptor *)cls)->cb_childEvent_1701_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractTransition::customEvent(QEvent *)
|
||||
|
||||
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_customEvent_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractTransition_Adaptor *)cls)->cbs_customEvent_1217_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractTransition_Adaptor *)cls)->cb_customEvent_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// emitter void QAbstractTransition::destroyed(QObject *)
|
||||
|
||||
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args ? args.read<QObject * > (heap) : (QObject *)(0);
|
||||
((QAbstractTransition_Adaptor *)cls)->emitter_QAbstractTransition_destroyed_1302 (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractTransition::disconnectNotify(const QMetaMethod &signal)
|
||||
|
||||
static void _init_cbs_disconnectNotify_2394_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("signal");
|
||||
decl->add_arg<const QMetaMethod & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_disconnectNotify_2394_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QMetaMethod &arg1 = args.read<const QMetaMethod & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractTransition_Adaptor *)cls)->cbs_disconnectNotify_2394_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_disconnectNotify_2394_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractTransition_Adaptor *)cls)->cb_disconnectNotify_2394_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// bool QAbstractTransition::event(QEvent *e)
|
||||
|
||||
static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("e");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_event_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
ret.write<bool > ((bool)((QAbstractTransition_Adaptor *)cls)->cbs_event_1217_0 (arg1));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractTransition_Adaptor *)cls)->cb_event_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// bool QAbstractTransition::eventFilter(QObject *, QEvent *)
|
||||
|
||||
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("arg2");
|
||||
decl->add_arg<QEvent * > (argspec_1);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_eventFilter_2411_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args.read<QObject * > (heap);
|
||||
QEvent *arg2 = args.read<QEvent * > (heap);
|
||||
ret.write<bool > ((bool)((QAbstractTransition_Adaptor *)cls)->cbs_eventFilter_2411_0 (arg1, arg2));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_eventFilter_2411_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractTransition_Adaptor *)cls)->cb_eventFilter_2411_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// bool QAbstractTransition::eventTest(QEvent *event)
|
||||
|
||||
static void _init_cbs_eventTest_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("event");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_eventTest_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
ret.write<bool > ((bool)((QAbstractTransition_Adaptor *)cls)->cbs_eventTest_1217_0 (arg1));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_eventTest_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractTransition_Adaptor *)cls)->cb_eventTest_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// exposed bool QAbstractTransition::isSignalConnected(const QMetaMethod &signal)
|
||||
|
||||
static void _init_fp_isSignalConnected_c2394 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("signal");
|
||||
decl->add_arg<const QMetaMethod & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_fp_isSignalConnected_c2394 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QMetaMethod &arg1 = args.read<const QMetaMethod & > (heap);
|
||||
ret.write<bool > ((bool)((QAbstractTransition_Adaptor *)cls)->fp_QAbstractTransition_isSignalConnected_c2394 (arg1));
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractTransition::onTransition(QEvent *event)
|
||||
|
||||
static void _init_cbs_onTransition_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("event");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_onTransition_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractTransition_Adaptor *)cls)->cbs_onTransition_1217_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_onTransition_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractTransition_Adaptor *)cls)->cb_onTransition_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// exposed int QAbstractTransition::receivers(const char *signal)
|
||||
|
||||
static void _init_fp_receivers_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_fp_receivers_c1731 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
ret.write<int > ((int)((QAbstractTransition_Adaptor *)cls)->fp_QAbstractTransition_receivers_c1731 (arg1));
|
||||
}
|
||||
|
||||
|
||||
// exposed QObject *QAbstractTransition::sender()
|
||||
|
||||
static void _init_fp_sender_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QObject * > ();
|
||||
}
|
||||
|
||||
static void _call_fp_sender_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QObject * > ((QObject *)((QAbstractTransition_Adaptor *)cls)->fp_QAbstractTransition_sender_c0 ());
|
||||
}
|
||||
|
||||
|
||||
// exposed int QAbstractTransition::senderSignalIndex()
|
||||
|
||||
static void _init_fp_senderSignalIndex_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_fp_senderSignalIndex_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAbstractTransition_Adaptor *)cls)->fp_QAbstractTransition_senderSignalIndex_c0 ());
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractTransition::timerEvent(QTimerEvent *)
|
||||
|
||||
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QTimerEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_timerEvent_1730_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QTimerEvent *arg1 = args.read<QTimerEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractTransition_Adaptor *)cls)->cbs_timerEvent_1730_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_timerEvent_1730_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractTransition_Adaptor *)cls)->cb_timerEvent_1730_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QAbstractTransition> &qtdecl_QAbstractTransition ();
|
||||
|
||||
static gsi::Methods methods_QAbstractTransition_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAbstractTransition::QAbstractTransition(QState *sourceState)\nThis method creates an object of class QAbstractTransition.", &_init_ctor_QAbstractTransition_Adaptor_1216, &_call_ctor_QAbstractTransition_Adaptor_1216);
|
||||
methods += new qt_gsi::GenericMethod ("*childEvent", "@hide", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0);
|
||||
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QAbstractTransition::childEvent(QChildEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0, &_set_callback_cbs_childEvent_1701_0);
|
||||
methods += new qt_gsi::GenericMethod ("*customEvent", "@hide", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("*customEvent", "@brief Virtual method void QAbstractTransition::customEvent(QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0, &_set_callback_cbs_customEvent_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("emit_destroyed", "@brief Emitter for signal void QAbstractTransition::destroyed(QObject *)\nCall this method to emit this signal.", false, &_init_emitter_destroyed_1302, &_call_emitter_destroyed_1302);
|
||||
methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@hide", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0);
|
||||
methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@brief Virtual method void QAbstractTransition::disconnectNotify(const QMetaMethod &signal)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0, &_set_callback_cbs_disconnectNotify_2394_0);
|
||||
methods += new qt_gsi::GenericMethod ("*event", "@hide", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("*event", "@brief Virtual method bool QAbstractTransition::event(QEvent *e)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0, &_set_callback_cbs_event_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("eventFilter", "@hide", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0);
|
||||
methods += new qt_gsi::GenericMethod ("eventFilter", "@brief Virtual method bool QAbstractTransition::eventFilter(QObject *, QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0, &_set_callback_cbs_eventFilter_2411_0);
|
||||
methods += new qt_gsi::GenericMethod ("*eventTest", "@hide", false, &_init_cbs_eventTest_1217_0, &_call_cbs_eventTest_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("*eventTest", "@brief Virtual method bool QAbstractTransition::eventTest(QEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_eventTest_1217_0, &_call_cbs_eventTest_1217_0, &_set_callback_cbs_eventTest_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("*isSignalConnected", "@brief Method bool QAbstractTransition::isSignalConnected(const QMetaMethod &signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_isSignalConnected_c2394, &_call_fp_isSignalConnected_c2394);
|
||||
methods += new qt_gsi::GenericMethod ("*onTransition", "@hide", false, &_init_cbs_onTransition_1217_0, &_call_cbs_onTransition_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("*onTransition", "@brief Virtual method void QAbstractTransition::onTransition(QEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_onTransition_1217_0, &_call_cbs_onTransition_1217_0, &_set_callback_cbs_onTransition_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("*receivers", "@brief Method int QAbstractTransition::receivers(const char *signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_receivers_c1731, &_call_fp_receivers_c1731);
|
||||
methods += new qt_gsi::GenericMethod ("*sender", "@brief Method QObject *QAbstractTransition::sender()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_sender_c0, &_call_fp_sender_c0);
|
||||
methods += new qt_gsi::GenericMethod ("*senderSignalIndex", "@brief Method int QAbstractTransition::senderSignalIndex()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_senderSignalIndex_c0, &_call_fp_senderSignalIndex_c0);
|
||||
methods += new qt_gsi::GenericMethod ("*timerEvent", "@hide", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0);
|
||||
methods += new qt_gsi::GenericMethod ("*timerEvent", "@brief Virtual method void QAbstractTransition::timerEvent(QTimerEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0, &_set_callback_cbs_timerEvent_1730_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAbstractTransition_Adaptor> decl_QAbstractTransition_Adaptor (qtdecl_QAbstractTransition (), "QAbstractTransition",
|
||||
methods_QAbstractTransition_Adaptor (),
|
||||
"@qt\n@brief Binding of QAbstractTransition");
|
||||
|
||||
}
|
||||
|
||||
|
||||
// Implementation of the enum wrapper class for QAbstractTransition::TransitionType
|
||||
namespace qt_gsi
|
||||
{
|
||||
|
||||
static gsi::Enum<QAbstractTransition::TransitionType> decl_QAbstractTransition_TransitionType_Enum ("QAbstractTransition_TransitionType",
|
||||
gsi::enum_const ("ExternalTransition", QAbstractTransition::ExternalTransition, "@brief Enum constant QAbstractTransition::ExternalTransition") +
|
||||
gsi::enum_const ("InternalTransition", QAbstractTransition::InternalTransition, "@brief Enum constant QAbstractTransition::InternalTransition"),
|
||||
"@qt\n@brief This class represents the QAbstractTransition::TransitionType enum");
|
||||
|
||||
static gsi::QFlagsClass<QAbstractTransition::TransitionType > decl_QAbstractTransition_TransitionType_Enums ("QAbstractTransition_QFlags_TransitionType",
|
||||
"@qt\n@brief This class represents the QFlags<QAbstractTransition::TransitionType> flag set");
|
||||
|
||||
// Inject the declarations into the parent
|
||||
static gsi::ClassExt<QAbstractTransition> inject_QAbstractTransition_TransitionType_Enum_in_parent (decl_QAbstractTransition_TransitionType_Enum.defs ());
|
||||
static gsi::ClassExt<QAbstractTransition> decl_QAbstractTransition_TransitionType_Enum_as_child (decl_QAbstractTransition_TransitionType_Enum, "TransitionType");
|
||||
static gsi::ClassExt<QAbstractTransition> decl_QAbstractTransition_TransitionType_Enums_as_child (decl_QAbstractTransition_TransitionType_Enums, "QFlags_TransitionType");
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,212 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAbstractUndoItem.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAbstractUndoItem>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAbstractUndoItem
|
||||
|
||||
// void QAbstractUndoItem::redo()
|
||||
|
||||
|
||||
static void _init_f_redo_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_redo_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractUndoItem *)cls)->redo ();
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractUndoItem::undo()
|
||||
|
||||
|
||||
static void _init_f_undo_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_undo_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractUndoItem *)cls)->undo ();
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAbstractUndoItem () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericMethod ("redo", "@brief Method void QAbstractUndoItem::redo()\n", false, &_init_f_redo_0, &_call_f_redo_0);
|
||||
methods += new qt_gsi::GenericMethod ("undo", "@brief Method void QAbstractUndoItem::undo()\n", false, &_init_f_undo_0, &_call_f_undo_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAbstractUndoItem> decl_QAbstractUndoItem ("QAbstractUndoItem_Native",
|
||||
methods_QAbstractUndoItem (),
|
||||
"@hide\n@alias QAbstractUndoItem");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAbstractUndoItem> &qtdecl_QAbstractUndoItem () { return decl_QAbstractUndoItem; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QAbstractUndoItem_Adaptor : public QAbstractUndoItem, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QAbstractUndoItem_Adaptor();
|
||||
|
||||
// [adaptor ctor] QAbstractUndoItem::QAbstractUndoItem()
|
||||
QAbstractUndoItem_Adaptor() : QAbstractUndoItem()
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractUndoItem::redo()
|
||||
void cbs_redo_0_0()
|
||||
{
|
||||
throw qt_gsi::AbstractMethodCalledException("redo");
|
||||
}
|
||||
|
||||
virtual void redo()
|
||||
{
|
||||
if (cb_redo_0_0.can_issue()) {
|
||||
cb_redo_0_0.issue<QAbstractUndoItem_Adaptor>(&QAbstractUndoItem_Adaptor::cbs_redo_0_0);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("redo");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractUndoItem::undo()
|
||||
void cbs_undo_0_0()
|
||||
{
|
||||
throw qt_gsi::AbstractMethodCalledException("undo");
|
||||
}
|
||||
|
||||
virtual void undo()
|
||||
{
|
||||
if (cb_undo_0_0.can_issue()) {
|
||||
cb_undo_0_0.issue<QAbstractUndoItem_Adaptor>(&QAbstractUndoItem_Adaptor::cbs_undo_0_0);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("undo");
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_redo_0_0;
|
||||
gsi::Callback cb_undo_0_0;
|
||||
};
|
||||
|
||||
QAbstractUndoItem_Adaptor::~QAbstractUndoItem_Adaptor() { }
|
||||
|
||||
// Constructor QAbstractUndoItem::QAbstractUndoItem() (adaptor class)
|
||||
|
||||
static void _init_ctor_QAbstractUndoItem_Adaptor_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return_new<QAbstractUndoItem_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAbstractUndoItem_Adaptor_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAbstractUndoItem_Adaptor *> (new QAbstractUndoItem_Adaptor ());
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractUndoItem::redo()
|
||||
|
||||
static void _init_cbs_redo_0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_redo_0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractUndoItem_Adaptor *)cls)->cbs_redo_0_0 ();
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_redo_0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractUndoItem_Adaptor *)cls)->cb_redo_0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractUndoItem::undo()
|
||||
|
||||
static void _init_cbs_undo_0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_undo_0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractUndoItem_Adaptor *)cls)->cbs_undo_0_0 ();
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_undo_0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractUndoItem_Adaptor *)cls)->cb_undo_0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QAbstractUndoItem> &qtdecl_QAbstractUndoItem ();
|
||||
|
||||
static gsi::Methods methods_QAbstractUndoItem_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAbstractUndoItem::QAbstractUndoItem()\nThis method creates an object of class QAbstractUndoItem.", &_init_ctor_QAbstractUndoItem_Adaptor_0, &_call_ctor_QAbstractUndoItem_Adaptor_0);
|
||||
methods += new qt_gsi::GenericMethod ("redo", "@hide", false, &_init_cbs_redo_0_0, &_call_cbs_redo_0_0);
|
||||
methods += new qt_gsi::GenericMethod ("redo", "@brief Virtual method void QAbstractUndoItem::redo()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_redo_0_0, &_call_cbs_redo_0_0, &_set_callback_cbs_redo_0_0);
|
||||
methods += new qt_gsi::GenericMethod ("undo", "@hide", false, &_init_cbs_undo_0_0, &_call_cbs_undo_0_0);
|
||||
methods += new qt_gsi::GenericMethod ("undo", "@brief Virtual method void QAbstractUndoItem::undo()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_undo_0_0, &_call_cbs_undo_0_0, &_set_callback_cbs_undo_0_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAbstractUndoItem_Adaptor> decl_QAbstractUndoItem_Adaptor (qtdecl_QAbstractUndoItem (), "QAbstractUndoItem",
|
||||
methods_QAbstractUndoItem_Adaptor (),
|
||||
"@qt\n@brief Binding of QAbstractUndoItem");
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,623 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAbstractUriResolver.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAbstractUriResolver>
|
||||
#include <QChildEvent>
|
||||
#include <QEvent>
|
||||
#include <QMetaMethod>
|
||||
#include <QObject>
|
||||
#include <QThread>
|
||||
#include <QTimerEvent>
|
||||
#include <QUrl>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAbstractUriResolver
|
||||
|
||||
// get static meta object
|
||||
|
||||
static void _init_smo (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return<const QMetaObject &> ();
|
||||
}
|
||||
|
||||
static void _call_smo (const qt_gsi::GenericStaticMethod *, gsi::SerialArgs &, gsi::SerialArgs &ret)
|
||||
{
|
||||
ret.write<const QMetaObject &> (QAbstractUriResolver::staticMetaObject);
|
||||
}
|
||||
|
||||
|
||||
// QUrl QAbstractUriResolver::resolve(const QUrl &relative, const QUrl &baseURI)
|
||||
|
||||
|
||||
static void _init_f_resolve_c3294 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("relative");
|
||||
decl->add_arg<const QUrl & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("baseURI");
|
||||
decl->add_arg<const QUrl & > (argspec_1);
|
||||
decl->set_return<QUrl > ();
|
||||
}
|
||||
|
||||
static void _call_f_resolve_c3294 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QUrl &arg1 = args.read<const QUrl & > (heap);
|
||||
const QUrl &arg2 = args.read<const QUrl & > (heap);
|
||||
ret.write<QUrl > ((QUrl)((QAbstractUriResolver *)cls)->resolve (arg1, arg2));
|
||||
}
|
||||
|
||||
|
||||
// static QString QAbstractUriResolver::tr(const char *s, const char *c, int n)
|
||||
|
||||
|
||||
static void _init_f_tr_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("s");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("c", true, "__null");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_tr_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(__null);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QAbstractUriResolver::tr (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
// static QString QAbstractUriResolver::trUtf8(const char *s, const char *c, int n)
|
||||
|
||||
|
||||
static void _init_f_trUtf8_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("s");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("c", true, "__null");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_trUtf8_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(__null);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QAbstractUriResolver::trUtf8 (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAbstractUriResolver () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("staticMetaObject", "@brief Obtains the static MetaObject for this class.", &_init_smo, &_call_smo);
|
||||
methods += new qt_gsi::GenericMethod ("resolve", "@brief Method QUrl QAbstractUriResolver::resolve(const QUrl &relative, const QUrl &baseURI)\n", true, &_init_f_resolve_c3294, &_call_f_resolve_c3294);
|
||||
methods += gsi::qt_signal<QObject * > ("destroyed(QObject *)", "destroyed", gsi::arg("arg1"), "@brief Signal declaration for QAbstractUriResolver::destroyed(QObject *)\nYou can bind a procedure to this signal.");
|
||||
methods += new qt_gsi::GenericStaticMethod ("tr", "@brief Static method QString QAbstractUriResolver::tr(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_tr_4013, &_call_f_tr_4013);
|
||||
methods += new qt_gsi::GenericStaticMethod ("trUtf8", "@brief Static method QString QAbstractUriResolver::trUtf8(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_trUtf8_4013, &_call_f_trUtf8_4013);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QObject> &qtdecl_QObject ();
|
||||
|
||||
qt_gsi::QtNativeClass<QAbstractUriResolver> decl_QAbstractUriResolver (qtdecl_QObject (), "QAbstractUriResolver_Native",
|
||||
methods_QAbstractUriResolver (),
|
||||
"@hide\n@alias QAbstractUriResolver");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAbstractUriResolver> &qtdecl_QAbstractUriResolver () { return decl_QAbstractUriResolver; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QAbstractUriResolver_Adaptor : public QAbstractUriResolver, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QAbstractUriResolver_Adaptor();
|
||||
|
||||
// [adaptor ctor] QAbstractUriResolver::QAbstractUriResolver(QObject *parent)
|
||||
QAbstractUriResolver_Adaptor() : QAbstractUriResolver()
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor ctor] QAbstractUriResolver::QAbstractUriResolver(QObject *parent)
|
||||
QAbstractUriResolver_Adaptor(QObject *parent) : QAbstractUriResolver(parent)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [expose] bool QAbstractUriResolver::isSignalConnected(const QMetaMethod &signal)
|
||||
bool fp_QAbstractUriResolver_isSignalConnected_c2394 (const QMetaMethod &signal) const {
|
||||
return QAbstractUriResolver::isSignalConnected(signal);
|
||||
}
|
||||
|
||||
// [expose] int QAbstractUriResolver::receivers(const char *signal)
|
||||
int fp_QAbstractUriResolver_receivers_c1731 (const char *signal) const {
|
||||
return QAbstractUriResolver::receivers(signal);
|
||||
}
|
||||
|
||||
// [expose] QObject *QAbstractUriResolver::sender()
|
||||
QObject * fp_QAbstractUriResolver_sender_c0 () const {
|
||||
return QAbstractUriResolver::sender();
|
||||
}
|
||||
|
||||
// [expose] int QAbstractUriResolver::senderSignalIndex()
|
||||
int fp_QAbstractUriResolver_senderSignalIndex_c0 () const {
|
||||
return QAbstractUriResolver::senderSignalIndex();
|
||||
}
|
||||
|
||||
// [emitter impl] void QAbstractUriResolver::destroyed(QObject *)
|
||||
void emitter_QAbstractUriResolver_destroyed_1302(QObject *arg1)
|
||||
{
|
||||
emit QAbstractUriResolver::destroyed(arg1);
|
||||
}
|
||||
|
||||
// [adaptor impl] bool QAbstractUriResolver::event(QEvent *)
|
||||
bool cbs_event_1217_0(QEvent *arg1)
|
||||
{
|
||||
return QAbstractUriResolver::event(arg1);
|
||||
}
|
||||
|
||||
virtual bool event(QEvent *arg1)
|
||||
{
|
||||
if (cb_event_1217_0.can_issue()) {
|
||||
return cb_event_1217_0.issue<QAbstractUriResolver_Adaptor, bool, QEvent *>(&QAbstractUriResolver_Adaptor::cbs_event_1217_0, arg1);
|
||||
} else {
|
||||
return QAbstractUriResolver::event(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] bool QAbstractUriResolver::eventFilter(QObject *, QEvent *)
|
||||
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
|
||||
{
|
||||
return QAbstractUriResolver::eventFilter(arg1, arg2);
|
||||
}
|
||||
|
||||
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
|
||||
{
|
||||
if (cb_eventFilter_2411_0.can_issue()) {
|
||||
return cb_eventFilter_2411_0.issue<QAbstractUriResolver_Adaptor, bool, QObject *, QEvent *>(&QAbstractUriResolver_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
|
||||
} else {
|
||||
return QAbstractUriResolver::eventFilter(arg1, arg2);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] QUrl QAbstractUriResolver::resolve(const QUrl &relative, const QUrl &baseURI)
|
||||
QUrl cbs_resolve_c3294_0(const QUrl &relative, const QUrl &baseURI) const
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (relative);
|
||||
__SUPPRESS_UNUSED_WARNING (baseURI);
|
||||
throw qt_gsi::AbstractMethodCalledException("resolve");
|
||||
}
|
||||
|
||||
virtual QUrl resolve(const QUrl &relative, const QUrl &baseURI) const
|
||||
{
|
||||
if (cb_resolve_c3294_0.can_issue()) {
|
||||
return cb_resolve_c3294_0.issue<QAbstractUriResolver_Adaptor, QUrl, const QUrl &, const QUrl &>(&QAbstractUriResolver_Adaptor::cbs_resolve_c3294_0, relative, baseURI);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("resolve");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractUriResolver::childEvent(QChildEvent *)
|
||||
void cbs_childEvent_1701_0(QChildEvent *arg1)
|
||||
{
|
||||
QAbstractUriResolver::childEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void childEvent(QChildEvent *arg1)
|
||||
{
|
||||
if (cb_childEvent_1701_0.can_issue()) {
|
||||
cb_childEvent_1701_0.issue<QAbstractUriResolver_Adaptor, QChildEvent *>(&QAbstractUriResolver_Adaptor::cbs_childEvent_1701_0, arg1);
|
||||
} else {
|
||||
QAbstractUriResolver::childEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractUriResolver::customEvent(QEvent *)
|
||||
void cbs_customEvent_1217_0(QEvent *arg1)
|
||||
{
|
||||
QAbstractUriResolver::customEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void customEvent(QEvent *arg1)
|
||||
{
|
||||
if (cb_customEvent_1217_0.can_issue()) {
|
||||
cb_customEvent_1217_0.issue<QAbstractUriResolver_Adaptor, QEvent *>(&QAbstractUriResolver_Adaptor::cbs_customEvent_1217_0, arg1);
|
||||
} else {
|
||||
QAbstractUriResolver::customEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractUriResolver::disconnectNotify(const QMetaMethod &signal)
|
||||
void cbs_disconnectNotify_2394_0(const QMetaMethod &signal)
|
||||
{
|
||||
QAbstractUriResolver::disconnectNotify(signal);
|
||||
}
|
||||
|
||||
virtual void disconnectNotify(const QMetaMethod &signal)
|
||||
{
|
||||
if (cb_disconnectNotify_2394_0.can_issue()) {
|
||||
cb_disconnectNotify_2394_0.issue<QAbstractUriResolver_Adaptor, const QMetaMethod &>(&QAbstractUriResolver_Adaptor::cbs_disconnectNotify_2394_0, signal);
|
||||
} else {
|
||||
QAbstractUriResolver::disconnectNotify(signal);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractUriResolver::timerEvent(QTimerEvent *)
|
||||
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
|
||||
{
|
||||
QAbstractUriResolver::timerEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void timerEvent(QTimerEvent *arg1)
|
||||
{
|
||||
if (cb_timerEvent_1730_0.can_issue()) {
|
||||
cb_timerEvent_1730_0.issue<QAbstractUriResolver_Adaptor, QTimerEvent *>(&QAbstractUriResolver_Adaptor::cbs_timerEvent_1730_0, arg1);
|
||||
} else {
|
||||
QAbstractUriResolver::timerEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_event_1217_0;
|
||||
gsi::Callback cb_eventFilter_2411_0;
|
||||
gsi::Callback cb_resolve_c3294_0;
|
||||
gsi::Callback cb_childEvent_1701_0;
|
||||
gsi::Callback cb_customEvent_1217_0;
|
||||
gsi::Callback cb_disconnectNotify_2394_0;
|
||||
gsi::Callback cb_timerEvent_1730_0;
|
||||
};
|
||||
|
||||
QAbstractUriResolver_Adaptor::~QAbstractUriResolver_Adaptor() { }
|
||||
|
||||
// Constructor QAbstractUriResolver::QAbstractUriResolver(QObject *parent) (adaptor class)
|
||||
|
||||
static void _init_ctor_QAbstractUriResolver_Adaptor_1302 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("parent", true, "0");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
decl->set_return_new<QAbstractUriResolver_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAbstractUriResolver_Adaptor_1302 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args ? args.read<QObject * > (heap) : (QObject *)(0);
|
||||
ret.write<QAbstractUriResolver_Adaptor *> (new QAbstractUriResolver_Adaptor (arg1));
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractUriResolver::childEvent(QChildEvent *)
|
||||
|
||||
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QChildEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_childEvent_1701_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QChildEvent *arg1 = args.read<QChildEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractUriResolver_Adaptor *)cls)->cbs_childEvent_1701_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractUriResolver_Adaptor *)cls)->cb_childEvent_1701_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractUriResolver::customEvent(QEvent *)
|
||||
|
||||
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_customEvent_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractUriResolver_Adaptor *)cls)->cbs_customEvent_1217_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractUriResolver_Adaptor *)cls)->cb_customEvent_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// emitter void QAbstractUriResolver::destroyed(QObject *)
|
||||
|
||||
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args ? args.read<QObject * > (heap) : (QObject *)(0);
|
||||
((QAbstractUriResolver_Adaptor *)cls)->emitter_QAbstractUriResolver_destroyed_1302 (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractUriResolver::disconnectNotify(const QMetaMethod &signal)
|
||||
|
||||
static void _init_cbs_disconnectNotify_2394_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("signal");
|
||||
decl->add_arg<const QMetaMethod & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_disconnectNotify_2394_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QMetaMethod &arg1 = args.read<const QMetaMethod & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractUriResolver_Adaptor *)cls)->cbs_disconnectNotify_2394_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_disconnectNotify_2394_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractUriResolver_Adaptor *)cls)->cb_disconnectNotify_2394_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// bool QAbstractUriResolver::event(QEvent *)
|
||||
|
||||
static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_event_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
ret.write<bool > ((bool)((QAbstractUriResolver_Adaptor *)cls)->cbs_event_1217_0 (arg1));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractUriResolver_Adaptor *)cls)->cb_event_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// bool QAbstractUriResolver::eventFilter(QObject *, QEvent *)
|
||||
|
||||
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("arg2");
|
||||
decl->add_arg<QEvent * > (argspec_1);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_eventFilter_2411_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args.read<QObject * > (heap);
|
||||
QEvent *arg2 = args.read<QEvent * > (heap);
|
||||
ret.write<bool > ((bool)((QAbstractUriResolver_Adaptor *)cls)->cbs_eventFilter_2411_0 (arg1, arg2));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_eventFilter_2411_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractUriResolver_Adaptor *)cls)->cb_eventFilter_2411_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// exposed bool QAbstractUriResolver::isSignalConnected(const QMetaMethod &signal)
|
||||
|
||||
static void _init_fp_isSignalConnected_c2394 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("signal");
|
||||
decl->add_arg<const QMetaMethod & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_fp_isSignalConnected_c2394 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QMetaMethod &arg1 = args.read<const QMetaMethod & > (heap);
|
||||
ret.write<bool > ((bool)((QAbstractUriResolver_Adaptor *)cls)->fp_QAbstractUriResolver_isSignalConnected_c2394 (arg1));
|
||||
}
|
||||
|
||||
|
||||
// exposed int QAbstractUriResolver::receivers(const char *signal)
|
||||
|
||||
static void _init_fp_receivers_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_fp_receivers_c1731 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
ret.write<int > ((int)((QAbstractUriResolver_Adaptor *)cls)->fp_QAbstractUriResolver_receivers_c1731 (arg1));
|
||||
}
|
||||
|
||||
|
||||
// QUrl QAbstractUriResolver::resolve(const QUrl &relative, const QUrl &baseURI)
|
||||
|
||||
static void _init_cbs_resolve_c3294_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("relative");
|
||||
decl->add_arg<const QUrl & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("baseURI");
|
||||
decl->add_arg<const QUrl & > (argspec_1);
|
||||
decl->set_return<QUrl > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_resolve_c3294_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QUrl &arg1 = args.read<const QUrl & > (heap);
|
||||
const QUrl &arg2 = args.read<const QUrl & > (heap);
|
||||
ret.write<QUrl > ((QUrl)((QAbstractUriResolver_Adaptor *)cls)->cbs_resolve_c3294_0 (arg1, arg2));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_resolve_c3294_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractUriResolver_Adaptor *)cls)->cb_resolve_c3294_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// exposed QObject *QAbstractUriResolver::sender()
|
||||
|
||||
static void _init_fp_sender_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QObject * > ();
|
||||
}
|
||||
|
||||
static void _call_fp_sender_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QObject * > ((QObject *)((QAbstractUriResolver_Adaptor *)cls)->fp_QAbstractUriResolver_sender_c0 ());
|
||||
}
|
||||
|
||||
|
||||
// exposed int QAbstractUriResolver::senderSignalIndex()
|
||||
|
||||
static void _init_fp_senderSignalIndex_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_fp_senderSignalIndex_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAbstractUriResolver_Adaptor *)cls)->fp_QAbstractUriResolver_senderSignalIndex_c0 ());
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractUriResolver::timerEvent(QTimerEvent *)
|
||||
|
||||
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QTimerEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_timerEvent_1730_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QTimerEvent *arg1 = args.read<QTimerEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractUriResolver_Adaptor *)cls)->cbs_timerEvent_1730_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_timerEvent_1730_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractUriResolver_Adaptor *)cls)->cb_timerEvent_1730_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QAbstractUriResolver> &qtdecl_QAbstractUriResolver ();
|
||||
|
||||
static gsi::Methods methods_QAbstractUriResolver_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAbstractUriResolver::QAbstractUriResolver(QObject *parent)\nThis method creates an object of class QAbstractUriResolver.", &_init_ctor_QAbstractUriResolver_Adaptor_1302, &_call_ctor_QAbstractUriResolver_Adaptor_1302);
|
||||
methods += new qt_gsi::GenericMethod ("*childEvent", "@hide", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0);
|
||||
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QAbstractUriResolver::childEvent(QChildEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0, &_set_callback_cbs_childEvent_1701_0);
|
||||
methods += new qt_gsi::GenericMethod ("*customEvent", "@hide", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("*customEvent", "@brief Virtual method void QAbstractUriResolver::customEvent(QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0, &_set_callback_cbs_customEvent_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("emit_destroyed", "@brief Emitter for signal void QAbstractUriResolver::destroyed(QObject *)\nCall this method to emit this signal.", false, &_init_emitter_destroyed_1302, &_call_emitter_destroyed_1302);
|
||||
methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@hide", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0);
|
||||
methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@brief Virtual method void QAbstractUriResolver::disconnectNotify(const QMetaMethod &signal)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0, &_set_callback_cbs_disconnectNotify_2394_0);
|
||||
methods += new qt_gsi::GenericMethod ("event", "@hide", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("event", "@brief Virtual method bool QAbstractUriResolver::event(QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0, &_set_callback_cbs_event_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("eventFilter", "@hide", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0);
|
||||
methods += new qt_gsi::GenericMethod ("eventFilter", "@brief Virtual method bool QAbstractUriResolver::eventFilter(QObject *, QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0, &_set_callback_cbs_eventFilter_2411_0);
|
||||
methods += new qt_gsi::GenericMethod ("*isSignalConnected", "@brief Method bool QAbstractUriResolver::isSignalConnected(const QMetaMethod &signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_isSignalConnected_c2394, &_call_fp_isSignalConnected_c2394);
|
||||
methods += new qt_gsi::GenericMethod ("*receivers", "@brief Method int QAbstractUriResolver::receivers(const char *signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_receivers_c1731, &_call_fp_receivers_c1731);
|
||||
methods += new qt_gsi::GenericMethod ("resolve", "@hide", true, &_init_cbs_resolve_c3294_0, &_call_cbs_resolve_c3294_0);
|
||||
methods += new qt_gsi::GenericMethod ("resolve", "@brief Virtual method QUrl QAbstractUriResolver::resolve(const QUrl &relative, const QUrl &baseURI)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_resolve_c3294_0, &_call_cbs_resolve_c3294_0, &_set_callback_cbs_resolve_c3294_0);
|
||||
methods += new qt_gsi::GenericMethod ("*sender", "@brief Method QObject *QAbstractUriResolver::sender()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_sender_c0, &_call_fp_sender_c0);
|
||||
methods += new qt_gsi::GenericMethod ("*senderSignalIndex", "@brief Method int QAbstractUriResolver::senderSignalIndex()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_senderSignalIndex_c0, &_call_fp_senderSignalIndex_c0);
|
||||
methods += new qt_gsi::GenericMethod ("*timerEvent", "@hide", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0);
|
||||
methods += new qt_gsi::GenericMethod ("*timerEvent", "@brief Virtual method void QAbstractUriResolver::timerEvent(QTimerEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0, &_set_callback_cbs_timerEvent_1730_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAbstractUriResolver_Adaptor> decl_QAbstractUriResolver_Adaptor (qtdecl_QAbstractUriResolver (), "QAbstractUriResolver",
|
||||
methods_QAbstractUriResolver_Adaptor (),
|
||||
"@qt\n@brief Binding of QAbstractUriResolver");
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,185 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAbstractVideoBuffer.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAbstractVideoBuffer>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAbstractVideoBuffer
|
||||
|
||||
// QVariant QAbstractVideoBuffer::handle()
|
||||
|
||||
|
||||
static void _init_f_handle_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QVariant > ();
|
||||
}
|
||||
|
||||
static void _call_f_handle_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QVariant > ((QVariant)((QAbstractVideoBuffer *)cls)->handle ());
|
||||
}
|
||||
|
||||
|
||||
// QAbstractVideoBuffer::HandleType QAbstractVideoBuffer::handleType()
|
||||
|
||||
|
||||
static void _init_f_handleType_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<qt_gsi::Converter<QAbstractVideoBuffer::HandleType>::target_type > ();
|
||||
}
|
||||
|
||||
static void _call_f_handleType_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<qt_gsi::Converter<QAbstractVideoBuffer::HandleType>::target_type > ((qt_gsi::Converter<QAbstractVideoBuffer::HandleType>::target_type)qt_gsi::CppToQtAdaptor<QAbstractVideoBuffer::HandleType>(((QAbstractVideoBuffer *)cls)->handleType ()));
|
||||
}
|
||||
|
||||
|
||||
// QAbstractVideoBuffer::MapMode QAbstractVideoBuffer::mapMode()
|
||||
|
||||
|
||||
static void _init_f_mapMode_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<qt_gsi::Converter<QAbstractVideoBuffer::MapMode>::target_type > ();
|
||||
}
|
||||
|
||||
static void _call_f_mapMode_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<qt_gsi::Converter<QAbstractVideoBuffer::MapMode>::target_type > ((qt_gsi::Converter<QAbstractVideoBuffer::MapMode>::target_type)qt_gsi::CppToQtAdaptor<QAbstractVideoBuffer::MapMode>(((QAbstractVideoBuffer *)cls)->mapMode ()));
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractVideoBuffer::release()
|
||||
|
||||
|
||||
static void _init_f_release_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_release_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractVideoBuffer *)cls)->release ();
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractVideoBuffer::unmap()
|
||||
|
||||
|
||||
static void _init_f_unmap_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_unmap_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractVideoBuffer *)cls)->unmap ();
|
||||
}
|
||||
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAbstractVideoBuffer () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericMethod ("handle", "@brief Method QVariant QAbstractVideoBuffer::handle()\n", true, &_init_f_handle_c0, &_call_f_handle_c0);
|
||||
methods += new qt_gsi::GenericMethod ("handleType", "@brief Method QAbstractVideoBuffer::HandleType QAbstractVideoBuffer::handleType()\n", true, &_init_f_handleType_c0, &_call_f_handleType_c0);
|
||||
methods += new qt_gsi::GenericMethod ("mapMode", "@brief Method QAbstractVideoBuffer::MapMode QAbstractVideoBuffer::mapMode()\n", true, &_init_f_mapMode_c0, &_call_f_mapMode_c0);
|
||||
methods += new qt_gsi::GenericMethod ("release", "@brief Method void QAbstractVideoBuffer::release()\n", false, &_init_f_release_0, &_call_f_release_0);
|
||||
methods += new qt_gsi::GenericMethod ("unmap", "@brief Method void QAbstractVideoBuffer::unmap()\n", false, &_init_f_unmap_0, &_call_f_unmap_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAbstractVideoBuffer> decl_QAbstractVideoBuffer ("QAbstractVideoBuffer",
|
||||
methods_QAbstractVideoBuffer (),
|
||||
"@qt\n@brief Binding of QAbstractVideoBuffer");
|
||||
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAbstractVideoBuffer> &qtdecl_QAbstractVideoBuffer () { return decl_QAbstractVideoBuffer; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
// Implementation of the enum wrapper class for QAbstractVideoBuffer::HandleType
|
||||
namespace qt_gsi
|
||||
{
|
||||
|
||||
static gsi::Enum<QAbstractVideoBuffer::HandleType> decl_QAbstractVideoBuffer_HandleType_Enum ("QAbstractVideoBuffer_HandleType",
|
||||
gsi::enum_const ("NoHandle", QAbstractVideoBuffer::NoHandle, "@brief Enum constant QAbstractVideoBuffer::NoHandle") +
|
||||
gsi::enum_const ("GLTextureHandle", QAbstractVideoBuffer::GLTextureHandle, "@brief Enum constant QAbstractVideoBuffer::GLTextureHandle") +
|
||||
gsi::enum_const ("XvShmImageHandle", QAbstractVideoBuffer::XvShmImageHandle, "@brief Enum constant QAbstractVideoBuffer::XvShmImageHandle") +
|
||||
gsi::enum_const ("CoreImageHandle", QAbstractVideoBuffer::CoreImageHandle, "@brief Enum constant QAbstractVideoBuffer::CoreImageHandle") +
|
||||
gsi::enum_const ("QPixmapHandle", QAbstractVideoBuffer::QPixmapHandle, "@brief Enum constant QAbstractVideoBuffer::QPixmapHandle") +
|
||||
gsi::enum_const ("EGLImageHandle", QAbstractVideoBuffer::EGLImageHandle, "@brief Enum constant QAbstractVideoBuffer::EGLImageHandle") +
|
||||
gsi::enum_const ("UserHandle", QAbstractVideoBuffer::UserHandle, "@brief Enum constant QAbstractVideoBuffer::UserHandle"),
|
||||
"@qt\n@brief This class represents the QAbstractVideoBuffer::HandleType enum");
|
||||
|
||||
static gsi::QFlagsClass<QAbstractVideoBuffer::HandleType > decl_QAbstractVideoBuffer_HandleType_Enums ("QAbstractVideoBuffer_QFlags_HandleType",
|
||||
"@qt\n@brief This class represents the QFlags<QAbstractVideoBuffer::HandleType> flag set");
|
||||
|
||||
// Inject the declarations into the parent
|
||||
static gsi::ClassExt<QAbstractVideoBuffer> inject_QAbstractVideoBuffer_HandleType_Enum_in_parent (decl_QAbstractVideoBuffer_HandleType_Enum.defs ());
|
||||
static gsi::ClassExt<QAbstractVideoBuffer> decl_QAbstractVideoBuffer_HandleType_Enum_as_child (decl_QAbstractVideoBuffer_HandleType_Enum, "HandleType");
|
||||
static gsi::ClassExt<QAbstractVideoBuffer> decl_QAbstractVideoBuffer_HandleType_Enums_as_child (decl_QAbstractVideoBuffer_HandleType_Enums, "QFlags_HandleType");
|
||||
|
||||
}
|
||||
|
||||
|
||||
// Implementation of the enum wrapper class for QAbstractVideoBuffer::MapMode
|
||||
namespace qt_gsi
|
||||
{
|
||||
|
||||
static gsi::Enum<QAbstractVideoBuffer::MapMode> decl_QAbstractVideoBuffer_MapMode_Enum ("QAbstractVideoBuffer_MapMode",
|
||||
gsi::enum_const ("NotMapped", QAbstractVideoBuffer::NotMapped, "@brief Enum constant QAbstractVideoBuffer::NotMapped") +
|
||||
gsi::enum_const ("ReadOnly", QAbstractVideoBuffer::ReadOnly, "@brief Enum constant QAbstractVideoBuffer::ReadOnly") +
|
||||
gsi::enum_const ("WriteOnly", QAbstractVideoBuffer::WriteOnly, "@brief Enum constant QAbstractVideoBuffer::WriteOnly") +
|
||||
gsi::enum_const ("ReadWrite", QAbstractVideoBuffer::ReadWrite, "@brief Enum constant QAbstractVideoBuffer::ReadWrite"),
|
||||
"@qt\n@brief This class represents the QAbstractVideoBuffer::MapMode enum");
|
||||
|
||||
static gsi::QFlagsClass<QAbstractVideoBuffer::MapMode > decl_QAbstractVideoBuffer_MapMode_Enums ("QAbstractVideoBuffer_QFlags_MapMode",
|
||||
"@qt\n@brief This class represents the QFlags<QAbstractVideoBuffer::MapMode> flag set");
|
||||
|
||||
// Inject the declarations into the parent
|
||||
static gsi::ClassExt<QAbstractVideoBuffer> inject_QAbstractVideoBuffer_MapMode_Enum_in_parent (decl_QAbstractVideoBuffer_MapMode_Enum.defs ());
|
||||
static gsi::ClassExt<QAbstractVideoBuffer> decl_QAbstractVideoBuffer_MapMode_Enum_as_child (decl_QAbstractVideoBuffer_MapMode_Enum, "MapMode");
|
||||
static gsi::ClassExt<QAbstractVideoBuffer> decl_QAbstractVideoBuffer_MapMode_Enums_as_child (decl_QAbstractVideoBuffer_MapMode_Enums, "QFlags_MapMode");
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,666 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAbstractVideoFilter.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAbstractVideoFilter>
|
||||
#include <QChildEvent>
|
||||
#include <QEvent>
|
||||
#include <QMetaMethod>
|
||||
#include <QObject>
|
||||
#include <QThread>
|
||||
#include <QTimerEvent>
|
||||
#include <QVideoFilterRunnable>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAbstractVideoFilter
|
||||
|
||||
// get static meta object
|
||||
|
||||
static void _init_smo (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return<const QMetaObject &> ();
|
||||
}
|
||||
|
||||
static void _call_smo (const qt_gsi::GenericStaticMethod *, gsi::SerialArgs &, gsi::SerialArgs &ret)
|
||||
{
|
||||
ret.write<const QMetaObject &> (QAbstractVideoFilter::staticMetaObject);
|
||||
}
|
||||
|
||||
|
||||
// QVideoFilterRunnable *QAbstractVideoFilter::createFilterRunnable()
|
||||
|
||||
|
||||
static void _init_f_createFilterRunnable_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QVideoFilterRunnable * > ();
|
||||
}
|
||||
|
||||
static void _call_f_createFilterRunnable_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QVideoFilterRunnable * > ((QVideoFilterRunnable *)((QAbstractVideoFilter *)cls)->createFilterRunnable ());
|
||||
}
|
||||
|
||||
|
||||
// bool QAbstractVideoFilter::isActive()
|
||||
|
||||
|
||||
static void _init_f_isActive_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_isActive_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<bool > ((bool)((QAbstractVideoFilter *)cls)->isActive ());
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractVideoFilter::setActive(bool v)
|
||||
|
||||
|
||||
static void _init_f_setActive_864 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("v");
|
||||
decl->add_arg<bool > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setActive_864 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
bool arg1 = args.read<bool > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractVideoFilter *)cls)->setActive (arg1);
|
||||
}
|
||||
|
||||
|
||||
// static QString QAbstractVideoFilter::tr(const char *s, const char *c, int n)
|
||||
|
||||
|
||||
static void _init_f_tr_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("s");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("c", true, "__null");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_tr_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(__null);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QAbstractVideoFilter::tr (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
// static QString QAbstractVideoFilter::trUtf8(const char *s, const char *c, int n)
|
||||
|
||||
|
||||
static void _init_f_trUtf8_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("s");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("c", true, "__null");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_trUtf8_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(__null);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QAbstractVideoFilter::trUtf8 (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAbstractVideoFilter () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("staticMetaObject", "@brief Obtains the static MetaObject for this class.", &_init_smo, &_call_smo);
|
||||
methods += new qt_gsi::GenericMethod ("createFilterRunnable", "@brief Method QVideoFilterRunnable *QAbstractVideoFilter::createFilterRunnable()\n", false, &_init_f_createFilterRunnable_0, &_call_f_createFilterRunnable_0);
|
||||
methods += new qt_gsi::GenericMethod ("isActive?|:active", "@brief Method bool QAbstractVideoFilter::isActive()\n", true, &_init_f_isActive_c0, &_call_f_isActive_c0);
|
||||
methods += new qt_gsi::GenericMethod ("setActive|active=", "@brief Method void QAbstractVideoFilter::setActive(bool v)\n", false, &_init_f_setActive_864, &_call_f_setActive_864);
|
||||
methods += gsi::qt_signal ("activeChanged()", "activeChanged", "@brief Signal declaration for QAbstractVideoFilter::activeChanged()\nYou can bind a procedure to this signal.");
|
||||
methods += gsi::qt_signal<QObject * > ("destroyed(QObject *)", "destroyed", gsi::arg("arg1"), "@brief Signal declaration for QAbstractVideoFilter::destroyed(QObject *)\nYou can bind a procedure to this signal.");
|
||||
methods += new qt_gsi::GenericStaticMethod ("tr", "@brief Static method QString QAbstractVideoFilter::tr(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_tr_4013, &_call_f_tr_4013);
|
||||
methods += new qt_gsi::GenericStaticMethod ("trUtf8", "@brief Static method QString QAbstractVideoFilter::trUtf8(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_trUtf8_4013, &_call_f_trUtf8_4013);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QObject> &qtdecl_QObject ();
|
||||
|
||||
qt_gsi::QtNativeClass<QAbstractVideoFilter> decl_QAbstractVideoFilter (qtdecl_QObject (), "QAbstractVideoFilter_Native",
|
||||
methods_QAbstractVideoFilter (),
|
||||
"@hide\n@alias QAbstractVideoFilter");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAbstractVideoFilter> &qtdecl_QAbstractVideoFilter () { return decl_QAbstractVideoFilter; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QAbstractVideoFilter_Adaptor : public QAbstractVideoFilter, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QAbstractVideoFilter_Adaptor();
|
||||
|
||||
// [adaptor ctor] QAbstractVideoFilter::QAbstractVideoFilter(QObject *parent)
|
||||
QAbstractVideoFilter_Adaptor() : QAbstractVideoFilter()
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor ctor] QAbstractVideoFilter::QAbstractVideoFilter(QObject *parent)
|
||||
QAbstractVideoFilter_Adaptor(QObject *parent) : QAbstractVideoFilter(parent)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [expose] bool QAbstractVideoFilter::isSignalConnected(const QMetaMethod &signal)
|
||||
bool fp_QAbstractVideoFilter_isSignalConnected_c2394 (const QMetaMethod &signal) const {
|
||||
return QAbstractVideoFilter::isSignalConnected(signal);
|
||||
}
|
||||
|
||||
// [expose] int QAbstractVideoFilter::receivers(const char *signal)
|
||||
int fp_QAbstractVideoFilter_receivers_c1731 (const char *signal) const {
|
||||
return QAbstractVideoFilter::receivers(signal);
|
||||
}
|
||||
|
||||
// [expose] QObject *QAbstractVideoFilter::sender()
|
||||
QObject * fp_QAbstractVideoFilter_sender_c0 () const {
|
||||
return QAbstractVideoFilter::sender();
|
||||
}
|
||||
|
||||
// [expose] int QAbstractVideoFilter::senderSignalIndex()
|
||||
int fp_QAbstractVideoFilter_senderSignalIndex_c0 () const {
|
||||
return QAbstractVideoFilter::senderSignalIndex();
|
||||
}
|
||||
|
||||
// [emitter impl] void QAbstractVideoFilter::activeChanged()
|
||||
void emitter_QAbstractVideoFilter_activeChanged_0()
|
||||
{
|
||||
emit QAbstractVideoFilter::activeChanged();
|
||||
}
|
||||
|
||||
// [adaptor impl] QVideoFilterRunnable *QAbstractVideoFilter::createFilterRunnable()
|
||||
QVideoFilterRunnable * cbs_createFilterRunnable_0_0()
|
||||
{
|
||||
throw qt_gsi::AbstractMethodCalledException("createFilterRunnable");
|
||||
}
|
||||
|
||||
virtual QVideoFilterRunnable * createFilterRunnable()
|
||||
{
|
||||
if (cb_createFilterRunnable_0_0.can_issue()) {
|
||||
return cb_createFilterRunnable_0_0.issue<QAbstractVideoFilter_Adaptor, QVideoFilterRunnable *>(&QAbstractVideoFilter_Adaptor::cbs_createFilterRunnable_0_0);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("createFilterRunnable");
|
||||
}
|
||||
}
|
||||
|
||||
// [emitter impl] void QAbstractVideoFilter::destroyed(QObject *)
|
||||
void emitter_QAbstractVideoFilter_destroyed_1302(QObject *arg1)
|
||||
{
|
||||
emit QAbstractVideoFilter::destroyed(arg1);
|
||||
}
|
||||
|
||||
// [adaptor impl] bool QAbstractVideoFilter::event(QEvent *)
|
||||
bool cbs_event_1217_0(QEvent *arg1)
|
||||
{
|
||||
return QAbstractVideoFilter::event(arg1);
|
||||
}
|
||||
|
||||
virtual bool event(QEvent *arg1)
|
||||
{
|
||||
if (cb_event_1217_0.can_issue()) {
|
||||
return cb_event_1217_0.issue<QAbstractVideoFilter_Adaptor, bool, QEvent *>(&QAbstractVideoFilter_Adaptor::cbs_event_1217_0, arg1);
|
||||
} else {
|
||||
return QAbstractVideoFilter::event(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] bool QAbstractVideoFilter::eventFilter(QObject *, QEvent *)
|
||||
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
|
||||
{
|
||||
return QAbstractVideoFilter::eventFilter(arg1, arg2);
|
||||
}
|
||||
|
||||
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
|
||||
{
|
||||
if (cb_eventFilter_2411_0.can_issue()) {
|
||||
return cb_eventFilter_2411_0.issue<QAbstractVideoFilter_Adaptor, bool, QObject *, QEvent *>(&QAbstractVideoFilter_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
|
||||
} else {
|
||||
return QAbstractVideoFilter::eventFilter(arg1, arg2);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractVideoFilter::childEvent(QChildEvent *)
|
||||
void cbs_childEvent_1701_0(QChildEvent *arg1)
|
||||
{
|
||||
QAbstractVideoFilter::childEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void childEvent(QChildEvent *arg1)
|
||||
{
|
||||
if (cb_childEvent_1701_0.can_issue()) {
|
||||
cb_childEvent_1701_0.issue<QAbstractVideoFilter_Adaptor, QChildEvent *>(&QAbstractVideoFilter_Adaptor::cbs_childEvent_1701_0, arg1);
|
||||
} else {
|
||||
QAbstractVideoFilter::childEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractVideoFilter::customEvent(QEvent *)
|
||||
void cbs_customEvent_1217_0(QEvent *arg1)
|
||||
{
|
||||
QAbstractVideoFilter::customEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void customEvent(QEvent *arg1)
|
||||
{
|
||||
if (cb_customEvent_1217_0.can_issue()) {
|
||||
cb_customEvent_1217_0.issue<QAbstractVideoFilter_Adaptor, QEvent *>(&QAbstractVideoFilter_Adaptor::cbs_customEvent_1217_0, arg1);
|
||||
} else {
|
||||
QAbstractVideoFilter::customEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractVideoFilter::disconnectNotify(const QMetaMethod &signal)
|
||||
void cbs_disconnectNotify_2394_0(const QMetaMethod &signal)
|
||||
{
|
||||
QAbstractVideoFilter::disconnectNotify(signal);
|
||||
}
|
||||
|
||||
virtual void disconnectNotify(const QMetaMethod &signal)
|
||||
{
|
||||
if (cb_disconnectNotify_2394_0.can_issue()) {
|
||||
cb_disconnectNotify_2394_0.issue<QAbstractVideoFilter_Adaptor, const QMetaMethod &>(&QAbstractVideoFilter_Adaptor::cbs_disconnectNotify_2394_0, signal);
|
||||
} else {
|
||||
QAbstractVideoFilter::disconnectNotify(signal);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractVideoFilter::timerEvent(QTimerEvent *)
|
||||
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
|
||||
{
|
||||
QAbstractVideoFilter::timerEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void timerEvent(QTimerEvent *arg1)
|
||||
{
|
||||
if (cb_timerEvent_1730_0.can_issue()) {
|
||||
cb_timerEvent_1730_0.issue<QAbstractVideoFilter_Adaptor, QTimerEvent *>(&QAbstractVideoFilter_Adaptor::cbs_timerEvent_1730_0, arg1);
|
||||
} else {
|
||||
QAbstractVideoFilter::timerEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_createFilterRunnable_0_0;
|
||||
gsi::Callback cb_event_1217_0;
|
||||
gsi::Callback cb_eventFilter_2411_0;
|
||||
gsi::Callback cb_childEvent_1701_0;
|
||||
gsi::Callback cb_customEvent_1217_0;
|
||||
gsi::Callback cb_disconnectNotify_2394_0;
|
||||
gsi::Callback cb_timerEvent_1730_0;
|
||||
};
|
||||
|
||||
QAbstractVideoFilter_Adaptor::~QAbstractVideoFilter_Adaptor() { }
|
||||
|
||||
// Constructor QAbstractVideoFilter::QAbstractVideoFilter(QObject *parent) (adaptor class)
|
||||
|
||||
static void _init_ctor_QAbstractVideoFilter_Adaptor_1302 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("parent", true, "0");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
decl->set_return_new<QAbstractVideoFilter_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAbstractVideoFilter_Adaptor_1302 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args ? args.read<QObject * > (heap) : (QObject *)(0);
|
||||
ret.write<QAbstractVideoFilter_Adaptor *> (new QAbstractVideoFilter_Adaptor (arg1));
|
||||
}
|
||||
|
||||
|
||||
// emitter void QAbstractVideoFilter::activeChanged()
|
||||
|
||||
static void _init_emitter_activeChanged_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_activeChanged_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
((QAbstractVideoFilter_Adaptor *)cls)->emitter_QAbstractVideoFilter_activeChanged_0 ();
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractVideoFilter::childEvent(QChildEvent *)
|
||||
|
||||
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QChildEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_childEvent_1701_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QChildEvent *arg1 = args.read<QChildEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractVideoFilter_Adaptor *)cls)->cbs_childEvent_1701_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractVideoFilter_Adaptor *)cls)->cb_childEvent_1701_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// QVideoFilterRunnable *QAbstractVideoFilter::createFilterRunnable()
|
||||
|
||||
static void _init_cbs_createFilterRunnable_0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QVideoFilterRunnable * > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_createFilterRunnable_0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QVideoFilterRunnable * > ((QVideoFilterRunnable *)((QAbstractVideoFilter_Adaptor *)cls)->cbs_createFilterRunnable_0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_createFilterRunnable_0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractVideoFilter_Adaptor *)cls)->cb_createFilterRunnable_0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractVideoFilter::customEvent(QEvent *)
|
||||
|
||||
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_customEvent_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractVideoFilter_Adaptor *)cls)->cbs_customEvent_1217_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractVideoFilter_Adaptor *)cls)->cb_customEvent_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// emitter void QAbstractVideoFilter::destroyed(QObject *)
|
||||
|
||||
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args ? args.read<QObject * > (heap) : (QObject *)(0);
|
||||
((QAbstractVideoFilter_Adaptor *)cls)->emitter_QAbstractVideoFilter_destroyed_1302 (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractVideoFilter::disconnectNotify(const QMetaMethod &signal)
|
||||
|
||||
static void _init_cbs_disconnectNotify_2394_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("signal");
|
||||
decl->add_arg<const QMetaMethod & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_disconnectNotify_2394_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QMetaMethod &arg1 = args.read<const QMetaMethod & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractVideoFilter_Adaptor *)cls)->cbs_disconnectNotify_2394_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_disconnectNotify_2394_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractVideoFilter_Adaptor *)cls)->cb_disconnectNotify_2394_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// bool QAbstractVideoFilter::event(QEvent *)
|
||||
|
||||
static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_event_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
ret.write<bool > ((bool)((QAbstractVideoFilter_Adaptor *)cls)->cbs_event_1217_0 (arg1));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractVideoFilter_Adaptor *)cls)->cb_event_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// bool QAbstractVideoFilter::eventFilter(QObject *, QEvent *)
|
||||
|
||||
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("arg2");
|
||||
decl->add_arg<QEvent * > (argspec_1);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_eventFilter_2411_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args.read<QObject * > (heap);
|
||||
QEvent *arg2 = args.read<QEvent * > (heap);
|
||||
ret.write<bool > ((bool)((QAbstractVideoFilter_Adaptor *)cls)->cbs_eventFilter_2411_0 (arg1, arg2));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_eventFilter_2411_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractVideoFilter_Adaptor *)cls)->cb_eventFilter_2411_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// exposed bool QAbstractVideoFilter::isSignalConnected(const QMetaMethod &signal)
|
||||
|
||||
static void _init_fp_isSignalConnected_c2394 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("signal");
|
||||
decl->add_arg<const QMetaMethod & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_fp_isSignalConnected_c2394 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QMetaMethod &arg1 = args.read<const QMetaMethod & > (heap);
|
||||
ret.write<bool > ((bool)((QAbstractVideoFilter_Adaptor *)cls)->fp_QAbstractVideoFilter_isSignalConnected_c2394 (arg1));
|
||||
}
|
||||
|
||||
|
||||
// exposed int QAbstractVideoFilter::receivers(const char *signal)
|
||||
|
||||
static void _init_fp_receivers_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_fp_receivers_c1731 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
ret.write<int > ((int)((QAbstractVideoFilter_Adaptor *)cls)->fp_QAbstractVideoFilter_receivers_c1731 (arg1));
|
||||
}
|
||||
|
||||
|
||||
// exposed QObject *QAbstractVideoFilter::sender()
|
||||
|
||||
static void _init_fp_sender_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QObject * > ();
|
||||
}
|
||||
|
||||
static void _call_fp_sender_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QObject * > ((QObject *)((QAbstractVideoFilter_Adaptor *)cls)->fp_QAbstractVideoFilter_sender_c0 ());
|
||||
}
|
||||
|
||||
|
||||
// exposed int QAbstractVideoFilter::senderSignalIndex()
|
||||
|
||||
static void _init_fp_senderSignalIndex_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_fp_senderSignalIndex_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAbstractVideoFilter_Adaptor *)cls)->fp_QAbstractVideoFilter_senderSignalIndex_c0 ());
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractVideoFilter::timerEvent(QTimerEvent *)
|
||||
|
||||
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QTimerEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_timerEvent_1730_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QTimerEvent *arg1 = args.read<QTimerEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractVideoFilter_Adaptor *)cls)->cbs_timerEvent_1730_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_timerEvent_1730_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractVideoFilter_Adaptor *)cls)->cb_timerEvent_1730_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QAbstractVideoFilter> &qtdecl_QAbstractVideoFilter ();
|
||||
|
||||
static gsi::Methods methods_QAbstractVideoFilter_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAbstractVideoFilter::QAbstractVideoFilter(QObject *parent)\nThis method creates an object of class QAbstractVideoFilter.", &_init_ctor_QAbstractVideoFilter_Adaptor_1302, &_call_ctor_QAbstractVideoFilter_Adaptor_1302);
|
||||
methods += new qt_gsi::GenericMethod ("emit_activeChanged", "@brief Emitter for signal void QAbstractVideoFilter::activeChanged()\nCall this method to emit this signal.", false, &_init_emitter_activeChanged_0, &_call_emitter_activeChanged_0);
|
||||
methods += new qt_gsi::GenericMethod ("*childEvent", "@hide", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0);
|
||||
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QAbstractVideoFilter::childEvent(QChildEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0, &_set_callback_cbs_childEvent_1701_0);
|
||||
methods += new qt_gsi::GenericMethod ("createFilterRunnable", "@hide", false, &_init_cbs_createFilterRunnable_0_0, &_call_cbs_createFilterRunnable_0_0);
|
||||
methods += new qt_gsi::GenericMethod ("createFilterRunnable", "@brief Virtual method QVideoFilterRunnable *QAbstractVideoFilter::createFilterRunnable()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_createFilterRunnable_0_0, &_call_cbs_createFilterRunnable_0_0, &_set_callback_cbs_createFilterRunnable_0_0);
|
||||
methods += new qt_gsi::GenericMethod ("*customEvent", "@hide", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("*customEvent", "@brief Virtual method void QAbstractVideoFilter::customEvent(QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0, &_set_callback_cbs_customEvent_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("emit_destroyed", "@brief Emitter for signal void QAbstractVideoFilter::destroyed(QObject *)\nCall this method to emit this signal.", false, &_init_emitter_destroyed_1302, &_call_emitter_destroyed_1302);
|
||||
methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@hide", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0);
|
||||
methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@brief Virtual method void QAbstractVideoFilter::disconnectNotify(const QMetaMethod &signal)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0, &_set_callback_cbs_disconnectNotify_2394_0);
|
||||
methods += new qt_gsi::GenericMethod ("event", "@hide", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("event", "@brief Virtual method bool QAbstractVideoFilter::event(QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0, &_set_callback_cbs_event_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("eventFilter", "@hide", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0);
|
||||
methods += new qt_gsi::GenericMethod ("eventFilter", "@brief Virtual method bool QAbstractVideoFilter::eventFilter(QObject *, QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0, &_set_callback_cbs_eventFilter_2411_0);
|
||||
methods += new qt_gsi::GenericMethod ("*isSignalConnected", "@brief Method bool QAbstractVideoFilter::isSignalConnected(const QMetaMethod &signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_isSignalConnected_c2394, &_call_fp_isSignalConnected_c2394);
|
||||
methods += new qt_gsi::GenericMethod ("*receivers", "@brief Method int QAbstractVideoFilter::receivers(const char *signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_receivers_c1731, &_call_fp_receivers_c1731);
|
||||
methods += new qt_gsi::GenericMethod ("*sender", "@brief Method QObject *QAbstractVideoFilter::sender()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_sender_c0, &_call_fp_sender_c0);
|
||||
methods += new qt_gsi::GenericMethod ("*senderSignalIndex", "@brief Method int QAbstractVideoFilter::senderSignalIndex()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_senderSignalIndex_c0, &_call_fp_senderSignalIndex_c0);
|
||||
methods += new qt_gsi::GenericMethod ("*timerEvent", "@hide", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0);
|
||||
methods += new qt_gsi::GenericMethod ("*timerEvent", "@brief Virtual method void QAbstractVideoFilter::timerEvent(QTimerEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0, &_set_callback_cbs_timerEvent_1730_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAbstractVideoFilter_Adaptor> decl_QAbstractVideoFilter_Adaptor (qtdecl_QAbstractVideoFilter (), "QAbstractVideoFilter",
|
||||
methods_QAbstractVideoFilter_Adaptor (),
|
||||
"@qt\n@brief Binding of QAbstractVideoFilter");
|
||||
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,401 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAbstractXmlNodeModel.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAbstractXmlNodeModel>
|
||||
#include <QAbstractXmlReceiver>
|
||||
#include <QSourceLocation>
|
||||
#include <QUrl>
|
||||
#include <QXmlName>
|
||||
#include <QXmlNodeModelIndex>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// 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<const QXmlNodeModelIndex & > (argspec_0);
|
||||
decl->set_return<QUrl > ();
|
||||
}
|
||||
|
||||
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<const QXmlNodeModelIndex & > (heap);
|
||||
ret.write<QUrl > ((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<const QXmlNodeModelIndex & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("ni2");
|
||||
decl->add_arg<const QXmlNodeModelIndex & > (argspec_1);
|
||||
decl->set_return<qt_gsi::Converter<QXmlNodeModelIndex::DocumentOrder>::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<const QXmlNodeModelIndex & > (heap);
|
||||
const QXmlNodeModelIndex &arg2 = args.read<const QXmlNodeModelIndex & > (heap);
|
||||
ret.write<qt_gsi::Converter<QXmlNodeModelIndex::DocumentOrder>::target_type > ((qt_gsi::Converter<QXmlNodeModelIndex::DocumentOrder>::target_type)qt_gsi::CppToQtAdaptor<QXmlNodeModelIndex::DocumentOrder>(((QAbstractXmlNodeModel *)cls)->compareOrder (arg1, arg2)));
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractXmlNodeModel::copyNodeTo(const QXmlNodeModelIndex &node, QAbstractXmlReceiver *const receiver, const QFlags<QAbstractXmlNodeModel::NodeCopySetting> &)
|
||||
|
||||
|
||||
static void _init_f_copyNodeTo_c11827 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("node");
|
||||
decl->add_arg<const QXmlNodeModelIndex & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("receiver");
|
||||
decl->add_arg<QAbstractXmlReceiver *const > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("arg3");
|
||||
decl->add_arg<const QFlags<QAbstractXmlNodeModel::NodeCopySetting> & > (argspec_2);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
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<const QXmlNodeModelIndex & > (heap);
|
||||
QAbstractXmlReceiver *const arg2 = args.read<QAbstractXmlReceiver *const > (heap);
|
||||
const QFlags<QAbstractXmlNodeModel::NodeCopySetting> &arg3 = args.read<const QFlags<QAbstractXmlNodeModel::NodeCopySetting> & > (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<const QXmlNodeModelIndex & > (argspec_0);
|
||||
decl->set_return<QUrl > ();
|
||||
}
|
||||
|
||||
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<const QXmlNodeModelIndex & > (heap);
|
||||
ret.write<QUrl > ((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<const QXmlName & > (argspec_0);
|
||||
decl->set_return<QXmlNodeModelIndex > ();
|
||||
}
|
||||
|
||||
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<const QXmlName & > (heap);
|
||||
ret.write<QXmlNodeModelIndex > ((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<const QXmlNodeModelIndex & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("ni2");
|
||||
decl->add_arg<const QXmlNodeModelIndex & > (argspec_1);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
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<const QXmlNodeModelIndex & > (heap);
|
||||
const QXmlNodeModelIndex &arg2 = args.read<const QXmlNodeModelIndex & > (heap);
|
||||
ret.write<bool > ((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<const QXmlNodeModelIndex & > (argspec_0);
|
||||
decl->set_return<qt_gsi::Converter<QXmlNodeModelIndex::NodeKind>::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<const QXmlNodeModelIndex & > (heap);
|
||||
ret.write<qt_gsi::Converter<QXmlNodeModelIndex::NodeKind>::target_type > ((qt_gsi::Converter<QXmlNodeModelIndex::NodeKind>::target_type)qt_gsi::CppToQtAdaptor<QXmlNodeModelIndex::NodeKind>(((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<const QXmlNodeModelIndex & > (argspec_0);
|
||||
decl->set_return<QXmlName > ();
|
||||
}
|
||||
|
||||
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<const QXmlNodeModelIndex & > (heap);
|
||||
ret.write<QXmlName > ((QXmlName)((QAbstractXmlNodeModel *)cls)->name (arg1));
|
||||
}
|
||||
|
||||
|
||||
// QVector<QXmlName> QAbstractXmlNodeModel::namespaceBindings(const QXmlNodeModelIndex &n)
|
||||
|
||||
|
||||
static void _init_f_namespaceBindings_c3090 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("n");
|
||||
decl->add_arg<const QXmlNodeModelIndex & > (argspec_0);
|
||||
decl->set_return<QVector<QXmlName> > ();
|
||||
}
|
||||
|
||||
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<const QXmlNodeModelIndex & > (heap);
|
||||
ret.write<QVector<QXmlName> > ((QVector<QXmlName>)((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<const QXmlNodeModelIndex & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("prefix");
|
||||
decl->add_arg<const qint16 > (argspec_1);
|
||||
decl->set_return<qint16 > ();
|
||||
}
|
||||
|
||||
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<const QXmlNodeModelIndex & > (heap);
|
||||
const qint16 arg2 = args.read<const qint16 > (heap);
|
||||
ret.write<qint16 > ((qint16)((QAbstractXmlNodeModel *)cls)->namespaceForPrefix (arg1, arg2));
|
||||
}
|
||||
|
||||
|
||||
// QVector<QXmlNodeModelIndex> QAbstractXmlNodeModel::nodesByIdref(const QXmlName &NCName)
|
||||
|
||||
|
||||
static void _init_f_nodesByIdref_c2084 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("NCName");
|
||||
decl->add_arg<const QXmlName & > (argspec_0);
|
||||
decl->set_return<QVector<QXmlNodeModelIndex> > ();
|
||||
}
|
||||
|
||||
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<const QXmlName & > (heap);
|
||||
ret.write<QVector<QXmlNodeModelIndex> > ((QVector<QXmlNodeModelIndex>)((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<const QXmlNodeModelIndex & > (argspec_0);
|
||||
decl->set_return<QXmlNodeModelIndex > ();
|
||||
}
|
||||
|
||||
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<const QXmlNodeModelIndex & > (heap);
|
||||
ret.write<QXmlNodeModelIndex > ((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<const QXmlNodeModelIndex & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("receiver");
|
||||
decl->add_arg<QAbstractXmlReceiver *const > (argspec_1);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
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<const QXmlNodeModelIndex & > (heap);
|
||||
QAbstractXmlReceiver *const arg2 = args.read<QAbstractXmlReceiver *const > (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<const QXmlNodeModelIndex & > (argspec_0);
|
||||
decl->set_return<QSourceLocation > ();
|
||||
}
|
||||
|
||||
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<const QXmlNodeModelIndex & > (heap);
|
||||
ret.write<QSourceLocation > ((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<const QXmlNodeModelIndex & > (argspec_0);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
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<const QXmlNodeModelIndex & > (heap);
|
||||
ret.write<QString > ((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<QAbstractXmlNodeModel::NodeCopySetting> &)\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<QXmlName> 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<QXmlNodeModelIndex> 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<QAbstractXmlNodeModel> decl_QAbstractXmlNodeModel ("QAbstractXmlNodeModel",
|
||||
methods_QAbstractXmlNodeModel (),
|
||||
"@qt\n@brief Binding of QAbstractXmlNodeModel");
|
||||
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAbstractXmlNodeModel> &qtdecl_QAbstractXmlNodeModel () { return decl_QAbstractXmlNodeModel; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
// Implementation of the enum wrapper class for QAbstractXmlNodeModel::NodeCopySetting
|
||||
namespace qt_gsi
|
||||
{
|
||||
|
||||
static gsi::Enum<QAbstractXmlNodeModel::NodeCopySetting> 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<QAbstractXmlNodeModel::NodeCopySetting > decl_QAbstractXmlNodeModel_NodeCopySetting_Enums ("QAbstractXmlNodeModel_QFlags_NodeCopySetting",
|
||||
"@qt\n@brief This class represents the QFlags<QAbstractXmlNodeModel::NodeCopySetting> flag set");
|
||||
|
||||
// Inject the declarations into the parent
|
||||
static gsi::ClassExt<QAbstractXmlNodeModel> inject_QAbstractXmlNodeModel_NodeCopySetting_Enum_in_parent (decl_QAbstractXmlNodeModel_NodeCopySetting_Enum.defs ());
|
||||
static gsi::ClassExt<QAbstractXmlNodeModel> decl_QAbstractXmlNodeModel_NodeCopySetting_Enum_as_child (decl_QAbstractXmlNodeModel_NodeCopySetting_Enum, "NodeCopySetting");
|
||||
static gsi::ClassExt<QAbstractXmlNodeModel> decl_QAbstractXmlNodeModel_NodeCopySetting_Enums_as_child (decl_QAbstractXmlNodeModel_NodeCopySetting_Enums, "QFlags_NodeCopySetting");
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,903 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAbstractXmlReceiver.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAbstractXmlReceiver>
|
||||
#include <QXmlName>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAbstractXmlReceiver
|
||||
|
||||
// void QAbstractXmlReceiver::atomicValue(const QVariant &value)
|
||||
|
||||
|
||||
static void _init_f_atomicValue_2119 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("value");
|
||||
decl->add_arg<const QVariant & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_atomicValue_2119 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QVariant &arg1 = args.read<const QVariant & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractXmlReceiver *)cls)->atomicValue (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractXmlReceiver::attribute(const QXmlName &name, const QStringRef &value)
|
||||
|
||||
|
||||
static void _init_f_attribute_4286 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("name");
|
||||
decl->add_arg<const QXmlName & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("value");
|
||||
decl->add_arg<const QStringRef & > (argspec_1);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_attribute_4286 (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<const QXmlName & > (heap);
|
||||
const QStringRef &arg2 = args.read<const QStringRef & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractXmlReceiver *)cls)->attribute (arg1, arg2);
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractXmlReceiver::characters(const QStringRef &value)
|
||||
|
||||
|
||||
static void _init_f_characters_2310 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("value");
|
||||
decl->add_arg<const QStringRef & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_characters_2310 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QStringRef &arg1 = args.read<const QStringRef & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractXmlReceiver *)cls)->characters (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractXmlReceiver::comment(const QString &value)
|
||||
|
||||
|
||||
static void _init_f_comment_2025 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("value");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_comment_2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractXmlReceiver *)cls)->comment (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractXmlReceiver::endDocument()
|
||||
|
||||
|
||||
static void _init_f_endDocument_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_endDocument_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractXmlReceiver *)cls)->endDocument ();
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractXmlReceiver::endElement()
|
||||
|
||||
|
||||
static void _init_f_endElement_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_endElement_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractXmlReceiver *)cls)->endElement ();
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractXmlReceiver::endOfSequence()
|
||||
|
||||
|
||||
static void _init_f_endOfSequence_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_endOfSequence_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractXmlReceiver *)cls)->endOfSequence ();
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractXmlReceiver::namespaceBinding(const QXmlName &name)
|
||||
|
||||
|
||||
static void _init_f_namespaceBinding_2084 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("name");
|
||||
decl->add_arg<const QXmlName & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_namespaceBinding_2084 (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<const QXmlName & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractXmlReceiver *)cls)->namespaceBinding (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractXmlReceiver::processingInstruction(const QXmlName &target, const QString &value)
|
||||
|
||||
|
||||
static void _init_f_processingInstruction_4001 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("target");
|
||||
decl->add_arg<const QXmlName & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("value");
|
||||
decl->add_arg<const QString & > (argspec_1);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_processingInstruction_4001 (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<const QXmlName & > (heap);
|
||||
const QString &arg2 = args.read<const QString & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractXmlReceiver *)cls)->processingInstruction (arg1, arg2);
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractXmlReceiver::startDocument()
|
||||
|
||||
|
||||
static void _init_f_startDocument_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_startDocument_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractXmlReceiver *)cls)->startDocument ();
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractXmlReceiver::startElement(const QXmlName &name)
|
||||
|
||||
|
||||
static void _init_f_startElement_2084 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("name");
|
||||
decl->add_arg<const QXmlName & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_startElement_2084 (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<const QXmlName & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractXmlReceiver *)cls)->startElement (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractXmlReceiver::startOfSequence()
|
||||
|
||||
|
||||
static void _init_f_startOfSequence_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_startOfSequence_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractXmlReceiver *)cls)->startOfSequence ();
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractXmlReceiver::whitespaceOnly(const QStringRef &value)
|
||||
|
||||
|
||||
static void _init_f_whitespaceOnly_2310 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("value");
|
||||
decl->add_arg<const QStringRef & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_whitespaceOnly_2310 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QStringRef &arg1 = args.read<const QStringRef & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractXmlReceiver *)cls)->whitespaceOnly (arg1);
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAbstractXmlReceiver () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericMethod ("atomicValue", "@brief Method void QAbstractXmlReceiver::atomicValue(const QVariant &value)\n", false, &_init_f_atomicValue_2119, &_call_f_atomicValue_2119);
|
||||
methods += new qt_gsi::GenericMethod ("attribute", "@brief Method void QAbstractXmlReceiver::attribute(const QXmlName &name, const QStringRef &value)\n", false, &_init_f_attribute_4286, &_call_f_attribute_4286);
|
||||
methods += new qt_gsi::GenericMethod ("characters", "@brief Method void QAbstractXmlReceiver::characters(const QStringRef &value)\n", false, &_init_f_characters_2310, &_call_f_characters_2310);
|
||||
methods += new qt_gsi::GenericMethod ("comment", "@brief Method void QAbstractXmlReceiver::comment(const QString &value)\n", false, &_init_f_comment_2025, &_call_f_comment_2025);
|
||||
methods += new qt_gsi::GenericMethod ("endDocument", "@brief Method void QAbstractXmlReceiver::endDocument()\n", false, &_init_f_endDocument_0, &_call_f_endDocument_0);
|
||||
methods += new qt_gsi::GenericMethod ("endElement", "@brief Method void QAbstractXmlReceiver::endElement()\n", false, &_init_f_endElement_0, &_call_f_endElement_0);
|
||||
methods += new qt_gsi::GenericMethod ("endOfSequence", "@brief Method void QAbstractXmlReceiver::endOfSequence()\n", false, &_init_f_endOfSequence_0, &_call_f_endOfSequence_0);
|
||||
methods += new qt_gsi::GenericMethod ("namespaceBinding", "@brief Method void QAbstractXmlReceiver::namespaceBinding(const QXmlName &name)\n", false, &_init_f_namespaceBinding_2084, &_call_f_namespaceBinding_2084);
|
||||
methods += new qt_gsi::GenericMethod ("processingInstruction", "@brief Method void QAbstractXmlReceiver::processingInstruction(const QXmlName &target, const QString &value)\n", false, &_init_f_processingInstruction_4001, &_call_f_processingInstruction_4001);
|
||||
methods += new qt_gsi::GenericMethod ("startDocument", "@brief Method void QAbstractXmlReceiver::startDocument()\n", false, &_init_f_startDocument_0, &_call_f_startDocument_0);
|
||||
methods += new qt_gsi::GenericMethod ("startElement", "@brief Method void QAbstractXmlReceiver::startElement(const QXmlName &name)\n", false, &_init_f_startElement_2084, &_call_f_startElement_2084);
|
||||
methods += new qt_gsi::GenericMethod ("startOfSequence", "@brief Method void QAbstractXmlReceiver::startOfSequence()\n", false, &_init_f_startOfSequence_0, &_call_f_startOfSequence_0);
|
||||
methods += new qt_gsi::GenericMethod ("whitespaceOnly", "@brief Method void QAbstractXmlReceiver::whitespaceOnly(const QStringRef &value)\n", false, &_init_f_whitespaceOnly_2310, &_call_f_whitespaceOnly_2310);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAbstractXmlReceiver> decl_QAbstractXmlReceiver ("QAbstractXmlReceiver_Native",
|
||||
methods_QAbstractXmlReceiver (),
|
||||
"@hide\n@alias QAbstractXmlReceiver");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAbstractXmlReceiver> &qtdecl_QAbstractXmlReceiver () { return decl_QAbstractXmlReceiver; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QAbstractXmlReceiver_Adaptor : public QAbstractXmlReceiver, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QAbstractXmlReceiver_Adaptor();
|
||||
|
||||
// [adaptor ctor] QAbstractXmlReceiver::QAbstractXmlReceiver()
|
||||
QAbstractXmlReceiver_Adaptor() : QAbstractXmlReceiver()
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractXmlReceiver::atomicValue(const QVariant &value)
|
||||
void cbs_atomicValue_2119_0(const QVariant &value)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (value);
|
||||
throw qt_gsi::AbstractMethodCalledException("atomicValue");
|
||||
}
|
||||
|
||||
virtual void atomicValue(const QVariant &value)
|
||||
{
|
||||
if (cb_atomicValue_2119_0.can_issue()) {
|
||||
cb_atomicValue_2119_0.issue<QAbstractXmlReceiver_Adaptor, const QVariant &>(&QAbstractXmlReceiver_Adaptor::cbs_atomicValue_2119_0, value);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("atomicValue");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractXmlReceiver::attribute(const QXmlName &name, const QStringRef &value)
|
||||
void cbs_attribute_4286_0(const QXmlName &name, const QStringRef &value)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (name);
|
||||
__SUPPRESS_UNUSED_WARNING (value);
|
||||
throw qt_gsi::AbstractMethodCalledException("attribute");
|
||||
}
|
||||
|
||||
virtual void attribute(const QXmlName &name, const QStringRef &value)
|
||||
{
|
||||
if (cb_attribute_4286_0.can_issue()) {
|
||||
cb_attribute_4286_0.issue<QAbstractXmlReceiver_Adaptor, const QXmlName &, const QStringRef &>(&QAbstractXmlReceiver_Adaptor::cbs_attribute_4286_0, name, value);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("attribute");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractXmlReceiver::characters(const QStringRef &value)
|
||||
void cbs_characters_2310_0(const QStringRef &value)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (value);
|
||||
throw qt_gsi::AbstractMethodCalledException("characters");
|
||||
}
|
||||
|
||||
virtual void characters(const QStringRef &value)
|
||||
{
|
||||
if (cb_characters_2310_0.can_issue()) {
|
||||
cb_characters_2310_0.issue<QAbstractXmlReceiver_Adaptor, const QStringRef &>(&QAbstractXmlReceiver_Adaptor::cbs_characters_2310_0, value);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("characters");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractXmlReceiver::comment(const QString &value)
|
||||
void cbs_comment_2025_0(const QString &value)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (value);
|
||||
throw qt_gsi::AbstractMethodCalledException("comment");
|
||||
}
|
||||
|
||||
virtual void comment(const QString &value)
|
||||
{
|
||||
if (cb_comment_2025_0.can_issue()) {
|
||||
cb_comment_2025_0.issue<QAbstractXmlReceiver_Adaptor, const QString &>(&QAbstractXmlReceiver_Adaptor::cbs_comment_2025_0, value);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("comment");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractXmlReceiver::endDocument()
|
||||
void cbs_endDocument_0_0()
|
||||
{
|
||||
throw qt_gsi::AbstractMethodCalledException("endDocument");
|
||||
}
|
||||
|
||||
virtual void endDocument()
|
||||
{
|
||||
if (cb_endDocument_0_0.can_issue()) {
|
||||
cb_endDocument_0_0.issue<QAbstractXmlReceiver_Adaptor>(&QAbstractXmlReceiver_Adaptor::cbs_endDocument_0_0);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("endDocument");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractXmlReceiver::endElement()
|
||||
void cbs_endElement_0_0()
|
||||
{
|
||||
throw qt_gsi::AbstractMethodCalledException("endElement");
|
||||
}
|
||||
|
||||
virtual void endElement()
|
||||
{
|
||||
if (cb_endElement_0_0.can_issue()) {
|
||||
cb_endElement_0_0.issue<QAbstractXmlReceiver_Adaptor>(&QAbstractXmlReceiver_Adaptor::cbs_endElement_0_0);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("endElement");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractXmlReceiver::endOfSequence()
|
||||
void cbs_endOfSequence_0_0()
|
||||
{
|
||||
throw qt_gsi::AbstractMethodCalledException("endOfSequence");
|
||||
}
|
||||
|
||||
virtual void endOfSequence()
|
||||
{
|
||||
if (cb_endOfSequence_0_0.can_issue()) {
|
||||
cb_endOfSequence_0_0.issue<QAbstractXmlReceiver_Adaptor>(&QAbstractXmlReceiver_Adaptor::cbs_endOfSequence_0_0);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("endOfSequence");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractXmlReceiver::namespaceBinding(const QXmlName &name)
|
||||
void cbs_namespaceBinding_2084_0(const QXmlName &name)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (name);
|
||||
throw qt_gsi::AbstractMethodCalledException("namespaceBinding");
|
||||
}
|
||||
|
||||
virtual void namespaceBinding(const QXmlName &name)
|
||||
{
|
||||
if (cb_namespaceBinding_2084_0.can_issue()) {
|
||||
cb_namespaceBinding_2084_0.issue<QAbstractXmlReceiver_Adaptor, const QXmlName &>(&QAbstractXmlReceiver_Adaptor::cbs_namespaceBinding_2084_0, name);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("namespaceBinding");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractXmlReceiver::processingInstruction(const QXmlName &target, const QString &value)
|
||||
void cbs_processingInstruction_4001_0(const QXmlName &target, const QString &value)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (target);
|
||||
__SUPPRESS_UNUSED_WARNING (value);
|
||||
throw qt_gsi::AbstractMethodCalledException("processingInstruction");
|
||||
}
|
||||
|
||||
virtual void processingInstruction(const QXmlName &target, const QString &value)
|
||||
{
|
||||
if (cb_processingInstruction_4001_0.can_issue()) {
|
||||
cb_processingInstruction_4001_0.issue<QAbstractXmlReceiver_Adaptor, const QXmlName &, const QString &>(&QAbstractXmlReceiver_Adaptor::cbs_processingInstruction_4001_0, target, value);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("processingInstruction");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractXmlReceiver::startDocument()
|
||||
void cbs_startDocument_0_0()
|
||||
{
|
||||
throw qt_gsi::AbstractMethodCalledException("startDocument");
|
||||
}
|
||||
|
||||
virtual void startDocument()
|
||||
{
|
||||
if (cb_startDocument_0_0.can_issue()) {
|
||||
cb_startDocument_0_0.issue<QAbstractXmlReceiver_Adaptor>(&QAbstractXmlReceiver_Adaptor::cbs_startDocument_0_0);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("startDocument");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractXmlReceiver::startElement(const QXmlName &name)
|
||||
void cbs_startElement_2084_0(const QXmlName &name)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (name);
|
||||
throw qt_gsi::AbstractMethodCalledException("startElement");
|
||||
}
|
||||
|
||||
virtual void startElement(const QXmlName &name)
|
||||
{
|
||||
if (cb_startElement_2084_0.can_issue()) {
|
||||
cb_startElement_2084_0.issue<QAbstractXmlReceiver_Adaptor, const QXmlName &>(&QAbstractXmlReceiver_Adaptor::cbs_startElement_2084_0, name);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("startElement");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractXmlReceiver::startOfSequence()
|
||||
void cbs_startOfSequence_0_0()
|
||||
{
|
||||
throw qt_gsi::AbstractMethodCalledException("startOfSequence");
|
||||
}
|
||||
|
||||
virtual void startOfSequence()
|
||||
{
|
||||
if (cb_startOfSequence_0_0.can_issue()) {
|
||||
cb_startOfSequence_0_0.issue<QAbstractXmlReceiver_Adaptor>(&QAbstractXmlReceiver_Adaptor::cbs_startOfSequence_0_0);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("startOfSequence");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAbstractXmlReceiver::whitespaceOnly(const QStringRef &value)
|
||||
void cbs_whitespaceOnly_2310_0(const QStringRef &value)
|
||||
{
|
||||
QAbstractXmlReceiver::whitespaceOnly(value);
|
||||
}
|
||||
|
||||
virtual void whitespaceOnly(const QStringRef &value)
|
||||
{
|
||||
if (cb_whitespaceOnly_2310_0.can_issue()) {
|
||||
cb_whitespaceOnly_2310_0.issue<QAbstractXmlReceiver_Adaptor, const QStringRef &>(&QAbstractXmlReceiver_Adaptor::cbs_whitespaceOnly_2310_0, value);
|
||||
} else {
|
||||
QAbstractXmlReceiver::whitespaceOnly(value);
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_atomicValue_2119_0;
|
||||
gsi::Callback cb_attribute_4286_0;
|
||||
gsi::Callback cb_characters_2310_0;
|
||||
gsi::Callback cb_comment_2025_0;
|
||||
gsi::Callback cb_endDocument_0_0;
|
||||
gsi::Callback cb_endElement_0_0;
|
||||
gsi::Callback cb_endOfSequence_0_0;
|
||||
gsi::Callback cb_namespaceBinding_2084_0;
|
||||
gsi::Callback cb_processingInstruction_4001_0;
|
||||
gsi::Callback cb_startDocument_0_0;
|
||||
gsi::Callback cb_startElement_2084_0;
|
||||
gsi::Callback cb_startOfSequence_0_0;
|
||||
gsi::Callback cb_whitespaceOnly_2310_0;
|
||||
};
|
||||
|
||||
QAbstractXmlReceiver_Adaptor::~QAbstractXmlReceiver_Adaptor() { }
|
||||
|
||||
// Constructor QAbstractXmlReceiver::QAbstractXmlReceiver() (adaptor class)
|
||||
|
||||
static void _init_ctor_QAbstractXmlReceiver_Adaptor_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return_new<QAbstractXmlReceiver_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAbstractXmlReceiver_Adaptor_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAbstractXmlReceiver_Adaptor *> (new QAbstractXmlReceiver_Adaptor ());
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractXmlReceiver::atomicValue(const QVariant &value)
|
||||
|
||||
static void _init_cbs_atomicValue_2119_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("value");
|
||||
decl->add_arg<const QVariant & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_atomicValue_2119_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QVariant &arg1 = args.read<const QVariant & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractXmlReceiver_Adaptor *)cls)->cbs_atomicValue_2119_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_atomicValue_2119_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractXmlReceiver_Adaptor *)cls)->cb_atomicValue_2119_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractXmlReceiver::attribute(const QXmlName &name, const QStringRef &value)
|
||||
|
||||
static void _init_cbs_attribute_4286_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("name");
|
||||
decl->add_arg<const QXmlName & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("value");
|
||||
decl->add_arg<const QStringRef & > (argspec_1);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_attribute_4286_0 (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<const QXmlName & > (heap);
|
||||
const QStringRef &arg2 = args.read<const QStringRef & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractXmlReceiver_Adaptor *)cls)->cbs_attribute_4286_0 (arg1, arg2);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_attribute_4286_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractXmlReceiver_Adaptor *)cls)->cb_attribute_4286_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractXmlReceiver::characters(const QStringRef &value)
|
||||
|
||||
static void _init_cbs_characters_2310_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("value");
|
||||
decl->add_arg<const QStringRef & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_characters_2310_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QStringRef &arg1 = args.read<const QStringRef & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractXmlReceiver_Adaptor *)cls)->cbs_characters_2310_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_characters_2310_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractXmlReceiver_Adaptor *)cls)->cb_characters_2310_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractXmlReceiver::comment(const QString &value)
|
||||
|
||||
static void _init_cbs_comment_2025_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("value");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_comment_2025_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractXmlReceiver_Adaptor *)cls)->cbs_comment_2025_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_comment_2025_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractXmlReceiver_Adaptor *)cls)->cb_comment_2025_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractXmlReceiver::endDocument()
|
||||
|
||||
static void _init_cbs_endDocument_0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_endDocument_0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractXmlReceiver_Adaptor *)cls)->cbs_endDocument_0_0 ();
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_endDocument_0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractXmlReceiver_Adaptor *)cls)->cb_endDocument_0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractXmlReceiver::endElement()
|
||||
|
||||
static void _init_cbs_endElement_0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_endElement_0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractXmlReceiver_Adaptor *)cls)->cbs_endElement_0_0 ();
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_endElement_0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractXmlReceiver_Adaptor *)cls)->cb_endElement_0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractXmlReceiver::endOfSequence()
|
||||
|
||||
static void _init_cbs_endOfSequence_0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_endOfSequence_0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractXmlReceiver_Adaptor *)cls)->cbs_endOfSequence_0_0 ();
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_endOfSequence_0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractXmlReceiver_Adaptor *)cls)->cb_endOfSequence_0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractXmlReceiver::namespaceBinding(const QXmlName &name)
|
||||
|
||||
static void _init_cbs_namespaceBinding_2084_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("name");
|
||||
decl->add_arg<const QXmlName & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_namespaceBinding_2084_0 (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<const QXmlName & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractXmlReceiver_Adaptor *)cls)->cbs_namespaceBinding_2084_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_namespaceBinding_2084_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractXmlReceiver_Adaptor *)cls)->cb_namespaceBinding_2084_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractXmlReceiver::processingInstruction(const QXmlName &target, const QString &value)
|
||||
|
||||
static void _init_cbs_processingInstruction_4001_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("target");
|
||||
decl->add_arg<const QXmlName & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("value");
|
||||
decl->add_arg<const QString & > (argspec_1);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_processingInstruction_4001_0 (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<const QXmlName & > (heap);
|
||||
const QString &arg2 = args.read<const QString & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractXmlReceiver_Adaptor *)cls)->cbs_processingInstruction_4001_0 (arg1, arg2);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_processingInstruction_4001_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractXmlReceiver_Adaptor *)cls)->cb_processingInstruction_4001_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractXmlReceiver::startDocument()
|
||||
|
||||
static void _init_cbs_startDocument_0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_startDocument_0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractXmlReceiver_Adaptor *)cls)->cbs_startDocument_0_0 ();
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_startDocument_0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractXmlReceiver_Adaptor *)cls)->cb_startDocument_0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractXmlReceiver::startElement(const QXmlName &name)
|
||||
|
||||
static void _init_cbs_startElement_2084_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("name");
|
||||
decl->add_arg<const QXmlName & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_startElement_2084_0 (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<const QXmlName & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractXmlReceiver_Adaptor *)cls)->cbs_startElement_2084_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_startElement_2084_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractXmlReceiver_Adaptor *)cls)->cb_startElement_2084_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractXmlReceiver::startOfSequence()
|
||||
|
||||
static void _init_cbs_startOfSequence_0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_startOfSequence_0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractXmlReceiver_Adaptor *)cls)->cbs_startOfSequence_0_0 ();
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_startOfSequence_0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractXmlReceiver_Adaptor *)cls)->cb_startOfSequence_0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAbstractXmlReceiver::whitespaceOnly(const QStringRef &value)
|
||||
|
||||
static void _init_cbs_whitespaceOnly_2310_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("value");
|
||||
decl->add_arg<const QStringRef & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_whitespaceOnly_2310_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QStringRef &arg1 = args.read<const QStringRef & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAbstractXmlReceiver_Adaptor *)cls)->cbs_whitespaceOnly_2310_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_whitespaceOnly_2310_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAbstractXmlReceiver_Adaptor *)cls)->cb_whitespaceOnly_2310_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QAbstractXmlReceiver> &qtdecl_QAbstractXmlReceiver ();
|
||||
|
||||
static gsi::Methods methods_QAbstractXmlReceiver_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAbstractXmlReceiver::QAbstractXmlReceiver()\nThis method creates an object of class QAbstractXmlReceiver.", &_init_ctor_QAbstractXmlReceiver_Adaptor_0, &_call_ctor_QAbstractXmlReceiver_Adaptor_0);
|
||||
methods += new qt_gsi::GenericMethod ("atomicValue", "@hide", false, &_init_cbs_atomicValue_2119_0, &_call_cbs_atomicValue_2119_0);
|
||||
methods += new qt_gsi::GenericMethod ("atomicValue", "@brief Virtual method void QAbstractXmlReceiver::atomicValue(const QVariant &value)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_atomicValue_2119_0, &_call_cbs_atomicValue_2119_0, &_set_callback_cbs_atomicValue_2119_0);
|
||||
methods += new qt_gsi::GenericMethod ("attribute", "@hide", false, &_init_cbs_attribute_4286_0, &_call_cbs_attribute_4286_0);
|
||||
methods += new qt_gsi::GenericMethod ("attribute", "@brief Virtual method void QAbstractXmlReceiver::attribute(const QXmlName &name, const QStringRef &value)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_attribute_4286_0, &_call_cbs_attribute_4286_0, &_set_callback_cbs_attribute_4286_0);
|
||||
methods += new qt_gsi::GenericMethod ("characters", "@hide", false, &_init_cbs_characters_2310_0, &_call_cbs_characters_2310_0);
|
||||
methods += new qt_gsi::GenericMethod ("characters", "@brief Virtual method void QAbstractXmlReceiver::characters(const QStringRef &value)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_characters_2310_0, &_call_cbs_characters_2310_0, &_set_callback_cbs_characters_2310_0);
|
||||
methods += new qt_gsi::GenericMethod ("comment", "@hide", false, &_init_cbs_comment_2025_0, &_call_cbs_comment_2025_0);
|
||||
methods += new qt_gsi::GenericMethod ("comment", "@brief Virtual method void QAbstractXmlReceiver::comment(const QString &value)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_comment_2025_0, &_call_cbs_comment_2025_0, &_set_callback_cbs_comment_2025_0);
|
||||
methods += new qt_gsi::GenericMethod ("endDocument", "@hide", false, &_init_cbs_endDocument_0_0, &_call_cbs_endDocument_0_0);
|
||||
methods += new qt_gsi::GenericMethod ("endDocument", "@brief Virtual method void QAbstractXmlReceiver::endDocument()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_endDocument_0_0, &_call_cbs_endDocument_0_0, &_set_callback_cbs_endDocument_0_0);
|
||||
methods += new qt_gsi::GenericMethod ("endElement", "@hide", false, &_init_cbs_endElement_0_0, &_call_cbs_endElement_0_0);
|
||||
methods += new qt_gsi::GenericMethod ("endElement", "@brief Virtual method void QAbstractXmlReceiver::endElement()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_endElement_0_0, &_call_cbs_endElement_0_0, &_set_callback_cbs_endElement_0_0);
|
||||
methods += new qt_gsi::GenericMethod ("endOfSequence", "@hide", false, &_init_cbs_endOfSequence_0_0, &_call_cbs_endOfSequence_0_0);
|
||||
methods += new qt_gsi::GenericMethod ("endOfSequence", "@brief Virtual method void QAbstractXmlReceiver::endOfSequence()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_endOfSequence_0_0, &_call_cbs_endOfSequence_0_0, &_set_callback_cbs_endOfSequence_0_0);
|
||||
methods += new qt_gsi::GenericMethod ("namespaceBinding", "@hide", false, &_init_cbs_namespaceBinding_2084_0, &_call_cbs_namespaceBinding_2084_0);
|
||||
methods += new qt_gsi::GenericMethod ("namespaceBinding", "@brief Virtual method void QAbstractXmlReceiver::namespaceBinding(const QXmlName &name)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_namespaceBinding_2084_0, &_call_cbs_namespaceBinding_2084_0, &_set_callback_cbs_namespaceBinding_2084_0);
|
||||
methods += new qt_gsi::GenericMethod ("processingInstruction", "@hide", false, &_init_cbs_processingInstruction_4001_0, &_call_cbs_processingInstruction_4001_0);
|
||||
methods += new qt_gsi::GenericMethod ("processingInstruction", "@brief Virtual method void QAbstractXmlReceiver::processingInstruction(const QXmlName &target, const QString &value)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_processingInstruction_4001_0, &_call_cbs_processingInstruction_4001_0, &_set_callback_cbs_processingInstruction_4001_0);
|
||||
methods += new qt_gsi::GenericMethod ("startDocument", "@hide", false, &_init_cbs_startDocument_0_0, &_call_cbs_startDocument_0_0);
|
||||
methods += new qt_gsi::GenericMethod ("startDocument", "@brief Virtual method void QAbstractXmlReceiver::startDocument()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_startDocument_0_0, &_call_cbs_startDocument_0_0, &_set_callback_cbs_startDocument_0_0);
|
||||
methods += new qt_gsi::GenericMethod ("startElement", "@hide", false, &_init_cbs_startElement_2084_0, &_call_cbs_startElement_2084_0);
|
||||
methods += new qt_gsi::GenericMethod ("startElement", "@brief Virtual method void QAbstractXmlReceiver::startElement(const QXmlName &name)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_startElement_2084_0, &_call_cbs_startElement_2084_0, &_set_callback_cbs_startElement_2084_0);
|
||||
methods += new qt_gsi::GenericMethod ("startOfSequence", "@hide", false, &_init_cbs_startOfSequence_0_0, &_call_cbs_startOfSequence_0_0);
|
||||
methods += new qt_gsi::GenericMethod ("startOfSequence", "@brief Virtual method void QAbstractXmlReceiver::startOfSequence()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_startOfSequence_0_0, &_call_cbs_startOfSequence_0_0, &_set_callback_cbs_startOfSequence_0_0);
|
||||
methods += new qt_gsi::GenericMethod ("whitespaceOnly", "@hide", false, &_init_cbs_whitespaceOnly_2310_0, &_call_cbs_whitespaceOnly_2310_0);
|
||||
methods += new qt_gsi::GenericMethod ("whitespaceOnly", "@brief Virtual method void QAbstractXmlReceiver::whitespaceOnly(const QStringRef &value)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_whitespaceOnly_2310_0, &_call_cbs_whitespaceOnly_2310_0, &_set_callback_cbs_whitespaceOnly_2310_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAbstractXmlReceiver_Adaptor> decl_QAbstractXmlReceiver_Adaptor (qtdecl_QAbstractXmlReceiver (), "QAbstractXmlReceiver",
|
||||
methods_QAbstractXmlReceiver_Adaptor (),
|
||||
"@qt\n@brief Binding of QAbstractXmlReceiver");
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,600 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAccessible.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAccessible>
|
||||
#include <QAccessibleEvent>
|
||||
#include <QAccessibleInterface>
|
||||
#include <QObject>
|
||||
#include <QTextCursor>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAccessible
|
||||
|
||||
// static QAccessibleInterface *QAccessible::accessibleInterface(unsigned int uniqueId)
|
||||
|
||||
|
||||
static void _init_f_accessibleInterface_1772 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("uniqueId");
|
||||
decl->add_arg<unsigned int > (argspec_0);
|
||||
decl->set_return<QAccessibleInterface * > ();
|
||||
}
|
||||
|
||||
static void _call_f_accessibleInterface_1772 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
unsigned int arg1 = args.read<unsigned int > (heap);
|
||||
ret.write<QAccessibleInterface * > ((QAccessibleInterface *)QAccessible::accessibleInterface (arg1));
|
||||
}
|
||||
|
||||
|
||||
// static void QAccessible::cleanup()
|
||||
|
||||
|
||||
static void _init_f_cleanup_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_cleanup_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
QAccessible::cleanup ();
|
||||
}
|
||||
|
||||
|
||||
// static void QAccessible::deleteAccessibleInterface(unsigned int uniqueId)
|
||||
|
||||
|
||||
static void _init_f_deleteAccessibleInterface_1772 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("uniqueId");
|
||||
decl->add_arg<unsigned int > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_deleteAccessibleInterface_1772 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
unsigned int arg1 = args.read<unsigned int > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
QAccessible::deleteAccessibleInterface (arg1);
|
||||
}
|
||||
|
||||
|
||||
// static void QAccessible::installActivationObserver(QAccessible::ActivationObserver *)
|
||||
|
||||
|
||||
static void _init_f_installActivationObserver_3707 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QAccessible::ActivationObserver * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_installActivationObserver_3707 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAccessible::ActivationObserver *arg1 = args.read<QAccessible::ActivationObserver * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
QAccessible::installActivationObserver (arg1);
|
||||
}
|
||||
|
||||
|
||||
// static bool QAccessible::isActive()
|
||||
|
||||
|
||||
static void _init_f_isActive_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_isActive_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<bool > ((bool)QAccessible::isActive ());
|
||||
}
|
||||
|
||||
|
||||
// static QPair<int, int> QAccessible::qAccessibleTextBoundaryHelper(const QTextCursor &cursor, QAccessible::TextBoundaryType boundaryType)
|
||||
|
||||
|
||||
static void _init_f_qAccessibleTextBoundaryHelper_5659 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("cursor");
|
||||
decl->add_arg<const QTextCursor & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("boundaryType");
|
||||
decl->add_arg<const qt_gsi::Converter<QAccessible::TextBoundaryType>::target_type & > (argspec_1);
|
||||
decl->set_return<QPair<int, int> > ();
|
||||
}
|
||||
|
||||
static void _call_f_qAccessibleTextBoundaryHelper_5659 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QTextCursor &arg1 = args.read<const QTextCursor & > (heap);
|
||||
const qt_gsi::Converter<QAccessible::TextBoundaryType>::target_type & arg2 = args.read<const qt_gsi::Converter<QAccessible::TextBoundaryType>::target_type & > (heap);
|
||||
ret.write<QPair<int, int> > ((QPair<int, int>)QAccessible::qAccessibleTextBoundaryHelper (arg1, qt_gsi::QtToCppAdaptor<QAccessible::TextBoundaryType>(arg2).cref()));
|
||||
}
|
||||
|
||||
|
||||
// static QAccessibleInterface *QAccessible::queryAccessibleInterface(QObject *)
|
||||
|
||||
|
||||
static void _init_f_queryAccessibleInterface_1302 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
decl->set_return<QAccessibleInterface * > ();
|
||||
}
|
||||
|
||||
static void _call_f_queryAccessibleInterface_1302 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args.read<QObject * > (heap);
|
||||
ret.write<QAccessibleInterface * > ((QAccessibleInterface *)QAccessible::queryAccessibleInterface (arg1));
|
||||
}
|
||||
|
||||
|
||||
// static unsigned int QAccessible::registerAccessibleInterface(QAccessibleInterface *iface)
|
||||
|
||||
|
||||
static void _init_f_registerAccessibleInterface_2622 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("iface");
|
||||
decl->add_arg<QAccessibleInterface * > (argspec_0);
|
||||
decl->set_return<unsigned int > ();
|
||||
}
|
||||
|
||||
static void _call_f_registerAccessibleInterface_2622 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAccessibleInterface *arg1 = args.read<QAccessibleInterface * > (heap);
|
||||
ret.write<unsigned int > ((unsigned int)QAccessible::registerAccessibleInterface (arg1));
|
||||
}
|
||||
|
||||
|
||||
// static void QAccessible::removeActivationObserver(QAccessible::ActivationObserver *)
|
||||
|
||||
|
||||
static void _init_f_removeActivationObserver_3707 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QAccessible::ActivationObserver * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_removeActivationObserver_3707 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAccessible::ActivationObserver *arg1 = args.read<QAccessible::ActivationObserver * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
QAccessible::removeActivationObserver (arg1);
|
||||
}
|
||||
|
||||
|
||||
// static void QAccessible::setActive(bool active)
|
||||
|
||||
|
||||
static void _init_f_setActive_864 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("active");
|
||||
decl->add_arg<bool > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setActive_864 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
bool arg1 = args.read<bool > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
QAccessible::setActive (arg1);
|
||||
}
|
||||
|
||||
|
||||
// static void QAccessible::setRootObject(QObject *object)
|
||||
|
||||
|
||||
static void _init_f_setRootObject_1302 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("object");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setRootObject_1302 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args.read<QObject * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
QAccessible::setRootObject (arg1);
|
||||
}
|
||||
|
||||
|
||||
// static unsigned int QAccessible::uniqueId(QAccessibleInterface *iface)
|
||||
|
||||
|
||||
static void _init_f_uniqueId_2622 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("iface");
|
||||
decl->add_arg<QAccessibleInterface * > (argspec_0);
|
||||
decl->set_return<unsigned int > ();
|
||||
}
|
||||
|
||||
static void _call_f_uniqueId_2622 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAccessibleInterface *arg1 = args.read<QAccessibleInterface * > (heap);
|
||||
ret.write<unsigned int > ((unsigned int)QAccessible::uniqueId (arg1));
|
||||
}
|
||||
|
||||
|
||||
// static void QAccessible::updateAccessibility(QAccessibleEvent *event)
|
||||
|
||||
|
||||
static void _init_f_updateAccessibility_2223 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("event");
|
||||
decl->add_arg<QAccessibleEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_updateAccessibility_2223 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAccessibleEvent *arg1 = args.read<QAccessibleEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
QAccessible::updateAccessibility (arg1);
|
||||
}
|
||||
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAccessible () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("accessibleInterface", "@brief Static method QAccessibleInterface *QAccessible::accessibleInterface(unsigned int uniqueId)\nThis method is static and can be called without an instance.", &_init_f_accessibleInterface_1772, &_call_f_accessibleInterface_1772);
|
||||
methods += new qt_gsi::GenericStaticMethod ("cleanup", "@brief Static method void QAccessible::cleanup()\nThis method is static and can be called without an instance.", &_init_f_cleanup_0, &_call_f_cleanup_0);
|
||||
methods += new qt_gsi::GenericStaticMethod ("deleteAccessibleInterface", "@brief Static method void QAccessible::deleteAccessibleInterface(unsigned int uniqueId)\nThis method is static and can be called without an instance.", &_init_f_deleteAccessibleInterface_1772, &_call_f_deleteAccessibleInterface_1772);
|
||||
methods += new qt_gsi::GenericStaticMethod ("installActivationObserver", "@brief Static method void QAccessible::installActivationObserver(QAccessible::ActivationObserver *)\nThis method is static and can be called without an instance.", &_init_f_installActivationObserver_3707, &_call_f_installActivationObserver_3707);
|
||||
methods += new qt_gsi::GenericStaticMethod ("isActive?|:active", "@brief Static method bool QAccessible::isActive()\nThis method is static and can be called without an instance.", &_init_f_isActive_0, &_call_f_isActive_0);
|
||||
methods += new qt_gsi::GenericStaticMethod ("qAccessibleTextBoundaryHelper", "@brief Static method QPair<int, int> QAccessible::qAccessibleTextBoundaryHelper(const QTextCursor &cursor, QAccessible::TextBoundaryType boundaryType)\nThis method is static and can be called without an instance.", &_init_f_qAccessibleTextBoundaryHelper_5659, &_call_f_qAccessibleTextBoundaryHelper_5659);
|
||||
methods += new qt_gsi::GenericStaticMethod ("queryAccessibleInterface", "@brief Static method QAccessibleInterface *QAccessible::queryAccessibleInterface(QObject *)\nThis method is static and can be called without an instance.", &_init_f_queryAccessibleInterface_1302, &_call_f_queryAccessibleInterface_1302);
|
||||
methods += new qt_gsi::GenericStaticMethod ("registerAccessibleInterface", "@brief Static method unsigned int QAccessible::registerAccessibleInterface(QAccessibleInterface *iface)\nThis method is static and can be called without an instance.", &_init_f_registerAccessibleInterface_2622, &_call_f_registerAccessibleInterface_2622);
|
||||
methods += new qt_gsi::GenericStaticMethod ("removeActivationObserver", "@brief Static method void QAccessible::removeActivationObserver(QAccessible::ActivationObserver *)\nThis method is static and can be called without an instance.", &_init_f_removeActivationObserver_3707, &_call_f_removeActivationObserver_3707);
|
||||
methods += new qt_gsi::GenericStaticMethod ("setActive|active=", "@brief Static method void QAccessible::setActive(bool active)\nThis method is static and can be called without an instance.", &_init_f_setActive_864, &_call_f_setActive_864);
|
||||
methods += new qt_gsi::GenericStaticMethod ("setRootObject", "@brief Static method void QAccessible::setRootObject(QObject *object)\nThis method is static and can be called without an instance.", &_init_f_setRootObject_1302, &_call_f_setRootObject_1302);
|
||||
methods += new qt_gsi::GenericStaticMethod ("uniqueId", "@brief Static method unsigned int QAccessible::uniqueId(QAccessibleInterface *iface)\nThis method is static and can be called without an instance.", &_init_f_uniqueId_2622, &_call_f_uniqueId_2622);
|
||||
methods += new qt_gsi::GenericStaticMethod ("updateAccessibility", "@brief Static method void QAccessible::updateAccessibility(QAccessibleEvent *event)\nThis method is static and can be called without an instance.", &_init_f_updateAccessibility_2223, &_call_f_updateAccessibility_2223);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessible> decl_QAccessible ("QAccessible",
|
||||
methods_QAccessible (),
|
||||
"@qt\n@brief Binding of QAccessible");
|
||||
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAccessible> &qtdecl_QAccessible () { return decl_QAccessible; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
// Implementation of the enum wrapper class for QAccessible::Event
|
||||
namespace qt_gsi
|
||||
{
|
||||
|
||||
static gsi::Enum<QAccessible::Event> decl_QAccessible_Event_Enum ("QAccessible_Event",
|
||||
gsi::enum_const ("SoundPlayed", QAccessible::SoundPlayed, "@brief Enum constant QAccessible::SoundPlayed") +
|
||||
gsi::enum_const ("Alert", QAccessible::Alert, "@brief Enum constant QAccessible::Alert") +
|
||||
gsi::enum_const ("ForegroundChanged", QAccessible::ForegroundChanged, "@brief Enum constant QAccessible::ForegroundChanged") +
|
||||
gsi::enum_const ("MenuStart", QAccessible::MenuStart, "@brief Enum constant QAccessible::MenuStart") +
|
||||
gsi::enum_const ("MenuEnd", QAccessible::MenuEnd, "@brief Enum constant QAccessible::MenuEnd") +
|
||||
gsi::enum_const ("PopupMenuStart", QAccessible::PopupMenuStart, "@brief Enum constant QAccessible::PopupMenuStart") +
|
||||
gsi::enum_const ("PopupMenuEnd", QAccessible::PopupMenuEnd, "@brief Enum constant QAccessible::PopupMenuEnd") +
|
||||
gsi::enum_const ("ContextHelpStart", QAccessible::ContextHelpStart, "@brief Enum constant QAccessible::ContextHelpStart") +
|
||||
gsi::enum_const ("ContextHelpEnd", QAccessible::ContextHelpEnd, "@brief Enum constant QAccessible::ContextHelpEnd") +
|
||||
gsi::enum_const ("DragDropStart", QAccessible::DragDropStart, "@brief Enum constant QAccessible::DragDropStart") +
|
||||
gsi::enum_const ("DragDropEnd", QAccessible::DragDropEnd, "@brief Enum constant QAccessible::DragDropEnd") +
|
||||
gsi::enum_const ("DialogStart", QAccessible::DialogStart, "@brief Enum constant QAccessible::DialogStart") +
|
||||
gsi::enum_const ("DialogEnd", QAccessible::DialogEnd, "@brief Enum constant QAccessible::DialogEnd") +
|
||||
gsi::enum_const ("ScrollingStart", QAccessible::ScrollingStart, "@brief Enum constant QAccessible::ScrollingStart") +
|
||||
gsi::enum_const ("ScrollingEnd", QAccessible::ScrollingEnd, "@brief Enum constant QAccessible::ScrollingEnd") +
|
||||
gsi::enum_const ("MenuCommand", QAccessible::MenuCommand, "@brief Enum constant QAccessible::MenuCommand") +
|
||||
gsi::enum_const ("ActionChanged", QAccessible::ActionChanged, "@brief Enum constant QAccessible::ActionChanged") +
|
||||
gsi::enum_const ("ActiveDescendantChanged", QAccessible::ActiveDescendantChanged, "@brief Enum constant QAccessible::ActiveDescendantChanged") +
|
||||
gsi::enum_const ("AttributeChanged", QAccessible::AttributeChanged, "@brief Enum constant QAccessible::AttributeChanged") +
|
||||
gsi::enum_const ("DocumentContentChanged", QAccessible::DocumentContentChanged, "@brief Enum constant QAccessible::DocumentContentChanged") +
|
||||
gsi::enum_const ("DocumentLoadComplete", QAccessible::DocumentLoadComplete, "@brief Enum constant QAccessible::DocumentLoadComplete") +
|
||||
gsi::enum_const ("DocumentLoadStopped", QAccessible::DocumentLoadStopped, "@brief Enum constant QAccessible::DocumentLoadStopped") +
|
||||
gsi::enum_const ("DocumentReload", QAccessible::DocumentReload, "@brief Enum constant QAccessible::DocumentReload") +
|
||||
gsi::enum_const ("HyperlinkEndIndexChanged", QAccessible::HyperlinkEndIndexChanged, "@brief Enum constant QAccessible::HyperlinkEndIndexChanged") +
|
||||
gsi::enum_const ("HyperlinkNumberOfAnchorsChanged", QAccessible::HyperlinkNumberOfAnchorsChanged, "@brief Enum constant QAccessible::HyperlinkNumberOfAnchorsChanged") +
|
||||
gsi::enum_const ("HyperlinkSelectedLinkChanged", QAccessible::HyperlinkSelectedLinkChanged, "@brief Enum constant QAccessible::HyperlinkSelectedLinkChanged") +
|
||||
gsi::enum_const ("HypertextLinkActivated", QAccessible::HypertextLinkActivated, "@brief Enum constant QAccessible::HypertextLinkActivated") +
|
||||
gsi::enum_const ("HypertextLinkSelected", QAccessible::HypertextLinkSelected, "@brief Enum constant QAccessible::HypertextLinkSelected") +
|
||||
gsi::enum_const ("HyperlinkStartIndexChanged", QAccessible::HyperlinkStartIndexChanged, "@brief Enum constant QAccessible::HyperlinkStartIndexChanged") +
|
||||
gsi::enum_const ("HypertextChanged", QAccessible::HypertextChanged, "@brief Enum constant QAccessible::HypertextChanged") +
|
||||
gsi::enum_const ("HypertextNLinksChanged", QAccessible::HypertextNLinksChanged, "@brief Enum constant QAccessible::HypertextNLinksChanged") +
|
||||
gsi::enum_const ("ObjectAttributeChanged", QAccessible::ObjectAttributeChanged, "@brief Enum constant QAccessible::ObjectAttributeChanged") +
|
||||
gsi::enum_const ("PageChanged", QAccessible::PageChanged, "@brief Enum constant QAccessible::PageChanged") +
|
||||
gsi::enum_const ("SectionChanged", QAccessible::SectionChanged, "@brief Enum constant QAccessible::SectionChanged") +
|
||||
gsi::enum_const ("TableCaptionChanged", QAccessible::TableCaptionChanged, "@brief Enum constant QAccessible::TableCaptionChanged") +
|
||||
gsi::enum_const ("TableColumnDescriptionChanged", QAccessible::TableColumnDescriptionChanged, "@brief Enum constant QAccessible::TableColumnDescriptionChanged") +
|
||||
gsi::enum_const ("TableColumnHeaderChanged", QAccessible::TableColumnHeaderChanged, "@brief Enum constant QAccessible::TableColumnHeaderChanged") +
|
||||
gsi::enum_const ("TableModelChanged", QAccessible::TableModelChanged, "@brief Enum constant QAccessible::TableModelChanged") +
|
||||
gsi::enum_const ("TableRowDescriptionChanged", QAccessible::TableRowDescriptionChanged, "@brief Enum constant QAccessible::TableRowDescriptionChanged") +
|
||||
gsi::enum_const ("TableRowHeaderChanged", QAccessible::TableRowHeaderChanged, "@brief Enum constant QAccessible::TableRowHeaderChanged") +
|
||||
gsi::enum_const ("TableSummaryChanged", QAccessible::TableSummaryChanged, "@brief Enum constant QAccessible::TableSummaryChanged") +
|
||||
gsi::enum_const ("TextAttributeChanged", QAccessible::TextAttributeChanged, "@brief Enum constant QAccessible::TextAttributeChanged") +
|
||||
gsi::enum_const ("TextCaretMoved", QAccessible::TextCaretMoved, "@brief Enum constant QAccessible::TextCaretMoved") +
|
||||
gsi::enum_const ("TextColumnChanged", QAccessible::TextColumnChanged, "@brief Enum constant QAccessible::TextColumnChanged") +
|
||||
gsi::enum_const ("TextInserted", QAccessible::TextInserted, "@brief Enum constant QAccessible::TextInserted") +
|
||||
gsi::enum_const ("TextRemoved", QAccessible::TextRemoved, "@brief Enum constant QAccessible::TextRemoved") +
|
||||
gsi::enum_const ("TextUpdated", QAccessible::TextUpdated, "@brief Enum constant QAccessible::TextUpdated") +
|
||||
gsi::enum_const ("TextSelectionChanged", QAccessible::TextSelectionChanged, "@brief Enum constant QAccessible::TextSelectionChanged") +
|
||||
gsi::enum_const ("VisibleDataChanged", QAccessible::VisibleDataChanged, "@brief Enum constant QAccessible::VisibleDataChanged") +
|
||||
gsi::enum_const ("ObjectCreated", QAccessible::ObjectCreated, "@brief Enum constant QAccessible::ObjectCreated") +
|
||||
gsi::enum_const ("ObjectDestroyed", QAccessible::ObjectDestroyed, "@brief Enum constant QAccessible::ObjectDestroyed") +
|
||||
gsi::enum_const ("ObjectShow", QAccessible::ObjectShow, "@brief Enum constant QAccessible::ObjectShow") +
|
||||
gsi::enum_const ("ObjectHide", QAccessible::ObjectHide, "@brief Enum constant QAccessible::ObjectHide") +
|
||||
gsi::enum_const ("ObjectReorder", QAccessible::ObjectReorder, "@brief Enum constant QAccessible::ObjectReorder") +
|
||||
gsi::enum_const ("Focus", QAccessible::Focus, "@brief Enum constant QAccessible::Focus") +
|
||||
gsi::enum_const ("Selection", QAccessible::Selection, "@brief Enum constant QAccessible::Selection") +
|
||||
gsi::enum_const ("SelectionAdd", QAccessible::SelectionAdd, "@brief Enum constant QAccessible::SelectionAdd") +
|
||||
gsi::enum_const ("SelectionRemove", QAccessible::SelectionRemove, "@brief Enum constant QAccessible::SelectionRemove") +
|
||||
gsi::enum_const ("SelectionWithin", QAccessible::SelectionWithin, "@brief Enum constant QAccessible::SelectionWithin") +
|
||||
gsi::enum_const ("StateChanged", QAccessible::StateChanged, "@brief Enum constant QAccessible::StateChanged") +
|
||||
gsi::enum_const ("LocationChanged", QAccessible::LocationChanged, "@brief Enum constant QAccessible::LocationChanged") +
|
||||
gsi::enum_const ("NameChanged", QAccessible::NameChanged, "@brief Enum constant QAccessible::NameChanged") +
|
||||
gsi::enum_const ("DescriptionChanged", QAccessible::DescriptionChanged, "@brief Enum constant QAccessible::DescriptionChanged") +
|
||||
gsi::enum_const ("ValueChanged", QAccessible::ValueChanged, "@brief Enum constant QAccessible::ValueChanged") +
|
||||
gsi::enum_const ("ParentChanged", QAccessible::ParentChanged, "@brief Enum constant QAccessible::ParentChanged") +
|
||||
gsi::enum_const ("HelpChanged", QAccessible::HelpChanged, "@brief Enum constant QAccessible::HelpChanged") +
|
||||
gsi::enum_const ("DefaultActionChanged", QAccessible::DefaultActionChanged, "@brief Enum constant QAccessible::DefaultActionChanged") +
|
||||
gsi::enum_const ("AcceleratorChanged", QAccessible::AcceleratorChanged, "@brief Enum constant QAccessible::AcceleratorChanged") +
|
||||
gsi::enum_const ("InvalidEvent", QAccessible::InvalidEvent, "@brief Enum constant QAccessible::InvalidEvent"),
|
||||
"@qt\n@brief This class represents the QAccessible::Event enum");
|
||||
|
||||
static gsi::QFlagsClass<QAccessible::Event > decl_QAccessible_Event_Enums ("QAccessible_QFlags_Event",
|
||||
"@qt\n@brief This class represents the QFlags<QAccessible::Event> flag set");
|
||||
|
||||
// Inject the declarations into the parent
|
||||
static gsi::ClassExt<QAccessible> inject_QAccessible_Event_Enum_in_parent (decl_QAccessible_Event_Enum.defs ());
|
||||
static gsi::ClassExt<QAccessible> decl_QAccessible_Event_Enum_as_child (decl_QAccessible_Event_Enum, "Event");
|
||||
static gsi::ClassExt<QAccessible> decl_QAccessible_Event_Enums_as_child (decl_QAccessible_Event_Enums, "QFlags_Event");
|
||||
|
||||
}
|
||||
|
||||
|
||||
// Implementation of the enum wrapper class for QAccessible::InterfaceType
|
||||
namespace qt_gsi
|
||||
{
|
||||
|
||||
static gsi::Enum<QAccessible::InterfaceType> decl_QAccessible_InterfaceType_Enum ("QAccessible_InterfaceType",
|
||||
gsi::enum_const ("TextInterface", QAccessible::TextInterface, "@brief Enum constant QAccessible::TextInterface") +
|
||||
gsi::enum_const ("EditableTextInterface", QAccessible::EditableTextInterface, "@brief Enum constant QAccessible::EditableTextInterface") +
|
||||
gsi::enum_const ("ValueInterface", QAccessible::ValueInterface, "@brief Enum constant QAccessible::ValueInterface") +
|
||||
gsi::enum_const ("ActionInterface", QAccessible::ActionInterface, "@brief Enum constant QAccessible::ActionInterface") +
|
||||
gsi::enum_const ("ImageInterface", QAccessible::ImageInterface, "@brief Enum constant QAccessible::ImageInterface") +
|
||||
gsi::enum_const ("TableInterface", QAccessible::TableInterface, "@brief Enum constant QAccessible::TableInterface") +
|
||||
gsi::enum_const ("TableCellInterface", QAccessible::TableCellInterface, "@brief Enum constant QAccessible::TableCellInterface"),
|
||||
"@qt\n@brief This class represents the QAccessible::InterfaceType enum");
|
||||
|
||||
static gsi::QFlagsClass<QAccessible::InterfaceType > decl_QAccessible_InterfaceType_Enums ("QAccessible_QFlags_InterfaceType",
|
||||
"@qt\n@brief This class represents the QFlags<QAccessible::InterfaceType> flag set");
|
||||
|
||||
// Inject the declarations into the parent
|
||||
static gsi::ClassExt<QAccessible> inject_QAccessible_InterfaceType_Enum_in_parent (decl_QAccessible_InterfaceType_Enum.defs ());
|
||||
static gsi::ClassExt<QAccessible> decl_QAccessible_InterfaceType_Enum_as_child (decl_QAccessible_InterfaceType_Enum, "InterfaceType");
|
||||
static gsi::ClassExt<QAccessible> decl_QAccessible_InterfaceType_Enums_as_child (decl_QAccessible_InterfaceType_Enums, "QFlags_InterfaceType");
|
||||
|
||||
}
|
||||
|
||||
|
||||
// Implementation of the enum wrapper class for QAccessible::RelationFlag
|
||||
namespace qt_gsi
|
||||
{
|
||||
|
||||
static gsi::Enum<QAccessible::RelationFlag> decl_QAccessible_RelationFlag_Enum ("QAccessible_RelationFlag",
|
||||
gsi::enum_const ("Label", QAccessible::Label, "@brief Enum constant QAccessible::Label") +
|
||||
gsi::enum_const ("Labelled", QAccessible::Labelled, "@brief Enum constant QAccessible::Labelled") +
|
||||
gsi::enum_const ("Controller", QAccessible::Controller, "@brief Enum constant QAccessible::Controller") +
|
||||
gsi::enum_const ("Controlled", QAccessible::Controlled, "@brief Enum constant QAccessible::Controlled") +
|
||||
gsi::enum_const ("AllRelations", QAccessible::AllRelations, "@brief Enum constant QAccessible::AllRelations"),
|
||||
"@qt\n@brief This class represents the QAccessible::RelationFlag enum");
|
||||
|
||||
static gsi::QFlagsClass<QAccessible::RelationFlag > decl_QAccessible_RelationFlag_Enums ("QAccessible_QFlags_RelationFlag",
|
||||
"@qt\n@brief This class represents the QFlags<QAccessible::RelationFlag> flag set");
|
||||
|
||||
// Inject the declarations into the parent
|
||||
static gsi::ClassExt<QAccessible> inject_QAccessible_RelationFlag_Enum_in_parent (decl_QAccessible_RelationFlag_Enum.defs ());
|
||||
static gsi::ClassExt<QAccessible> decl_QAccessible_RelationFlag_Enum_as_child (decl_QAccessible_RelationFlag_Enum, "RelationFlag");
|
||||
static gsi::ClassExt<QAccessible> decl_QAccessible_RelationFlag_Enums_as_child (decl_QAccessible_RelationFlag_Enums, "QFlags_RelationFlag");
|
||||
|
||||
}
|
||||
|
||||
|
||||
// Implementation of the enum wrapper class for QAccessible::Role
|
||||
namespace qt_gsi
|
||||
{
|
||||
|
||||
static gsi::Enum<QAccessible::Role> decl_QAccessible_Role_Enum ("QAccessible_Role",
|
||||
gsi::enum_const ("NoRole", QAccessible::NoRole, "@brief Enum constant QAccessible::NoRole") +
|
||||
gsi::enum_const ("TitleBar", QAccessible::TitleBar, "@brief Enum constant QAccessible::TitleBar") +
|
||||
gsi::enum_const ("MenuBar", QAccessible::MenuBar, "@brief Enum constant QAccessible::MenuBar") +
|
||||
gsi::enum_const ("ScrollBar", QAccessible::ScrollBar, "@brief Enum constant QAccessible::ScrollBar") +
|
||||
gsi::enum_const ("Grip", QAccessible::Grip, "@brief Enum constant QAccessible::Grip") +
|
||||
gsi::enum_const ("Sound", QAccessible::Sound, "@brief Enum constant QAccessible::Sound") +
|
||||
gsi::enum_const ("Cursor", QAccessible::Cursor, "@brief Enum constant QAccessible::Cursor") +
|
||||
gsi::enum_const ("Caret", QAccessible::Caret, "@brief Enum constant QAccessible::Caret") +
|
||||
gsi::enum_const ("AlertMessage", QAccessible::AlertMessage, "@brief Enum constant QAccessible::AlertMessage") +
|
||||
gsi::enum_const ("Window", QAccessible::Window, "@brief Enum constant QAccessible::Window") +
|
||||
gsi::enum_const ("Client", QAccessible::Client, "@brief Enum constant QAccessible::Client") +
|
||||
gsi::enum_const ("PopupMenu", QAccessible::PopupMenu, "@brief Enum constant QAccessible::PopupMenu") +
|
||||
gsi::enum_const ("MenuItem", QAccessible::MenuItem, "@brief Enum constant QAccessible::MenuItem") +
|
||||
gsi::enum_const ("ToolTip", QAccessible::ToolTip, "@brief Enum constant QAccessible::ToolTip") +
|
||||
gsi::enum_const ("Application", QAccessible::Application, "@brief Enum constant QAccessible::Application") +
|
||||
gsi::enum_const ("Document", QAccessible::Document, "@brief Enum constant QAccessible::Document") +
|
||||
gsi::enum_const ("Pane", QAccessible::Pane, "@brief Enum constant QAccessible::Pane") +
|
||||
gsi::enum_const ("Chart", QAccessible::Chart, "@brief Enum constant QAccessible::Chart") +
|
||||
gsi::enum_const ("Dialog", QAccessible::Dialog, "@brief Enum constant QAccessible::Dialog") +
|
||||
gsi::enum_const ("Border", QAccessible::Border, "@brief Enum constant QAccessible::Border") +
|
||||
gsi::enum_const ("Grouping", QAccessible::Grouping, "@brief Enum constant QAccessible::Grouping") +
|
||||
gsi::enum_const ("Separator", QAccessible::Separator, "@brief Enum constant QAccessible::Separator") +
|
||||
gsi::enum_const ("ToolBar", QAccessible::ToolBar, "@brief Enum constant QAccessible::ToolBar") +
|
||||
gsi::enum_const ("StatusBar", QAccessible::StatusBar, "@brief Enum constant QAccessible::StatusBar") +
|
||||
gsi::enum_const ("Table", QAccessible::Table, "@brief Enum constant QAccessible::Table") +
|
||||
gsi::enum_const ("ColumnHeader", QAccessible::ColumnHeader, "@brief Enum constant QAccessible::ColumnHeader") +
|
||||
gsi::enum_const ("RowHeader", QAccessible::RowHeader, "@brief Enum constant QAccessible::RowHeader") +
|
||||
gsi::enum_const ("Column", QAccessible::Column, "@brief Enum constant QAccessible::Column") +
|
||||
gsi::enum_const ("Row", QAccessible::Row, "@brief Enum constant QAccessible::Row") +
|
||||
gsi::enum_const ("Cell", QAccessible::Cell, "@brief Enum constant QAccessible::Cell") +
|
||||
gsi::enum_const ("Link", QAccessible::Link, "@brief Enum constant QAccessible::Link") +
|
||||
gsi::enum_const ("HelpBalloon", QAccessible::HelpBalloon, "@brief Enum constant QAccessible::HelpBalloon") +
|
||||
gsi::enum_const ("Assistant", QAccessible::Assistant, "@brief Enum constant QAccessible::Assistant") +
|
||||
gsi::enum_const ("List", QAccessible::List, "@brief Enum constant QAccessible::List") +
|
||||
gsi::enum_const ("ListItem", QAccessible::ListItem, "@brief Enum constant QAccessible::ListItem") +
|
||||
gsi::enum_const ("Tree", QAccessible::Tree, "@brief Enum constant QAccessible::Tree") +
|
||||
gsi::enum_const ("TreeItem", QAccessible::TreeItem, "@brief Enum constant QAccessible::TreeItem") +
|
||||
gsi::enum_const ("PageTab", QAccessible::PageTab, "@brief Enum constant QAccessible::PageTab") +
|
||||
gsi::enum_const ("PropertyPage", QAccessible::PropertyPage, "@brief Enum constant QAccessible::PropertyPage") +
|
||||
gsi::enum_const ("Indicator", QAccessible::Indicator, "@brief Enum constant QAccessible::Indicator") +
|
||||
gsi::enum_const ("Graphic", QAccessible::Graphic, "@brief Enum constant QAccessible::Graphic") +
|
||||
gsi::enum_const ("StaticText", QAccessible::StaticText, "@brief Enum constant QAccessible::StaticText") +
|
||||
gsi::enum_const ("EditableText", QAccessible::EditableText, "@brief Enum constant QAccessible::EditableText") +
|
||||
gsi::enum_const ("Button", QAccessible::Button, "@brief Enum constant QAccessible::Button") +
|
||||
gsi::enum_const ("PushButton", QAccessible::PushButton, "@brief Enum constant QAccessible::PushButton") +
|
||||
gsi::enum_const ("CheckBox", QAccessible::CheckBox, "@brief Enum constant QAccessible::CheckBox") +
|
||||
gsi::enum_const ("RadioButton", QAccessible::RadioButton, "@brief Enum constant QAccessible::RadioButton") +
|
||||
gsi::enum_const ("ComboBox", QAccessible::ComboBox, "@brief Enum constant QAccessible::ComboBox") +
|
||||
gsi::enum_const ("ProgressBar", QAccessible::ProgressBar, "@brief Enum constant QAccessible::ProgressBar") +
|
||||
gsi::enum_const ("Dial", QAccessible::Dial, "@brief Enum constant QAccessible::Dial") +
|
||||
gsi::enum_const ("HotkeyField", QAccessible::HotkeyField, "@brief Enum constant QAccessible::HotkeyField") +
|
||||
gsi::enum_const ("Slider", QAccessible::Slider, "@brief Enum constant QAccessible::Slider") +
|
||||
gsi::enum_const ("SpinBox", QAccessible::SpinBox, "@brief Enum constant QAccessible::SpinBox") +
|
||||
gsi::enum_const ("Canvas", QAccessible::Canvas, "@brief Enum constant QAccessible::Canvas") +
|
||||
gsi::enum_const ("Animation", QAccessible::Animation, "@brief Enum constant QAccessible::Animation") +
|
||||
gsi::enum_const ("Equation", QAccessible::Equation, "@brief Enum constant QAccessible::Equation") +
|
||||
gsi::enum_const ("ButtonDropDown", QAccessible::ButtonDropDown, "@brief Enum constant QAccessible::ButtonDropDown") +
|
||||
gsi::enum_const ("ButtonMenu", QAccessible::ButtonMenu, "@brief Enum constant QAccessible::ButtonMenu") +
|
||||
gsi::enum_const ("ButtonDropGrid", QAccessible::ButtonDropGrid, "@brief Enum constant QAccessible::ButtonDropGrid") +
|
||||
gsi::enum_const ("Whitespace", QAccessible::Whitespace, "@brief Enum constant QAccessible::Whitespace") +
|
||||
gsi::enum_const ("PageTabList", QAccessible::PageTabList, "@brief Enum constant QAccessible::PageTabList") +
|
||||
gsi::enum_const ("Clock", QAccessible::Clock, "@brief Enum constant QAccessible::Clock") +
|
||||
gsi::enum_const ("Splitter", QAccessible::Splitter, "@brief Enum constant QAccessible::Splitter") +
|
||||
gsi::enum_const ("LayeredPane", QAccessible::LayeredPane, "@brief Enum constant QAccessible::LayeredPane") +
|
||||
gsi::enum_const ("Terminal", QAccessible::Terminal, "@brief Enum constant QAccessible::Terminal") +
|
||||
gsi::enum_const ("Desktop", QAccessible::Desktop, "@brief Enum constant QAccessible::Desktop") +
|
||||
gsi::enum_const ("Paragraph", QAccessible::Paragraph, "@brief Enum constant QAccessible::Paragraph") +
|
||||
gsi::enum_const ("WebDocument", QAccessible::WebDocument, "@brief Enum constant QAccessible::WebDocument") +
|
||||
gsi::enum_const ("Section", QAccessible::Section, "@brief Enum constant QAccessible::Section") +
|
||||
gsi::enum_const ("ColorChooser", QAccessible::ColorChooser, "@brief Enum constant QAccessible::ColorChooser") +
|
||||
gsi::enum_const ("Footer", QAccessible::Footer, "@brief Enum constant QAccessible::Footer") +
|
||||
gsi::enum_const ("Form", QAccessible::Form, "@brief Enum constant QAccessible::Form") +
|
||||
gsi::enum_const ("Heading", QAccessible::Heading, "@brief Enum constant QAccessible::Heading") +
|
||||
gsi::enum_const ("Note", QAccessible::Note, "@brief Enum constant QAccessible::Note") +
|
||||
gsi::enum_const ("ComplementaryContent", QAccessible::ComplementaryContent, "@brief Enum constant QAccessible::ComplementaryContent") +
|
||||
gsi::enum_const ("UserRole", QAccessible::UserRole, "@brief Enum constant QAccessible::UserRole"),
|
||||
"@qt\n@brief This class represents the QAccessible::Role enum");
|
||||
|
||||
static gsi::QFlagsClass<QAccessible::Role > decl_QAccessible_Role_Enums ("QAccessible_QFlags_Role",
|
||||
"@qt\n@brief This class represents the QFlags<QAccessible::Role> flag set");
|
||||
|
||||
// Inject the declarations into the parent
|
||||
static gsi::ClassExt<QAccessible> inject_QAccessible_Role_Enum_in_parent (decl_QAccessible_Role_Enum.defs ());
|
||||
static gsi::ClassExt<QAccessible> decl_QAccessible_Role_Enum_as_child (decl_QAccessible_Role_Enum, "Role");
|
||||
static gsi::ClassExt<QAccessible> decl_QAccessible_Role_Enums_as_child (decl_QAccessible_Role_Enums, "QFlags_Role");
|
||||
|
||||
}
|
||||
|
||||
|
||||
// Implementation of the enum wrapper class for QAccessible::Text
|
||||
namespace qt_gsi
|
||||
{
|
||||
|
||||
static gsi::Enum<QAccessible::Text> decl_QAccessible_Text_Enum ("QAccessible_Text",
|
||||
gsi::enum_const ("Name", QAccessible::Name, "@brief Enum constant QAccessible::Name") +
|
||||
gsi::enum_const ("Description", QAccessible::Description, "@brief Enum constant QAccessible::Description") +
|
||||
gsi::enum_const ("Value", QAccessible::Value, "@brief Enum constant QAccessible::Value") +
|
||||
gsi::enum_const ("Help", QAccessible::Help, "@brief Enum constant QAccessible::Help") +
|
||||
gsi::enum_const ("Accelerator", QAccessible::Accelerator, "@brief Enum constant QAccessible::Accelerator") +
|
||||
gsi::enum_const ("DebugDescription", QAccessible::DebugDescription, "@brief Enum constant QAccessible::DebugDescription") +
|
||||
gsi::enum_const ("UserText", QAccessible::UserText, "@brief Enum constant QAccessible::UserText"),
|
||||
"@qt\n@brief This class represents the QAccessible::Text enum");
|
||||
|
||||
static gsi::QFlagsClass<QAccessible::Text > decl_QAccessible_Text_Enums ("QAccessible_QFlags_Text",
|
||||
"@qt\n@brief This class represents the QFlags<QAccessible::Text> flag set");
|
||||
|
||||
// Inject the declarations into the parent
|
||||
static gsi::ClassExt<QAccessible> inject_QAccessible_Text_Enum_in_parent (decl_QAccessible_Text_Enum.defs ());
|
||||
static gsi::ClassExt<QAccessible> decl_QAccessible_Text_Enum_as_child (decl_QAccessible_Text_Enum, "Text");
|
||||
static gsi::ClassExt<QAccessible> decl_QAccessible_Text_Enums_as_child (decl_QAccessible_Text_Enums, "QFlags_Text");
|
||||
|
||||
}
|
||||
|
||||
|
||||
// Implementation of the enum wrapper class for QAccessible::TextBoundaryType
|
||||
namespace qt_gsi
|
||||
{
|
||||
|
||||
static gsi::Enum<QAccessible::TextBoundaryType> decl_QAccessible_TextBoundaryType_Enum ("QAccessible_TextBoundaryType",
|
||||
gsi::enum_const ("CharBoundary", QAccessible::CharBoundary, "@brief Enum constant QAccessible::CharBoundary") +
|
||||
gsi::enum_const ("WordBoundary", QAccessible::WordBoundary, "@brief Enum constant QAccessible::WordBoundary") +
|
||||
gsi::enum_const ("SentenceBoundary", QAccessible::SentenceBoundary, "@brief Enum constant QAccessible::SentenceBoundary") +
|
||||
gsi::enum_const ("ParagraphBoundary", QAccessible::ParagraphBoundary, "@brief Enum constant QAccessible::ParagraphBoundary") +
|
||||
gsi::enum_const ("LineBoundary", QAccessible::LineBoundary, "@brief Enum constant QAccessible::LineBoundary") +
|
||||
gsi::enum_const ("NoBoundary", QAccessible::NoBoundary, "@brief Enum constant QAccessible::NoBoundary"),
|
||||
"@qt\n@brief This class represents the QAccessible::TextBoundaryType enum");
|
||||
|
||||
static gsi::QFlagsClass<QAccessible::TextBoundaryType > decl_QAccessible_TextBoundaryType_Enums ("QAccessible_QFlags_TextBoundaryType",
|
||||
"@qt\n@brief This class represents the QFlags<QAccessible::TextBoundaryType> flag set");
|
||||
|
||||
// Inject the declarations into the parent
|
||||
static gsi::ClassExt<QAccessible> inject_QAccessible_TextBoundaryType_Enum_in_parent (decl_QAccessible_TextBoundaryType_Enum.defs ());
|
||||
static gsi::ClassExt<QAccessible> decl_QAccessible_TextBoundaryType_Enum_as_child (decl_QAccessible_TextBoundaryType_Enum, "TextBoundaryType");
|
||||
static gsi::ClassExt<QAccessible> decl_QAccessible_TextBoundaryType_Enums_as_child (decl_QAccessible_TextBoundaryType_Enums, "QFlags_TextBoundaryType");
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,647 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAccessibleActionInterface.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAccessibleActionInterface>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAccessibleActionInterface
|
||||
|
||||
// QStringList QAccessibleActionInterface::actionNames()
|
||||
|
||||
|
||||
static void _init_f_actionNames_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QStringList > ();
|
||||
}
|
||||
|
||||
static void _call_f_actionNames_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QStringList > ((QStringList)((QAccessibleActionInterface *)cls)->actionNames ());
|
||||
}
|
||||
|
||||
|
||||
// void QAccessibleActionInterface::doAction(const QString &actionName)
|
||||
|
||||
|
||||
static void _init_f_doAction_2025 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("actionName");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_doAction_2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAccessibleActionInterface *)cls)->doAction (arg1);
|
||||
}
|
||||
|
||||
|
||||
// QStringList QAccessibleActionInterface::keyBindingsForAction(const QString &actionName)
|
||||
|
||||
|
||||
static void _init_f_keyBindingsForAction_c2025 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("actionName");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
decl->set_return<QStringList > ();
|
||||
}
|
||||
|
||||
static void _call_f_keyBindingsForAction_c2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
ret.write<QStringList > ((QStringList)((QAccessibleActionInterface *)cls)->keyBindingsForAction (arg1));
|
||||
}
|
||||
|
||||
|
||||
// QString QAccessibleActionInterface::localizedActionDescription(const QString &name)
|
||||
|
||||
|
||||
static void _init_f_localizedActionDescription_c2025 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("name");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_localizedActionDescription_c2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
ret.write<QString > ((QString)((QAccessibleActionInterface *)cls)->localizedActionDescription (arg1));
|
||||
}
|
||||
|
||||
|
||||
// QString QAccessibleActionInterface::localizedActionName(const QString &name)
|
||||
|
||||
|
||||
static void _init_f_localizedActionName_c2025 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("name");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_localizedActionName_c2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
ret.write<QString > ((QString)((QAccessibleActionInterface *)cls)->localizedActionName (arg1));
|
||||
}
|
||||
|
||||
|
||||
// static const QString &QAccessibleActionInterface::decreaseAction()
|
||||
|
||||
|
||||
static void _init_f_decreaseAction_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return<const QString & > ();
|
||||
}
|
||||
|
||||
static void _call_f_decreaseAction_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<const QString & > ((const QString &)QAccessibleActionInterface::decreaseAction ());
|
||||
}
|
||||
|
||||
|
||||
// static const QString &QAccessibleActionInterface::increaseAction()
|
||||
|
||||
|
||||
static void _init_f_increaseAction_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return<const QString & > ();
|
||||
}
|
||||
|
||||
static void _call_f_increaseAction_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<const QString & > ((const QString &)QAccessibleActionInterface::increaseAction ());
|
||||
}
|
||||
|
||||
|
||||
// static QString QAccessibleActionInterface::nextPageAction()
|
||||
|
||||
|
||||
static void _init_f_nextPageAction_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_nextPageAction_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QString > ((QString)QAccessibleActionInterface::nextPageAction ());
|
||||
}
|
||||
|
||||
|
||||
// static const QString &QAccessibleActionInterface::pressAction()
|
||||
|
||||
|
||||
static void _init_f_pressAction_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return<const QString & > ();
|
||||
}
|
||||
|
||||
static void _call_f_pressAction_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<const QString & > ((const QString &)QAccessibleActionInterface::pressAction ());
|
||||
}
|
||||
|
||||
|
||||
// static QString QAccessibleActionInterface::previousPageAction()
|
||||
|
||||
|
||||
static void _init_f_previousPageAction_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_previousPageAction_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QString > ((QString)QAccessibleActionInterface::previousPageAction ());
|
||||
}
|
||||
|
||||
|
||||
// static QString QAccessibleActionInterface::scrollDownAction()
|
||||
|
||||
|
||||
static void _init_f_scrollDownAction_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_scrollDownAction_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QString > ((QString)QAccessibleActionInterface::scrollDownAction ());
|
||||
}
|
||||
|
||||
|
||||
// static QString QAccessibleActionInterface::scrollLeftAction()
|
||||
|
||||
|
||||
static void _init_f_scrollLeftAction_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_scrollLeftAction_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QString > ((QString)QAccessibleActionInterface::scrollLeftAction ());
|
||||
}
|
||||
|
||||
|
||||
// static QString QAccessibleActionInterface::scrollRightAction()
|
||||
|
||||
|
||||
static void _init_f_scrollRightAction_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_scrollRightAction_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QString > ((QString)QAccessibleActionInterface::scrollRightAction ());
|
||||
}
|
||||
|
||||
|
||||
// static QString QAccessibleActionInterface::scrollUpAction()
|
||||
|
||||
|
||||
static void _init_f_scrollUpAction_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_scrollUpAction_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QString > ((QString)QAccessibleActionInterface::scrollUpAction ());
|
||||
}
|
||||
|
||||
|
||||
// static const QString &QAccessibleActionInterface::setFocusAction()
|
||||
|
||||
|
||||
static void _init_f_setFocusAction_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return<const QString & > ();
|
||||
}
|
||||
|
||||
static void _call_f_setFocusAction_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<const QString & > ((const QString &)QAccessibleActionInterface::setFocusAction ());
|
||||
}
|
||||
|
||||
|
||||
// static const QString &QAccessibleActionInterface::showMenuAction()
|
||||
|
||||
|
||||
static void _init_f_showMenuAction_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return<const QString & > ();
|
||||
}
|
||||
|
||||
static void _call_f_showMenuAction_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<const QString & > ((const QString &)QAccessibleActionInterface::showMenuAction ());
|
||||
}
|
||||
|
||||
|
||||
// static const QString &QAccessibleActionInterface::toggleAction()
|
||||
|
||||
|
||||
static void _init_f_toggleAction_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return<const QString & > ();
|
||||
}
|
||||
|
||||
static void _call_f_toggleAction_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<const QString & > ((const QString &)QAccessibleActionInterface::toggleAction ());
|
||||
}
|
||||
|
||||
|
||||
// static QString QAccessibleActionInterface::tr(const char *sourceText, const char *disambiguation, int n)
|
||||
|
||||
|
||||
static void _init_f_tr_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("sourceText");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("disambiguation", true, "0");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_tr_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(0);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QAccessibleActionInterface::tr (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
// static QString QAccessibleActionInterface::trUtf8(const char *sourceText, const char *disambiguation, int n)
|
||||
|
||||
|
||||
static void _init_f_trUtf8_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("sourceText");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("disambiguation", true, "0");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_trUtf8_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(0);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QAccessibleActionInterface::trUtf8 (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAccessibleActionInterface () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericMethod ("actionNames", "@brief Method QStringList QAccessibleActionInterface::actionNames()\n", true, &_init_f_actionNames_c0, &_call_f_actionNames_c0);
|
||||
methods += new qt_gsi::GenericMethod ("doAction", "@brief Method void QAccessibleActionInterface::doAction(const QString &actionName)\n", false, &_init_f_doAction_2025, &_call_f_doAction_2025);
|
||||
methods += new qt_gsi::GenericMethod ("keyBindingsForAction", "@brief Method QStringList QAccessibleActionInterface::keyBindingsForAction(const QString &actionName)\n", true, &_init_f_keyBindingsForAction_c2025, &_call_f_keyBindingsForAction_c2025);
|
||||
methods += new qt_gsi::GenericMethod ("localizedActionDescription", "@brief Method QString QAccessibleActionInterface::localizedActionDescription(const QString &name)\n", true, &_init_f_localizedActionDescription_c2025, &_call_f_localizedActionDescription_c2025);
|
||||
methods += new qt_gsi::GenericMethod ("localizedActionName", "@brief Method QString QAccessibleActionInterface::localizedActionName(const QString &name)\n", true, &_init_f_localizedActionName_c2025, &_call_f_localizedActionName_c2025);
|
||||
methods += new qt_gsi::GenericStaticMethod ("decreaseAction", "@brief Static method const QString &QAccessibleActionInterface::decreaseAction()\nThis method is static and can be called without an instance.", &_init_f_decreaseAction_0, &_call_f_decreaseAction_0);
|
||||
methods += new qt_gsi::GenericStaticMethod ("increaseAction", "@brief Static method const QString &QAccessibleActionInterface::increaseAction()\nThis method is static and can be called without an instance.", &_init_f_increaseAction_0, &_call_f_increaseAction_0);
|
||||
methods += new qt_gsi::GenericStaticMethod ("nextPageAction", "@brief Static method QString QAccessibleActionInterface::nextPageAction()\nThis method is static and can be called without an instance.", &_init_f_nextPageAction_0, &_call_f_nextPageAction_0);
|
||||
methods += new qt_gsi::GenericStaticMethod ("pressAction", "@brief Static method const QString &QAccessibleActionInterface::pressAction()\nThis method is static and can be called without an instance.", &_init_f_pressAction_0, &_call_f_pressAction_0);
|
||||
methods += new qt_gsi::GenericStaticMethod ("previousPageAction", "@brief Static method QString QAccessibleActionInterface::previousPageAction()\nThis method is static and can be called without an instance.", &_init_f_previousPageAction_0, &_call_f_previousPageAction_0);
|
||||
methods += new qt_gsi::GenericStaticMethod ("scrollDownAction", "@brief Static method QString QAccessibleActionInterface::scrollDownAction()\nThis method is static and can be called without an instance.", &_init_f_scrollDownAction_0, &_call_f_scrollDownAction_0);
|
||||
methods += new qt_gsi::GenericStaticMethod ("scrollLeftAction", "@brief Static method QString QAccessibleActionInterface::scrollLeftAction()\nThis method is static and can be called without an instance.", &_init_f_scrollLeftAction_0, &_call_f_scrollLeftAction_0);
|
||||
methods += new qt_gsi::GenericStaticMethod ("scrollRightAction", "@brief Static method QString QAccessibleActionInterface::scrollRightAction()\nThis method is static and can be called without an instance.", &_init_f_scrollRightAction_0, &_call_f_scrollRightAction_0);
|
||||
methods += new qt_gsi::GenericStaticMethod ("scrollUpAction", "@brief Static method QString QAccessibleActionInterface::scrollUpAction()\nThis method is static and can be called without an instance.", &_init_f_scrollUpAction_0, &_call_f_scrollUpAction_0);
|
||||
methods += new qt_gsi::GenericStaticMethod ("setFocusAction", "@brief Static method const QString &QAccessibleActionInterface::setFocusAction()\nThis method is static and can be called without an instance.", &_init_f_setFocusAction_0, &_call_f_setFocusAction_0);
|
||||
methods += new qt_gsi::GenericStaticMethod ("showMenuAction", "@brief Static method const QString &QAccessibleActionInterface::showMenuAction()\nThis method is static and can be called without an instance.", &_init_f_showMenuAction_0, &_call_f_showMenuAction_0);
|
||||
methods += new qt_gsi::GenericStaticMethod ("toggleAction", "@brief Static method const QString &QAccessibleActionInterface::toggleAction()\nThis method is static and can be called without an instance.", &_init_f_toggleAction_0, &_call_f_toggleAction_0);
|
||||
methods += new qt_gsi::GenericStaticMethod ("tr", "@brief Static method QString QAccessibleActionInterface::tr(const char *sourceText, const char *disambiguation, int n)\nThis method is static and can be called without an instance.", &_init_f_tr_4013, &_call_f_tr_4013);
|
||||
methods += new qt_gsi::GenericStaticMethod ("trUtf8", "@brief Static method QString QAccessibleActionInterface::trUtf8(const char *sourceText, const char *disambiguation, int n)\nThis method is static and can be called without an instance.", &_init_f_trUtf8_4013, &_call_f_trUtf8_4013);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessibleActionInterface> decl_QAccessibleActionInterface ("QAccessibleActionInterface_Native",
|
||||
methods_QAccessibleActionInterface (),
|
||||
"@hide\n@alias QAccessibleActionInterface");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAccessibleActionInterface> &qtdecl_QAccessibleActionInterface () { return decl_QAccessibleActionInterface; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QAccessibleActionInterface_Adaptor : public QAccessibleActionInterface, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QAccessibleActionInterface_Adaptor();
|
||||
|
||||
// [adaptor ctor] QAccessibleActionInterface::QAccessibleActionInterface()
|
||||
QAccessibleActionInterface_Adaptor() : QAccessibleActionInterface()
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor impl] QStringList QAccessibleActionInterface::actionNames()
|
||||
QStringList cbs_actionNames_c0_0() const
|
||||
{
|
||||
throw qt_gsi::AbstractMethodCalledException("actionNames");
|
||||
}
|
||||
|
||||
virtual QStringList actionNames() const
|
||||
{
|
||||
if (cb_actionNames_c0_0.can_issue()) {
|
||||
return cb_actionNames_c0_0.issue<QAccessibleActionInterface_Adaptor, QStringList>(&QAccessibleActionInterface_Adaptor::cbs_actionNames_c0_0);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("actionNames");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAccessibleActionInterface::doAction(const QString &actionName)
|
||||
void cbs_doAction_2025_0(const QString &actionName)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (actionName);
|
||||
throw qt_gsi::AbstractMethodCalledException("doAction");
|
||||
}
|
||||
|
||||
virtual void doAction(const QString &actionName)
|
||||
{
|
||||
if (cb_doAction_2025_0.can_issue()) {
|
||||
cb_doAction_2025_0.issue<QAccessibleActionInterface_Adaptor, const QString &>(&QAccessibleActionInterface_Adaptor::cbs_doAction_2025_0, actionName);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("doAction");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] QStringList QAccessibleActionInterface::keyBindingsForAction(const QString &actionName)
|
||||
QStringList cbs_keyBindingsForAction_c2025_0(const QString &actionName) const
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (actionName);
|
||||
throw qt_gsi::AbstractMethodCalledException("keyBindingsForAction");
|
||||
}
|
||||
|
||||
virtual QStringList keyBindingsForAction(const QString &actionName) const
|
||||
{
|
||||
if (cb_keyBindingsForAction_c2025_0.can_issue()) {
|
||||
return cb_keyBindingsForAction_c2025_0.issue<QAccessibleActionInterface_Adaptor, QStringList, const QString &>(&QAccessibleActionInterface_Adaptor::cbs_keyBindingsForAction_c2025_0, actionName);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("keyBindingsForAction");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] QString QAccessibleActionInterface::localizedActionDescription(const QString &name)
|
||||
QString cbs_localizedActionDescription_c2025_0(const QString &name) const
|
||||
{
|
||||
return QAccessibleActionInterface::localizedActionDescription(name);
|
||||
}
|
||||
|
||||
virtual QString localizedActionDescription(const QString &name) const
|
||||
{
|
||||
if (cb_localizedActionDescription_c2025_0.can_issue()) {
|
||||
return cb_localizedActionDescription_c2025_0.issue<QAccessibleActionInterface_Adaptor, QString, const QString &>(&QAccessibleActionInterface_Adaptor::cbs_localizedActionDescription_c2025_0, name);
|
||||
} else {
|
||||
return QAccessibleActionInterface::localizedActionDescription(name);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] QString QAccessibleActionInterface::localizedActionName(const QString &name)
|
||||
QString cbs_localizedActionName_c2025_0(const QString &name) const
|
||||
{
|
||||
return QAccessibleActionInterface::localizedActionName(name);
|
||||
}
|
||||
|
||||
virtual QString localizedActionName(const QString &name) const
|
||||
{
|
||||
if (cb_localizedActionName_c2025_0.can_issue()) {
|
||||
return cb_localizedActionName_c2025_0.issue<QAccessibleActionInterface_Adaptor, QString, const QString &>(&QAccessibleActionInterface_Adaptor::cbs_localizedActionName_c2025_0, name);
|
||||
} else {
|
||||
return QAccessibleActionInterface::localizedActionName(name);
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_actionNames_c0_0;
|
||||
gsi::Callback cb_doAction_2025_0;
|
||||
gsi::Callback cb_keyBindingsForAction_c2025_0;
|
||||
gsi::Callback cb_localizedActionDescription_c2025_0;
|
||||
gsi::Callback cb_localizedActionName_c2025_0;
|
||||
};
|
||||
|
||||
QAccessibleActionInterface_Adaptor::~QAccessibleActionInterface_Adaptor() { }
|
||||
|
||||
// Constructor QAccessibleActionInterface::QAccessibleActionInterface() (adaptor class)
|
||||
|
||||
static void _init_ctor_QAccessibleActionInterface_Adaptor_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return_new<QAccessibleActionInterface_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAccessibleActionInterface_Adaptor_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAccessibleActionInterface_Adaptor *> (new QAccessibleActionInterface_Adaptor ());
|
||||
}
|
||||
|
||||
|
||||
// QStringList QAccessibleActionInterface::actionNames()
|
||||
|
||||
static void _init_cbs_actionNames_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QStringList > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_actionNames_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QStringList > ((QStringList)((QAccessibleActionInterface_Adaptor *)cls)->cbs_actionNames_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_actionNames_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAccessibleActionInterface_Adaptor *)cls)->cb_actionNames_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAccessibleActionInterface::doAction(const QString &actionName)
|
||||
|
||||
static void _init_cbs_doAction_2025_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("actionName");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_doAction_2025_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAccessibleActionInterface_Adaptor *)cls)->cbs_doAction_2025_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_doAction_2025_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAccessibleActionInterface_Adaptor *)cls)->cb_doAction_2025_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// QStringList QAccessibleActionInterface::keyBindingsForAction(const QString &actionName)
|
||||
|
||||
static void _init_cbs_keyBindingsForAction_c2025_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("actionName");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
decl->set_return<QStringList > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_keyBindingsForAction_c2025_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
ret.write<QStringList > ((QStringList)((QAccessibleActionInterface_Adaptor *)cls)->cbs_keyBindingsForAction_c2025_0 (arg1));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_keyBindingsForAction_c2025_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAccessibleActionInterface_Adaptor *)cls)->cb_keyBindingsForAction_c2025_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// QString QAccessibleActionInterface::localizedActionDescription(const QString &name)
|
||||
|
||||
static void _init_cbs_localizedActionDescription_c2025_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("name");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_localizedActionDescription_c2025_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
ret.write<QString > ((QString)((QAccessibleActionInterface_Adaptor *)cls)->cbs_localizedActionDescription_c2025_0 (arg1));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_localizedActionDescription_c2025_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAccessibleActionInterface_Adaptor *)cls)->cb_localizedActionDescription_c2025_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// QString QAccessibleActionInterface::localizedActionName(const QString &name)
|
||||
|
||||
static void _init_cbs_localizedActionName_c2025_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("name");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_localizedActionName_c2025_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
ret.write<QString > ((QString)((QAccessibleActionInterface_Adaptor *)cls)->cbs_localizedActionName_c2025_0 (arg1));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_localizedActionName_c2025_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAccessibleActionInterface_Adaptor *)cls)->cb_localizedActionName_c2025_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QAccessibleActionInterface> &qtdecl_QAccessibleActionInterface ();
|
||||
|
||||
static gsi::Methods methods_QAccessibleActionInterface_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleActionInterface::QAccessibleActionInterface()\nThis method creates an object of class QAccessibleActionInterface.", &_init_ctor_QAccessibleActionInterface_Adaptor_0, &_call_ctor_QAccessibleActionInterface_Adaptor_0);
|
||||
methods += new qt_gsi::GenericMethod ("actionNames", "@hide", true, &_init_cbs_actionNames_c0_0, &_call_cbs_actionNames_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("actionNames", "@brief Virtual method QStringList QAccessibleActionInterface::actionNames()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_actionNames_c0_0, &_call_cbs_actionNames_c0_0, &_set_callback_cbs_actionNames_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("doAction", "@hide", false, &_init_cbs_doAction_2025_0, &_call_cbs_doAction_2025_0);
|
||||
methods += new qt_gsi::GenericMethod ("doAction", "@brief Virtual method void QAccessibleActionInterface::doAction(const QString &actionName)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_doAction_2025_0, &_call_cbs_doAction_2025_0, &_set_callback_cbs_doAction_2025_0);
|
||||
methods += new qt_gsi::GenericMethod ("keyBindingsForAction", "@hide", true, &_init_cbs_keyBindingsForAction_c2025_0, &_call_cbs_keyBindingsForAction_c2025_0);
|
||||
methods += new qt_gsi::GenericMethod ("keyBindingsForAction", "@brief Virtual method QStringList QAccessibleActionInterface::keyBindingsForAction(const QString &actionName)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_keyBindingsForAction_c2025_0, &_call_cbs_keyBindingsForAction_c2025_0, &_set_callback_cbs_keyBindingsForAction_c2025_0);
|
||||
methods += new qt_gsi::GenericMethod ("localizedActionDescription", "@hide", true, &_init_cbs_localizedActionDescription_c2025_0, &_call_cbs_localizedActionDescription_c2025_0);
|
||||
methods += new qt_gsi::GenericMethod ("localizedActionDescription", "@brief Virtual method QString QAccessibleActionInterface::localizedActionDescription(const QString &name)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_localizedActionDescription_c2025_0, &_call_cbs_localizedActionDescription_c2025_0, &_set_callback_cbs_localizedActionDescription_c2025_0);
|
||||
methods += new qt_gsi::GenericMethod ("localizedActionName", "@hide", true, &_init_cbs_localizedActionName_c2025_0, &_call_cbs_localizedActionName_c2025_0);
|
||||
methods += new qt_gsi::GenericMethod ("localizedActionName", "@brief Virtual method QString QAccessibleActionInterface::localizedActionName(const QString &name)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_localizedActionName_c2025_0, &_call_cbs_localizedActionName_c2025_0, &_set_callback_cbs_localizedActionName_c2025_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessibleActionInterface_Adaptor> decl_QAccessibleActionInterface_Adaptor (qtdecl_QAccessibleActionInterface (), "QAccessibleActionInterface",
|
||||
methods_QAccessibleActionInterface_Adaptor (),
|
||||
"@qt\n@brief Binding of QAccessibleActionInterface");
|
||||
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,322 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAccessibleEditableTextInterface.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAccessibleEditableTextInterface>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAccessibleEditableTextInterface
|
||||
|
||||
// void QAccessibleEditableTextInterface::deleteText(int startOffset, int endOffset)
|
||||
|
||||
|
||||
static void _init_f_deleteText_1426 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("startOffset");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("endOffset");
|
||||
decl->add_arg<int > (argspec_1);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_deleteText_1426 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
int arg2 = args.read<int > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAccessibleEditableTextInterface *)cls)->deleteText (arg1, arg2);
|
||||
}
|
||||
|
||||
|
||||
// void QAccessibleEditableTextInterface::insertText(int offset, const QString &text)
|
||||
|
||||
|
||||
static void _init_f_insertText_2684 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("offset");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("text");
|
||||
decl->add_arg<const QString & > (argspec_1);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_insertText_2684 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
const QString &arg2 = args.read<const QString & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAccessibleEditableTextInterface *)cls)->insertText (arg1, arg2);
|
||||
}
|
||||
|
||||
|
||||
// void QAccessibleEditableTextInterface::replaceText(int startOffset, int endOffset, const QString &text)
|
||||
|
||||
|
||||
static void _init_f_replaceText_3343 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("startOffset");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("endOffset");
|
||||
decl->add_arg<int > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("text");
|
||||
decl->add_arg<const QString & > (argspec_2);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_replaceText_3343 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
int arg2 = args.read<int > (heap);
|
||||
const QString &arg3 = args.read<const QString & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAccessibleEditableTextInterface *)cls)->replaceText (arg1, arg2, arg3);
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAccessibleEditableTextInterface () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericMethod ("deleteText", "@brief Method void QAccessibleEditableTextInterface::deleteText(int startOffset, int endOffset)\n", false, &_init_f_deleteText_1426, &_call_f_deleteText_1426);
|
||||
methods += new qt_gsi::GenericMethod ("insertText", "@brief Method void QAccessibleEditableTextInterface::insertText(int offset, const QString &text)\n", false, &_init_f_insertText_2684, &_call_f_insertText_2684);
|
||||
methods += new qt_gsi::GenericMethod ("replaceText", "@brief Method void QAccessibleEditableTextInterface::replaceText(int startOffset, int endOffset, const QString &text)\n", false, &_init_f_replaceText_3343, &_call_f_replaceText_3343);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessibleEditableTextInterface> decl_QAccessibleEditableTextInterface ("QAccessibleEditableTextInterface_Native",
|
||||
methods_QAccessibleEditableTextInterface (),
|
||||
"@hide\n@alias QAccessibleEditableTextInterface");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAccessibleEditableTextInterface> &qtdecl_QAccessibleEditableTextInterface () { return decl_QAccessibleEditableTextInterface; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QAccessibleEditableTextInterface_Adaptor : public QAccessibleEditableTextInterface, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QAccessibleEditableTextInterface_Adaptor();
|
||||
|
||||
// [adaptor ctor] QAccessibleEditableTextInterface::QAccessibleEditableTextInterface()
|
||||
QAccessibleEditableTextInterface_Adaptor() : QAccessibleEditableTextInterface()
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAccessibleEditableTextInterface::deleteText(int startOffset, int endOffset)
|
||||
void cbs_deleteText_1426_0(int startOffset, int endOffset)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (startOffset);
|
||||
__SUPPRESS_UNUSED_WARNING (endOffset);
|
||||
throw qt_gsi::AbstractMethodCalledException("deleteText");
|
||||
}
|
||||
|
||||
virtual void deleteText(int startOffset, int endOffset)
|
||||
{
|
||||
if (cb_deleteText_1426_0.can_issue()) {
|
||||
cb_deleteText_1426_0.issue<QAccessibleEditableTextInterface_Adaptor, int, int>(&QAccessibleEditableTextInterface_Adaptor::cbs_deleteText_1426_0, startOffset, endOffset);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("deleteText");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAccessibleEditableTextInterface::insertText(int offset, const QString &text)
|
||||
void cbs_insertText_2684_0(int offset, const QString &text)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (offset);
|
||||
__SUPPRESS_UNUSED_WARNING (text);
|
||||
throw qt_gsi::AbstractMethodCalledException("insertText");
|
||||
}
|
||||
|
||||
virtual void insertText(int offset, const QString &text)
|
||||
{
|
||||
if (cb_insertText_2684_0.can_issue()) {
|
||||
cb_insertText_2684_0.issue<QAccessibleEditableTextInterface_Adaptor, int, const QString &>(&QAccessibleEditableTextInterface_Adaptor::cbs_insertText_2684_0, offset, text);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("insertText");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAccessibleEditableTextInterface::replaceText(int startOffset, int endOffset, const QString &text)
|
||||
void cbs_replaceText_3343_0(int startOffset, int endOffset, const QString &text)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (startOffset);
|
||||
__SUPPRESS_UNUSED_WARNING (endOffset);
|
||||
__SUPPRESS_UNUSED_WARNING (text);
|
||||
throw qt_gsi::AbstractMethodCalledException("replaceText");
|
||||
}
|
||||
|
||||
virtual void replaceText(int startOffset, int endOffset, const QString &text)
|
||||
{
|
||||
if (cb_replaceText_3343_0.can_issue()) {
|
||||
cb_replaceText_3343_0.issue<QAccessibleEditableTextInterface_Adaptor, int, int, const QString &>(&QAccessibleEditableTextInterface_Adaptor::cbs_replaceText_3343_0, startOffset, endOffset, text);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("replaceText");
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_deleteText_1426_0;
|
||||
gsi::Callback cb_insertText_2684_0;
|
||||
gsi::Callback cb_replaceText_3343_0;
|
||||
};
|
||||
|
||||
QAccessibleEditableTextInterface_Adaptor::~QAccessibleEditableTextInterface_Adaptor() { }
|
||||
|
||||
// Constructor QAccessibleEditableTextInterface::QAccessibleEditableTextInterface() (adaptor class)
|
||||
|
||||
static void _init_ctor_QAccessibleEditableTextInterface_Adaptor_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return_new<QAccessibleEditableTextInterface_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAccessibleEditableTextInterface_Adaptor_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAccessibleEditableTextInterface_Adaptor *> (new QAccessibleEditableTextInterface_Adaptor ());
|
||||
}
|
||||
|
||||
|
||||
// void QAccessibleEditableTextInterface::deleteText(int startOffset, int endOffset)
|
||||
|
||||
static void _init_cbs_deleteText_1426_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("startOffset");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("endOffset");
|
||||
decl->add_arg<int > (argspec_1);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_deleteText_1426_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
int arg2 = args.read<int > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAccessibleEditableTextInterface_Adaptor *)cls)->cbs_deleteText_1426_0 (arg1, arg2);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_deleteText_1426_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAccessibleEditableTextInterface_Adaptor *)cls)->cb_deleteText_1426_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAccessibleEditableTextInterface::insertText(int offset, const QString &text)
|
||||
|
||||
static void _init_cbs_insertText_2684_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("offset");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("text");
|
||||
decl->add_arg<const QString & > (argspec_1);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_insertText_2684_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
const QString &arg2 = args.read<const QString & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAccessibleEditableTextInterface_Adaptor *)cls)->cbs_insertText_2684_0 (arg1, arg2);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_insertText_2684_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAccessibleEditableTextInterface_Adaptor *)cls)->cb_insertText_2684_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAccessibleEditableTextInterface::replaceText(int startOffset, int endOffset, const QString &text)
|
||||
|
||||
static void _init_cbs_replaceText_3343_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("startOffset");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("endOffset");
|
||||
decl->add_arg<int > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("text");
|
||||
decl->add_arg<const QString & > (argspec_2);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_replaceText_3343_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
int arg2 = args.read<int > (heap);
|
||||
const QString &arg3 = args.read<const QString & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAccessibleEditableTextInterface_Adaptor *)cls)->cbs_replaceText_3343_0 (arg1, arg2, arg3);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_replaceText_3343_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAccessibleEditableTextInterface_Adaptor *)cls)->cb_replaceText_3343_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QAccessibleEditableTextInterface> &qtdecl_QAccessibleEditableTextInterface ();
|
||||
|
||||
static gsi::Methods methods_QAccessibleEditableTextInterface_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleEditableTextInterface::QAccessibleEditableTextInterface()\nThis method creates an object of class QAccessibleEditableTextInterface.", &_init_ctor_QAccessibleEditableTextInterface_Adaptor_0, &_call_ctor_QAccessibleEditableTextInterface_Adaptor_0);
|
||||
methods += new qt_gsi::GenericMethod ("deleteText", "@hide", false, &_init_cbs_deleteText_1426_0, &_call_cbs_deleteText_1426_0);
|
||||
methods += new qt_gsi::GenericMethod ("deleteText", "@brief Virtual method void QAccessibleEditableTextInterface::deleteText(int startOffset, int endOffset)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_deleteText_1426_0, &_call_cbs_deleteText_1426_0, &_set_callback_cbs_deleteText_1426_0);
|
||||
methods += new qt_gsi::GenericMethod ("insertText", "@hide", false, &_init_cbs_insertText_2684_0, &_call_cbs_insertText_2684_0);
|
||||
methods += new qt_gsi::GenericMethod ("insertText", "@brief Virtual method void QAccessibleEditableTextInterface::insertText(int offset, const QString &text)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_insertText_2684_0, &_call_cbs_insertText_2684_0, &_set_callback_cbs_insertText_2684_0);
|
||||
methods += new qt_gsi::GenericMethod ("replaceText", "@hide", false, &_init_cbs_replaceText_3343_0, &_call_cbs_replaceText_3343_0);
|
||||
methods += new qt_gsi::GenericMethod ("replaceText", "@brief Virtual method void QAccessibleEditableTextInterface::replaceText(int startOffset, int endOffset, const QString &text)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_replaceText_3343_0, &_call_cbs_replaceText_3343_0, &_set_callback_cbs_replaceText_3343_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessibleEditableTextInterface_Adaptor> decl_QAccessibleEditableTextInterface_Adaptor (qtdecl_QAccessibleEditableTextInterface (), "QAccessibleEditableTextInterface",
|
||||
methods_QAccessibleEditableTextInterface_Adaptor (),
|
||||
"@qt\n@brief Binding of QAccessibleEditableTextInterface");
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,205 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAccessibleEvent.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAccessibleEvent>
|
||||
#include <QAccessibleInterface>
|
||||
#include <QObject>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAccessibleEvent
|
||||
|
||||
// Constructor QAccessibleEvent::QAccessibleEvent(QObject *obj, QAccessible::Event typ)
|
||||
|
||||
|
||||
static void _init_ctor_QAccessibleEvent_3347 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("obj");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("typ");
|
||||
decl->add_arg<const qt_gsi::Converter<QAccessible::Event>::target_type & > (argspec_1);
|
||||
decl->set_return_new<QAccessibleEvent> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAccessibleEvent_3347 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args.read<QObject * > (heap);
|
||||
const qt_gsi::Converter<QAccessible::Event>::target_type & arg2 = args.read<const qt_gsi::Converter<QAccessible::Event>::target_type & > (heap);
|
||||
ret.write<QAccessibleEvent *> (new QAccessibleEvent (arg1, qt_gsi::QtToCppAdaptor<QAccessible::Event>(arg2).cref()));
|
||||
}
|
||||
|
||||
|
||||
// Constructor QAccessibleEvent::QAccessibleEvent(QAccessibleInterface *iface, QAccessible::Event typ)
|
||||
|
||||
|
||||
static void _init_ctor_QAccessibleEvent_4667 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("iface");
|
||||
decl->add_arg<QAccessibleInterface * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("typ");
|
||||
decl->add_arg<const qt_gsi::Converter<QAccessible::Event>::target_type & > (argspec_1);
|
||||
decl->set_return_new<QAccessibleEvent> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAccessibleEvent_4667 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAccessibleInterface *arg1 = args.read<QAccessibleInterface * > (heap);
|
||||
const qt_gsi::Converter<QAccessible::Event>::target_type & arg2 = args.read<const qt_gsi::Converter<QAccessible::Event>::target_type & > (heap);
|
||||
ret.write<QAccessibleEvent *> (new QAccessibleEvent (arg1, qt_gsi::QtToCppAdaptor<QAccessible::Event>(arg2).cref()));
|
||||
}
|
||||
|
||||
|
||||
// QAccessibleInterface *QAccessibleEvent::accessibleInterface()
|
||||
|
||||
|
||||
static void _init_f_accessibleInterface_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QAccessibleInterface * > ();
|
||||
}
|
||||
|
||||
static void _call_f_accessibleInterface_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAccessibleInterface * > ((QAccessibleInterface *)((QAccessibleEvent *)cls)->accessibleInterface ());
|
||||
}
|
||||
|
||||
|
||||
// int QAccessibleEvent::child()
|
||||
|
||||
|
||||
static void _init_f_child_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_child_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAccessibleEvent *)cls)->child ());
|
||||
}
|
||||
|
||||
|
||||
// QObject *QAccessibleEvent::object()
|
||||
|
||||
|
||||
static void _init_f_object_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QObject * > ();
|
||||
}
|
||||
|
||||
static void _call_f_object_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QObject * > ((QObject *)((QAccessibleEvent *)cls)->object ());
|
||||
}
|
||||
|
||||
|
||||
// void QAccessibleEvent::setChild(int chld)
|
||||
|
||||
|
||||
static void _init_f_setChild_767 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("chld");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setChild_767 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAccessibleEvent *)cls)->setChild (arg1);
|
||||
}
|
||||
|
||||
|
||||
// QAccessible::Event QAccessibleEvent::type()
|
||||
|
||||
|
||||
static void _init_f_type_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<qt_gsi::Converter<QAccessible::Event>::target_type > ();
|
||||
}
|
||||
|
||||
static void _call_f_type_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<qt_gsi::Converter<QAccessible::Event>::target_type > ((qt_gsi::Converter<QAccessible::Event>::target_type)qt_gsi::CppToQtAdaptor<QAccessible::Event>(((QAccessibleEvent *)cls)->type ()));
|
||||
}
|
||||
|
||||
|
||||
// unsigned int QAccessibleEvent::uniqueId()
|
||||
|
||||
|
||||
static void _init_f_uniqueId_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<unsigned int > ();
|
||||
}
|
||||
|
||||
static void _call_f_uniqueId_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<unsigned int > ((unsigned int)((QAccessibleEvent *)cls)->uniqueId ());
|
||||
}
|
||||
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAccessibleEvent () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleEvent::QAccessibleEvent(QObject *obj, QAccessible::Event typ)\nThis method creates an object of class QAccessibleEvent.", &_init_ctor_QAccessibleEvent_3347, &_call_ctor_QAccessibleEvent_3347);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleEvent::QAccessibleEvent(QAccessibleInterface *iface, QAccessible::Event typ)\nThis method creates an object of class QAccessibleEvent.", &_init_ctor_QAccessibleEvent_4667, &_call_ctor_QAccessibleEvent_4667);
|
||||
methods += new qt_gsi::GenericMethod ("accessibleInterface", "@brief Method QAccessibleInterface *QAccessibleEvent::accessibleInterface()\n", true, &_init_f_accessibleInterface_c0, &_call_f_accessibleInterface_c0);
|
||||
methods += new qt_gsi::GenericMethod (":child", "@brief Method int QAccessibleEvent::child()\n", true, &_init_f_child_c0, &_call_f_child_c0);
|
||||
methods += new qt_gsi::GenericMethod ("object", "@brief Method QObject *QAccessibleEvent::object()\n", true, &_init_f_object_c0, &_call_f_object_c0);
|
||||
methods += new qt_gsi::GenericMethod ("setChild|child=", "@brief Method void QAccessibleEvent::setChild(int chld)\n", false, &_init_f_setChild_767, &_call_f_setChild_767);
|
||||
methods += new qt_gsi::GenericMethod ("type", "@brief Method QAccessible::Event QAccessibleEvent::type()\n", true, &_init_f_type_c0, &_call_f_type_c0);
|
||||
methods += new qt_gsi::GenericMethod ("uniqueId", "@brief Method unsigned int QAccessibleEvent::uniqueId()\n", true, &_init_f_uniqueId_c0, &_call_f_uniqueId_c0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessibleEvent> decl_QAccessibleEvent ("QAccessibleEvent",
|
||||
methods_QAccessibleEvent (),
|
||||
"@qt\n@brief Binding of QAccessibleEvent");
|
||||
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAccessibleEvent> &qtdecl_QAccessibleEvent () { return decl_QAccessibleEvent; }
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,263 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAccessibleImageInterface.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAccessibleImageInterface>
|
||||
#include <QPoint>
|
||||
#include <QSize>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAccessibleImageInterface
|
||||
|
||||
// QString QAccessibleImageInterface::imageDescription()
|
||||
|
||||
|
||||
static void _init_f_imageDescription_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_imageDescription_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QString > ((QString)((QAccessibleImageInterface *)cls)->imageDescription ());
|
||||
}
|
||||
|
||||
|
||||
// QPoint QAccessibleImageInterface::imagePosition()
|
||||
|
||||
|
||||
static void _init_f_imagePosition_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QPoint > ();
|
||||
}
|
||||
|
||||
static void _call_f_imagePosition_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QPoint > ((QPoint)((QAccessibleImageInterface *)cls)->imagePosition ());
|
||||
}
|
||||
|
||||
|
||||
// QSize QAccessibleImageInterface::imageSize()
|
||||
|
||||
|
||||
static void _init_f_imageSize_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QSize > ();
|
||||
}
|
||||
|
||||
static void _call_f_imageSize_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QSize > ((QSize)((QAccessibleImageInterface *)cls)->imageSize ());
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAccessibleImageInterface () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericMethod ("imageDescription", "@brief Method QString QAccessibleImageInterface::imageDescription()\n", true, &_init_f_imageDescription_c0, &_call_f_imageDescription_c0);
|
||||
methods += new qt_gsi::GenericMethod ("imagePosition", "@brief Method QPoint QAccessibleImageInterface::imagePosition()\n", true, &_init_f_imagePosition_c0, &_call_f_imagePosition_c0);
|
||||
methods += new qt_gsi::GenericMethod ("imageSize", "@brief Method QSize QAccessibleImageInterface::imageSize()\n", true, &_init_f_imageSize_c0, &_call_f_imageSize_c0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessibleImageInterface> decl_QAccessibleImageInterface ("QAccessibleImageInterface_Native",
|
||||
methods_QAccessibleImageInterface (),
|
||||
"@hide\n@alias QAccessibleImageInterface");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAccessibleImageInterface> &qtdecl_QAccessibleImageInterface () { return decl_QAccessibleImageInterface; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QAccessibleImageInterface_Adaptor : public QAccessibleImageInterface, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QAccessibleImageInterface_Adaptor();
|
||||
|
||||
// [adaptor ctor] QAccessibleImageInterface::QAccessibleImageInterface()
|
||||
QAccessibleImageInterface_Adaptor() : QAccessibleImageInterface()
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor impl] QString QAccessibleImageInterface::imageDescription()
|
||||
QString cbs_imageDescription_c0_0() const
|
||||
{
|
||||
throw qt_gsi::AbstractMethodCalledException("imageDescription");
|
||||
}
|
||||
|
||||
virtual QString imageDescription() const
|
||||
{
|
||||
if (cb_imageDescription_c0_0.can_issue()) {
|
||||
return cb_imageDescription_c0_0.issue<QAccessibleImageInterface_Adaptor, QString>(&QAccessibleImageInterface_Adaptor::cbs_imageDescription_c0_0);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("imageDescription");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] QPoint QAccessibleImageInterface::imagePosition()
|
||||
QPoint cbs_imagePosition_c0_0() const
|
||||
{
|
||||
throw qt_gsi::AbstractMethodCalledException("imagePosition");
|
||||
}
|
||||
|
||||
virtual QPoint imagePosition() const
|
||||
{
|
||||
if (cb_imagePosition_c0_0.can_issue()) {
|
||||
return cb_imagePosition_c0_0.issue<QAccessibleImageInterface_Adaptor, QPoint>(&QAccessibleImageInterface_Adaptor::cbs_imagePosition_c0_0);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("imagePosition");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] QSize QAccessibleImageInterface::imageSize()
|
||||
QSize cbs_imageSize_c0_0() const
|
||||
{
|
||||
throw qt_gsi::AbstractMethodCalledException("imageSize");
|
||||
}
|
||||
|
||||
virtual QSize imageSize() const
|
||||
{
|
||||
if (cb_imageSize_c0_0.can_issue()) {
|
||||
return cb_imageSize_c0_0.issue<QAccessibleImageInterface_Adaptor, QSize>(&QAccessibleImageInterface_Adaptor::cbs_imageSize_c0_0);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("imageSize");
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_imageDescription_c0_0;
|
||||
gsi::Callback cb_imagePosition_c0_0;
|
||||
gsi::Callback cb_imageSize_c0_0;
|
||||
};
|
||||
|
||||
QAccessibleImageInterface_Adaptor::~QAccessibleImageInterface_Adaptor() { }
|
||||
|
||||
// Constructor QAccessibleImageInterface::QAccessibleImageInterface() (adaptor class)
|
||||
|
||||
static void _init_ctor_QAccessibleImageInterface_Adaptor_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return_new<QAccessibleImageInterface_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAccessibleImageInterface_Adaptor_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAccessibleImageInterface_Adaptor *> (new QAccessibleImageInterface_Adaptor ());
|
||||
}
|
||||
|
||||
|
||||
// QString QAccessibleImageInterface::imageDescription()
|
||||
|
||||
static void _init_cbs_imageDescription_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_imageDescription_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QString > ((QString)((QAccessibleImageInterface_Adaptor *)cls)->cbs_imageDescription_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_imageDescription_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAccessibleImageInterface_Adaptor *)cls)->cb_imageDescription_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// QPoint QAccessibleImageInterface::imagePosition()
|
||||
|
||||
static void _init_cbs_imagePosition_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QPoint > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_imagePosition_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QPoint > ((QPoint)((QAccessibleImageInterface_Adaptor *)cls)->cbs_imagePosition_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_imagePosition_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAccessibleImageInterface_Adaptor *)cls)->cb_imagePosition_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// QSize QAccessibleImageInterface::imageSize()
|
||||
|
||||
static void _init_cbs_imageSize_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QSize > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_imageSize_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QSize > ((QSize)((QAccessibleImageInterface_Adaptor *)cls)->cbs_imageSize_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_imageSize_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAccessibleImageInterface_Adaptor *)cls)->cb_imageSize_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QAccessibleImageInterface> &qtdecl_QAccessibleImageInterface ();
|
||||
|
||||
static gsi::Methods methods_QAccessibleImageInterface_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleImageInterface::QAccessibleImageInterface()\nThis method creates an object of class QAccessibleImageInterface.", &_init_ctor_QAccessibleImageInterface_Adaptor_0, &_call_ctor_QAccessibleImageInterface_Adaptor_0);
|
||||
methods += new qt_gsi::GenericMethod ("imageDescription", "@hide", true, &_init_cbs_imageDescription_c0_0, &_call_cbs_imageDescription_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("imageDescription", "@brief Virtual method QString QAccessibleImageInterface::imageDescription()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_imageDescription_c0_0, &_call_cbs_imageDescription_c0_0, &_set_callback_cbs_imageDescription_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("imagePosition", "@hide", true, &_init_cbs_imagePosition_c0_0, &_call_cbs_imagePosition_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("imagePosition", "@brief Virtual method QPoint QAccessibleImageInterface::imagePosition()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_imagePosition_c0_0, &_call_cbs_imagePosition_c0_0, &_set_callback_cbs_imagePosition_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("imageSize", "@hide", true, &_init_cbs_imageSize_c0_0, &_call_cbs_imageSize_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("imageSize", "@brief Virtual method QSize QAccessibleImageInterface::imageSize()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_imageSize_c0_0, &_call_cbs_imageSize_c0_0, &_set_callback_cbs_imageSize_c0_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessibleImageInterface_Adaptor> decl_QAccessibleImageInterface_Adaptor (qtdecl_QAccessibleImageInterface (), "QAccessibleImageInterface",
|
||||
methods_QAccessibleImageInterface_Adaptor (),
|
||||
"@qt\n@brief Binding of QAccessibleImageInterface");
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,424 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAccessibleInterface.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAccessibleInterface>
|
||||
#include <QAccessibleTableCellInterface>
|
||||
#include <QColor>
|
||||
#include <QObject>
|
||||
#include <QRect>
|
||||
#include <QWindow>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAccessibleInterface
|
||||
|
||||
// QColor QAccessibleInterface::backgroundColor()
|
||||
|
||||
|
||||
static void _init_f_backgroundColor_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QColor > ();
|
||||
}
|
||||
|
||||
static void _call_f_backgroundColor_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QColor > ((QColor)((QAccessibleInterface *)cls)->backgroundColor ());
|
||||
}
|
||||
|
||||
|
||||
// QAccessibleInterface *QAccessibleInterface::child(int index)
|
||||
|
||||
|
||||
static void _init_f_child_c767 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("index");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
decl->set_return<QAccessibleInterface * > ();
|
||||
}
|
||||
|
||||
static void _call_f_child_c767 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
ret.write<QAccessibleInterface * > ((QAccessibleInterface *)((QAccessibleInterface *)cls)->child (arg1));
|
||||
}
|
||||
|
||||
|
||||
// QAccessibleInterface *QAccessibleInterface::childAt(int x, int y)
|
||||
|
||||
|
||||
static void _init_f_childAt_c1426 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("x");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("y");
|
||||
decl->add_arg<int > (argspec_1);
|
||||
decl->set_return<QAccessibleInterface * > ();
|
||||
}
|
||||
|
||||
static void _call_f_childAt_c1426 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
int arg2 = args.read<int > (heap);
|
||||
ret.write<QAccessibleInterface * > ((QAccessibleInterface *)((QAccessibleInterface *)cls)->childAt (arg1, arg2));
|
||||
}
|
||||
|
||||
|
||||
// int QAccessibleInterface::childCount()
|
||||
|
||||
|
||||
static void _init_f_childCount_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_childCount_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAccessibleInterface *)cls)->childCount ());
|
||||
}
|
||||
|
||||
|
||||
// QAccessibleInterface *QAccessibleInterface::focusChild()
|
||||
|
||||
|
||||
static void _init_f_focusChild_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QAccessibleInterface * > ();
|
||||
}
|
||||
|
||||
static void _call_f_focusChild_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAccessibleInterface * > ((QAccessibleInterface *)((QAccessibleInterface *)cls)->focusChild ());
|
||||
}
|
||||
|
||||
|
||||
// QColor QAccessibleInterface::foregroundColor()
|
||||
|
||||
|
||||
static void _init_f_foregroundColor_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QColor > ();
|
||||
}
|
||||
|
||||
static void _call_f_foregroundColor_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QColor > ((QColor)((QAccessibleInterface *)cls)->foregroundColor ());
|
||||
}
|
||||
|
||||
|
||||
// int QAccessibleInterface::indexOfChild(const QAccessibleInterface *)
|
||||
|
||||
|
||||
static void _init_f_indexOfChild_c3317 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<const QAccessibleInterface * > (argspec_0);
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_indexOfChild_c3317 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QAccessibleInterface *arg1 = args.read<const QAccessibleInterface * > (heap);
|
||||
ret.write<int > ((int)((QAccessibleInterface *)cls)->indexOfChild (arg1));
|
||||
}
|
||||
|
||||
|
||||
// void *QAccessibleInterface::interface_cast(QAccessible::InterfaceType)
|
||||
|
||||
|
||||
static void _init_f_interface_cast_2970 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<const qt_gsi::Converter<QAccessible::InterfaceType>::target_type & > (argspec_0);
|
||||
decl->set_return<void * > ();
|
||||
}
|
||||
|
||||
static void _call_f_interface_cast_2970 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const qt_gsi::Converter<QAccessible::InterfaceType>::target_type & arg1 = args.read<const qt_gsi::Converter<QAccessible::InterfaceType>::target_type & > (heap);
|
||||
ret.write<void * > ((void *)((QAccessibleInterface *)cls)->interface_cast (qt_gsi::QtToCppAdaptor<QAccessible::InterfaceType>(arg1).cref()));
|
||||
}
|
||||
|
||||
|
||||
// bool QAccessibleInterface::isValid()
|
||||
|
||||
|
||||
static void _init_f_isValid_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_isValid_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<bool > ((bool)((QAccessibleInterface *)cls)->isValid ());
|
||||
}
|
||||
|
||||
|
||||
// QObject *QAccessibleInterface::object()
|
||||
|
||||
|
||||
static void _init_f_object_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QObject * > ();
|
||||
}
|
||||
|
||||
static void _call_f_object_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QObject * > ((QObject *)((QAccessibleInterface *)cls)->object ());
|
||||
}
|
||||
|
||||
|
||||
// QAccessibleInterface *QAccessibleInterface::parent()
|
||||
|
||||
|
||||
static void _init_f_parent_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QAccessibleInterface * > ();
|
||||
}
|
||||
|
||||
static void _call_f_parent_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAccessibleInterface * > ((QAccessibleInterface *)((QAccessibleInterface *)cls)->parent ());
|
||||
}
|
||||
|
||||
|
||||
// QRect QAccessibleInterface::rect()
|
||||
|
||||
|
||||
static void _init_f_rect_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QRect > ();
|
||||
}
|
||||
|
||||
static void _call_f_rect_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QRect > ((QRect)((QAccessibleInterface *)cls)->rect ());
|
||||
}
|
||||
|
||||
|
||||
// QVector<QPair<QAccessibleInterface*, QAccessible::Relation> > QAccessibleInterface::relations(QFlags<QAccessible::RelationFlag> match)
|
||||
|
||||
|
||||
static void _init_f_relations_c3543 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("match", true, "QAccessible::AllRelations");
|
||||
decl->add_arg<QFlags<QAccessible::RelationFlag> > (argspec_0);
|
||||
decl->set_return<QVector<QPair<QAccessibleInterface*, QAccessible::Relation> > > ();
|
||||
}
|
||||
|
||||
static void _call_f_relations_c3543 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QFlags<QAccessible::RelationFlag> arg1 = args ? args.read<QFlags<QAccessible::RelationFlag> > (heap) : (QFlags<QAccessible::RelationFlag>)(QAccessible::AllRelations);
|
||||
ret.write<QVector<QPair<QAccessibleInterface*, QAccessible::Relation> > > ((QVector<QPair<QAccessibleInterface*, QAccessible::Relation> >)((QAccessibleInterface *)cls)->relations (arg1));
|
||||
}
|
||||
|
||||
|
||||
// QAccessible::Role QAccessibleInterface::role()
|
||||
|
||||
|
||||
static void _init_f_role_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<qt_gsi::Converter<QAccessible::Role>::target_type > ();
|
||||
}
|
||||
|
||||
static void _call_f_role_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<qt_gsi::Converter<QAccessible::Role>::target_type > ((qt_gsi::Converter<QAccessible::Role>::target_type)qt_gsi::CppToQtAdaptor<QAccessible::Role>(((QAccessibleInterface *)cls)->role ()));
|
||||
}
|
||||
|
||||
|
||||
// void QAccessibleInterface::setText(QAccessible::Text t, const QString &text)
|
||||
|
||||
|
||||
static void _init_f_setText_3977 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("t");
|
||||
decl->add_arg<const qt_gsi::Converter<QAccessible::Text>::target_type & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("text");
|
||||
decl->add_arg<const QString & > (argspec_1);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setText_3977 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const qt_gsi::Converter<QAccessible::Text>::target_type & arg1 = args.read<const qt_gsi::Converter<QAccessible::Text>::target_type & > (heap);
|
||||
const QString &arg2 = args.read<const QString & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAccessibleInterface *)cls)->setText (qt_gsi::QtToCppAdaptor<QAccessible::Text>(arg1).cref(), arg2);
|
||||
}
|
||||
|
||||
|
||||
// QAccessible::State QAccessibleInterface::state()
|
||||
|
||||
|
||||
static void _init_f_state_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QAccessible::State > ();
|
||||
}
|
||||
|
||||
static void _call_f_state_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAccessible::State > ((QAccessible::State)((QAccessibleInterface *)cls)->state ());
|
||||
}
|
||||
|
||||
|
||||
// QAccessibleTableCellInterface *QAccessibleInterface::tableCellInterface()
|
||||
|
||||
|
||||
static void _init_f_tableCellInterface_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QAccessibleTableCellInterface * > ();
|
||||
}
|
||||
|
||||
static void _call_f_tableCellInterface_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAccessibleTableCellInterface * > ((QAccessibleTableCellInterface *)((QAccessibleInterface *)cls)->tableCellInterface ());
|
||||
}
|
||||
|
||||
|
||||
// QString QAccessibleInterface::text(QAccessible::Text t)
|
||||
|
||||
|
||||
static void _init_f_text_c2060 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("t");
|
||||
decl->add_arg<const qt_gsi::Converter<QAccessible::Text>::target_type & > (argspec_0);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_text_c2060 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const qt_gsi::Converter<QAccessible::Text>::target_type & arg1 = args.read<const qt_gsi::Converter<QAccessible::Text>::target_type & > (heap);
|
||||
ret.write<QString > ((QString)((QAccessibleInterface *)cls)->text (qt_gsi::QtToCppAdaptor<QAccessible::Text>(arg1).cref()));
|
||||
}
|
||||
|
||||
|
||||
// void QAccessibleInterface::virtual_hook(int id, void *data)
|
||||
|
||||
|
||||
static void _init_f_virtual_hook_1715 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("id");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("data");
|
||||
decl->add_arg<void * > (argspec_1);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_virtual_hook_1715 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
void *arg2 = args.read<void * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAccessibleInterface *)cls)->virtual_hook (arg1, arg2);
|
||||
}
|
||||
|
||||
|
||||
// QWindow *QAccessibleInterface::window()
|
||||
|
||||
|
||||
static void _init_f_window_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QWindow * > ();
|
||||
}
|
||||
|
||||
static void _call_f_window_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QWindow * > ((QWindow *)((QAccessibleInterface *)cls)->window ());
|
||||
}
|
||||
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAccessibleInterface () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericMethod ("backgroundColor", "@brief Method QColor QAccessibleInterface::backgroundColor()\n", true, &_init_f_backgroundColor_c0, &_call_f_backgroundColor_c0);
|
||||
methods += new qt_gsi::GenericMethod ("child", "@brief Method QAccessibleInterface *QAccessibleInterface::child(int index)\n", true, &_init_f_child_c767, &_call_f_child_c767);
|
||||
methods += new qt_gsi::GenericMethod ("childAt", "@brief Method QAccessibleInterface *QAccessibleInterface::childAt(int x, int y)\n", true, &_init_f_childAt_c1426, &_call_f_childAt_c1426);
|
||||
methods += new qt_gsi::GenericMethod ("childCount", "@brief Method int QAccessibleInterface::childCount()\n", true, &_init_f_childCount_c0, &_call_f_childCount_c0);
|
||||
methods += new qt_gsi::GenericMethod ("focusChild", "@brief Method QAccessibleInterface *QAccessibleInterface::focusChild()\n", true, &_init_f_focusChild_c0, &_call_f_focusChild_c0);
|
||||
methods += new qt_gsi::GenericMethod ("foregroundColor", "@brief Method QColor QAccessibleInterface::foregroundColor()\n", true, &_init_f_foregroundColor_c0, &_call_f_foregroundColor_c0);
|
||||
methods += new qt_gsi::GenericMethod ("indexOfChild", "@brief Method int QAccessibleInterface::indexOfChild(const QAccessibleInterface *)\n", true, &_init_f_indexOfChild_c3317, &_call_f_indexOfChild_c3317);
|
||||
methods += new qt_gsi::GenericMethod ("interface_cast", "@brief Method void *QAccessibleInterface::interface_cast(QAccessible::InterfaceType)\n", false, &_init_f_interface_cast_2970, &_call_f_interface_cast_2970);
|
||||
methods += new qt_gsi::GenericMethod ("isValid?", "@brief Method bool QAccessibleInterface::isValid()\n", true, &_init_f_isValid_c0, &_call_f_isValid_c0);
|
||||
methods += new qt_gsi::GenericMethod ("object", "@brief Method QObject *QAccessibleInterface::object()\n", true, &_init_f_object_c0, &_call_f_object_c0);
|
||||
methods += new qt_gsi::GenericMethod ("parent", "@brief Method QAccessibleInterface *QAccessibleInterface::parent()\n", true, &_init_f_parent_c0, &_call_f_parent_c0);
|
||||
methods += new qt_gsi::GenericMethod ("rect", "@brief Method QRect QAccessibleInterface::rect()\n", true, &_init_f_rect_c0, &_call_f_rect_c0);
|
||||
methods += new qt_gsi::GenericMethod ("relations", "@brief Method QVector<QPair<QAccessibleInterface*, QAccessible::Relation> > QAccessibleInterface::relations(QFlags<QAccessible::RelationFlag> match)\n", true, &_init_f_relations_c3543, &_call_f_relations_c3543);
|
||||
methods += new qt_gsi::GenericMethod ("role", "@brief Method QAccessible::Role QAccessibleInterface::role()\n", true, &_init_f_role_c0, &_call_f_role_c0);
|
||||
methods += new qt_gsi::GenericMethod ("setText", "@brief Method void QAccessibleInterface::setText(QAccessible::Text t, const QString &text)\n", false, &_init_f_setText_3977, &_call_f_setText_3977);
|
||||
methods += new qt_gsi::GenericMethod ("state", "@brief Method QAccessible::State QAccessibleInterface::state()\n", true, &_init_f_state_c0, &_call_f_state_c0);
|
||||
methods += new qt_gsi::GenericMethod ("tableCellInterface", "@brief Method QAccessibleTableCellInterface *QAccessibleInterface::tableCellInterface()\n", false, &_init_f_tableCellInterface_0, &_call_f_tableCellInterface_0);
|
||||
methods += new qt_gsi::GenericMethod ("text", "@brief Method QString QAccessibleInterface::text(QAccessible::Text t)\n", true, &_init_f_text_c2060, &_call_f_text_c2060);
|
||||
methods += new qt_gsi::GenericMethod ("virtual_hook", "@brief Method void QAccessibleInterface::virtual_hook(int id, void *data)\n", false, &_init_f_virtual_hook_1715, &_call_f_virtual_hook_1715);
|
||||
methods += new qt_gsi::GenericMethod ("window", "@brief Method QWindow *QAccessibleInterface::window()\n", true, &_init_f_window_c0, &_call_f_window_c0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessibleInterface> decl_QAccessibleInterface ("QAccessibleInterface",
|
||||
methods_QAccessibleInterface (),
|
||||
"@qt\n@brief Binding of QAccessibleInterface");
|
||||
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAccessibleInterface> &qtdecl_QAccessibleInterface () { return decl_QAccessibleInterface; }
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,159 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAccessibleObject.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAccessibleObject>
|
||||
#include <QAccessibleInterface>
|
||||
#include <QAccessibleTableCellInterface>
|
||||
#include <QColor>
|
||||
#include <QObject>
|
||||
#include <QRect>
|
||||
#include <QWindow>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAccessibleObject
|
||||
|
||||
// (int, int) const
|
||||
|
||||
|
||||
static void _init_f_childAt_c1426 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("x");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("y");
|
||||
decl->add_arg<int > (argspec_1);
|
||||
decl->set_return<QAccessibleInterface * > ();
|
||||
}
|
||||
|
||||
static void _call_f_childAt_c1426 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
int arg2 = args.read<int > (heap);
|
||||
ret.write<QAccessibleInterface * > ((QAccessibleInterface *)((QAccessibleObject *)cls)->childAt (arg1, arg2));
|
||||
}
|
||||
|
||||
|
||||
// () const
|
||||
|
||||
|
||||
static void _init_f_isValid_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_isValid_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<bool > ((bool)((QAccessibleObject *)cls)->isValid ());
|
||||
}
|
||||
|
||||
|
||||
// () const
|
||||
|
||||
|
||||
static void _init_f_object_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QObject * > ();
|
||||
}
|
||||
|
||||
static void _call_f_object_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QObject * > ((QObject *)((QAccessibleObject *)cls)->object ());
|
||||
}
|
||||
|
||||
|
||||
// () const
|
||||
|
||||
|
||||
static void _init_f_rect_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QRect > ();
|
||||
}
|
||||
|
||||
static void _call_f_rect_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QRect > ((QRect)((QAccessibleObject *)cls)->rect ());
|
||||
}
|
||||
|
||||
|
||||
// (QAccessible::Text, const QString &)
|
||||
|
||||
|
||||
static void _init_f_setText_3977 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("t");
|
||||
decl->add_arg<const qt_gsi::Converter<QAccessible::Text>::target_type & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("text");
|
||||
decl->add_arg<const QString & > (argspec_1);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setText_3977 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const qt_gsi::Converter<QAccessible::Text>::target_type & arg1 = args.read<const qt_gsi::Converter<QAccessible::Text>::target_type & > (heap);
|
||||
const QString &arg2 = args.read<const QString & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAccessibleObject *)cls)->setText (qt_gsi::QtToCppAdaptor<QAccessible::Text>(arg1).cref(), arg2);
|
||||
}
|
||||
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAccessibleObject () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericMethod ("childAt", "@brief Method (int, int) const\nThis is a reimplementation of QAccessibleInterface::childAt", true, &_init_f_childAt_c1426, &_call_f_childAt_c1426);
|
||||
methods += new qt_gsi::GenericMethod ("isValid?", "@brief Method () const\nThis is a reimplementation of QAccessibleInterface::isValid", true, &_init_f_isValid_c0, &_call_f_isValid_c0);
|
||||
methods += new qt_gsi::GenericMethod ("object", "@brief Method () const\nThis is a reimplementation of QAccessibleInterface::object", true, &_init_f_object_c0, &_call_f_object_c0);
|
||||
methods += new qt_gsi::GenericMethod ("rect", "@brief Method () const\nThis is a reimplementation of QAccessibleInterface::rect", true, &_init_f_rect_c0, &_call_f_rect_c0);
|
||||
methods += new qt_gsi::GenericMethod ("setText", "@brief Method (QAccessible::Text, const QString &)\nThis is a reimplementation of QAccessibleInterface::setText", false, &_init_f_setText_3977, &_call_f_setText_3977);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessibleInterface> &qtdecl_QAccessibleInterface ();
|
||||
|
||||
gsi::Class<QAccessibleObject> decl_QAccessibleObject (qtdecl_QAccessibleInterface (), "QAccessibleObject",
|
||||
methods_QAccessibleObject (),
|
||||
"@qt\n@brief Binding of QAccessibleObject");
|
||||
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAccessibleObject> &qtdecl_QAccessibleObject () { return decl_QAccessibleObject; }
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,194 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAccessibleStateChangeEvent.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAccessibleStateChangeEvent>
|
||||
#include <QAccessibleInterface>
|
||||
#include <QObject>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAccessibleStateChangeEvent
|
||||
|
||||
// QAccessible::State QAccessibleStateChangeEvent::changedStates()
|
||||
|
||||
|
||||
static void _init_f_changedStates_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QAccessible::State > ();
|
||||
}
|
||||
|
||||
static void _call_f_changedStates_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAccessible::State > ((QAccessible::State)((QAccessibleStateChangeEvent *)cls)->changedStates ());
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAccessibleStateChangeEvent () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericMethod ("changedStates", "@brief Method QAccessible::State QAccessibleStateChangeEvent::changedStates()\n", true, &_init_f_changedStates_c0, &_call_f_changedStates_c0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessibleEvent> &qtdecl_QAccessibleEvent ();
|
||||
|
||||
gsi::Class<QAccessibleStateChangeEvent> decl_QAccessibleStateChangeEvent (qtdecl_QAccessibleEvent (), "QAccessibleStateChangeEvent_Native",
|
||||
methods_QAccessibleStateChangeEvent (),
|
||||
"@hide\n@alias QAccessibleStateChangeEvent");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAccessibleStateChangeEvent> &qtdecl_QAccessibleStateChangeEvent () { return decl_QAccessibleStateChangeEvent; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QAccessibleStateChangeEvent_Adaptor : public QAccessibleStateChangeEvent, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QAccessibleStateChangeEvent_Adaptor();
|
||||
|
||||
// [adaptor ctor] QAccessibleStateChangeEvent::QAccessibleStateChangeEvent(QObject *obj, QAccessible::State state)
|
||||
QAccessibleStateChangeEvent_Adaptor(QObject *obj, QAccessible::State state) : QAccessibleStateChangeEvent(obj, state)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor ctor] QAccessibleStateChangeEvent::QAccessibleStateChangeEvent(QAccessibleInterface *iface, QAccessible::State state)
|
||||
QAccessibleStateChangeEvent_Adaptor(QAccessibleInterface *iface, QAccessible::State state) : QAccessibleStateChangeEvent(iface, state)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor impl] QAccessibleInterface *QAccessibleStateChangeEvent::accessibleInterface()
|
||||
QAccessibleInterface * cbs_accessibleInterface_c0_0() const
|
||||
{
|
||||
return QAccessibleStateChangeEvent::accessibleInterface();
|
||||
}
|
||||
|
||||
virtual QAccessibleInterface * accessibleInterface() const
|
||||
{
|
||||
if (cb_accessibleInterface_c0_0.can_issue()) {
|
||||
return cb_accessibleInterface_c0_0.issue<QAccessibleStateChangeEvent_Adaptor, QAccessibleInterface *>(&QAccessibleStateChangeEvent_Adaptor::cbs_accessibleInterface_c0_0);
|
||||
} else {
|
||||
return QAccessibleStateChangeEvent::accessibleInterface();
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_accessibleInterface_c0_0;
|
||||
};
|
||||
|
||||
QAccessibleStateChangeEvent_Adaptor::~QAccessibleStateChangeEvent_Adaptor() { }
|
||||
|
||||
// Constructor QAccessibleStateChangeEvent::QAccessibleStateChangeEvent(QObject *obj, QAccessible::State state) (adaptor class)
|
||||
|
||||
static void _init_ctor_QAccessibleStateChangeEvent_Adaptor_3346 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("obj");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("state");
|
||||
decl->add_arg<QAccessible::State > (argspec_1);
|
||||
decl->set_return_new<QAccessibleStateChangeEvent_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAccessibleStateChangeEvent_Adaptor_3346 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args.read<QObject * > (heap);
|
||||
QAccessible::State arg2 = args.read<QAccessible::State > (heap);
|
||||
ret.write<QAccessibleStateChangeEvent_Adaptor *> (new QAccessibleStateChangeEvent_Adaptor (arg1, arg2));
|
||||
}
|
||||
|
||||
|
||||
// Constructor QAccessibleStateChangeEvent::QAccessibleStateChangeEvent(QAccessibleInterface *iface, QAccessible::State state) (adaptor class)
|
||||
|
||||
static void _init_ctor_QAccessibleStateChangeEvent_Adaptor_4666 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("iface");
|
||||
decl->add_arg<QAccessibleInterface * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("state");
|
||||
decl->add_arg<QAccessible::State > (argspec_1);
|
||||
decl->set_return_new<QAccessibleStateChangeEvent_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAccessibleStateChangeEvent_Adaptor_4666 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAccessibleInterface *arg1 = args.read<QAccessibleInterface * > (heap);
|
||||
QAccessible::State arg2 = args.read<QAccessible::State > (heap);
|
||||
ret.write<QAccessibleStateChangeEvent_Adaptor *> (new QAccessibleStateChangeEvent_Adaptor (arg1, arg2));
|
||||
}
|
||||
|
||||
|
||||
// QAccessibleInterface *QAccessibleStateChangeEvent::accessibleInterface()
|
||||
|
||||
static void _init_cbs_accessibleInterface_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QAccessibleInterface * > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_accessibleInterface_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAccessibleInterface * > ((QAccessibleInterface *)((QAccessibleStateChangeEvent_Adaptor *)cls)->cbs_accessibleInterface_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_accessibleInterface_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAccessibleStateChangeEvent_Adaptor *)cls)->cb_accessibleInterface_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QAccessibleStateChangeEvent> &qtdecl_QAccessibleStateChangeEvent ();
|
||||
|
||||
static gsi::Methods methods_QAccessibleStateChangeEvent_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleStateChangeEvent::QAccessibleStateChangeEvent(QObject *obj, QAccessible::State state)\nThis method creates an object of class QAccessibleStateChangeEvent.", &_init_ctor_QAccessibleStateChangeEvent_Adaptor_3346, &_call_ctor_QAccessibleStateChangeEvent_Adaptor_3346);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleStateChangeEvent::QAccessibleStateChangeEvent(QAccessibleInterface *iface, QAccessible::State state)\nThis method creates an object of class QAccessibleStateChangeEvent.", &_init_ctor_QAccessibleStateChangeEvent_Adaptor_4666, &_call_ctor_QAccessibleStateChangeEvent_Adaptor_4666);
|
||||
methods += new qt_gsi::GenericMethod ("accessibleInterface", "@hide", true, &_init_cbs_accessibleInterface_c0_0, &_call_cbs_accessibleInterface_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("accessibleInterface", "@brief Virtual method QAccessibleInterface *QAccessibleStateChangeEvent::accessibleInterface()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_accessibleInterface_c0_0, &_call_cbs_accessibleInterface_c0_0, &_set_callback_cbs_accessibleInterface_c0_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessibleStateChangeEvent_Adaptor> decl_QAccessibleStateChangeEvent_Adaptor (qtdecl_QAccessibleStateChangeEvent (), "QAccessibleStateChangeEvent",
|
||||
methods_QAccessibleStateChangeEvent_Adaptor (),
|
||||
"@qt\n@brief Binding of QAccessibleStateChangeEvent");
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,527 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAccessibleTableCellInterface.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAccessibleTableCellInterface>
|
||||
#include <QAccessibleInterface>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAccessibleTableCellInterface
|
||||
|
||||
// int QAccessibleTableCellInterface::columnExtent()
|
||||
|
||||
|
||||
static void _init_f_columnExtent_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_columnExtent_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAccessibleTableCellInterface *)cls)->columnExtent ());
|
||||
}
|
||||
|
||||
|
||||
// QList<QAccessibleInterface*> QAccessibleTableCellInterface::columnHeaderCells()
|
||||
|
||||
|
||||
static void _init_f_columnHeaderCells_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QList<QAccessibleInterface*> > ();
|
||||
}
|
||||
|
||||
static void _call_f_columnHeaderCells_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QList<QAccessibleInterface*> > ((QList<QAccessibleInterface*>)((QAccessibleTableCellInterface *)cls)->columnHeaderCells ());
|
||||
}
|
||||
|
||||
|
||||
// int QAccessibleTableCellInterface::columnIndex()
|
||||
|
||||
|
||||
static void _init_f_columnIndex_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_columnIndex_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAccessibleTableCellInterface *)cls)->columnIndex ());
|
||||
}
|
||||
|
||||
|
||||
// bool QAccessibleTableCellInterface::isSelected()
|
||||
|
||||
|
||||
static void _init_f_isSelected_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_isSelected_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<bool > ((bool)((QAccessibleTableCellInterface *)cls)->isSelected ());
|
||||
}
|
||||
|
||||
|
||||
// int QAccessibleTableCellInterface::rowExtent()
|
||||
|
||||
|
||||
static void _init_f_rowExtent_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_rowExtent_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAccessibleTableCellInterface *)cls)->rowExtent ());
|
||||
}
|
||||
|
||||
|
||||
// QList<QAccessibleInterface*> QAccessibleTableCellInterface::rowHeaderCells()
|
||||
|
||||
|
||||
static void _init_f_rowHeaderCells_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QList<QAccessibleInterface*> > ();
|
||||
}
|
||||
|
||||
static void _call_f_rowHeaderCells_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QList<QAccessibleInterface*> > ((QList<QAccessibleInterface*>)((QAccessibleTableCellInterface *)cls)->rowHeaderCells ());
|
||||
}
|
||||
|
||||
|
||||
// int QAccessibleTableCellInterface::rowIndex()
|
||||
|
||||
|
||||
static void _init_f_rowIndex_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_rowIndex_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAccessibleTableCellInterface *)cls)->rowIndex ());
|
||||
}
|
||||
|
||||
|
||||
// QAccessibleInterface *QAccessibleTableCellInterface::table()
|
||||
|
||||
|
||||
static void _init_f_table_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QAccessibleInterface * > ();
|
||||
}
|
||||
|
||||
static void _call_f_table_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAccessibleInterface * > ((QAccessibleInterface *)((QAccessibleTableCellInterface *)cls)->table ());
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAccessibleTableCellInterface () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericMethod ("columnExtent", "@brief Method int QAccessibleTableCellInterface::columnExtent()\n", true, &_init_f_columnExtent_c0, &_call_f_columnExtent_c0);
|
||||
methods += new qt_gsi::GenericMethod ("columnHeaderCells", "@brief Method QList<QAccessibleInterface*> QAccessibleTableCellInterface::columnHeaderCells()\n", true, &_init_f_columnHeaderCells_c0, &_call_f_columnHeaderCells_c0);
|
||||
methods += new qt_gsi::GenericMethod ("columnIndex", "@brief Method int QAccessibleTableCellInterface::columnIndex()\n", true, &_init_f_columnIndex_c0, &_call_f_columnIndex_c0);
|
||||
methods += new qt_gsi::GenericMethod ("isSelected?", "@brief Method bool QAccessibleTableCellInterface::isSelected()\n", true, &_init_f_isSelected_c0, &_call_f_isSelected_c0);
|
||||
methods += new qt_gsi::GenericMethod ("rowExtent", "@brief Method int QAccessibleTableCellInterface::rowExtent()\n", true, &_init_f_rowExtent_c0, &_call_f_rowExtent_c0);
|
||||
methods += new qt_gsi::GenericMethod ("rowHeaderCells", "@brief Method QList<QAccessibleInterface*> QAccessibleTableCellInterface::rowHeaderCells()\n", true, &_init_f_rowHeaderCells_c0, &_call_f_rowHeaderCells_c0);
|
||||
methods += new qt_gsi::GenericMethod ("rowIndex", "@brief Method int QAccessibleTableCellInterface::rowIndex()\n", true, &_init_f_rowIndex_c0, &_call_f_rowIndex_c0);
|
||||
methods += new qt_gsi::GenericMethod ("table", "@brief Method QAccessibleInterface *QAccessibleTableCellInterface::table()\n", true, &_init_f_table_c0, &_call_f_table_c0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessibleTableCellInterface> decl_QAccessibleTableCellInterface ("QAccessibleTableCellInterface_Native",
|
||||
methods_QAccessibleTableCellInterface (),
|
||||
"@hide\n@alias QAccessibleTableCellInterface");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAccessibleTableCellInterface> &qtdecl_QAccessibleTableCellInterface () { return decl_QAccessibleTableCellInterface; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QAccessibleTableCellInterface_Adaptor : public QAccessibleTableCellInterface, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QAccessibleTableCellInterface_Adaptor();
|
||||
|
||||
// [adaptor ctor] QAccessibleTableCellInterface::QAccessibleTableCellInterface()
|
||||
QAccessibleTableCellInterface_Adaptor() : QAccessibleTableCellInterface()
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor impl] int QAccessibleTableCellInterface::columnExtent()
|
||||
int cbs_columnExtent_c0_0() const
|
||||
{
|
||||
throw qt_gsi::AbstractMethodCalledException("columnExtent");
|
||||
}
|
||||
|
||||
virtual int columnExtent() const
|
||||
{
|
||||
if (cb_columnExtent_c0_0.can_issue()) {
|
||||
return cb_columnExtent_c0_0.issue<QAccessibleTableCellInterface_Adaptor, int>(&QAccessibleTableCellInterface_Adaptor::cbs_columnExtent_c0_0);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("columnExtent");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] QList<QAccessibleInterface*> QAccessibleTableCellInterface::columnHeaderCells()
|
||||
QList<QAccessibleInterface*> cbs_columnHeaderCells_c0_0() const
|
||||
{
|
||||
throw qt_gsi::AbstractMethodCalledException("columnHeaderCells");
|
||||
}
|
||||
|
||||
virtual QList<QAccessibleInterface*> columnHeaderCells() const
|
||||
{
|
||||
if (cb_columnHeaderCells_c0_0.can_issue()) {
|
||||
return cb_columnHeaderCells_c0_0.issue<QAccessibleTableCellInterface_Adaptor, QList<QAccessibleInterface*> >(&QAccessibleTableCellInterface_Adaptor::cbs_columnHeaderCells_c0_0);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("columnHeaderCells");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] int QAccessibleTableCellInterface::columnIndex()
|
||||
int cbs_columnIndex_c0_0() const
|
||||
{
|
||||
throw qt_gsi::AbstractMethodCalledException("columnIndex");
|
||||
}
|
||||
|
||||
virtual int columnIndex() const
|
||||
{
|
||||
if (cb_columnIndex_c0_0.can_issue()) {
|
||||
return cb_columnIndex_c0_0.issue<QAccessibleTableCellInterface_Adaptor, int>(&QAccessibleTableCellInterface_Adaptor::cbs_columnIndex_c0_0);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("columnIndex");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] bool QAccessibleTableCellInterface::isSelected()
|
||||
bool cbs_isSelected_c0_0() const
|
||||
{
|
||||
throw qt_gsi::AbstractMethodCalledException("isSelected");
|
||||
}
|
||||
|
||||
virtual bool isSelected() const
|
||||
{
|
||||
if (cb_isSelected_c0_0.can_issue()) {
|
||||
return cb_isSelected_c0_0.issue<QAccessibleTableCellInterface_Adaptor, bool>(&QAccessibleTableCellInterface_Adaptor::cbs_isSelected_c0_0);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("isSelected");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] int QAccessibleTableCellInterface::rowExtent()
|
||||
int cbs_rowExtent_c0_0() const
|
||||
{
|
||||
throw qt_gsi::AbstractMethodCalledException("rowExtent");
|
||||
}
|
||||
|
||||
virtual int rowExtent() const
|
||||
{
|
||||
if (cb_rowExtent_c0_0.can_issue()) {
|
||||
return cb_rowExtent_c0_0.issue<QAccessibleTableCellInterface_Adaptor, int>(&QAccessibleTableCellInterface_Adaptor::cbs_rowExtent_c0_0);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("rowExtent");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] QList<QAccessibleInterface*> QAccessibleTableCellInterface::rowHeaderCells()
|
||||
QList<QAccessibleInterface*> cbs_rowHeaderCells_c0_0() const
|
||||
{
|
||||
throw qt_gsi::AbstractMethodCalledException("rowHeaderCells");
|
||||
}
|
||||
|
||||
virtual QList<QAccessibleInterface*> rowHeaderCells() const
|
||||
{
|
||||
if (cb_rowHeaderCells_c0_0.can_issue()) {
|
||||
return cb_rowHeaderCells_c0_0.issue<QAccessibleTableCellInterface_Adaptor, QList<QAccessibleInterface*> >(&QAccessibleTableCellInterface_Adaptor::cbs_rowHeaderCells_c0_0);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("rowHeaderCells");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] int QAccessibleTableCellInterface::rowIndex()
|
||||
int cbs_rowIndex_c0_0() const
|
||||
{
|
||||
throw qt_gsi::AbstractMethodCalledException("rowIndex");
|
||||
}
|
||||
|
||||
virtual int rowIndex() const
|
||||
{
|
||||
if (cb_rowIndex_c0_0.can_issue()) {
|
||||
return cb_rowIndex_c0_0.issue<QAccessibleTableCellInterface_Adaptor, int>(&QAccessibleTableCellInterface_Adaptor::cbs_rowIndex_c0_0);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("rowIndex");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] QAccessibleInterface *QAccessibleTableCellInterface::table()
|
||||
QAccessibleInterface * cbs_table_c0_0() const
|
||||
{
|
||||
throw qt_gsi::AbstractMethodCalledException("table");
|
||||
}
|
||||
|
||||
virtual QAccessibleInterface * table() const
|
||||
{
|
||||
if (cb_table_c0_0.can_issue()) {
|
||||
return cb_table_c0_0.issue<QAccessibleTableCellInterface_Adaptor, QAccessibleInterface *>(&QAccessibleTableCellInterface_Adaptor::cbs_table_c0_0);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("table");
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_columnExtent_c0_0;
|
||||
gsi::Callback cb_columnHeaderCells_c0_0;
|
||||
gsi::Callback cb_columnIndex_c0_0;
|
||||
gsi::Callback cb_isSelected_c0_0;
|
||||
gsi::Callback cb_rowExtent_c0_0;
|
||||
gsi::Callback cb_rowHeaderCells_c0_0;
|
||||
gsi::Callback cb_rowIndex_c0_0;
|
||||
gsi::Callback cb_table_c0_0;
|
||||
};
|
||||
|
||||
QAccessibleTableCellInterface_Adaptor::~QAccessibleTableCellInterface_Adaptor() { }
|
||||
|
||||
// Constructor QAccessibleTableCellInterface::QAccessibleTableCellInterface() (adaptor class)
|
||||
|
||||
static void _init_ctor_QAccessibleTableCellInterface_Adaptor_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return_new<QAccessibleTableCellInterface_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAccessibleTableCellInterface_Adaptor_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAccessibleTableCellInterface_Adaptor *> (new QAccessibleTableCellInterface_Adaptor ());
|
||||
}
|
||||
|
||||
|
||||
// int QAccessibleTableCellInterface::columnExtent()
|
||||
|
||||
static void _init_cbs_columnExtent_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_columnExtent_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAccessibleTableCellInterface_Adaptor *)cls)->cbs_columnExtent_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_columnExtent_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAccessibleTableCellInterface_Adaptor *)cls)->cb_columnExtent_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// QList<QAccessibleInterface*> QAccessibleTableCellInterface::columnHeaderCells()
|
||||
|
||||
static void _init_cbs_columnHeaderCells_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QList<QAccessibleInterface*> > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_columnHeaderCells_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QList<QAccessibleInterface*> > ((QList<QAccessibleInterface*>)((QAccessibleTableCellInterface_Adaptor *)cls)->cbs_columnHeaderCells_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_columnHeaderCells_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAccessibleTableCellInterface_Adaptor *)cls)->cb_columnHeaderCells_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// int QAccessibleTableCellInterface::columnIndex()
|
||||
|
||||
static void _init_cbs_columnIndex_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_columnIndex_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAccessibleTableCellInterface_Adaptor *)cls)->cbs_columnIndex_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_columnIndex_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAccessibleTableCellInterface_Adaptor *)cls)->cb_columnIndex_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// bool QAccessibleTableCellInterface::isSelected()
|
||||
|
||||
static void _init_cbs_isSelected_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_isSelected_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<bool > ((bool)((QAccessibleTableCellInterface_Adaptor *)cls)->cbs_isSelected_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_isSelected_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAccessibleTableCellInterface_Adaptor *)cls)->cb_isSelected_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// int QAccessibleTableCellInterface::rowExtent()
|
||||
|
||||
static void _init_cbs_rowExtent_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_rowExtent_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAccessibleTableCellInterface_Adaptor *)cls)->cbs_rowExtent_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_rowExtent_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAccessibleTableCellInterface_Adaptor *)cls)->cb_rowExtent_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// QList<QAccessibleInterface*> QAccessibleTableCellInterface::rowHeaderCells()
|
||||
|
||||
static void _init_cbs_rowHeaderCells_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QList<QAccessibleInterface*> > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_rowHeaderCells_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QList<QAccessibleInterface*> > ((QList<QAccessibleInterface*>)((QAccessibleTableCellInterface_Adaptor *)cls)->cbs_rowHeaderCells_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_rowHeaderCells_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAccessibleTableCellInterface_Adaptor *)cls)->cb_rowHeaderCells_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// int QAccessibleTableCellInterface::rowIndex()
|
||||
|
||||
static void _init_cbs_rowIndex_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_rowIndex_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAccessibleTableCellInterface_Adaptor *)cls)->cbs_rowIndex_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_rowIndex_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAccessibleTableCellInterface_Adaptor *)cls)->cb_rowIndex_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// QAccessibleInterface *QAccessibleTableCellInterface::table()
|
||||
|
||||
static void _init_cbs_table_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QAccessibleInterface * > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_table_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAccessibleInterface * > ((QAccessibleInterface *)((QAccessibleTableCellInterface_Adaptor *)cls)->cbs_table_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_table_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAccessibleTableCellInterface_Adaptor *)cls)->cb_table_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QAccessibleTableCellInterface> &qtdecl_QAccessibleTableCellInterface ();
|
||||
|
||||
static gsi::Methods methods_QAccessibleTableCellInterface_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleTableCellInterface::QAccessibleTableCellInterface()\nThis method creates an object of class QAccessibleTableCellInterface.", &_init_ctor_QAccessibleTableCellInterface_Adaptor_0, &_call_ctor_QAccessibleTableCellInterface_Adaptor_0);
|
||||
methods += new qt_gsi::GenericMethod ("columnExtent", "@hide", true, &_init_cbs_columnExtent_c0_0, &_call_cbs_columnExtent_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("columnExtent", "@brief Virtual method int QAccessibleTableCellInterface::columnExtent()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_columnExtent_c0_0, &_call_cbs_columnExtent_c0_0, &_set_callback_cbs_columnExtent_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("columnHeaderCells", "@hide", true, &_init_cbs_columnHeaderCells_c0_0, &_call_cbs_columnHeaderCells_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("columnHeaderCells", "@brief Virtual method QList<QAccessibleInterface*> QAccessibleTableCellInterface::columnHeaderCells()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_columnHeaderCells_c0_0, &_call_cbs_columnHeaderCells_c0_0, &_set_callback_cbs_columnHeaderCells_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("columnIndex", "@hide", true, &_init_cbs_columnIndex_c0_0, &_call_cbs_columnIndex_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("columnIndex", "@brief Virtual method int QAccessibleTableCellInterface::columnIndex()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_columnIndex_c0_0, &_call_cbs_columnIndex_c0_0, &_set_callback_cbs_columnIndex_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("isSelected", "@hide", true, &_init_cbs_isSelected_c0_0, &_call_cbs_isSelected_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("isSelected", "@brief Virtual method bool QAccessibleTableCellInterface::isSelected()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_isSelected_c0_0, &_call_cbs_isSelected_c0_0, &_set_callback_cbs_isSelected_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("rowExtent", "@hide", true, &_init_cbs_rowExtent_c0_0, &_call_cbs_rowExtent_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("rowExtent", "@brief Virtual method int QAccessibleTableCellInterface::rowExtent()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_rowExtent_c0_0, &_call_cbs_rowExtent_c0_0, &_set_callback_cbs_rowExtent_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("rowHeaderCells", "@hide", true, &_init_cbs_rowHeaderCells_c0_0, &_call_cbs_rowHeaderCells_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("rowHeaderCells", "@brief Virtual method QList<QAccessibleInterface*> QAccessibleTableCellInterface::rowHeaderCells()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_rowHeaderCells_c0_0, &_call_cbs_rowHeaderCells_c0_0, &_set_callback_cbs_rowHeaderCells_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("rowIndex", "@hide", true, &_init_cbs_rowIndex_c0_0, &_call_cbs_rowIndex_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("rowIndex", "@brief Virtual method int QAccessibleTableCellInterface::rowIndex()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_rowIndex_c0_0, &_call_cbs_rowIndex_c0_0, &_set_callback_cbs_rowIndex_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("table", "@hide", true, &_init_cbs_table_c0_0, &_call_cbs_table_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("table", "@brief Virtual method QAccessibleInterface *QAccessibleTableCellInterface::table()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_table_c0_0, &_call_cbs_table_c0_0, &_set_callback_cbs_table_c0_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessibleTableCellInterface_Adaptor> decl_QAccessibleTableCellInterface_Adaptor (qtdecl_QAccessibleTableCellInterface (), "QAccessibleTableCellInterface",
|
||||
methods_QAccessibleTableCellInterface_Adaptor (),
|
||||
"@qt\n@brief Binding of QAccessibleTableCellInterface");
|
||||
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,387 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAccessibleTableModelChangeEvent.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAccessibleTableModelChangeEvent>
|
||||
#include <QAccessibleInterface>
|
||||
#include <QObject>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAccessibleTableModelChangeEvent
|
||||
|
||||
// int QAccessibleTableModelChangeEvent::firstColumn()
|
||||
|
||||
|
||||
static void _init_f_firstColumn_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_firstColumn_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAccessibleTableModelChangeEvent *)cls)->firstColumn ());
|
||||
}
|
||||
|
||||
|
||||
// int QAccessibleTableModelChangeEvent::firstRow()
|
||||
|
||||
|
||||
static void _init_f_firstRow_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_firstRow_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAccessibleTableModelChangeEvent *)cls)->firstRow ());
|
||||
}
|
||||
|
||||
|
||||
// int QAccessibleTableModelChangeEvent::lastColumn()
|
||||
|
||||
|
||||
static void _init_f_lastColumn_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_lastColumn_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAccessibleTableModelChangeEvent *)cls)->lastColumn ());
|
||||
}
|
||||
|
||||
|
||||
// int QAccessibleTableModelChangeEvent::lastRow()
|
||||
|
||||
|
||||
static void _init_f_lastRow_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_lastRow_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAccessibleTableModelChangeEvent *)cls)->lastRow ());
|
||||
}
|
||||
|
||||
|
||||
// QAccessibleTableModelChangeEvent::ModelChangeType QAccessibleTableModelChangeEvent::modelChangeType()
|
||||
|
||||
|
||||
static void _init_f_modelChangeType_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<qt_gsi::Converter<QAccessibleTableModelChangeEvent::ModelChangeType>::target_type > ();
|
||||
}
|
||||
|
||||
static void _call_f_modelChangeType_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<qt_gsi::Converter<QAccessibleTableModelChangeEvent::ModelChangeType>::target_type > ((qt_gsi::Converter<QAccessibleTableModelChangeEvent::ModelChangeType>::target_type)qt_gsi::CppToQtAdaptor<QAccessibleTableModelChangeEvent::ModelChangeType>(((QAccessibleTableModelChangeEvent *)cls)->modelChangeType ()));
|
||||
}
|
||||
|
||||
|
||||
// void QAccessibleTableModelChangeEvent::setFirstColumn(int col)
|
||||
|
||||
|
||||
static void _init_f_setFirstColumn_767 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("col");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setFirstColumn_767 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAccessibleTableModelChangeEvent *)cls)->setFirstColumn (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAccessibleTableModelChangeEvent::setFirstRow(int row)
|
||||
|
||||
|
||||
static void _init_f_setFirstRow_767 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("row");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setFirstRow_767 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAccessibleTableModelChangeEvent *)cls)->setFirstRow (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAccessibleTableModelChangeEvent::setLastColumn(int col)
|
||||
|
||||
|
||||
static void _init_f_setLastColumn_767 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("col");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setLastColumn_767 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAccessibleTableModelChangeEvent *)cls)->setLastColumn (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAccessibleTableModelChangeEvent::setLastRow(int row)
|
||||
|
||||
|
||||
static void _init_f_setLastRow_767 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("row");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setLastRow_767 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAccessibleTableModelChangeEvent *)cls)->setLastRow (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAccessibleTableModelChangeEvent::setModelChangeType(QAccessibleTableModelChangeEvent::ModelChangeType changeType)
|
||||
|
||||
|
||||
static void _init_f_setModelChangeType_5217 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("changeType");
|
||||
decl->add_arg<const qt_gsi::Converter<QAccessibleTableModelChangeEvent::ModelChangeType>::target_type & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setModelChangeType_5217 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const qt_gsi::Converter<QAccessibleTableModelChangeEvent::ModelChangeType>::target_type & arg1 = args.read<const qt_gsi::Converter<QAccessibleTableModelChangeEvent::ModelChangeType>::target_type & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAccessibleTableModelChangeEvent *)cls)->setModelChangeType (qt_gsi::QtToCppAdaptor<QAccessibleTableModelChangeEvent::ModelChangeType>(arg1).cref());
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAccessibleTableModelChangeEvent () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericMethod (":firstColumn", "@brief Method int QAccessibleTableModelChangeEvent::firstColumn()\n", true, &_init_f_firstColumn_c0, &_call_f_firstColumn_c0);
|
||||
methods += new qt_gsi::GenericMethod (":firstRow", "@brief Method int QAccessibleTableModelChangeEvent::firstRow()\n", true, &_init_f_firstRow_c0, &_call_f_firstRow_c0);
|
||||
methods += new qt_gsi::GenericMethod (":lastColumn", "@brief Method int QAccessibleTableModelChangeEvent::lastColumn()\n", true, &_init_f_lastColumn_c0, &_call_f_lastColumn_c0);
|
||||
methods += new qt_gsi::GenericMethod (":lastRow", "@brief Method int QAccessibleTableModelChangeEvent::lastRow()\n", true, &_init_f_lastRow_c0, &_call_f_lastRow_c0);
|
||||
methods += new qt_gsi::GenericMethod (":modelChangeType", "@brief Method QAccessibleTableModelChangeEvent::ModelChangeType QAccessibleTableModelChangeEvent::modelChangeType()\n", true, &_init_f_modelChangeType_c0, &_call_f_modelChangeType_c0);
|
||||
methods += new qt_gsi::GenericMethod ("setFirstColumn|firstColumn=", "@brief Method void QAccessibleTableModelChangeEvent::setFirstColumn(int col)\n", false, &_init_f_setFirstColumn_767, &_call_f_setFirstColumn_767);
|
||||
methods += new qt_gsi::GenericMethod ("setFirstRow|firstRow=", "@brief Method void QAccessibleTableModelChangeEvent::setFirstRow(int row)\n", false, &_init_f_setFirstRow_767, &_call_f_setFirstRow_767);
|
||||
methods += new qt_gsi::GenericMethod ("setLastColumn|lastColumn=", "@brief Method void QAccessibleTableModelChangeEvent::setLastColumn(int col)\n", false, &_init_f_setLastColumn_767, &_call_f_setLastColumn_767);
|
||||
methods += new qt_gsi::GenericMethod ("setLastRow|lastRow=", "@brief Method void QAccessibleTableModelChangeEvent::setLastRow(int row)\n", false, &_init_f_setLastRow_767, &_call_f_setLastRow_767);
|
||||
methods += new qt_gsi::GenericMethod ("setModelChangeType|modelChangeType=", "@brief Method void QAccessibleTableModelChangeEvent::setModelChangeType(QAccessibleTableModelChangeEvent::ModelChangeType changeType)\n", false, &_init_f_setModelChangeType_5217, &_call_f_setModelChangeType_5217);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessibleEvent> &qtdecl_QAccessibleEvent ();
|
||||
|
||||
gsi::Class<QAccessibleTableModelChangeEvent> decl_QAccessibleTableModelChangeEvent (qtdecl_QAccessibleEvent (), "QAccessibleTableModelChangeEvent_Native",
|
||||
methods_QAccessibleTableModelChangeEvent (),
|
||||
"@hide\n@alias QAccessibleTableModelChangeEvent");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAccessibleTableModelChangeEvent> &qtdecl_QAccessibleTableModelChangeEvent () { return decl_QAccessibleTableModelChangeEvent; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QAccessibleTableModelChangeEvent_Adaptor : public QAccessibleTableModelChangeEvent, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QAccessibleTableModelChangeEvent_Adaptor();
|
||||
|
||||
// [adaptor ctor] QAccessibleTableModelChangeEvent::QAccessibleTableModelChangeEvent(QObject *obj, QAccessibleTableModelChangeEvent::ModelChangeType changeType)
|
||||
QAccessibleTableModelChangeEvent_Adaptor(QObject *obj, QAccessibleTableModelChangeEvent::ModelChangeType changeType) : QAccessibleTableModelChangeEvent(obj, changeType)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor ctor] QAccessibleTableModelChangeEvent::QAccessibleTableModelChangeEvent(QAccessibleInterface *iface, QAccessibleTableModelChangeEvent::ModelChangeType changeType)
|
||||
QAccessibleTableModelChangeEvent_Adaptor(QAccessibleInterface *iface, QAccessibleTableModelChangeEvent::ModelChangeType changeType) : QAccessibleTableModelChangeEvent(iface, changeType)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor impl] QAccessibleInterface *QAccessibleTableModelChangeEvent::accessibleInterface()
|
||||
QAccessibleInterface * cbs_accessibleInterface_c0_0() const
|
||||
{
|
||||
return QAccessibleTableModelChangeEvent::accessibleInterface();
|
||||
}
|
||||
|
||||
virtual QAccessibleInterface * accessibleInterface() const
|
||||
{
|
||||
if (cb_accessibleInterface_c0_0.can_issue()) {
|
||||
return cb_accessibleInterface_c0_0.issue<QAccessibleTableModelChangeEvent_Adaptor, QAccessibleInterface *>(&QAccessibleTableModelChangeEvent_Adaptor::cbs_accessibleInterface_c0_0);
|
||||
} else {
|
||||
return QAccessibleTableModelChangeEvent::accessibleInterface();
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_accessibleInterface_c0_0;
|
||||
};
|
||||
|
||||
QAccessibleTableModelChangeEvent_Adaptor::~QAccessibleTableModelChangeEvent_Adaptor() { }
|
||||
|
||||
// Constructor QAccessibleTableModelChangeEvent::QAccessibleTableModelChangeEvent(QObject *obj, QAccessibleTableModelChangeEvent::ModelChangeType changeType) (adaptor class)
|
||||
|
||||
static void _init_ctor_QAccessibleTableModelChangeEvent_Adaptor_6411 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("obj");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("changeType");
|
||||
decl->add_arg<const qt_gsi::Converter<QAccessibleTableModelChangeEvent::ModelChangeType>::target_type & > (argspec_1);
|
||||
decl->set_return_new<QAccessibleTableModelChangeEvent_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAccessibleTableModelChangeEvent_Adaptor_6411 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args.read<QObject * > (heap);
|
||||
const qt_gsi::Converter<QAccessibleTableModelChangeEvent::ModelChangeType>::target_type & arg2 = args.read<const qt_gsi::Converter<QAccessibleTableModelChangeEvent::ModelChangeType>::target_type & > (heap);
|
||||
ret.write<QAccessibleTableModelChangeEvent_Adaptor *> (new QAccessibleTableModelChangeEvent_Adaptor (arg1, qt_gsi::QtToCppAdaptor<QAccessibleTableModelChangeEvent::ModelChangeType>(arg2).cref()));
|
||||
}
|
||||
|
||||
|
||||
// Constructor QAccessibleTableModelChangeEvent::QAccessibleTableModelChangeEvent(QAccessibleInterface *iface, QAccessibleTableModelChangeEvent::ModelChangeType changeType) (adaptor class)
|
||||
|
||||
static void _init_ctor_QAccessibleTableModelChangeEvent_Adaptor_7731 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("iface");
|
||||
decl->add_arg<QAccessibleInterface * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("changeType");
|
||||
decl->add_arg<const qt_gsi::Converter<QAccessibleTableModelChangeEvent::ModelChangeType>::target_type & > (argspec_1);
|
||||
decl->set_return_new<QAccessibleTableModelChangeEvent_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAccessibleTableModelChangeEvent_Adaptor_7731 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAccessibleInterface *arg1 = args.read<QAccessibleInterface * > (heap);
|
||||
const qt_gsi::Converter<QAccessibleTableModelChangeEvent::ModelChangeType>::target_type & arg2 = args.read<const qt_gsi::Converter<QAccessibleTableModelChangeEvent::ModelChangeType>::target_type & > (heap);
|
||||
ret.write<QAccessibleTableModelChangeEvent_Adaptor *> (new QAccessibleTableModelChangeEvent_Adaptor (arg1, qt_gsi::QtToCppAdaptor<QAccessibleTableModelChangeEvent::ModelChangeType>(arg2).cref()));
|
||||
}
|
||||
|
||||
|
||||
// QAccessibleInterface *QAccessibleTableModelChangeEvent::accessibleInterface()
|
||||
|
||||
static void _init_cbs_accessibleInterface_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QAccessibleInterface * > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_accessibleInterface_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAccessibleInterface * > ((QAccessibleInterface *)((QAccessibleTableModelChangeEvent_Adaptor *)cls)->cbs_accessibleInterface_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_accessibleInterface_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAccessibleTableModelChangeEvent_Adaptor *)cls)->cb_accessibleInterface_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QAccessibleTableModelChangeEvent> &qtdecl_QAccessibleTableModelChangeEvent ();
|
||||
|
||||
static gsi::Methods methods_QAccessibleTableModelChangeEvent_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleTableModelChangeEvent::QAccessibleTableModelChangeEvent(QObject *obj, QAccessibleTableModelChangeEvent::ModelChangeType changeType)\nThis method creates an object of class QAccessibleTableModelChangeEvent.", &_init_ctor_QAccessibleTableModelChangeEvent_Adaptor_6411, &_call_ctor_QAccessibleTableModelChangeEvent_Adaptor_6411);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleTableModelChangeEvent::QAccessibleTableModelChangeEvent(QAccessibleInterface *iface, QAccessibleTableModelChangeEvent::ModelChangeType changeType)\nThis method creates an object of class QAccessibleTableModelChangeEvent.", &_init_ctor_QAccessibleTableModelChangeEvent_Adaptor_7731, &_call_ctor_QAccessibleTableModelChangeEvent_Adaptor_7731);
|
||||
methods += new qt_gsi::GenericMethod ("accessibleInterface", "@hide", true, &_init_cbs_accessibleInterface_c0_0, &_call_cbs_accessibleInterface_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("accessibleInterface", "@brief Virtual method QAccessibleInterface *QAccessibleTableModelChangeEvent::accessibleInterface()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_accessibleInterface_c0_0, &_call_cbs_accessibleInterface_c0_0, &_set_callback_cbs_accessibleInterface_c0_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessibleTableModelChangeEvent_Adaptor> decl_QAccessibleTableModelChangeEvent_Adaptor (qtdecl_QAccessibleTableModelChangeEvent (), "QAccessibleTableModelChangeEvent",
|
||||
methods_QAccessibleTableModelChangeEvent_Adaptor (),
|
||||
"@qt\n@brief Binding of QAccessibleTableModelChangeEvent");
|
||||
|
||||
}
|
||||
|
||||
|
||||
// Implementation of the enum wrapper class for QAccessibleTableModelChangeEvent::ModelChangeType
|
||||
namespace qt_gsi
|
||||
{
|
||||
|
||||
static gsi::Enum<QAccessibleTableModelChangeEvent::ModelChangeType> decl_QAccessibleTableModelChangeEvent_ModelChangeType_Enum ("QAccessibleTableModelChangeEvent_ModelChangeType",
|
||||
gsi::enum_const ("ModelReset", QAccessibleTableModelChangeEvent::ModelReset, "@brief Enum constant QAccessibleTableModelChangeEvent::ModelReset") +
|
||||
gsi::enum_const ("DataChanged", QAccessibleTableModelChangeEvent::DataChanged, "@brief Enum constant QAccessibleTableModelChangeEvent::DataChanged") +
|
||||
gsi::enum_const ("RowsInserted", QAccessibleTableModelChangeEvent::RowsInserted, "@brief Enum constant QAccessibleTableModelChangeEvent::RowsInserted") +
|
||||
gsi::enum_const ("ColumnsInserted", QAccessibleTableModelChangeEvent::ColumnsInserted, "@brief Enum constant QAccessibleTableModelChangeEvent::ColumnsInserted") +
|
||||
gsi::enum_const ("RowsRemoved", QAccessibleTableModelChangeEvent::RowsRemoved, "@brief Enum constant QAccessibleTableModelChangeEvent::RowsRemoved") +
|
||||
gsi::enum_const ("ColumnsRemoved", QAccessibleTableModelChangeEvent::ColumnsRemoved, "@brief Enum constant QAccessibleTableModelChangeEvent::ColumnsRemoved"),
|
||||
"@qt\n@brief This class represents the QAccessibleTableModelChangeEvent::ModelChangeType enum");
|
||||
|
||||
static gsi::QFlagsClass<QAccessibleTableModelChangeEvent::ModelChangeType > decl_QAccessibleTableModelChangeEvent_ModelChangeType_Enums ("QAccessibleTableModelChangeEvent_QFlags_ModelChangeType",
|
||||
"@qt\n@brief This class represents the QFlags<QAccessibleTableModelChangeEvent::ModelChangeType> flag set");
|
||||
|
||||
// Inject the declarations into the parent
|
||||
static gsi::ClassExt<QAccessibleTableModelChangeEvent> inject_QAccessibleTableModelChangeEvent_ModelChangeType_Enum_in_parent (decl_QAccessibleTableModelChangeEvent_ModelChangeType_Enum.defs ());
|
||||
static gsi::ClassExt<QAccessibleTableModelChangeEvent> decl_QAccessibleTableModelChangeEvent_ModelChangeType_Enum_as_child (decl_QAccessibleTableModelChangeEvent_ModelChangeType_Enum, "ModelChangeType");
|
||||
static gsi::ClassExt<QAccessibleTableModelChangeEvent> decl_QAccessibleTableModelChangeEvent_ModelChangeType_Enums_as_child (decl_QAccessibleTableModelChangeEvent_ModelChangeType_Enums, "QFlags_ModelChangeType");
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,215 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAccessibleTextCursorEvent.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAccessibleTextCursorEvent>
|
||||
#include <QAccessibleInterface>
|
||||
#include <QObject>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAccessibleTextCursorEvent
|
||||
|
||||
// int QAccessibleTextCursorEvent::cursorPosition()
|
||||
|
||||
|
||||
static void _init_f_cursorPosition_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_cursorPosition_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAccessibleTextCursorEvent *)cls)->cursorPosition ());
|
||||
}
|
||||
|
||||
|
||||
// void QAccessibleTextCursorEvent::setCursorPosition(int position)
|
||||
|
||||
|
||||
static void _init_f_setCursorPosition_767 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("position");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setCursorPosition_767 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAccessibleTextCursorEvent *)cls)->setCursorPosition (arg1);
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAccessibleTextCursorEvent () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericMethod (":cursorPosition", "@brief Method int QAccessibleTextCursorEvent::cursorPosition()\n", true, &_init_f_cursorPosition_c0, &_call_f_cursorPosition_c0);
|
||||
methods += new qt_gsi::GenericMethod ("setCursorPosition|cursorPosition=", "@brief Method void QAccessibleTextCursorEvent::setCursorPosition(int position)\n", false, &_init_f_setCursorPosition_767, &_call_f_setCursorPosition_767);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessibleEvent> &qtdecl_QAccessibleEvent ();
|
||||
|
||||
gsi::Class<QAccessibleTextCursorEvent> decl_QAccessibleTextCursorEvent (qtdecl_QAccessibleEvent (), "QAccessibleTextCursorEvent_Native",
|
||||
methods_QAccessibleTextCursorEvent (),
|
||||
"@hide\n@alias QAccessibleTextCursorEvent");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAccessibleTextCursorEvent> &qtdecl_QAccessibleTextCursorEvent () { return decl_QAccessibleTextCursorEvent; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QAccessibleTextCursorEvent_Adaptor : public QAccessibleTextCursorEvent, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QAccessibleTextCursorEvent_Adaptor();
|
||||
|
||||
// [adaptor ctor] QAccessibleTextCursorEvent::QAccessibleTextCursorEvent(QObject *obj, int cursorPos)
|
||||
QAccessibleTextCursorEvent_Adaptor(QObject *obj, int cursorPos) : QAccessibleTextCursorEvent(obj, cursorPos)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor ctor] QAccessibleTextCursorEvent::QAccessibleTextCursorEvent(QAccessibleInterface *iface, int cursorPos)
|
||||
QAccessibleTextCursorEvent_Adaptor(QAccessibleInterface *iface, int cursorPos) : QAccessibleTextCursorEvent(iface, cursorPos)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor impl] QAccessibleInterface *QAccessibleTextCursorEvent::accessibleInterface()
|
||||
QAccessibleInterface * cbs_accessibleInterface_c0_0() const
|
||||
{
|
||||
return QAccessibleTextCursorEvent::accessibleInterface();
|
||||
}
|
||||
|
||||
virtual QAccessibleInterface * accessibleInterface() const
|
||||
{
|
||||
if (cb_accessibleInterface_c0_0.can_issue()) {
|
||||
return cb_accessibleInterface_c0_0.issue<QAccessibleTextCursorEvent_Adaptor, QAccessibleInterface *>(&QAccessibleTextCursorEvent_Adaptor::cbs_accessibleInterface_c0_0);
|
||||
} else {
|
||||
return QAccessibleTextCursorEvent::accessibleInterface();
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_accessibleInterface_c0_0;
|
||||
};
|
||||
|
||||
QAccessibleTextCursorEvent_Adaptor::~QAccessibleTextCursorEvent_Adaptor() { }
|
||||
|
||||
// Constructor QAccessibleTextCursorEvent::QAccessibleTextCursorEvent(QObject *obj, int cursorPos) (adaptor class)
|
||||
|
||||
static void _init_ctor_QAccessibleTextCursorEvent_Adaptor_1961 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("obj");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("cursorPos");
|
||||
decl->add_arg<int > (argspec_1);
|
||||
decl->set_return_new<QAccessibleTextCursorEvent_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAccessibleTextCursorEvent_Adaptor_1961 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args.read<QObject * > (heap);
|
||||
int arg2 = args.read<int > (heap);
|
||||
ret.write<QAccessibleTextCursorEvent_Adaptor *> (new QAccessibleTextCursorEvent_Adaptor (arg1, arg2));
|
||||
}
|
||||
|
||||
|
||||
// Constructor QAccessibleTextCursorEvent::QAccessibleTextCursorEvent(QAccessibleInterface *iface, int cursorPos) (adaptor class)
|
||||
|
||||
static void _init_ctor_QAccessibleTextCursorEvent_Adaptor_3281 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("iface");
|
||||
decl->add_arg<QAccessibleInterface * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("cursorPos");
|
||||
decl->add_arg<int > (argspec_1);
|
||||
decl->set_return_new<QAccessibleTextCursorEvent_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAccessibleTextCursorEvent_Adaptor_3281 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAccessibleInterface *arg1 = args.read<QAccessibleInterface * > (heap);
|
||||
int arg2 = args.read<int > (heap);
|
||||
ret.write<QAccessibleTextCursorEvent_Adaptor *> (new QAccessibleTextCursorEvent_Adaptor (arg1, arg2));
|
||||
}
|
||||
|
||||
|
||||
// QAccessibleInterface *QAccessibleTextCursorEvent::accessibleInterface()
|
||||
|
||||
static void _init_cbs_accessibleInterface_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QAccessibleInterface * > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_accessibleInterface_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAccessibleInterface * > ((QAccessibleInterface *)((QAccessibleTextCursorEvent_Adaptor *)cls)->cbs_accessibleInterface_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_accessibleInterface_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAccessibleTextCursorEvent_Adaptor *)cls)->cb_accessibleInterface_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QAccessibleTextCursorEvent> &qtdecl_QAccessibleTextCursorEvent ();
|
||||
|
||||
static gsi::Methods methods_QAccessibleTextCursorEvent_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleTextCursorEvent::QAccessibleTextCursorEvent(QObject *obj, int cursorPos)\nThis method creates an object of class QAccessibleTextCursorEvent.", &_init_ctor_QAccessibleTextCursorEvent_Adaptor_1961, &_call_ctor_QAccessibleTextCursorEvent_Adaptor_1961);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleTextCursorEvent::QAccessibleTextCursorEvent(QAccessibleInterface *iface, int cursorPos)\nThis method creates an object of class QAccessibleTextCursorEvent.", &_init_ctor_QAccessibleTextCursorEvent_Adaptor_3281, &_call_ctor_QAccessibleTextCursorEvent_Adaptor_3281);
|
||||
methods += new qt_gsi::GenericMethod ("accessibleInterface", "@hide", true, &_init_cbs_accessibleInterface_c0_0, &_call_cbs_accessibleInterface_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("accessibleInterface", "@brief Virtual method QAccessibleInterface *QAccessibleTextCursorEvent::accessibleInterface()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_accessibleInterface_c0_0, &_call_cbs_accessibleInterface_c0_0, &_set_callback_cbs_accessibleInterface_c0_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessibleTextCursorEvent_Adaptor> decl_QAccessibleTextCursorEvent_Adaptor (qtdecl_QAccessibleTextCursorEvent (), "QAccessibleTextCursorEvent",
|
||||
methods_QAccessibleTextCursorEvent_Adaptor (),
|
||||
"@qt\n@brief Binding of QAccessibleTextCursorEvent");
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,216 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAccessibleTextInsertEvent.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAccessibleTextInsertEvent>
|
||||
#include <QAccessibleInterface>
|
||||
#include <QObject>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAccessibleTextInsertEvent
|
||||
|
||||
// int QAccessibleTextInsertEvent::changePosition()
|
||||
|
||||
|
||||
static void _init_f_changePosition_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_changePosition_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAccessibleTextInsertEvent *)cls)->changePosition ());
|
||||
}
|
||||
|
||||
|
||||
// QString QAccessibleTextInsertEvent::textInserted()
|
||||
|
||||
|
||||
static void _init_f_textInserted_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_textInserted_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QString > ((QString)((QAccessibleTextInsertEvent *)cls)->textInserted ());
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAccessibleTextInsertEvent () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericMethod ("changePosition", "@brief Method int QAccessibleTextInsertEvent::changePosition()\n", true, &_init_f_changePosition_c0, &_call_f_changePosition_c0);
|
||||
methods += new qt_gsi::GenericMethod ("textInserted", "@brief Method QString QAccessibleTextInsertEvent::textInserted()\n", true, &_init_f_textInserted_c0, &_call_f_textInserted_c0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessibleTextCursorEvent> &qtdecl_QAccessibleTextCursorEvent ();
|
||||
|
||||
gsi::Class<QAccessibleTextInsertEvent> decl_QAccessibleTextInsertEvent (qtdecl_QAccessibleTextCursorEvent (), "QAccessibleTextInsertEvent_Native",
|
||||
methods_QAccessibleTextInsertEvent (),
|
||||
"@hide\n@alias QAccessibleTextInsertEvent");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAccessibleTextInsertEvent> &qtdecl_QAccessibleTextInsertEvent () { return decl_QAccessibleTextInsertEvent; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QAccessibleTextInsertEvent_Adaptor : public QAccessibleTextInsertEvent, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QAccessibleTextInsertEvent_Adaptor();
|
||||
|
||||
// [adaptor ctor] QAccessibleTextInsertEvent::QAccessibleTextInsertEvent(QObject *obj, int position, const QString &text)
|
||||
QAccessibleTextInsertEvent_Adaptor(QObject *obj, int position, const QString &text) : QAccessibleTextInsertEvent(obj, position, text)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor ctor] QAccessibleTextInsertEvent::QAccessibleTextInsertEvent(QAccessibleInterface *iface, int position, const QString &text)
|
||||
QAccessibleTextInsertEvent_Adaptor(QAccessibleInterface *iface, int position, const QString &text) : QAccessibleTextInsertEvent(iface, position, text)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor impl] QAccessibleInterface *QAccessibleTextInsertEvent::accessibleInterface()
|
||||
QAccessibleInterface * cbs_accessibleInterface_c0_0() const
|
||||
{
|
||||
return QAccessibleTextInsertEvent::accessibleInterface();
|
||||
}
|
||||
|
||||
virtual QAccessibleInterface * accessibleInterface() const
|
||||
{
|
||||
if (cb_accessibleInterface_c0_0.can_issue()) {
|
||||
return cb_accessibleInterface_c0_0.issue<QAccessibleTextInsertEvent_Adaptor, QAccessibleInterface *>(&QAccessibleTextInsertEvent_Adaptor::cbs_accessibleInterface_c0_0);
|
||||
} else {
|
||||
return QAccessibleTextInsertEvent::accessibleInterface();
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_accessibleInterface_c0_0;
|
||||
};
|
||||
|
||||
QAccessibleTextInsertEvent_Adaptor::~QAccessibleTextInsertEvent_Adaptor() { }
|
||||
|
||||
// Constructor QAccessibleTextInsertEvent::QAccessibleTextInsertEvent(QObject *obj, int position, const QString &text) (adaptor class)
|
||||
|
||||
static void _init_ctor_QAccessibleTextInsertEvent_Adaptor_3878 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("obj");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("position");
|
||||
decl->add_arg<int > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("text");
|
||||
decl->add_arg<const QString & > (argspec_2);
|
||||
decl->set_return_new<QAccessibleTextInsertEvent_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAccessibleTextInsertEvent_Adaptor_3878 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args.read<QObject * > (heap);
|
||||
int arg2 = args.read<int > (heap);
|
||||
const QString &arg3 = args.read<const QString & > (heap);
|
||||
ret.write<QAccessibleTextInsertEvent_Adaptor *> (new QAccessibleTextInsertEvent_Adaptor (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
// Constructor QAccessibleTextInsertEvent::QAccessibleTextInsertEvent(QAccessibleInterface *iface, int position, const QString &text) (adaptor class)
|
||||
|
||||
static void _init_ctor_QAccessibleTextInsertEvent_Adaptor_5198 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("iface");
|
||||
decl->add_arg<QAccessibleInterface * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("position");
|
||||
decl->add_arg<int > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("text");
|
||||
decl->add_arg<const QString & > (argspec_2);
|
||||
decl->set_return_new<QAccessibleTextInsertEvent_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAccessibleTextInsertEvent_Adaptor_5198 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAccessibleInterface *arg1 = args.read<QAccessibleInterface * > (heap);
|
||||
int arg2 = args.read<int > (heap);
|
||||
const QString &arg3 = args.read<const QString & > (heap);
|
||||
ret.write<QAccessibleTextInsertEvent_Adaptor *> (new QAccessibleTextInsertEvent_Adaptor (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
// QAccessibleInterface *QAccessibleTextInsertEvent::accessibleInterface()
|
||||
|
||||
static void _init_cbs_accessibleInterface_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QAccessibleInterface * > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_accessibleInterface_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAccessibleInterface * > ((QAccessibleInterface *)((QAccessibleTextInsertEvent_Adaptor *)cls)->cbs_accessibleInterface_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_accessibleInterface_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAccessibleTextInsertEvent_Adaptor *)cls)->cb_accessibleInterface_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QAccessibleTextInsertEvent> &qtdecl_QAccessibleTextInsertEvent ();
|
||||
|
||||
static gsi::Methods methods_QAccessibleTextInsertEvent_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleTextInsertEvent::QAccessibleTextInsertEvent(QObject *obj, int position, const QString &text)\nThis method creates an object of class QAccessibleTextInsertEvent.", &_init_ctor_QAccessibleTextInsertEvent_Adaptor_3878, &_call_ctor_QAccessibleTextInsertEvent_Adaptor_3878);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleTextInsertEvent::QAccessibleTextInsertEvent(QAccessibleInterface *iface, int position, const QString &text)\nThis method creates an object of class QAccessibleTextInsertEvent.", &_init_ctor_QAccessibleTextInsertEvent_Adaptor_5198, &_call_ctor_QAccessibleTextInsertEvent_Adaptor_5198);
|
||||
methods += new qt_gsi::GenericMethod ("accessibleInterface", "@hide", true, &_init_cbs_accessibleInterface_c0_0, &_call_cbs_accessibleInterface_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("accessibleInterface", "@brief Virtual method QAccessibleInterface *QAccessibleTextInsertEvent::accessibleInterface()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_accessibleInterface_c0_0, &_call_cbs_accessibleInterface_c0_0, &_set_callback_cbs_accessibleInterface_c0_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessibleTextInsertEvent_Adaptor> decl_QAccessibleTextInsertEvent_Adaptor (qtdecl_QAccessibleTextInsertEvent (), "QAccessibleTextInsertEvent",
|
||||
methods_QAccessibleTextInsertEvent_Adaptor (),
|
||||
"@qt\n@brief Binding of QAccessibleTextInsertEvent");
|
||||
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,216 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAccessibleTextRemoveEvent.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAccessibleTextRemoveEvent>
|
||||
#include <QAccessibleInterface>
|
||||
#include <QObject>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAccessibleTextRemoveEvent
|
||||
|
||||
// int QAccessibleTextRemoveEvent::changePosition()
|
||||
|
||||
|
||||
static void _init_f_changePosition_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_changePosition_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAccessibleTextRemoveEvent *)cls)->changePosition ());
|
||||
}
|
||||
|
||||
|
||||
// QString QAccessibleTextRemoveEvent::textRemoved()
|
||||
|
||||
|
||||
static void _init_f_textRemoved_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_textRemoved_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QString > ((QString)((QAccessibleTextRemoveEvent *)cls)->textRemoved ());
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAccessibleTextRemoveEvent () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericMethod ("changePosition", "@brief Method int QAccessibleTextRemoveEvent::changePosition()\n", true, &_init_f_changePosition_c0, &_call_f_changePosition_c0);
|
||||
methods += new qt_gsi::GenericMethod ("textRemoved", "@brief Method QString QAccessibleTextRemoveEvent::textRemoved()\n", true, &_init_f_textRemoved_c0, &_call_f_textRemoved_c0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessibleTextCursorEvent> &qtdecl_QAccessibleTextCursorEvent ();
|
||||
|
||||
gsi::Class<QAccessibleTextRemoveEvent> decl_QAccessibleTextRemoveEvent (qtdecl_QAccessibleTextCursorEvent (), "QAccessibleTextRemoveEvent_Native",
|
||||
methods_QAccessibleTextRemoveEvent (),
|
||||
"@hide\n@alias QAccessibleTextRemoveEvent");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAccessibleTextRemoveEvent> &qtdecl_QAccessibleTextRemoveEvent () { return decl_QAccessibleTextRemoveEvent; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QAccessibleTextRemoveEvent_Adaptor : public QAccessibleTextRemoveEvent, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QAccessibleTextRemoveEvent_Adaptor();
|
||||
|
||||
// [adaptor ctor] QAccessibleTextRemoveEvent::QAccessibleTextRemoveEvent(QObject *obj, int position, const QString &text)
|
||||
QAccessibleTextRemoveEvent_Adaptor(QObject *obj, int position, const QString &text) : QAccessibleTextRemoveEvent(obj, position, text)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor ctor] QAccessibleTextRemoveEvent::QAccessibleTextRemoveEvent(QAccessibleInterface *iface, int position, const QString &text)
|
||||
QAccessibleTextRemoveEvent_Adaptor(QAccessibleInterface *iface, int position, const QString &text) : QAccessibleTextRemoveEvent(iface, position, text)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor impl] QAccessibleInterface *QAccessibleTextRemoveEvent::accessibleInterface()
|
||||
QAccessibleInterface * cbs_accessibleInterface_c0_0() const
|
||||
{
|
||||
return QAccessibleTextRemoveEvent::accessibleInterface();
|
||||
}
|
||||
|
||||
virtual QAccessibleInterface * accessibleInterface() const
|
||||
{
|
||||
if (cb_accessibleInterface_c0_0.can_issue()) {
|
||||
return cb_accessibleInterface_c0_0.issue<QAccessibleTextRemoveEvent_Adaptor, QAccessibleInterface *>(&QAccessibleTextRemoveEvent_Adaptor::cbs_accessibleInterface_c0_0);
|
||||
} else {
|
||||
return QAccessibleTextRemoveEvent::accessibleInterface();
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_accessibleInterface_c0_0;
|
||||
};
|
||||
|
||||
QAccessibleTextRemoveEvent_Adaptor::~QAccessibleTextRemoveEvent_Adaptor() { }
|
||||
|
||||
// Constructor QAccessibleTextRemoveEvent::QAccessibleTextRemoveEvent(QObject *obj, int position, const QString &text) (adaptor class)
|
||||
|
||||
static void _init_ctor_QAccessibleTextRemoveEvent_Adaptor_3878 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("obj");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("position");
|
||||
decl->add_arg<int > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("text");
|
||||
decl->add_arg<const QString & > (argspec_2);
|
||||
decl->set_return_new<QAccessibleTextRemoveEvent_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAccessibleTextRemoveEvent_Adaptor_3878 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args.read<QObject * > (heap);
|
||||
int arg2 = args.read<int > (heap);
|
||||
const QString &arg3 = args.read<const QString & > (heap);
|
||||
ret.write<QAccessibleTextRemoveEvent_Adaptor *> (new QAccessibleTextRemoveEvent_Adaptor (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
// Constructor QAccessibleTextRemoveEvent::QAccessibleTextRemoveEvent(QAccessibleInterface *iface, int position, const QString &text) (adaptor class)
|
||||
|
||||
static void _init_ctor_QAccessibleTextRemoveEvent_Adaptor_5198 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("iface");
|
||||
decl->add_arg<QAccessibleInterface * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("position");
|
||||
decl->add_arg<int > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("text");
|
||||
decl->add_arg<const QString & > (argspec_2);
|
||||
decl->set_return_new<QAccessibleTextRemoveEvent_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAccessibleTextRemoveEvent_Adaptor_5198 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAccessibleInterface *arg1 = args.read<QAccessibleInterface * > (heap);
|
||||
int arg2 = args.read<int > (heap);
|
||||
const QString &arg3 = args.read<const QString & > (heap);
|
||||
ret.write<QAccessibleTextRemoveEvent_Adaptor *> (new QAccessibleTextRemoveEvent_Adaptor (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
// QAccessibleInterface *QAccessibleTextRemoveEvent::accessibleInterface()
|
||||
|
||||
static void _init_cbs_accessibleInterface_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QAccessibleInterface * > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_accessibleInterface_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAccessibleInterface * > ((QAccessibleInterface *)((QAccessibleTextRemoveEvent_Adaptor *)cls)->cbs_accessibleInterface_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_accessibleInterface_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAccessibleTextRemoveEvent_Adaptor *)cls)->cb_accessibleInterface_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QAccessibleTextRemoveEvent> &qtdecl_QAccessibleTextRemoveEvent ();
|
||||
|
||||
static gsi::Methods methods_QAccessibleTextRemoveEvent_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleTextRemoveEvent::QAccessibleTextRemoveEvent(QObject *obj, int position, const QString &text)\nThis method creates an object of class QAccessibleTextRemoveEvent.", &_init_ctor_QAccessibleTextRemoveEvent_Adaptor_3878, &_call_ctor_QAccessibleTextRemoveEvent_Adaptor_3878);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleTextRemoveEvent::QAccessibleTextRemoveEvent(QAccessibleInterface *iface, int position, const QString &text)\nThis method creates an object of class QAccessibleTextRemoveEvent.", &_init_ctor_QAccessibleTextRemoveEvent_Adaptor_5198, &_call_ctor_QAccessibleTextRemoveEvent_Adaptor_5198);
|
||||
methods += new qt_gsi::GenericMethod ("accessibleInterface", "@hide", true, &_init_cbs_accessibleInterface_c0_0, &_call_cbs_accessibleInterface_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("accessibleInterface", "@brief Virtual method QAccessibleInterface *QAccessibleTextRemoveEvent::accessibleInterface()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_accessibleInterface_c0_0, &_call_cbs_accessibleInterface_c0_0, &_set_callback_cbs_accessibleInterface_c0_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessibleTextRemoveEvent_Adaptor> decl_QAccessibleTextRemoveEvent_Adaptor (qtdecl_QAccessibleTextRemoveEvent (), "QAccessibleTextRemoveEvent",
|
||||
methods_QAccessibleTextRemoveEvent_Adaptor (),
|
||||
"@qt\n@brief Binding of QAccessibleTextRemoveEvent");
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,240 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAccessibleTextSelectionEvent.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAccessibleTextSelectionEvent>
|
||||
#include <QAccessibleInterface>
|
||||
#include <QObject>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAccessibleTextSelectionEvent
|
||||
|
||||
// int QAccessibleTextSelectionEvent::selectionEnd()
|
||||
|
||||
|
||||
static void _init_f_selectionEnd_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_selectionEnd_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAccessibleTextSelectionEvent *)cls)->selectionEnd ());
|
||||
}
|
||||
|
||||
|
||||
// int QAccessibleTextSelectionEvent::selectionStart()
|
||||
|
||||
|
||||
static void _init_f_selectionStart_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_selectionStart_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAccessibleTextSelectionEvent *)cls)->selectionStart ());
|
||||
}
|
||||
|
||||
|
||||
// void QAccessibleTextSelectionEvent::setSelection(int start, int end)
|
||||
|
||||
|
||||
static void _init_f_setSelection_1426 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("start");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("end");
|
||||
decl->add_arg<int > (argspec_1);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setSelection_1426 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
int arg2 = args.read<int > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAccessibleTextSelectionEvent *)cls)->setSelection (arg1, arg2);
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAccessibleTextSelectionEvent () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericMethod ("selectionEnd", "@brief Method int QAccessibleTextSelectionEvent::selectionEnd()\n", true, &_init_f_selectionEnd_c0, &_call_f_selectionEnd_c0);
|
||||
methods += new qt_gsi::GenericMethod ("selectionStart", "@brief Method int QAccessibleTextSelectionEvent::selectionStart()\n", true, &_init_f_selectionStart_c0, &_call_f_selectionStart_c0);
|
||||
methods += new qt_gsi::GenericMethod ("setSelection", "@brief Method void QAccessibleTextSelectionEvent::setSelection(int start, int end)\n", false, &_init_f_setSelection_1426, &_call_f_setSelection_1426);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessibleTextCursorEvent> &qtdecl_QAccessibleTextCursorEvent ();
|
||||
|
||||
gsi::Class<QAccessibleTextSelectionEvent> decl_QAccessibleTextSelectionEvent (qtdecl_QAccessibleTextCursorEvent (), "QAccessibleTextSelectionEvent_Native",
|
||||
methods_QAccessibleTextSelectionEvent (),
|
||||
"@hide\n@alias QAccessibleTextSelectionEvent");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAccessibleTextSelectionEvent> &qtdecl_QAccessibleTextSelectionEvent () { return decl_QAccessibleTextSelectionEvent; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QAccessibleTextSelectionEvent_Adaptor : public QAccessibleTextSelectionEvent, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QAccessibleTextSelectionEvent_Adaptor();
|
||||
|
||||
// [adaptor ctor] QAccessibleTextSelectionEvent::QAccessibleTextSelectionEvent(QObject *obj, int start, int end)
|
||||
QAccessibleTextSelectionEvent_Adaptor(QObject *obj, int start, int end) : QAccessibleTextSelectionEvent(obj, start, end)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor ctor] QAccessibleTextSelectionEvent::QAccessibleTextSelectionEvent(QAccessibleInterface *iface, int start, int end)
|
||||
QAccessibleTextSelectionEvent_Adaptor(QAccessibleInterface *iface, int start, int end) : QAccessibleTextSelectionEvent(iface, start, end)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor impl] QAccessibleInterface *QAccessibleTextSelectionEvent::accessibleInterface()
|
||||
QAccessibleInterface * cbs_accessibleInterface_c0_0() const
|
||||
{
|
||||
return QAccessibleTextSelectionEvent::accessibleInterface();
|
||||
}
|
||||
|
||||
virtual QAccessibleInterface * accessibleInterface() const
|
||||
{
|
||||
if (cb_accessibleInterface_c0_0.can_issue()) {
|
||||
return cb_accessibleInterface_c0_0.issue<QAccessibleTextSelectionEvent_Adaptor, QAccessibleInterface *>(&QAccessibleTextSelectionEvent_Adaptor::cbs_accessibleInterface_c0_0);
|
||||
} else {
|
||||
return QAccessibleTextSelectionEvent::accessibleInterface();
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_accessibleInterface_c0_0;
|
||||
};
|
||||
|
||||
QAccessibleTextSelectionEvent_Adaptor::~QAccessibleTextSelectionEvent_Adaptor() { }
|
||||
|
||||
// Constructor QAccessibleTextSelectionEvent::QAccessibleTextSelectionEvent(QObject *obj, int start, int end) (adaptor class)
|
||||
|
||||
static void _init_ctor_QAccessibleTextSelectionEvent_Adaptor_2620 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("obj");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("start");
|
||||
decl->add_arg<int > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("end");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return_new<QAccessibleTextSelectionEvent_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAccessibleTextSelectionEvent_Adaptor_2620 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args.read<QObject * > (heap);
|
||||
int arg2 = args.read<int > (heap);
|
||||
int arg3 = args.read<int > (heap);
|
||||
ret.write<QAccessibleTextSelectionEvent_Adaptor *> (new QAccessibleTextSelectionEvent_Adaptor (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
// Constructor QAccessibleTextSelectionEvent::QAccessibleTextSelectionEvent(QAccessibleInterface *iface, int start, int end) (adaptor class)
|
||||
|
||||
static void _init_ctor_QAccessibleTextSelectionEvent_Adaptor_3940 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("iface");
|
||||
decl->add_arg<QAccessibleInterface * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("start");
|
||||
decl->add_arg<int > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("end");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return_new<QAccessibleTextSelectionEvent_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAccessibleTextSelectionEvent_Adaptor_3940 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAccessibleInterface *arg1 = args.read<QAccessibleInterface * > (heap);
|
||||
int arg2 = args.read<int > (heap);
|
||||
int arg3 = args.read<int > (heap);
|
||||
ret.write<QAccessibleTextSelectionEvent_Adaptor *> (new QAccessibleTextSelectionEvent_Adaptor (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
// QAccessibleInterface *QAccessibleTextSelectionEvent::accessibleInterface()
|
||||
|
||||
static void _init_cbs_accessibleInterface_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QAccessibleInterface * > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_accessibleInterface_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAccessibleInterface * > ((QAccessibleInterface *)((QAccessibleTextSelectionEvent_Adaptor *)cls)->cbs_accessibleInterface_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_accessibleInterface_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAccessibleTextSelectionEvent_Adaptor *)cls)->cb_accessibleInterface_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QAccessibleTextSelectionEvent> &qtdecl_QAccessibleTextSelectionEvent ();
|
||||
|
||||
static gsi::Methods methods_QAccessibleTextSelectionEvent_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleTextSelectionEvent::QAccessibleTextSelectionEvent(QObject *obj, int start, int end)\nThis method creates an object of class QAccessibleTextSelectionEvent.", &_init_ctor_QAccessibleTextSelectionEvent_Adaptor_2620, &_call_ctor_QAccessibleTextSelectionEvent_Adaptor_2620);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleTextSelectionEvent::QAccessibleTextSelectionEvent(QAccessibleInterface *iface, int start, int end)\nThis method creates an object of class QAccessibleTextSelectionEvent.", &_init_ctor_QAccessibleTextSelectionEvent_Adaptor_3940, &_call_ctor_QAccessibleTextSelectionEvent_Adaptor_3940);
|
||||
methods += new qt_gsi::GenericMethod ("accessibleInterface", "@hide", true, &_init_cbs_accessibleInterface_c0_0, &_call_cbs_accessibleInterface_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("accessibleInterface", "@brief Virtual method QAccessibleInterface *QAccessibleTextSelectionEvent::accessibleInterface()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_accessibleInterface_c0_0, &_call_cbs_accessibleInterface_c0_0, &_set_callback_cbs_accessibleInterface_c0_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessibleTextSelectionEvent_Adaptor> decl_QAccessibleTextSelectionEvent_Adaptor (qtdecl_QAccessibleTextSelectionEvent (), "QAccessibleTextSelectionEvent",
|
||||
methods_QAccessibleTextSelectionEvent_Adaptor (),
|
||||
"@qt\n@brief Binding of QAccessibleTextSelectionEvent");
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,238 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAccessibleTextUpdateEvent.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAccessibleTextUpdateEvent>
|
||||
#include <QAccessibleInterface>
|
||||
#include <QObject>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAccessibleTextUpdateEvent
|
||||
|
||||
// int QAccessibleTextUpdateEvent::changePosition()
|
||||
|
||||
|
||||
static void _init_f_changePosition_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_changePosition_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAccessibleTextUpdateEvent *)cls)->changePosition ());
|
||||
}
|
||||
|
||||
|
||||
// QString QAccessibleTextUpdateEvent::textInserted()
|
||||
|
||||
|
||||
static void _init_f_textInserted_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_textInserted_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QString > ((QString)((QAccessibleTextUpdateEvent *)cls)->textInserted ());
|
||||
}
|
||||
|
||||
|
||||
// QString QAccessibleTextUpdateEvent::textRemoved()
|
||||
|
||||
|
||||
static void _init_f_textRemoved_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_textRemoved_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QString > ((QString)((QAccessibleTextUpdateEvent *)cls)->textRemoved ());
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAccessibleTextUpdateEvent () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericMethod ("changePosition", "@brief Method int QAccessibleTextUpdateEvent::changePosition()\n", true, &_init_f_changePosition_c0, &_call_f_changePosition_c0);
|
||||
methods += new qt_gsi::GenericMethod ("textInserted", "@brief Method QString QAccessibleTextUpdateEvent::textInserted()\n", true, &_init_f_textInserted_c0, &_call_f_textInserted_c0);
|
||||
methods += new qt_gsi::GenericMethod ("textRemoved", "@brief Method QString QAccessibleTextUpdateEvent::textRemoved()\n", true, &_init_f_textRemoved_c0, &_call_f_textRemoved_c0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessibleTextCursorEvent> &qtdecl_QAccessibleTextCursorEvent ();
|
||||
|
||||
gsi::Class<QAccessibleTextUpdateEvent> decl_QAccessibleTextUpdateEvent (qtdecl_QAccessibleTextCursorEvent (), "QAccessibleTextUpdateEvent_Native",
|
||||
methods_QAccessibleTextUpdateEvent (),
|
||||
"@hide\n@alias QAccessibleTextUpdateEvent");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAccessibleTextUpdateEvent> &qtdecl_QAccessibleTextUpdateEvent () { return decl_QAccessibleTextUpdateEvent; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QAccessibleTextUpdateEvent_Adaptor : public QAccessibleTextUpdateEvent, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QAccessibleTextUpdateEvent_Adaptor();
|
||||
|
||||
// [adaptor ctor] QAccessibleTextUpdateEvent::QAccessibleTextUpdateEvent(QObject *obj, int position, const QString &oldText, const QString &text)
|
||||
QAccessibleTextUpdateEvent_Adaptor(QObject *obj, int position, const QString &oldText, const QString &text) : QAccessibleTextUpdateEvent(obj, position, oldText, text)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor ctor] QAccessibleTextUpdateEvent::QAccessibleTextUpdateEvent(QAccessibleInterface *iface, int position, const QString &oldText, const QString &text)
|
||||
QAccessibleTextUpdateEvent_Adaptor(QAccessibleInterface *iface, int position, const QString &oldText, const QString &text) : QAccessibleTextUpdateEvent(iface, position, oldText, text)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor impl] QAccessibleInterface *QAccessibleTextUpdateEvent::accessibleInterface()
|
||||
QAccessibleInterface * cbs_accessibleInterface_c0_0() const
|
||||
{
|
||||
return QAccessibleTextUpdateEvent::accessibleInterface();
|
||||
}
|
||||
|
||||
virtual QAccessibleInterface * accessibleInterface() const
|
||||
{
|
||||
if (cb_accessibleInterface_c0_0.can_issue()) {
|
||||
return cb_accessibleInterface_c0_0.issue<QAccessibleTextUpdateEvent_Adaptor, QAccessibleInterface *>(&QAccessibleTextUpdateEvent_Adaptor::cbs_accessibleInterface_c0_0);
|
||||
} else {
|
||||
return QAccessibleTextUpdateEvent::accessibleInterface();
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_accessibleInterface_c0_0;
|
||||
};
|
||||
|
||||
QAccessibleTextUpdateEvent_Adaptor::~QAccessibleTextUpdateEvent_Adaptor() { }
|
||||
|
||||
// Constructor QAccessibleTextUpdateEvent::QAccessibleTextUpdateEvent(QObject *obj, int position, const QString &oldText, const QString &text) (adaptor class)
|
||||
|
||||
static void _init_ctor_QAccessibleTextUpdateEvent_Adaptor_5795 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("obj");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("position");
|
||||
decl->add_arg<int > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("oldText");
|
||||
decl->add_arg<const QString & > (argspec_2);
|
||||
static gsi::ArgSpecBase argspec_3 ("text");
|
||||
decl->add_arg<const QString & > (argspec_3);
|
||||
decl->set_return_new<QAccessibleTextUpdateEvent_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAccessibleTextUpdateEvent_Adaptor_5795 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args.read<QObject * > (heap);
|
||||
int arg2 = args.read<int > (heap);
|
||||
const QString &arg3 = args.read<const QString & > (heap);
|
||||
const QString &arg4 = args.read<const QString & > (heap);
|
||||
ret.write<QAccessibleTextUpdateEvent_Adaptor *> (new QAccessibleTextUpdateEvent_Adaptor (arg1, arg2, arg3, arg4));
|
||||
}
|
||||
|
||||
|
||||
// Constructor QAccessibleTextUpdateEvent::QAccessibleTextUpdateEvent(QAccessibleInterface *iface, int position, const QString &oldText, const QString &text) (adaptor class)
|
||||
|
||||
static void _init_ctor_QAccessibleTextUpdateEvent_Adaptor_7115 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("iface");
|
||||
decl->add_arg<QAccessibleInterface * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("position");
|
||||
decl->add_arg<int > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("oldText");
|
||||
decl->add_arg<const QString & > (argspec_2);
|
||||
static gsi::ArgSpecBase argspec_3 ("text");
|
||||
decl->add_arg<const QString & > (argspec_3);
|
||||
decl->set_return_new<QAccessibleTextUpdateEvent_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAccessibleTextUpdateEvent_Adaptor_7115 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAccessibleInterface *arg1 = args.read<QAccessibleInterface * > (heap);
|
||||
int arg2 = args.read<int > (heap);
|
||||
const QString &arg3 = args.read<const QString & > (heap);
|
||||
const QString &arg4 = args.read<const QString & > (heap);
|
||||
ret.write<QAccessibleTextUpdateEvent_Adaptor *> (new QAccessibleTextUpdateEvent_Adaptor (arg1, arg2, arg3, arg4));
|
||||
}
|
||||
|
||||
|
||||
// QAccessibleInterface *QAccessibleTextUpdateEvent::accessibleInterface()
|
||||
|
||||
static void _init_cbs_accessibleInterface_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QAccessibleInterface * > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_accessibleInterface_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAccessibleInterface * > ((QAccessibleInterface *)((QAccessibleTextUpdateEvent_Adaptor *)cls)->cbs_accessibleInterface_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_accessibleInterface_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAccessibleTextUpdateEvent_Adaptor *)cls)->cb_accessibleInterface_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QAccessibleTextUpdateEvent> &qtdecl_QAccessibleTextUpdateEvent ();
|
||||
|
||||
static gsi::Methods methods_QAccessibleTextUpdateEvent_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleTextUpdateEvent::QAccessibleTextUpdateEvent(QObject *obj, int position, const QString &oldText, const QString &text)\nThis method creates an object of class QAccessibleTextUpdateEvent.", &_init_ctor_QAccessibleTextUpdateEvent_Adaptor_5795, &_call_ctor_QAccessibleTextUpdateEvent_Adaptor_5795);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleTextUpdateEvent::QAccessibleTextUpdateEvent(QAccessibleInterface *iface, int position, const QString &oldText, const QString &text)\nThis method creates an object of class QAccessibleTextUpdateEvent.", &_init_ctor_QAccessibleTextUpdateEvent_Adaptor_7115, &_call_ctor_QAccessibleTextUpdateEvent_Adaptor_7115);
|
||||
methods += new qt_gsi::GenericMethod ("accessibleInterface", "@hide", true, &_init_cbs_accessibleInterface_c0_0, &_call_cbs_accessibleInterface_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("accessibleInterface", "@brief Virtual method QAccessibleInterface *QAccessibleTextUpdateEvent::accessibleInterface()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_accessibleInterface_c0_0, &_call_cbs_accessibleInterface_c0_0, &_set_callback_cbs_accessibleInterface_c0_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessibleTextUpdateEvent_Adaptor> decl_QAccessibleTextUpdateEvent_Adaptor (qtdecl_QAccessibleTextUpdateEvent (), "QAccessibleTextUpdateEvent",
|
||||
methods_QAccessibleTextUpdateEvent_Adaptor (),
|
||||
"@qt\n@brief Binding of QAccessibleTextUpdateEvent");
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,215 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAccessibleValueChangeEvent.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAccessibleValueChangeEvent>
|
||||
#include <QAccessibleInterface>
|
||||
#include <QObject>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAccessibleValueChangeEvent
|
||||
|
||||
// void QAccessibleValueChangeEvent::setValue(const QVariant &val)
|
||||
|
||||
|
||||
static void _init_f_setValue_2119 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("val");
|
||||
decl->add_arg<const QVariant & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setValue_2119 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QVariant &arg1 = args.read<const QVariant & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAccessibleValueChangeEvent *)cls)->setValue (arg1);
|
||||
}
|
||||
|
||||
|
||||
// QVariant QAccessibleValueChangeEvent::value()
|
||||
|
||||
|
||||
static void _init_f_value_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QVariant > ();
|
||||
}
|
||||
|
||||
static void _call_f_value_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QVariant > ((QVariant)((QAccessibleValueChangeEvent *)cls)->value ());
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAccessibleValueChangeEvent () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericMethod ("setValue|value=", "@brief Method void QAccessibleValueChangeEvent::setValue(const QVariant &val)\n", false, &_init_f_setValue_2119, &_call_f_setValue_2119);
|
||||
methods += new qt_gsi::GenericMethod (":value", "@brief Method QVariant QAccessibleValueChangeEvent::value()\n", true, &_init_f_value_c0, &_call_f_value_c0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessibleEvent> &qtdecl_QAccessibleEvent ();
|
||||
|
||||
gsi::Class<QAccessibleValueChangeEvent> decl_QAccessibleValueChangeEvent (qtdecl_QAccessibleEvent (), "QAccessibleValueChangeEvent_Native",
|
||||
methods_QAccessibleValueChangeEvent (),
|
||||
"@hide\n@alias QAccessibleValueChangeEvent");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAccessibleValueChangeEvent> &qtdecl_QAccessibleValueChangeEvent () { return decl_QAccessibleValueChangeEvent; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QAccessibleValueChangeEvent_Adaptor : public QAccessibleValueChangeEvent, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QAccessibleValueChangeEvent_Adaptor();
|
||||
|
||||
// [adaptor ctor] QAccessibleValueChangeEvent::QAccessibleValueChangeEvent(QObject *obj, const QVariant &val)
|
||||
QAccessibleValueChangeEvent_Adaptor(QObject *obj, const QVariant &val) : QAccessibleValueChangeEvent(obj, val)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor ctor] QAccessibleValueChangeEvent::QAccessibleValueChangeEvent(QAccessibleInterface *iface, const QVariant &val)
|
||||
QAccessibleValueChangeEvent_Adaptor(QAccessibleInterface *iface, const QVariant &val) : QAccessibleValueChangeEvent(iface, val)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor impl] QAccessibleInterface *QAccessibleValueChangeEvent::accessibleInterface()
|
||||
QAccessibleInterface * cbs_accessibleInterface_c0_0() const
|
||||
{
|
||||
return QAccessibleValueChangeEvent::accessibleInterface();
|
||||
}
|
||||
|
||||
virtual QAccessibleInterface * accessibleInterface() const
|
||||
{
|
||||
if (cb_accessibleInterface_c0_0.can_issue()) {
|
||||
return cb_accessibleInterface_c0_0.issue<QAccessibleValueChangeEvent_Adaptor, QAccessibleInterface *>(&QAccessibleValueChangeEvent_Adaptor::cbs_accessibleInterface_c0_0);
|
||||
} else {
|
||||
return QAccessibleValueChangeEvent::accessibleInterface();
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_accessibleInterface_c0_0;
|
||||
};
|
||||
|
||||
QAccessibleValueChangeEvent_Adaptor::~QAccessibleValueChangeEvent_Adaptor() { }
|
||||
|
||||
// Constructor QAccessibleValueChangeEvent::QAccessibleValueChangeEvent(QObject *obj, const QVariant &val) (adaptor class)
|
||||
|
||||
static void _init_ctor_QAccessibleValueChangeEvent_Adaptor_3313 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("obj");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("val");
|
||||
decl->add_arg<const QVariant & > (argspec_1);
|
||||
decl->set_return_new<QAccessibleValueChangeEvent_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAccessibleValueChangeEvent_Adaptor_3313 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args.read<QObject * > (heap);
|
||||
const QVariant &arg2 = args.read<const QVariant & > (heap);
|
||||
ret.write<QAccessibleValueChangeEvent_Adaptor *> (new QAccessibleValueChangeEvent_Adaptor (arg1, arg2));
|
||||
}
|
||||
|
||||
|
||||
// Constructor QAccessibleValueChangeEvent::QAccessibleValueChangeEvent(QAccessibleInterface *iface, const QVariant &val) (adaptor class)
|
||||
|
||||
static void _init_ctor_QAccessibleValueChangeEvent_Adaptor_4633 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("iface");
|
||||
decl->add_arg<QAccessibleInterface * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("val");
|
||||
decl->add_arg<const QVariant & > (argspec_1);
|
||||
decl->set_return_new<QAccessibleValueChangeEvent_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAccessibleValueChangeEvent_Adaptor_4633 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAccessibleInterface *arg1 = args.read<QAccessibleInterface * > (heap);
|
||||
const QVariant &arg2 = args.read<const QVariant & > (heap);
|
||||
ret.write<QAccessibleValueChangeEvent_Adaptor *> (new QAccessibleValueChangeEvent_Adaptor (arg1, arg2));
|
||||
}
|
||||
|
||||
|
||||
// QAccessibleInterface *QAccessibleValueChangeEvent::accessibleInterface()
|
||||
|
||||
static void _init_cbs_accessibleInterface_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QAccessibleInterface * > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_accessibleInterface_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAccessibleInterface * > ((QAccessibleInterface *)((QAccessibleValueChangeEvent_Adaptor *)cls)->cbs_accessibleInterface_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_accessibleInterface_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAccessibleValueChangeEvent_Adaptor *)cls)->cb_accessibleInterface_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QAccessibleValueChangeEvent> &qtdecl_QAccessibleValueChangeEvent ();
|
||||
|
||||
static gsi::Methods methods_QAccessibleValueChangeEvent_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleValueChangeEvent::QAccessibleValueChangeEvent(QObject *obj, const QVariant &val)\nThis method creates an object of class QAccessibleValueChangeEvent.", &_init_ctor_QAccessibleValueChangeEvent_Adaptor_3313, &_call_ctor_QAccessibleValueChangeEvent_Adaptor_3313);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleValueChangeEvent::QAccessibleValueChangeEvent(QAccessibleInterface *iface, const QVariant &val)\nThis method creates an object of class QAccessibleValueChangeEvent.", &_init_ctor_QAccessibleValueChangeEvent_Adaptor_4633, &_call_ctor_QAccessibleValueChangeEvent_Adaptor_4633);
|
||||
methods += new qt_gsi::GenericMethod ("accessibleInterface", "@hide", true, &_init_cbs_accessibleInterface_c0_0, &_call_cbs_accessibleInterface_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("accessibleInterface", "@brief Virtual method QAccessibleInterface *QAccessibleValueChangeEvent::accessibleInterface()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_accessibleInterface_c0_0, &_call_cbs_accessibleInterface_c0_0, &_set_callback_cbs_accessibleInterface_c0_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessibleValueChangeEvent_Adaptor> decl_QAccessibleValueChangeEvent_Adaptor (qtdecl_QAccessibleValueChangeEvent (), "QAccessibleValueChangeEvent",
|
||||
methods_QAccessibleValueChangeEvent_Adaptor (),
|
||||
"@qt\n@brief Binding of QAccessibleValueChangeEvent");
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,378 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAccessibleValueInterface.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAccessibleValueInterface>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAccessibleValueInterface
|
||||
|
||||
// QVariant QAccessibleValueInterface::currentValue()
|
||||
|
||||
|
||||
static void _init_f_currentValue_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QVariant > ();
|
||||
}
|
||||
|
||||
static void _call_f_currentValue_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QVariant > ((QVariant)((QAccessibleValueInterface *)cls)->currentValue ());
|
||||
}
|
||||
|
||||
|
||||
// QVariant QAccessibleValueInterface::maximumValue()
|
||||
|
||||
|
||||
static void _init_f_maximumValue_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QVariant > ();
|
||||
}
|
||||
|
||||
static void _call_f_maximumValue_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QVariant > ((QVariant)((QAccessibleValueInterface *)cls)->maximumValue ());
|
||||
}
|
||||
|
||||
|
||||
// QVariant QAccessibleValueInterface::minimumStepSize()
|
||||
|
||||
|
||||
static void _init_f_minimumStepSize_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QVariant > ();
|
||||
}
|
||||
|
||||
static void _call_f_minimumStepSize_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QVariant > ((QVariant)((QAccessibleValueInterface *)cls)->minimumStepSize ());
|
||||
}
|
||||
|
||||
|
||||
// QVariant QAccessibleValueInterface::minimumValue()
|
||||
|
||||
|
||||
static void _init_f_minimumValue_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QVariant > ();
|
||||
}
|
||||
|
||||
static void _call_f_minimumValue_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QVariant > ((QVariant)((QAccessibleValueInterface *)cls)->minimumValue ());
|
||||
}
|
||||
|
||||
|
||||
// void QAccessibleValueInterface::setCurrentValue(const QVariant &value)
|
||||
|
||||
|
||||
static void _init_f_setCurrentValue_2119 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("value");
|
||||
decl->add_arg<const QVariant & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setCurrentValue_2119 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QVariant &arg1 = args.read<const QVariant & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAccessibleValueInterface *)cls)->setCurrentValue (arg1);
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAccessibleValueInterface () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericMethod (":currentValue", "@brief Method QVariant QAccessibleValueInterface::currentValue()\n", true, &_init_f_currentValue_c0, &_call_f_currentValue_c0);
|
||||
methods += new qt_gsi::GenericMethod ("maximumValue", "@brief Method QVariant QAccessibleValueInterface::maximumValue()\n", true, &_init_f_maximumValue_c0, &_call_f_maximumValue_c0);
|
||||
methods += new qt_gsi::GenericMethod ("minimumStepSize", "@brief Method QVariant QAccessibleValueInterface::minimumStepSize()\n", true, &_init_f_minimumStepSize_c0, &_call_f_minimumStepSize_c0);
|
||||
methods += new qt_gsi::GenericMethod ("minimumValue", "@brief Method QVariant QAccessibleValueInterface::minimumValue()\n", true, &_init_f_minimumValue_c0, &_call_f_minimumValue_c0);
|
||||
methods += new qt_gsi::GenericMethod ("setCurrentValue|currentValue=", "@brief Method void QAccessibleValueInterface::setCurrentValue(const QVariant &value)\n", false, &_init_f_setCurrentValue_2119, &_call_f_setCurrentValue_2119);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessibleValueInterface> decl_QAccessibleValueInterface ("QAccessibleValueInterface_Native",
|
||||
methods_QAccessibleValueInterface (),
|
||||
"@hide\n@alias QAccessibleValueInterface");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAccessibleValueInterface> &qtdecl_QAccessibleValueInterface () { return decl_QAccessibleValueInterface; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QAccessibleValueInterface_Adaptor : public QAccessibleValueInterface, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QAccessibleValueInterface_Adaptor();
|
||||
|
||||
// [adaptor ctor] QAccessibleValueInterface::QAccessibleValueInterface()
|
||||
QAccessibleValueInterface_Adaptor() : QAccessibleValueInterface()
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor impl] QVariant QAccessibleValueInterface::currentValue()
|
||||
QVariant cbs_currentValue_c0_0() const
|
||||
{
|
||||
throw qt_gsi::AbstractMethodCalledException("currentValue");
|
||||
}
|
||||
|
||||
virtual QVariant currentValue() const
|
||||
{
|
||||
if (cb_currentValue_c0_0.can_issue()) {
|
||||
return cb_currentValue_c0_0.issue<QAccessibleValueInterface_Adaptor, QVariant>(&QAccessibleValueInterface_Adaptor::cbs_currentValue_c0_0);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("currentValue");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] QVariant QAccessibleValueInterface::maximumValue()
|
||||
QVariant cbs_maximumValue_c0_0() const
|
||||
{
|
||||
throw qt_gsi::AbstractMethodCalledException("maximumValue");
|
||||
}
|
||||
|
||||
virtual QVariant maximumValue() const
|
||||
{
|
||||
if (cb_maximumValue_c0_0.can_issue()) {
|
||||
return cb_maximumValue_c0_0.issue<QAccessibleValueInterface_Adaptor, QVariant>(&QAccessibleValueInterface_Adaptor::cbs_maximumValue_c0_0);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("maximumValue");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] QVariant QAccessibleValueInterface::minimumStepSize()
|
||||
QVariant cbs_minimumStepSize_c0_0() const
|
||||
{
|
||||
throw qt_gsi::AbstractMethodCalledException("minimumStepSize");
|
||||
}
|
||||
|
||||
virtual QVariant minimumStepSize() const
|
||||
{
|
||||
if (cb_minimumStepSize_c0_0.can_issue()) {
|
||||
return cb_minimumStepSize_c0_0.issue<QAccessibleValueInterface_Adaptor, QVariant>(&QAccessibleValueInterface_Adaptor::cbs_minimumStepSize_c0_0);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("minimumStepSize");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] QVariant QAccessibleValueInterface::minimumValue()
|
||||
QVariant cbs_minimumValue_c0_0() const
|
||||
{
|
||||
throw qt_gsi::AbstractMethodCalledException("minimumValue");
|
||||
}
|
||||
|
||||
virtual QVariant minimumValue() const
|
||||
{
|
||||
if (cb_minimumValue_c0_0.can_issue()) {
|
||||
return cb_minimumValue_c0_0.issue<QAccessibleValueInterface_Adaptor, QVariant>(&QAccessibleValueInterface_Adaptor::cbs_minimumValue_c0_0);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("minimumValue");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAccessibleValueInterface::setCurrentValue(const QVariant &value)
|
||||
void cbs_setCurrentValue_2119_0(const QVariant &value)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (value);
|
||||
throw qt_gsi::AbstractMethodCalledException("setCurrentValue");
|
||||
}
|
||||
|
||||
virtual void setCurrentValue(const QVariant &value)
|
||||
{
|
||||
if (cb_setCurrentValue_2119_0.can_issue()) {
|
||||
cb_setCurrentValue_2119_0.issue<QAccessibleValueInterface_Adaptor, const QVariant &>(&QAccessibleValueInterface_Adaptor::cbs_setCurrentValue_2119_0, value);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("setCurrentValue");
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_currentValue_c0_0;
|
||||
gsi::Callback cb_maximumValue_c0_0;
|
||||
gsi::Callback cb_minimumStepSize_c0_0;
|
||||
gsi::Callback cb_minimumValue_c0_0;
|
||||
gsi::Callback cb_setCurrentValue_2119_0;
|
||||
};
|
||||
|
||||
QAccessibleValueInterface_Adaptor::~QAccessibleValueInterface_Adaptor() { }
|
||||
|
||||
// Constructor QAccessibleValueInterface::QAccessibleValueInterface() (adaptor class)
|
||||
|
||||
static void _init_ctor_QAccessibleValueInterface_Adaptor_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return_new<QAccessibleValueInterface_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAccessibleValueInterface_Adaptor_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAccessibleValueInterface_Adaptor *> (new QAccessibleValueInterface_Adaptor ());
|
||||
}
|
||||
|
||||
|
||||
// QVariant QAccessibleValueInterface::currentValue()
|
||||
|
||||
static void _init_cbs_currentValue_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QVariant > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_currentValue_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QVariant > ((QVariant)((QAccessibleValueInterface_Adaptor *)cls)->cbs_currentValue_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_currentValue_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAccessibleValueInterface_Adaptor *)cls)->cb_currentValue_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// QVariant QAccessibleValueInterface::maximumValue()
|
||||
|
||||
static void _init_cbs_maximumValue_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QVariant > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_maximumValue_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QVariant > ((QVariant)((QAccessibleValueInterface_Adaptor *)cls)->cbs_maximumValue_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_maximumValue_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAccessibleValueInterface_Adaptor *)cls)->cb_maximumValue_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// QVariant QAccessibleValueInterface::minimumStepSize()
|
||||
|
||||
static void _init_cbs_minimumStepSize_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QVariant > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_minimumStepSize_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QVariant > ((QVariant)((QAccessibleValueInterface_Adaptor *)cls)->cbs_minimumStepSize_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_minimumStepSize_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAccessibleValueInterface_Adaptor *)cls)->cb_minimumStepSize_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// QVariant QAccessibleValueInterface::minimumValue()
|
||||
|
||||
static void _init_cbs_minimumValue_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QVariant > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_minimumValue_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QVariant > ((QVariant)((QAccessibleValueInterface_Adaptor *)cls)->cbs_minimumValue_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_minimumValue_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAccessibleValueInterface_Adaptor *)cls)->cb_minimumValue_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAccessibleValueInterface::setCurrentValue(const QVariant &value)
|
||||
|
||||
static void _init_cbs_setCurrentValue_2119_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("value");
|
||||
decl->add_arg<const QVariant & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_setCurrentValue_2119_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QVariant &arg1 = args.read<const QVariant & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAccessibleValueInterface_Adaptor *)cls)->cbs_setCurrentValue_2119_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_setCurrentValue_2119_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAccessibleValueInterface_Adaptor *)cls)->cb_setCurrentValue_2119_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QAccessibleValueInterface> &qtdecl_QAccessibleValueInterface ();
|
||||
|
||||
static gsi::Methods methods_QAccessibleValueInterface_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleValueInterface::QAccessibleValueInterface()\nThis method creates an object of class QAccessibleValueInterface.", &_init_ctor_QAccessibleValueInterface_Adaptor_0, &_call_ctor_QAccessibleValueInterface_Adaptor_0);
|
||||
methods += new qt_gsi::GenericMethod ("currentValue", "@hide", true, &_init_cbs_currentValue_c0_0, &_call_cbs_currentValue_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("currentValue", "@brief Virtual method QVariant QAccessibleValueInterface::currentValue()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_currentValue_c0_0, &_call_cbs_currentValue_c0_0, &_set_callback_cbs_currentValue_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("maximumValue", "@hide", true, &_init_cbs_maximumValue_c0_0, &_call_cbs_maximumValue_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("maximumValue", "@brief Virtual method QVariant QAccessibleValueInterface::maximumValue()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_maximumValue_c0_0, &_call_cbs_maximumValue_c0_0, &_set_callback_cbs_maximumValue_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("minimumStepSize", "@hide", true, &_init_cbs_minimumStepSize_c0_0, &_call_cbs_minimumStepSize_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("minimumStepSize", "@brief Virtual method QVariant QAccessibleValueInterface::minimumStepSize()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_minimumStepSize_c0_0, &_call_cbs_minimumStepSize_c0_0, &_set_callback_cbs_minimumStepSize_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("minimumValue", "@hide", true, &_init_cbs_minimumValue_c0_0, &_call_cbs_minimumValue_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("minimumValue", "@brief Virtual method QVariant QAccessibleValueInterface::minimumValue()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_minimumValue_c0_0, &_call_cbs_minimumValue_c0_0, &_set_callback_cbs_minimumValue_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("setCurrentValue", "@hide", false, &_init_cbs_setCurrentValue_2119_0, &_call_cbs_setCurrentValue_2119_0);
|
||||
methods += new qt_gsi::GenericMethod ("setCurrentValue", "@brief Virtual method void QAccessibleValueInterface::setCurrentValue(const QVariant &value)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setCurrentValue_2119_0, &_call_cbs_setCurrentValue_2119_0, &_set_callback_cbs_setCurrentValue_2119_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessibleValueInterface_Adaptor> decl_QAccessibleValueInterface_Adaptor (qtdecl_QAccessibleValueInterface (), "QAccessibleValueInterface",
|
||||
methods_QAccessibleValueInterface_Adaptor (),
|
||||
"@qt\n@brief Binding of QAccessibleValueInterface");
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,457 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAccessibleWidget.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAccessibleWidget>
|
||||
#include <QAccessibleInterface>
|
||||
#include <QAccessibleTableCellInterface>
|
||||
#include <QColor>
|
||||
#include <QObject>
|
||||
#include <QRect>
|
||||
#include <QWidget>
|
||||
#include <QWindow>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAccessibleWidget
|
||||
|
||||
// Constructor QAccessibleWidget::QAccessibleWidget(QWidget *o, QAccessible::Role r, const QString &name)
|
||||
|
||||
|
||||
static void _init_ctor_QAccessibleWidget_5165 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("o");
|
||||
decl->add_arg<QWidget * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("r", true, "QAccessible::Client");
|
||||
decl->add_arg<const qt_gsi::Converter<QAccessible::Role>::target_type & > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("name", true, "QString()");
|
||||
decl->add_arg<const QString & > (argspec_2);
|
||||
decl->set_return_new<QAccessibleWidget> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAccessibleWidget_5165 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QWidget *arg1 = args.read<QWidget * > (heap);
|
||||
const qt_gsi::Converter<QAccessible::Role>::target_type & arg2 = args ? args.read<const qt_gsi::Converter<QAccessible::Role>::target_type & > (heap) : (const qt_gsi::Converter<QAccessible::Role>::target_type &)(qt_gsi::CppToQtReadAdaptor<QAccessible::Role>(heap, QAccessible::Client));
|
||||
const QString &arg3 = args ? args.read<const QString & > (heap) : (const QString &)(QString());
|
||||
ret.write<QAccessibleWidget *> (new QAccessibleWidget (arg1, qt_gsi::QtToCppAdaptor<QAccessible::Role>(arg2).cref(), arg3));
|
||||
}
|
||||
|
||||
|
||||
// () const
|
||||
|
||||
|
||||
static void _init_f_actionNames_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QStringList > ();
|
||||
}
|
||||
|
||||
static void _call_f_actionNames_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QStringList > ((QStringList)((QAccessibleWidget *)cls)->actionNames ());
|
||||
}
|
||||
|
||||
|
||||
// () const
|
||||
|
||||
|
||||
static void _init_f_backgroundColor_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QColor > ();
|
||||
}
|
||||
|
||||
static void _call_f_backgroundColor_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QColor > ((QColor)((QAccessibleWidget *)cls)->backgroundColor ());
|
||||
}
|
||||
|
||||
|
||||
// (int) const
|
||||
|
||||
|
||||
static void _init_f_child_c767 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("index");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
decl->set_return<QAccessibleInterface * > ();
|
||||
}
|
||||
|
||||
static void _call_f_child_c767 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
ret.write<QAccessibleInterface * > ((QAccessibleInterface *)((QAccessibleWidget *)cls)->child (arg1));
|
||||
}
|
||||
|
||||
|
||||
// () const
|
||||
|
||||
|
||||
static void _init_f_childCount_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_childCount_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAccessibleWidget *)cls)->childCount ());
|
||||
}
|
||||
|
||||
|
||||
// (const QString &)
|
||||
|
||||
|
||||
static void _init_f_doAction_2025 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("actionName");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_doAction_2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAccessibleWidget *)cls)->doAction (arg1);
|
||||
}
|
||||
|
||||
|
||||
// () const
|
||||
|
||||
|
||||
static void _init_f_focusChild_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QAccessibleInterface * > ();
|
||||
}
|
||||
|
||||
static void _call_f_focusChild_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAccessibleInterface * > ((QAccessibleInterface *)((QAccessibleWidget *)cls)->focusChild ());
|
||||
}
|
||||
|
||||
|
||||
// () const
|
||||
|
||||
|
||||
static void _init_f_foregroundColor_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QColor > ();
|
||||
}
|
||||
|
||||
static void _call_f_foregroundColor_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QColor > ((QColor)((QAccessibleWidget *)cls)->foregroundColor ());
|
||||
}
|
||||
|
||||
|
||||
// (const QAccessibleInterface *) const
|
||||
|
||||
|
||||
static void _init_f_indexOfChild_c3317 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("child");
|
||||
decl->add_arg<const QAccessibleInterface * > (argspec_0);
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_indexOfChild_c3317 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QAccessibleInterface *arg1 = args.read<const QAccessibleInterface * > (heap);
|
||||
ret.write<int > ((int)((QAccessibleWidget *)cls)->indexOfChild (arg1));
|
||||
}
|
||||
|
||||
|
||||
// (QAccessible::InterfaceType)
|
||||
|
||||
|
||||
static void _init_f_interface_cast_2970 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("t");
|
||||
decl->add_arg<const qt_gsi::Converter<QAccessible::InterfaceType>::target_type & > (argspec_0);
|
||||
decl->set_return<void * > ();
|
||||
}
|
||||
|
||||
static void _call_f_interface_cast_2970 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const qt_gsi::Converter<QAccessible::InterfaceType>::target_type & arg1 = args.read<const qt_gsi::Converter<QAccessible::InterfaceType>::target_type & > (heap);
|
||||
ret.write<void * > ((void *)((QAccessibleWidget *)cls)->interface_cast (qt_gsi::QtToCppAdaptor<QAccessible::InterfaceType>(arg1).cref()));
|
||||
}
|
||||
|
||||
|
||||
// () const
|
||||
|
||||
|
||||
static void _init_f_isValid_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_isValid_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<bool > ((bool)((QAccessibleWidget *)cls)->isValid ());
|
||||
}
|
||||
|
||||
|
||||
// (const QString &) const
|
||||
|
||||
|
||||
static void _init_f_keyBindingsForAction_c2025 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("actionName");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
decl->set_return<QStringList > ();
|
||||
}
|
||||
|
||||
static void _call_f_keyBindingsForAction_c2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
ret.write<QStringList > ((QStringList)((QAccessibleWidget *)cls)->keyBindingsForAction (arg1));
|
||||
}
|
||||
|
||||
|
||||
// () const
|
||||
|
||||
|
||||
static void _init_f_parent_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QAccessibleInterface * > ();
|
||||
}
|
||||
|
||||
static void _call_f_parent_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAccessibleInterface * > ((QAccessibleInterface *)((QAccessibleWidget *)cls)->parent ());
|
||||
}
|
||||
|
||||
|
||||
// () const
|
||||
|
||||
|
||||
static void _init_f_rect_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QRect > ();
|
||||
}
|
||||
|
||||
static void _call_f_rect_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QRect > ((QRect)((QAccessibleWidget *)cls)->rect ());
|
||||
}
|
||||
|
||||
|
||||
// (QFlags<QAccessible::RelationFlag>) const
|
||||
|
||||
|
||||
static void _init_f_relations_c3543 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("match", true, "QAccessible::AllRelations");
|
||||
decl->add_arg<QFlags<QAccessible::RelationFlag> > (argspec_0);
|
||||
decl->set_return<QVector<QPair<QAccessibleInterface*, QAccessible::Relation> > > ();
|
||||
}
|
||||
|
||||
static void _call_f_relations_c3543 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QFlags<QAccessible::RelationFlag> arg1 = args ? args.read<QFlags<QAccessible::RelationFlag> > (heap) : (QFlags<QAccessible::RelationFlag>)(QAccessible::AllRelations);
|
||||
ret.write<QVector<QPair<QAccessibleInterface*, QAccessible::Relation> > > ((QVector<QPair<QAccessibleInterface*, QAccessible::Relation> >)((QAccessibleWidget *)cls)->relations (arg1));
|
||||
}
|
||||
|
||||
|
||||
// () const
|
||||
|
||||
|
||||
static void _init_f_role_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<qt_gsi::Converter<QAccessible::Role>::target_type > ();
|
||||
}
|
||||
|
||||
static void _call_f_role_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<qt_gsi::Converter<QAccessible::Role>::target_type > ((qt_gsi::Converter<QAccessible::Role>::target_type)qt_gsi::CppToQtAdaptor<QAccessible::Role>(((QAccessibleWidget *)cls)->role ()));
|
||||
}
|
||||
|
||||
|
||||
// () const
|
||||
|
||||
|
||||
static void _init_f_state_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QAccessible::State > ();
|
||||
}
|
||||
|
||||
static void _call_f_state_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAccessible::State > ((QAccessible::State)((QAccessibleWidget *)cls)->state ());
|
||||
}
|
||||
|
||||
|
||||
// (QAccessible::Text) const
|
||||
|
||||
|
||||
static void _init_f_text_c2060 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("t");
|
||||
decl->add_arg<const qt_gsi::Converter<QAccessible::Text>::target_type & > (argspec_0);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_text_c2060 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const qt_gsi::Converter<QAccessible::Text>::target_type & arg1 = args.read<const qt_gsi::Converter<QAccessible::Text>::target_type & > (heap);
|
||||
ret.write<QString > ((QString)((QAccessibleWidget *)cls)->text (qt_gsi::QtToCppAdaptor<QAccessible::Text>(arg1).cref()));
|
||||
}
|
||||
|
||||
|
||||
// () const
|
||||
|
||||
|
||||
static void _init_f_window_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QWindow * > ();
|
||||
}
|
||||
|
||||
static void _call_f_window_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QWindow * > ((QWindow *)((QAccessibleWidget *)cls)->window ());
|
||||
}
|
||||
|
||||
|
||||
// base class cast for QAccessibleObject
|
||||
|
||||
static void _init_f_QAccessibleWidget_as_QAccessibleObject (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QAccessibleObject *> ();
|
||||
}
|
||||
|
||||
static void _call_f_QAccessibleWidget_as_QAccessibleObject (const qt_gsi::GenericMethod *, void *cls, gsi::SerialArgs &, gsi::SerialArgs &ret)
|
||||
{
|
||||
ret.write<QAccessibleObject *> ((QAccessibleObject *)(QAccessibleWidget *)cls);
|
||||
}
|
||||
|
||||
static void _init_f_QAccessibleWidget_as_const_QAccessibleObject (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<const QAccessibleObject *> ();
|
||||
}
|
||||
|
||||
static void _call_f_QAccessibleWidget_as_const_QAccessibleObject (const qt_gsi::GenericMethod *, void *cls, gsi::SerialArgs &, gsi::SerialArgs &ret)
|
||||
{
|
||||
ret.write<const QAccessibleObject *> ((const QAccessibleObject *)(const QAccessibleWidget *)cls);
|
||||
}
|
||||
|
||||
// base class cast for QAccessibleActionInterface
|
||||
|
||||
static void _init_f_QAccessibleWidget_as_QAccessibleActionInterface (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QAccessibleActionInterface *> ();
|
||||
}
|
||||
|
||||
static void _call_f_QAccessibleWidget_as_QAccessibleActionInterface (const qt_gsi::GenericMethod *, void *cls, gsi::SerialArgs &, gsi::SerialArgs &ret)
|
||||
{
|
||||
ret.write<QAccessibleActionInterface *> ((QAccessibleActionInterface *)(QAccessibleWidget *)cls);
|
||||
}
|
||||
|
||||
static void _init_f_QAccessibleWidget_as_const_QAccessibleActionInterface (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<const QAccessibleActionInterface *> ();
|
||||
}
|
||||
|
||||
static void _call_f_QAccessibleWidget_as_const_QAccessibleActionInterface (const qt_gsi::GenericMethod *, void *cls, gsi::SerialArgs &, gsi::SerialArgs &ret)
|
||||
{
|
||||
ret.write<const QAccessibleActionInterface *> ((const QAccessibleActionInterface *)(const QAccessibleWidget *)cls);
|
||||
}
|
||||
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAccessibleWidget () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleWidget::QAccessibleWidget(QWidget *o, QAccessible::Role r, const QString &name)\nThis method creates an object of class QAccessibleWidget.", &_init_ctor_QAccessibleWidget_5165, &_call_ctor_QAccessibleWidget_5165);
|
||||
methods += new qt_gsi::GenericMethod ("actionNames", "@brief Method () const\nThis is a reimplementation of QAccessibleActionInterface::actionNames", true, &_init_f_actionNames_c0, &_call_f_actionNames_c0);
|
||||
methods += new qt_gsi::GenericMethod ("backgroundColor", "@brief Method () const\nThis is a reimplementation of QAccessibleInterface::backgroundColor", true, &_init_f_backgroundColor_c0, &_call_f_backgroundColor_c0);
|
||||
methods += new qt_gsi::GenericMethod ("child", "@brief Method (int) const\nThis is a reimplementation of QAccessibleInterface::child", true, &_init_f_child_c767, &_call_f_child_c767);
|
||||
methods += new qt_gsi::GenericMethod ("childCount", "@brief Method () const\nThis is a reimplementation of QAccessibleInterface::childCount", true, &_init_f_childCount_c0, &_call_f_childCount_c0);
|
||||
methods += new qt_gsi::GenericMethod ("doAction", "@brief Method (const QString &)\nThis is a reimplementation of QAccessibleActionInterface::doAction", false, &_init_f_doAction_2025, &_call_f_doAction_2025);
|
||||
methods += new qt_gsi::GenericMethod ("focusChild", "@brief Method () const\nThis is a reimplementation of QAccessibleInterface::focusChild", true, &_init_f_focusChild_c0, &_call_f_focusChild_c0);
|
||||
methods += new qt_gsi::GenericMethod ("foregroundColor", "@brief Method () const\nThis is a reimplementation of QAccessibleInterface::foregroundColor", true, &_init_f_foregroundColor_c0, &_call_f_foregroundColor_c0);
|
||||
methods += new qt_gsi::GenericMethod ("indexOfChild", "@brief Method (const QAccessibleInterface *) const\nThis is a reimplementation of QAccessibleInterface::indexOfChild", true, &_init_f_indexOfChild_c3317, &_call_f_indexOfChild_c3317);
|
||||
methods += new qt_gsi::GenericMethod ("interface_cast", "@brief Method (QAccessible::InterfaceType)\nThis is a reimplementation of QAccessibleInterface::interface_cast", false, &_init_f_interface_cast_2970, &_call_f_interface_cast_2970);
|
||||
methods += new qt_gsi::GenericMethod ("isValid?", "@brief Method () const\nThis is a reimplementation of QAccessibleObject::isValid", true, &_init_f_isValid_c0, &_call_f_isValid_c0);
|
||||
methods += new qt_gsi::GenericMethod ("keyBindingsForAction", "@brief Method (const QString &) const\nThis is a reimplementation of QAccessibleActionInterface::keyBindingsForAction", true, &_init_f_keyBindingsForAction_c2025, &_call_f_keyBindingsForAction_c2025);
|
||||
methods += new qt_gsi::GenericMethod ("parent", "@brief Method () const\nThis is a reimplementation of QAccessibleInterface::parent", true, &_init_f_parent_c0, &_call_f_parent_c0);
|
||||
methods += new qt_gsi::GenericMethod ("rect", "@brief Method () const\nThis is a reimplementation of QAccessibleObject::rect", true, &_init_f_rect_c0, &_call_f_rect_c0);
|
||||
methods += new qt_gsi::GenericMethod ("relations", "@brief Method (QFlags<QAccessible::RelationFlag>) const\nThis is a reimplementation of QAccessibleInterface::relations", true, &_init_f_relations_c3543, &_call_f_relations_c3543);
|
||||
methods += new qt_gsi::GenericMethod ("role", "@brief Method () const\nThis is a reimplementation of QAccessibleInterface::role", true, &_init_f_role_c0, &_call_f_role_c0);
|
||||
methods += new qt_gsi::GenericMethod ("state", "@brief Method () const\nThis is a reimplementation of QAccessibleInterface::state", true, &_init_f_state_c0, &_call_f_state_c0);
|
||||
methods += new qt_gsi::GenericMethod ("text", "@brief Method (QAccessible::Text) const\nThis is a reimplementation of QAccessibleInterface::text", true, &_init_f_text_c2060, &_call_f_text_c2060);
|
||||
methods += new qt_gsi::GenericMethod ("window", "@brief Method () const\nThis is a reimplementation of QAccessibleInterface::window", true, &_init_f_window_c0, &_call_f_window_c0);
|
||||
methods += new qt_gsi::GenericMethod ("asQAccessibleObject", "@brief Delivers the base class interface QAccessibleObject of QAccessibleWidget\nClass QAccessibleWidget is derived from multiple base classes. This method delivers the QAccessibleObject base class aspect.", false, &_init_f_QAccessibleWidget_as_QAccessibleObject, &_call_f_QAccessibleWidget_as_QAccessibleObject);
|
||||
methods += new qt_gsi::GenericMethod ("asConstQAccessibleObject", "@brief Delivers the base class interface QAccessibleObject of QAccessibleWidget\nClass QAccessibleWidget is derived from multiple base classes. This method delivers the QAccessibleObject base class aspect.\n\nUse this version if you have a const reference.", true, &_init_f_QAccessibleWidget_as_const_QAccessibleObject, &_call_f_QAccessibleWidget_as_const_QAccessibleObject);
|
||||
methods += new qt_gsi::GenericMethod ("asQAccessibleActionInterface", "@brief Delivers the base class interface QAccessibleActionInterface of QAccessibleWidget\nClass QAccessibleWidget is derived from multiple base classes. This method delivers the QAccessibleActionInterface base class aspect.", false, &_init_f_QAccessibleWidget_as_QAccessibleActionInterface, &_call_f_QAccessibleWidget_as_QAccessibleActionInterface);
|
||||
methods += new qt_gsi::GenericMethod ("asConstQAccessibleActionInterface", "@brief Delivers the base class interface QAccessibleActionInterface of QAccessibleWidget\nClass QAccessibleWidget is derived from multiple base classes. This method delivers the QAccessibleActionInterface base class aspect.\n\nUse this version if you have a const reference.", true, &_init_f_QAccessibleWidget_as_const_QAccessibleActionInterface, &_call_f_QAccessibleWidget_as_const_QAccessibleActionInterface);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessibleObject> &qtdecl_QAccessibleObject ();
|
||||
|
||||
gsi::Class<QAccessibleWidget> decl_QAccessibleWidget (qtdecl_QAccessibleObject (), "QAccessibleWidget",
|
||||
methods_QAccessibleWidget (),
|
||||
"@qt\n@brief Binding of QAccessibleWidget");
|
||||
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAccessibleWidget> &qtdecl_QAccessibleWidget () { return decl_QAccessibleWidget; }
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,167 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAccessible_ActivationObserver.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAccessible>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAccessible::ActivationObserver
|
||||
|
||||
// void QAccessible::ActivationObserver::accessibilityActiveChanged(bool active)
|
||||
|
||||
|
||||
static void _init_f_accessibilityActiveChanged_864 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("active");
|
||||
decl->add_arg<bool > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_accessibilityActiveChanged_864 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
bool arg1 = args.read<bool > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAccessible::ActivationObserver *)cls)->accessibilityActiveChanged (arg1);
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAccessible_ActivationObserver () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericMethod ("accessibilityActiveChanged", "@brief Method void QAccessible::ActivationObserver::accessibilityActiveChanged(bool active)\n", false, &_init_f_accessibilityActiveChanged_864, &_call_f_accessibilityActiveChanged_864);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessible::ActivationObserver> decl_QAccessible_ActivationObserver ("QAccessible_ActivationObserver_Native",
|
||||
methods_QAccessible_ActivationObserver (),
|
||||
"@hide\n@alias QAccessible_ActivationObserver");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAccessible::ActivationObserver> &qtdecl_QAccessible_ActivationObserver () { return decl_QAccessible_ActivationObserver; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QAccessible_ActivationObserver_Adaptor : public QAccessible::ActivationObserver, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QAccessible_ActivationObserver_Adaptor();
|
||||
|
||||
// [adaptor ctor] QAccessible::ActivationObserver::ActivationObserver()
|
||||
QAccessible_ActivationObserver_Adaptor() : QAccessible::ActivationObserver()
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAccessible::ActivationObserver::accessibilityActiveChanged(bool active)
|
||||
void cbs_accessibilityActiveChanged_864_0(bool active)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (active);
|
||||
throw qt_gsi::AbstractMethodCalledException("accessibilityActiveChanged");
|
||||
}
|
||||
|
||||
virtual void accessibilityActiveChanged(bool active)
|
||||
{
|
||||
if (cb_accessibilityActiveChanged_864_0.can_issue()) {
|
||||
cb_accessibilityActiveChanged_864_0.issue<QAccessible_ActivationObserver_Adaptor, bool>(&QAccessible_ActivationObserver_Adaptor::cbs_accessibilityActiveChanged_864_0, active);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("accessibilityActiveChanged");
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_accessibilityActiveChanged_864_0;
|
||||
};
|
||||
|
||||
QAccessible_ActivationObserver_Adaptor::~QAccessible_ActivationObserver_Adaptor() { }
|
||||
|
||||
// Constructor QAccessible::ActivationObserver::ActivationObserver() (adaptor class)
|
||||
|
||||
static void _init_ctor_QAccessible_ActivationObserver_Adaptor_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return_new<QAccessible_ActivationObserver_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAccessible_ActivationObserver_Adaptor_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAccessible_ActivationObserver_Adaptor *> (new QAccessible_ActivationObserver_Adaptor ());
|
||||
}
|
||||
|
||||
|
||||
// void QAccessible::ActivationObserver::accessibilityActiveChanged(bool active)
|
||||
|
||||
static void _init_cbs_accessibilityActiveChanged_864_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("active");
|
||||
decl->add_arg<bool > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_accessibilityActiveChanged_864_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
bool arg1 = args.read<bool > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAccessible_ActivationObserver_Adaptor *)cls)->cbs_accessibilityActiveChanged_864_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_accessibilityActiveChanged_864_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAccessible_ActivationObserver_Adaptor *)cls)->cb_accessibilityActiveChanged_864_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QAccessible::ActivationObserver> &qtdecl_QAccessible_ActivationObserver ();
|
||||
|
||||
static gsi::Methods methods_QAccessible_ActivationObserver_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessible::ActivationObserver::ActivationObserver()\nThis method creates an object of class QAccessible::ActivationObserver.", &_init_ctor_QAccessible_ActivationObserver_Adaptor_0, &_call_ctor_QAccessible_ActivationObserver_Adaptor_0);
|
||||
methods += new qt_gsi::GenericMethod ("accessibilityActiveChanged", "@hide", false, &_init_cbs_accessibilityActiveChanged_864_0, &_call_cbs_accessibilityActiveChanged_864_0);
|
||||
methods += new qt_gsi::GenericMethod ("accessibilityActiveChanged", "@brief Virtual method void QAccessible::ActivationObserver::accessibilityActiveChanged(bool active)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_accessibilityActiveChanged_864_0, &_call_cbs_accessibilityActiveChanged_864_0, &_set_callback_cbs_accessibilityActiveChanged_864_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessible_ActivationObserver_Adaptor> decl_QAccessible_ActivationObserver_Adaptor (qtdecl_QAccessible_ActivationObserver (), "QAccessible_ActivationObserver",
|
||||
methods_QAccessible_ActivationObserver_Adaptor (),
|
||||
"@qt\n@brief Binding of QAccessible::ActivationObserver");
|
||||
|
||||
gsi::ClassExt<QAccessible> decl_QAccessible_ActivationObserver_as_child (decl_QAccessible_ActivationObserver_Adaptor, "ActivationObserver");
|
||||
}
|
||||
|
||||
|
|
@ -1,79 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAccessible_State.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAccessible>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// struct QAccessible::State
|
||||
|
||||
// Constructor QAccessible::State::State()
|
||||
|
||||
|
||||
static void _init_ctor_QAccessible_State_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return_new<QAccessible::State> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAccessible_State_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAccessible::State *> (new QAccessible::State ());
|
||||
}
|
||||
|
||||
|
||||
// bool ::operator==(const QAccessible::State &first, const QAccessible::State &second)
|
||||
static bool op_QAccessible_State_operator_eq__eq__5950(const QAccessible::State *_self, const QAccessible::State &second) {
|
||||
return ::operator==(*_self, second);
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAccessible_State () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessible::State::State()\nThis method creates an object of class QAccessible::State.", &_init_ctor_QAccessible_State_0, &_call_ctor_QAccessible_State_0);
|
||||
methods += gsi::method_ext("==", &::op_QAccessible_State_operator_eq__eq__5950, gsi::arg ("second"), "@brief Operator bool ::operator==(const QAccessible::State &first, const QAccessible::State &second)\nThis is the mapping of the global operator to the instance method.");
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAccessible::State> decl_QAccessible_State ("QAccessible_State",
|
||||
methods_QAccessible_State (),
|
||||
"@qt\n@brief Binding of QAccessible::State");
|
||||
|
||||
gsi::ClassExt<QAccessible> decl_QAccessible_State_as_child (decl_QAccessible_State, "State");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAccessible::State> &qtdecl_QAccessible_State () { return decl_QAccessible_State; }
|
||||
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,155 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQActionEvent.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QActionEvent>
|
||||
#include <QAction>
|
||||
#include <QEvent>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QActionEvent
|
||||
|
||||
// QAction *QActionEvent::action()
|
||||
|
||||
|
||||
static void _init_f_action_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QAction * > ();
|
||||
}
|
||||
|
||||
static void _call_f_action_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAction * > ((QAction *)((QActionEvent *)cls)->action ());
|
||||
}
|
||||
|
||||
|
||||
// QAction *QActionEvent::before()
|
||||
|
||||
|
||||
static void _init_f_before_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QAction * > ();
|
||||
}
|
||||
|
||||
static void _call_f_before_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAction * > ((QAction *)((QActionEvent *)cls)->before ());
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QActionEvent () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericMethod ("action", "@brief Method QAction *QActionEvent::action()\n", true, &_init_f_action_c0, &_call_f_action_c0);
|
||||
methods += new qt_gsi::GenericMethod ("before", "@brief Method QAction *QActionEvent::before()\n", true, &_init_f_before_c0, &_call_f_before_c0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QEvent> &qtdecl_QEvent ();
|
||||
|
||||
gsi::Class<QActionEvent> decl_QActionEvent (qtdecl_QEvent (), "QActionEvent_Native",
|
||||
methods_QActionEvent (),
|
||||
"@hide\n@alias QActionEvent");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QActionEvent> &qtdecl_QActionEvent () { return decl_QActionEvent; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QActionEvent_Adaptor : public QActionEvent, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QActionEvent_Adaptor();
|
||||
|
||||
// [adaptor ctor] QActionEvent::QActionEvent(int type, QAction *action, QAction *before)
|
||||
QActionEvent_Adaptor(int type, QAction *action) : QActionEvent(type, action)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor ctor] QActionEvent::QActionEvent(int type, QAction *action, QAction *before)
|
||||
QActionEvent_Adaptor(int type, QAction *action, QAction *before) : QActionEvent(type, action, before)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
|
||||
};
|
||||
|
||||
QActionEvent_Adaptor::~QActionEvent_Adaptor() { }
|
||||
|
||||
// Constructor QActionEvent::QActionEvent(int type, QAction *action, QAction *before) (adaptor class)
|
||||
|
||||
static void _init_ctor_QActionEvent_Adaptor_3169 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("type");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("action");
|
||||
decl->add_arg<QAction * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("before", true, "0");
|
||||
decl->add_arg<QAction * > (argspec_2);
|
||||
decl->set_return_new<QActionEvent_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QActionEvent_Adaptor_3169 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
QAction *arg2 = args.read<QAction * > (heap);
|
||||
QAction *arg3 = args ? args.read<QAction * > (heap) : (QAction *)(0);
|
||||
ret.write<QActionEvent_Adaptor *> (new QActionEvent_Adaptor (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QActionEvent> &qtdecl_QActionEvent ();
|
||||
|
||||
static gsi::Methods methods_QActionEvent_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QActionEvent::QActionEvent(int type, QAction *action, QAction *before)\nThis method creates an object of class QActionEvent.", &_init_ctor_QActionEvent_Adaptor_3169, &_call_ctor_QActionEvent_Adaptor_3169);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QActionEvent_Adaptor> decl_QActionEvent_Adaptor (qtdecl_QActionEvent (), "QActionEvent",
|
||||
methods_QActionEvent_Adaptor (),
|
||||
"@qt\n@brief Binding of QActionEvent");
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,849 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQActionGroup.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QActionGroup>
|
||||
#include <QAction>
|
||||
#include <QChildEvent>
|
||||
#include <QEvent>
|
||||
#include <QIcon>
|
||||
#include <QMetaMethod>
|
||||
#include <QObject>
|
||||
#include <QThread>
|
||||
#include <QTimerEvent>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QActionGroup
|
||||
|
||||
// get static meta object
|
||||
|
||||
static void _init_smo (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return<const QMetaObject &> ();
|
||||
}
|
||||
|
||||
static void _call_smo (const qt_gsi::GenericStaticMethod *, gsi::SerialArgs &, gsi::SerialArgs &ret)
|
||||
{
|
||||
ret.write<const QMetaObject &> (QActionGroup::staticMetaObject);
|
||||
}
|
||||
|
||||
|
||||
// QList<QAction*> QActionGroup::actions()
|
||||
|
||||
|
||||
static void _init_f_actions_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QList<QAction*> > ();
|
||||
}
|
||||
|
||||
static void _call_f_actions_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QList<QAction*> > ((QList<QAction*>)((QActionGroup *)cls)->actions ());
|
||||
}
|
||||
|
||||
|
||||
// QAction *QActionGroup::addAction(QAction *a)
|
||||
|
||||
|
||||
static void _init_f_addAction_1309 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("a");
|
||||
decl->add_arg<QAction * > (argspec_0);
|
||||
decl->set_return<QAction * > ();
|
||||
}
|
||||
|
||||
static void _call_f_addAction_1309 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAction *arg1 = args.read<QAction * > (heap);
|
||||
ret.write<QAction * > ((QAction *)((QActionGroup *)cls)->addAction (arg1));
|
||||
}
|
||||
|
||||
|
||||
// QAction *QActionGroup::addAction(const QString &text)
|
||||
|
||||
|
||||
static void _init_f_addAction_2025 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("text");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
decl->set_return<QAction * > ();
|
||||
}
|
||||
|
||||
static void _call_f_addAction_2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
ret.write<QAction * > ((QAction *)((QActionGroup *)cls)->addAction (arg1));
|
||||
}
|
||||
|
||||
|
||||
// QAction *QActionGroup::addAction(const QIcon &icon, const QString &text)
|
||||
|
||||
|
||||
static void _init_f_addAction_3704 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("icon");
|
||||
decl->add_arg<const QIcon & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("text");
|
||||
decl->add_arg<const QString & > (argspec_1);
|
||||
decl->set_return<QAction * > ();
|
||||
}
|
||||
|
||||
static void _call_f_addAction_3704 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QIcon &arg1 = args.read<const QIcon & > (heap);
|
||||
const QString &arg2 = args.read<const QString & > (heap);
|
||||
ret.write<QAction * > ((QAction *)((QActionGroup *)cls)->addAction (arg1, arg2));
|
||||
}
|
||||
|
||||
|
||||
// QAction *QActionGroup::checkedAction()
|
||||
|
||||
|
||||
static void _init_f_checkedAction_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QAction * > ();
|
||||
}
|
||||
|
||||
static void _call_f_checkedAction_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAction * > ((QAction *)((QActionGroup *)cls)->checkedAction ());
|
||||
}
|
||||
|
||||
|
||||
// bool QActionGroup::isEnabled()
|
||||
|
||||
|
||||
static void _init_f_isEnabled_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_isEnabled_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<bool > ((bool)((QActionGroup *)cls)->isEnabled ());
|
||||
}
|
||||
|
||||
|
||||
// bool QActionGroup::isExclusive()
|
||||
|
||||
|
||||
static void _init_f_isExclusive_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_isExclusive_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<bool > ((bool)((QActionGroup *)cls)->isExclusive ());
|
||||
}
|
||||
|
||||
|
||||
// bool QActionGroup::isVisible()
|
||||
|
||||
|
||||
static void _init_f_isVisible_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_isVisible_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<bool > ((bool)((QActionGroup *)cls)->isVisible ());
|
||||
}
|
||||
|
||||
|
||||
// void QActionGroup::removeAction(QAction *a)
|
||||
|
||||
|
||||
static void _init_f_removeAction_1309 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("a");
|
||||
decl->add_arg<QAction * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_removeAction_1309 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAction *arg1 = args.read<QAction * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QActionGroup *)cls)->removeAction (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QActionGroup::setDisabled(bool b)
|
||||
|
||||
|
||||
static void _init_f_setDisabled_864 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("b");
|
||||
decl->add_arg<bool > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setDisabled_864 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
bool arg1 = args.read<bool > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QActionGroup *)cls)->setDisabled (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QActionGroup::setEnabled(bool)
|
||||
|
||||
|
||||
static void _init_f_setEnabled_864 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<bool > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setEnabled_864 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
bool arg1 = args.read<bool > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QActionGroup *)cls)->setEnabled (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QActionGroup::setExclusive(bool)
|
||||
|
||||
|
||||
static void _init_f_setExclusive_864 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<bool > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setExclusive_864 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
bool arg1 = args.read<bool > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QActionGroup *)cls)->setExclusive (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QActionGroup::setVisible(bool)
|
||||
|
||||
|
||||
static void _init_f_setVisible_864 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<bool > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setVisible_864 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
bool arg1 = args.read<bool > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QActionGroup *)cls)->setVisible (arg1);
|
||||
}
|
||||
|
||||
|
||||
// static QString QActionGroup::tr(const char *s, const char *c, int n)
|
||||
|
||||
|
||||
static void _init_f_tr_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("s");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("c", true, "__null");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_tr_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(__null);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QActionGroup::tr (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
// static QString QActionGroup::trUtf8(const char *s, const char *c, int n)
|
||||
|
||||
|
||||
static void _init_f_trUtf8_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("s");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("c", true, "__null");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_trUtf8_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(__null);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QActionGroup::trUtf8 (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QActionGroup () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("staticMetaObject", "@brief Obtains the static MetaObject for this class.", &_init_smo, &_call_smo);
|
||||
methods += new qt_gsi::GenericMethod ("actions", "@brief Method QList<QAction*> QActionGroup::actions()\n", true, &_init_f_actions_c0, &_call_f_actions_c0);
|
||||
methods += new qt_gsi::GenericMethod ("addAction", "@brief Method QAction *QActionGroup::addAction(QAction *a)\n", false, &_init_f_addAction_1309, &_call_f_addAction_1309);
|
||||
methods += new qt_gsi::GenericMethod ("addAction", "@brief Method QAction *QActionGroup::addAction(const QString &text)\n", false, &_init_f_addAction_2025, &_call_f_addAction_2025);
|
||||
methods += new qt_gsi::GenericMethod ("addAction", "@brief Method QAction *QActionGroup::addAction(const QIcon &icon, const QString &text)\n", false, &_init_f_addAction_3704, &_call_f_addAction_3704);
|
||||
methods += new qt_gsi::GenericMethod ("checkedAction", "@brief Method QAction *QActionGroup::checkedAction()\n", true, &_init_f_checkedAction_c0, &_call_f_checkedAction_c0);
|
||||
methods += new qt_gsi::GenericMethod ("isEnabled?|:enabled", "@brief Method bool QActionGroup::isEnabled()\n", true, &_init_f_isEnabled_c0, &_call_f_isEnabled_c0);
|
||||
methods += new qt_gsi::GenericMethod ("isExclusive?|:exclusive", "@brief Method bool QActionGroup::isExclusive()\n", true, &_init_f_isExclusive_c0, &_call_f_isExclusive_c0);
|
||||
methods += new qt_gsi::GenericMethod ("isVisible?|:visible", "@brief Method bool QActionGroup::isVisible()\n", true, &_init_f_isVisible_c0, &_call_f_isVisible_c0);
|
||||
methods += new qt_gsi::GenericMethod ("removeAction", "@brief Method void QActionGroup::removeAction(QAction *a)\n", false, &_init_f_removeAction_1309, &_call_f_removeAction_1309);
|
||||
methods += new qt_gsi::GenericMethod ("setDisabled", "@brief Method void QActionGroup::setDisabled(bool b)\n", false, &_init_f_setDisabled_864, &_call_f_setDisabled_864);
|
||||
methods += new qt_gsi::GenericMethod ("setEnabled|enabled=", "@brief Method void QActionGroup::setEnabled(bool)\n", false, &_init_f_setEnabled_864, &_call_f_setEnabled_864);
|
||||
methods += new qt_gsi::GenericMethod ("setExclusive|exclusive=", "@brief Method void QActionGroup::setExclusive(bool)\n", false, &_init_f_setExclusive_864, &_call_f_setExclusive_864);
|
||||
methods += new qt_gsi::GenericMethod ("setVisible|visible=", "@brief Method void QActionGroup::setVisible(bool)\n", false, &_init_f_setVisible_864, &_call_f_setVisible_864);
|
||||
methods += gsi::qt_signal<QObject * > ("destroyed(QObject *)", "destroyed", gsi::arg("arg1"), "@brief Signal declaration for QActionGroup::destroyed(QObject *)\nYou can bind a procedure to this signal.");
|
||||
methods += gsi::qt_signal<QAction * > ("hovered(QAction *)", "hovered", gsi::arg("arg1"), "@brief Signal declaration for QActionGroup::hovered(QAction *)\nYou can bind a procedure to this signal.");
|
||||
methods += gsi::qt_signal<QAction * > ("triggered(QAction *)", "triggered", gsi::arg("arg1"), "@brief Signal declaration for QActionGroup::triggered(QAction *)\nYou can bind a procedure to this signal.");
|
||||
methods += new qt_gsi::GenericStaticMethod ("tr", "@brief Static method QString QActionGroup::tr(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_tr_4013, &_call_f_tr_4013);
|
||||
methods += new qt_gsi::GenericStaticMethod ("trUtf8", "@brief Static method QString QActionGroup::trUtf8(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_trUtf8_4013, &_call_f_trUtf8_4013);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QObject> &qtdecl_QObject ();
|
||||
|
||||
qt_gsi::QtNativeClass<QActionGroup> decl_QActionGroup (qtdecl_QObject (), "QActionGroup_Native",
|
||||
methods_QActionGroup (),
|
||||
"@hide\n@alias QActionGroup");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QActionGroup> &qtdecl_QActionGroup () { return decl_QActionGroup; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QActionGroup_Adaptor : public QActionGroup, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QActionGroup_Adaptor();
|
||||
|
||||
// [adaptor ctor] QActionGroup::QActionGroup(QObject *parent)
|
||||
QActionGroup_Adaptor(QObject *parent) : QActionGroup(parent)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [expose] bool QActionGroup::isSignalConnected(const QMetaMethod &signal)
|
||||
bool fp_QActionGroup_isSignalConnected_c2394 (const QMetaMethod &signal) const {
|
||||
return QActionGroup::isSignalConnected(signal);
|
||||
}
|
||||
|
||||
// [expose] int QActionGroup::receivers(const char *signal)
|
||||
int fp_QActionGroup_receivers_c1731 (const char *signal) const {
|
||||
return QActionGroup::receivers(signal);
|
||||
}
|
||||
|
||||
// [expose] QObject *QActionGroup::sender()
|
||||
QObject * fp_QActionGroup_sender_c0 () const {
|
||||
return QActionGroup::sender();
|
||||
}
|
||||
|
||||
// [expose] int QActionGroup::senderSignalIndex()
|
||||
int fp_QActionGroup_senderSignalIndex_c0 () const {
|
||||
return QActionGroup::senderSignalIndex();
|
||||
}
|
||||
|
||||
// [emitter impl] void QActionGroup::destroyed(QObject *)
|
||||
void emitter_QActionGroup_destroyed_1302(QObject *arg1)
|
||||
{
|
||||
emit QActionGroup::destroyed(arg1);
|
||||
}
|
||||
|
||||
// [adaptor impl] bool QActionGroup::event(QEvent *)
|
||||
bool cbs_event_1217_0(QEvent *arg1)
|
||||
{
|
||||
return QActionGroup::event(arg1);
|
||||
}
|
||||
|
||||
virtual bool event(QEvent *arg1)
|
||||
{
|
||||
if (cb_event_1217_0.can_issue()) {
|
||||
return cb_event_1217_0.issue<QActionGroup_Adaptor, bool, QEvent *>(&QActionGroup_Adaptor::cbs_event_1217_0, arg1);
|
||||
} else {
|
||||
return QActionGroup::event(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] bool QActionGroup::eventFilter(QObject *, QEvent *)
|
||||
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
|
||||
{
|
||||
return QActionGroup::eventFilter(arg1, arg2);
|
||||
}
|
||||
|
||||
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
|
||||
{
|
||||
if (cb_eventFilter_2411_0.can_issue()) {
|
||||
return cb_eventFilter_2411_0.issue<QActionGroup_Adaptor, bool, QObject *, QEvent *>(&QActionGroup_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
|
||||
} else {
|
||||
return QActionGroup::eventFilter(arg1, arg2);
|
||||
}
|
||||
}
|
||||
|
||||
// [emitter impl] void QActionGroup::hovered(QAction *)
|
||||
void emitter_QActionGroup_hovered_1309(QAction *arg1)
|
||||
{
|
||||
emit QActionGroup::hovered(arg1);
|
||||
}
|
||||
|
||||
// [emitter impl] void QActionGroup::triggered(QAction *)
|
||||
void emitter_QActionGroup_triggered_1309(QAction *arg1)
|
||||
{
|
||||
emit QActionGroup::triggered(arg1);
|
||||
}
|
||||
|
||||
// [adaptor impl] void QActionGroup::childEvent(QChildEvent *)
|
||||
void cbs_childEvent_1701_0(QChildEvent *arg1)
|
||||
{
|
||||
QActionGroup::childEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void childEvent(QChildEvent *arg1)
|
||||
{
|
||||
if (cb_childEvent_1701_0.can_issue()) {
|
||||
cb_childEvent_1701_0.issue<QActionGroup_Adaptor, QChildEvent *>(&QActionGroup_Adaptor::cbs_childEvent_1701_0, arg1);
|
||||
} else {
|
||||
QActionGroup::childEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QActionGroup::customEvent(QEvent *)
|
||||
void cbs_customEvent_1217_0(QEvent *arg1)
|
||||
{
|
||||
QActionGroup::customEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void customEvent(QEvent *arg1)
|
||||
{
|
||||
if (cb_customEvent_1217_0.can_issue()) {
|
||||
cb_customEvent_1217_0.issue<QActionGroup_Adaptor, QEvent *>(&QActionGroup_Adaptor::cbs_customEvent_1217_0, arg1);
|
||||
} else {
|
||||
QActionGroup::customEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QActionGroup::disconnectNotify(const QMetaMethod &signal)
|
||||
void cbs_disconnectNotify_2394_0(const QMetaMethod &signal)
|
||||
{
|
||||
QActionGroup::disconnectNotify(signal);
|
||||
}
|
||||
|
||||
virtual void disconnectNotify(const QMetaMethod &signal)
|
||||
{
|
||||
if (cb_disconnectNotify_2394_0.can_issue()) {
|
||||
cb_disconnectNotify_2394_0.issue<QActionGroup_Adaptor, const QMetaMethod &>(&QActionGroup_Adaptor::cbs_disconnectNotify_2394_0, signal);
|
||||
} else {
|
||||
QActionGroup::disconnectNotify(signal);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QActionGroup::timerEvent(QTimerEvent *)
|
||||
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
|
||||
{
|
||||
QActionGroup::timerEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void timerEvent(QTimerEvent *arg1)
|
||||
{
|
||||
if (cb_timerEvent_1730_0.can_issue()) {
|
||||
cb_timerEvent_1730_0.issue<QActionGroup_Adaptor, QTimerEvent *>(&QActionGroup_Adaptor::cbs_timerEvent_1730_0, arg1);
|
||||
} else {
|
||||
QActionGroup::timerEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_event_1217_0;
|
||||
gsi::Callback cb_eventFilter_2411_0;
|
||||
gsi::Callback cb_childEvent_1701_0;
|
||||
gsi::Callback cb_customEvent_1217_0;
|
||||
gsi::Callback cb_disconnectNotify_2394_0;
|
||||
gsi::Callback cb_timerEvent_1730_0;
|
||||
};
|
||||
|
||||
QActionGroup_Adaptor::~QActionGroup_Adaptor() { }
|
||||
|
||||
// Constructor QActionGroup::QActionGroup(QObject *parent) (adaptor class)
|
||||
|
||||
static void _init_ctor_QActionGroup_Adaptor_1302 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("parent");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
decl->set_return_new<QActionGroup_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QActionGroup_Adaptor_1302 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args.read<QObject * > (heap);
|
||||
ret.write<QActionGroup_Adaptor *> (new QActionGroup_Adaptor (arg1));
|
||||
}
|
||||
|
||||
|
||||
// void QActionGroup::childEvent(QChildEvent *)
|
||||
|
||||
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QChildEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_childEvent_1701_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QChildEvent *arg1 = args.read<QChildEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QActionGroup_Adaptor *)cls)->cbs_childEvent_1701_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QActionGroup_Adaptor *)cls)->cb_childEvent_1701_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QActionGroup::customEvent(QEvent *)
|
||||
|
||||
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_customEvent_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QActionGroup_Adaptor *)cls)->cbs_customEvent_1217_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QActionGroup_Adaptor *)cls)->cb_customEvent_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// emitter void QActionGroup::destroyed(QObject *)
|
||||
|
||||
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args ? args.read<QObject * > (heap) : (QObject *)(0);
|
||||
((QActionGroup_Adaptor *)cls)->emitter_QActionGroup_destroyed_1302 (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QActionGroup::disconnectNotify(const QMetaMethod &signal)
|
||||
|
||||
static void _init_cbs_disconnectNotify_2394_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("signal");
|
||||
decl->add_arg<const QMetaMethod & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_disconnectNotify_2394_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QMetaMethod &arg1 = args.read<const QMetaMethod & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QActionGroup_Adaptor *)cls)->cbs_disconnectNotify_2394_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_disconnectNotify_2394_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QActionGroup_Adaptor *)cls)->cb_disconnectNotify_2394_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// bool QActionGroup::event(QEvent *)
|
||||
|
||||
static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_event_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
ret.write<bool > ((bool)((QActionGroup_Adaptor *)cls)->cbs_event_1217_0 (arg1));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QActionGroup_Adaptor *)cls)->cb_event_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// bool QActionGroup::eventFilter(QObject *, QEvent *)
|
||||
|
||||
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("arg2");
|
||||
decl->add_arg<QEvent * > (argspec_1);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_eventFilter_2411_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args.read<QObject * > (heap);
|
||||
QEvent *arg2 = args.read<QEvent * > (heap);
|
||||
ret.write<bool > ((bool)((QActionGroup_Adaptor *)cls)->cbs_eventFilter_2411_0 (arg1, arg2));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_eventFilter_2411_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QActionGroup_Adaptor *)cls)->cb_eventFilter_2411_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// emitter void QActionGroup::hovered(QAction *)
|
||||
|
||||
static void _init_emitter_hovered_1309 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QAction * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_hovered_1309 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAction *arg1 = args.read<QAction * > (heap);
|
||||
((QActionGroup_Adaptor *)cls)->emitter_QActionGroup_hovered_1309 (arg1);
|
||||
}
|
||||
|
||||
|
||||
// exposed bool QActionGroup::isSignalConnected(const QMetaMethod &signal)
|
||||
|
||||
static void _init_fp_isSignalConnected_c2394 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("signal");
|
||||
decl->add_arg<const QMetaMethod & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_fp_isSignalConnected_c2394 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QMetaMethod &arg1 = args.read<const QMetaMethod & > (heap);
|
||||
ret.write<bool > ((bool)((QActionGroup_Adaptor *)cls)->fp_QActionGroup_isSignalConnected_c2394 (arg1));
|
||||
}
|
||||
|
||||
|
||||
// exposed int QActionGroup::receivers(const char *signal)
|
||||
|
||||
static void _init_fp_receivers_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_fp_receivers_c1731 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
ret.write<int > ((int)((QActionGroup_Adaptor *)cls)->fp_QActionGroup_receivers_c1731 (arg1));
|
||||
}
|
||||
|
||||
|
||||
// exposed QObject *QActionGroup::sender()
|
||||
|
||||
static void _init_fp_sender_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QObject * > ();
|
||||
}
|
||||
|
||||
static void _call_fp_sender_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QObject * > ((QObject *)((QActionGroup_Adaptor *)cls)->fp_QActionGroup_sender_c0 ());
|
||||
}
|
||||
|
||||
|
||||
// exposed int QActionGroup::senderSignalIndex()
|
||||
|
||||
static void _init_fp_senderSignalIndex_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_fp_senderSignalIndex_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QActionGroup_Adaptor *)cls)->fp_QActionGroup_senderSignalIndex_c0 ());
|
||||
}
|
||||
|
||||
|
||||
// void QActionGroup::timerEvent(QTimerEvent *)
|
||||
|
||||
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QTimerEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_timerEvent_1730_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QTimerEvent *arg1 = args.read<QTimerEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QActionGroup_Adaptor *)cls)->cbs_timerEvent_1730_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_timerEvent_1730_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QActionGroup_Adaptor *)cls)->cb_timerEvent_1730_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// emitter void QActionGroup::triggered(QAction *)
|
||||
|
||||
static void _init_emitter_triggered_1309 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QAction * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_triggered_1309 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAction *arg1 = args.read<QAction * > (heap);
|
||||
((QActionGroup_Adaptor *)cls)->emitter_QActionGroup_triggered_1309 (arg1);
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QActionGroup> &qtdecl_QActionGroup ();
|
||||
|
||||
static gsi::Methods methods_QActionGroup_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QActionGroup::QActionGroup(QObject *parent)\nThis method creates an object of class QActionGroup.", &_init_ctor_QActionGroup_Adaptor_1302, &_call_ctor_QActionGroup_Adaptor_1302);
|
||||
methods += new qt_gsi::GenericMethod ("*childEvent", "@hide", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0);
|
||||
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QActionGroup::childEvent(QChildEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0, &_set_callback_cbs_childEvent_1701_0);
|
||||
methods += new qt_gsi::GenericMethod ("*customEvent", "@hide", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("*customEvent", "@brief Virtual method void QActionGroup::customEvent(QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0, &_set_callback_cbs_customEvent_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("emit_destroyed", "@brief Emitter for signal void QActionGroup::destroyed(QObject *)\nCall this method to emit this signal.", false, &_init_emitter_destroyed_1302, &_call_emitter_destroyed_1302);
|
||||
methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@hide", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0);
|
||||
methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@brief Virtual method void QActionGroup::disconnectNotify(const QMetaMethod &signal)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0, &_set_callback_cbs_disconnectNotify_2394_0);
|
||||
methods += new qt_gsi::GenericMethod ("event", "@hide", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("event", "@brief Virtual method bool QActionGroup::event(QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0, &_set_callback_cbs_event_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("eventFilter", "@hide", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0);
|
||||
methods += new qt_gsi::GenericMethod ("eventFilter", "@brief Virtual method bool QActionGroup::eventFilter(QObject *, QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0, &_set_callback_cbs_eventFilter_2411_0);
|
||||
methods += new qt_gsi::GenericMethod ("emit_hovered", "@brief Emitter for signal void QActionGroup::hovered(QAction *)\nCall this method to emit this signal.", false, &_init_emitter_hovered_1309, &_call_emitter_hovered_1309);
|
||||
methods += new qt_gsi::GenericMethod ("*isSignalConnected", "@brief Method bool QActionGroup::isSignalConnected(const QMetaMethod &signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_isSignalConnected_c2394, &_call_fp_isSignalConnected_c2394);
|
||||
methods += new qt_gsi::GenericMethod ("*receivers", "@brief Method int QActionGroup::receivers(const char *signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_receivers_c1731, &_call_fp_receivers_c1731);
|
||||
methods += new qt_gsi::GenericMethod ("*sender", "@brief Method QObject *QActionGroup::sender()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_sender_c0, &_call_fp_sender_c0);
|
||||
methods += new qt_gsi::GenericMethod ("*senderSignalIndex", "@brief Method int QActionGroup::senderSignalIndex()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_senderSignalIndex_c0, &_call_fp_senderSignalIndex_c0);
|
||||
methods += new qt_gsi::GenericMethod ("*timerEvent", "@hide", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0);
|
||||
methods += new qt_gsi::GenericMethod ("*timerEvent", "@brief Virtual method void QActionGroup::timerEvent(QTimerEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0, &_set_callback_cbs_timerEvent_1730_0);
|
||||
methods += new qt_gsi::GenericMethod ("emit_triggered", "@brief Emitter for signal void QActionGroup::triggered(QAction *)\nCall this method to emit this signal.", false, &_init_emitter_triggered_1309, &_call_emitter_triggered_1309);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QActionGroup_Adaptor> decl_QActionGroup_Adaptor (qtdecl_QActionGroup (), "QActionGroup",
|
||||
methods_QActionGroup_Adaptor (),
|
||||
"@qt\n@brief Binding of QActionGroup");
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,893 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAnimationDriver.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAnimationDriver>
|
||||
#include <QChildEvent>
|
||||
#include <QEvent>
|
||||
#include <QMetaMethod>
|
||||
#include <QObject>
|
||||
#include <QThread>
|
||||
#include <QTimerEvent>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAnimationDriver
|
||||
|
||||
// get static meta object
|
||||
|
||||
static void _init_smo (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return<const QMetaObject &> ();
|
||||
}
|
||||
|
||||
static void _call_smo (const qt_gsi::GenericStaticMethod *, gsi::SerialArgs &, gsi::SerialArgs &ret)
|
||||
{
|
||||
ret.write<const QMetaObject &> (QAnimationDriver::staticMetaObject);
|
||||
}
|
||||
|
||||
|
||||
// void QAnimationDriver::advance()
|
||||
|
||||
|
||||
static void _init_f_advance_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_advance_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAnimationDriver *)cls)->advance ();
|
||||
}
|
||||
|
||||
|
||||
// qint64 QAnimationDriver::elapsed()
|
||||
|
||||
|
||||
static void _init_f_elapsed_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<qint64 > ();
|
||||
}
|
||||
|
||||
static void _call_f_elapsed_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<qint64 > ((qint64)((QAnimationDriver *)cls)->elapsed ());
|
||||
}
|
||||
|
||||
|
||||
// void QAnimationDriver::install()
|
||||
|
||||
|
||||
static void _init_f_install_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_install_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAnimationDriver *)cls)->install ();
|
||||
}
|
||||
|
||||
|
||||
// bool QAnimationDriver::isRunning()
|
||||
|
||||
|
||||
static void _init_f_isRunning_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_isRunning_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<bool > ((bool)((QAnimationDriver *)cls)->isRunning ());
|
||||
}
|
||||
|
||||
|
||||
// void QAnimationDriver::setStartTime(qint64 startTime)
|
||||
|
||||
|
||||
static void _init_f_setStartTime_986 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("startTime");
|
||||
decl->add_arg<qint64 > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setStartTime_986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
qint64 arg1 = args.read<qint64 > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAnimationDriver *)cls)->setStartTime (arg1);
|
||||
}
|
||||
|
||||
|
||||
// qint64 QAnimationDriver::startTime()
|
||||
|
||||
|
||||
static void _init_f_startTime_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<qint64 > ();
|
||||
}
|
||||
|
||||
static void _call_f_startTime_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<qint64 > ((qint64)((QAnimationDriver *)cls)->startTime ());
|
||||
}
|
||||
|
||||
|
||||
// void QAnimationDriver::uninstall()
|
||||
|
||||
|
||||
static void _init_f_uninstall_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_uninstall_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAnimationDriver *)cls)->uninstall ();
|
||||
}
|
||||
|
||||
|
||||
// static QString QAnimationDriver::tr(const char *s, const char *c, int n)
|
||||
|
||||
|
||||
static void _init_f_tr_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("s");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("c", true, "__null");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_tr_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(__null);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QAnimationDriver::tr (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
// static QString QAnimationDriver::trUtf8(const char *s, const char *c, int n)
|
||||
|
||||
|
||||
static void _init_f_trUtf8_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("s");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("c", true, "__null");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_trUtf8_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(__null);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QAnimationDriver::trUtf8 (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAnimationDriver () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("staticMetaObject", "@brief Obtains the static MetaObject for this class.", &_init_smo, &_call_smo);
|
||||
methods += new qt_gsi::GenericMethod ("advance", "@brief Method void QAnimationDriver::advance()\n", false, &_init_f_advance_0, &_call_f_advance_0);
|
||||
methods += new qt_gsi::GenericMethod ("elapsed", "@brief Method qint64 QAnimationDriver::elapsed()\n", true, &_init_f_elapsed_c0, &_call_f_elapsed_c0);
|
||||
methods += new qt_gsi::GenericMethod ("install", "@brief Method void QAnimationDriver::install()\n", false, &_init_f_install_0, &_call_f_install_0);
|
||||
methods += new qt_gsi::GenericMethod ("isRunning?", "@brief Method bool QAnimationDriver::isRunning()\n", true, &_init_f_isRunning_c0, &_call_f_isRunning_c0);
|
||||
methods += new qt_gsi::GenericMethod ("setStartTime|startTime=", "@brief Method void QAnimationDriver::setStartTime(qint64 startTime)\n", false, &_init_f_setStartTime_986, &_call_f_setStartTime_986);
|
||||
methods += new qt_gsi::GenericMethod (":startTime", "@brief Method qint64 QAnimationDriver::startTime()\n", true, &_init_f_startTime_c0, &_call_f_startTime_c0);
|
||||
methods += new qt_gsi::GenericMethod ("uninstall", "@brief Method void QAnimationDriver::uninstall()\n", false, &_init_f_uninstall_0, &_call_f_uninstall_0);
|
||||
methods += gsi::qt_signal<QObject * > ("destroyed(QObject *)", "destroyed", gsi::arg("arg1"), "@brief Signal declaration for QAnimationDriver::destroyed(QObject *)\nYou can bind a procedure to this signal.");
|
||||
methods += gsi::qt_signal ("started()", "started", "@brief Signal declaration for QAnimationDriver::started()\nYou can bind a procedure to this signal.");
|
||||
methods += gsi::qt_signal ("stopped()", "stopped", "@brief Signal declaration for QAnimationDriver::stopped()\nYou can bind a procedure to this signal.");
|
||||
methods += new qt_gsi::GenericStaticMethod ("tr", "@brief Static method QString QAnimationDriver::tr(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_tr_4013, &_call_f_tr_4013);
|
||||
methods += new qt_gsi::GenericStaticMethod ("trUtf8", "@brief Static method QString QAnimationDriver::trUtf8(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_trUtf8_4013, &_call_f_trUtf8_4013);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QObject> &qtdecl_QObject ();
|
||||
|
||||
qt_gsi::QtNativeClass<QAnimationDriver> decl_QAnimationDriver (qtdecl_QObject (), "QAnimationDriver_Native",
|
||||
methods_QAnimationDriver (),
|
||||
"@hide\n@alias QAnimationDriver");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAnimationDriver> &qtdecl_QAnimationDriver () { return decl_QAnimationDriver; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QAnimationDriver_Adaptor : public QAnimationDriver, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QAnimationDriver_Adaptor();
|
||||
|
||||
// [adaptor ctor] QAnimationDriver::QAnimationDriver(QObject *parent)
|
||||
QAnimationDriver_Adaptor() : QAnimationDriver()
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor ctor] QAnimationDriver::QAnimationDriver(QObject *parent)
|
||||
QAnimationDriver_Adaptor(QObject *parent) : QAnimationDriver(parent)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [expose] void QAnimationDriver::advanceAnimation(qint64 timeStep)
|
||||
void fp_QAnimationDriver_advanceAnimation_986 (qint64 timeStep) {
|
||||
QAnimationDriver::advanceAnimation(timeStep);
|
||||
}
|
||||
|
||||
// [expose] bool QAnimationDriver::isSignalConnected(const QMetaMethod &signal)
|
||||
bool fp_QAnimationDriver_isSignalConnected_c2394 (const QMetaMethod &signal) const {
|
||||
return QAnimationDriver::isSignalConnected(signal);
|
||||
}
|
||||
|
||||
// [expose] int QAnimationDriver::receivers(const char *signal)
|
||||
int fp_QAnimationDriver_receivers_c1731 (const char *signal) const {
|
||||
return QAnimationDriver::receivers(signal);
|
||||
}
|
||||
|
||||
// [expose] QObject *QAnimationDriver::sender()
|
||||
QObject * fp_QAnimationDriver_sender_c0 () const {
|
||||
return QAnimationDriver::sender();
|
||||
}
|
||||
|
||||
// [expose] int QAnimationDriver::senderSignalIndex()
|
||||
int fp_QAnimationDriver_senderSignalIndex_c0 () const {
|
||||
return QAnimationDriver::senderSignalIndex();
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAnimationDriver::advance()
|
||||
void cbs_advance_0_0()
|
||||
{
|
||||
QAnimationDriver::advance();
|
||||
}
|
||||
|
||||
virtual void advance()
|
||||
{
|
||||
if (cb_advance_0_0.can_issue()) {
|
||||
cb_advance_0_0.issue<QAnimationDriver_Adaptor>(&QAnimationDriver_Adaptor::cbs_advance_0_0);
|
||||
} else {
|
||||
QAnimationDriver::advance();
|
||||
}
|
||||
}
|
||||
|
||||
// [emitter impl] void QAnimationDriver::destroyed(QObject *)
|
||||
void emitter_QAnimationDriver_destroyed_1302(QObject *arg1)
|
||||
{
|
||||
emit QAnimationDriver::destroyed(arg1);
|
||||
}
|
||||
|
||||
// [adaptor impl] qint64 QAnimationDriver::elapsed()
|
||||
qint64 cbs_elapsed_c0_0() const
|
||||
{
|
||||
return QAnimationDriver::elapsed();
|
||||
}
|
||||
|
||||
virtual qint64 elapsed() const
|
||||
{
|
||||
if (cb_elapsed_c0_0.can_issue()) {
|
||||
return cb_elapsed_c0_0.issue<QAnimationDriver_Adaptor, qint64>(&QAnimationDriver_Adaptor::cbs_elapsed_c0_0);
|
||||
} else {
|
||||
return QAnimationDriver::elapsed();
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] bool QAnimationDriver::event(QEvent *)
|
||||
bool cbs_event_1217_0(QEvent *arg1)
|
||||
{
|
||||
return QAnimationDriver::event(arg1);
|
||||
}
|
||||
|
||||
virtual bool event(QEvent *arg1)
|
||||
{
|
||||
if (cb_event_1217_0.can_issue()) {
|
||||
return cb_event_1217_0.issue<QAnimationDriver_Adaptor, bool, QEvent *>(&QAnimationDriver_Adaptor::cbs_event_1217_0, arg1);
|
||||
} else {
|
||||
return QAnimationDriver::event(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] bool QAnimationDriver::eventFilter(QObject *, QEvent *)
|
||||
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
|
||||
{
|
||||
return QAnimationDriver::eventFilter(arg1, arg2);
|
||||
}
|
||||
|
||||
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
|
||||
{
|
||||
if (cb_eventFilter_2411_0.can_issue()) {
|
||||
return cb_eventFilter_2411_0.issue<QAnimationDriver_Adaptor, bool, QObject *, QEvent *>(&QAnimationDriver_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
|
||||
} else {
|
||||
return QAnimationDriver::eventFilter(arg1, arg2);
|
||||
}
|
||||
}
|
||||
|
||||
// [emitter impl] void QAnimationDriver::started()
|
||||
void emitter_QAnimationDriver_started_0()
|
||||
{
|
||||
emit QAnimationDriver::started();
|
||||
}
|
||||
|
||||
// [emitter impl] void QAnimationDriver::stopped()
|
||||
void emitter_QAnimationDriver_stopped_0()
|
||||
{
|
||||
emit QAnimationDriver::stopped();
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAnimationDriver::childEvent(QChildEvent *)
|
||||
void cbs_childEvent_1701_0(QChildEvent *arg1)
|
||||
{
|
||||
QAnimationDriver::childEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void childEvent(QChildEvent *arg1)
|
||||
{
|
||||
if (cb_childEvent_1701_0.can_issue()) {
|
||||
cb_childEvent_1701_0.issue<QAnimationDriver_Adaptor, QChildEvent *>(&QAnimationDriver_Adaptor::cbs_childEvent_1701_0, arg1);
|
||||
} else {
|
||||
QAnimationDriver::childEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAnimationDriver::customEvent(QEvent *)
|
||||
void cbs_customEvent_1217_0(QEvent *arg1)
|
||||
{
|
||||
QAnimationDriver::customEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void customEvent(QEvent *arg1)
|
||||
{
|
||||
if (cb_customEvent_1217_0.can_issue()) {
|
||||
cb_customEvent_1217_0.issue<QAnimationDriver_Adaptor, QEvent *>(&QAnimationDriver_Adaptor::cbs_customEvent_1217_0, arg1);
|
||||
} else {
|
||||
QAnimationDriver::customEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAnimationDriver::disconnectNotify(const QMetaMethod &signal)
|
||||
void cbs_disconnectNotify_2394_0(const QMetaMethod &signal)
|
||||
{
|
||||
QAnimationDriver::disconnectNotify(signal);
|
||||
}
|
||||
|
||||
virtual void disconnectNotify(const QMetaMethod &signal)
|
||||
{
|
||||
if (cb_disconnectNotify_2394_0.can_issue()) {
|
||||
cb_disconnectNotify_2394_0.issue<QAnimationDriver_Adaptor, const QMetaMethod &>(&QAnimationDriver_Adaptor::cbs_disconnectNotify_2394_0, signal);
|
||||
} else {
|
||||
QAnimationDriver::disconnectNotify(signal);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAnimationDriver::start()
|
||||
void cbs_start_0_0()
|
||||
{
|
||||
QAnimationDriver::start();
|
||||
}
|
||||
|
||||
virtual void start()
|
||||
{
|
||||
if (cb_start_0_0.can_issue()) {
|
||||
cb_start_0_0.issue<QAnimationDriver_Adaptor>(&QAnimationDriver_Adaptor::cbs_start_0_0);
|
||||
} else {
|
||||
QAnimationDriver::start();
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAnimationDriver::stop()
|
||||
void cbs_stop_0_0()
|
||||
{
|
||||
QAnimationDriver::stop();
|
||||
}
|
||||
|
||||
virtual void stop()
|
||||
{
|
||||
if (cb_stop_0_0.can_issue()) {
|
||||
cb_stop_0_0.issue<QAnimationDriver_Adaptor>(&QAnimationDriver_Adaptor::cbs_stop_0_0);
|
||||
} else {
|
||||
QAnimationDriver::stop();
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAnimationDriver::timerEvent(QTimerEvent *)
|
||||
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
|
||||
{
|
||||
QAnimationDriver::timerEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void timerEvent(QTimerEvent *arg1)
|
||||
{
|
||||
if (cb_timerEvent_1730_0.can_issue()) {
|
||||
cb_timerEvent_1730_0.issue<QAnimationDriver_Adaptor, QTimerEvent *>(&QAnimationDriver_Adaptor::cbs_timerEvent_1730_0, arg1);
|
||||
} else {
|
||||
QAnimationDriver::timerEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_advance_0_0;
|
||||
gsi::Callback cb_elapsed_c0_0;
|
||||
gsi::Callback cb_event_1217_0;
|
||||
gsi::Callback cb_eventFilter_2411_0;
|
||||
gsi::Callback cb_childEvent_1701_0;
|
||||
gsi::Callback cb_customEvent_1217_0;
|
||||
gsi::Callback cb_disconnectNotify_2394_0;
|
||||
gsi::Callback cb_start_0_0;
|
||||
gsi::Callback cb_stop_0_0;
|
||||
gsi::Callback cb_timerEvent_1730_0;
|
||||
};
|
||||
|
||||
QAnimationDriver_Adaptor::~QAnimationDriver_Adaptor() { }
|
||||
|
||||
// Constructor QAnimationDriver::QAnimationDriver(QObject *parent) (adaptor class)
|
||||
|
||||
static void _init_ctor_QAnimationDriver_Adaptor_1302 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("parent", true, "0");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
decl->set_return_new<QAnimationDriver_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAnimationDriver_Adaptor_1302 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args ? args.read<QObject * > (heap) : (QObject *)(0);
|
||||
ret.write<QAnimationDriver_Adaptor *> (new QAnimationDriver_Adaptor (arg1));
|
||||
}
|
||||
|
||||
|
||||
// void QAnimationDriver::advance()
|
||||
|
||||
static void _init_cbs_advance_0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_advance_0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAnimationDriver_Adaptor *)cls)->cbs_advance_0_0 ();
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_advance_0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAnimationDriver_Adaptor *)cls)->cb_advance_0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// exposed void QAnimationDriver::advanceAnimation(qint64 timeStep)
|
||||
|
||||
static void _init_fp_advanceAnimation_986 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("timeStep", true, "-1");
|
||||
decl->add_arg<qint64 > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_fp_advanceAnimation_986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
qint64 arg1 = args ? args.read<qint64 > (heap) : (qint64)(-1);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAnimationDriver_Adaptor *)cls)->fp_QAnimationDriver_advanceAnimation_986 (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAnimationDriver::childEvent(QChildEvent *)
|
||||
|
||||
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QChildEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_childEvent_1701_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QChildEvent *arg1 = args.read<QChildEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAnimationDriver_Adaptor *)cls)->cbs_childEvent_1701_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAnimationDriver_Adaptor *)cls)->cb_childEvent_1701_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAnimationDriver::customEvent(QEvent *)
|
||||
|
||||
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_customEvent_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAnimationDriver_Adaptor *)cls)->cbs_customEvent_1217_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAnimationDriver_Adaptor *)cls)->cb_customEvent_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// emitter void QAnimationDriver::destroyed(QObject *)
|
||||
|
||||
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args ? args.read<QObject * > (heap) : (QObject *)(0);
|
||||
((QAnimationDriver_Adaptor *)cls)->emitter_QAnimationDriver_destroyed_1302 (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAnimationDriver::disconnectNotify(const QMetaMethod &signal)
|
||||
|
||||
static void _init_cbs_disconnectNotify_2394_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("signal");
|
||||
decl->add_arg<const QMetaMethod & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_disconnectNotify_2394_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QMetaMethod &arg1 = args.read<const QMetaMethod & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAnimationDriver_Adaptor *)cls)->cbs_disconnectNotify_2394_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_disconnectNotify_2394_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAnimationDriver_Adaptor *)cls)->cb_disconnectNotify_2394_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// qint64 QAnimationDriver::elapsed()
|
||||
|
||||
static void _init_cbs_elapsed_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<qint64 > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_elapsed_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<qint64 > ((qint64)((QAnimationDriver_Adaptor *)cls)->cbs_elapsed_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_elapsed_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAnimationDriver_Adaptor *)cls)->cb_elapsed_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// bool QAnimationDriver::event(QEvent *)
|
||||
|
||||
static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_event_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
ret.write<bool > ((bool)((QAnimationDriver_Adaptor *)cls)->cbs_event_1217_0 (arg1));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAnimationDriver_Adaptor *)cls)->cb_event_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// bool QAnimationDriver::eventFilter(QObject *, QEvent *)
|
||||
|
||||
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("arg2");
|
||||
decl->add_arg<QEvent * > (argspec_1);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_eventFilter_2411_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args.read<QObject * > (heap);
|
||||
QEvent *arg2 = args.read<QEvent * > (heap);
|
||||
ret.write<bool > ((bool)((QAnimationDriver_Adaptor *)cls)->cbs_eventFilter_2411_0 (arg1, arg2));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_eventFilter_2411_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAnimationDriver_Adaptor *)cls)->cb_eventFilter_2411_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// exposed bool QAnimationDriver::isSignalConnected(const QMetaMethod &signal)
|
||||
|
||||
static void _init_fp_isSignalConnected_c2394 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("signal");
|
||||
decl->add_arg<const QMetaMethod & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_fp_isSignalConnected_c2394 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QMetaMethod &arg1 = args.read<const QMetaMethod & > (heap);
|
||||
ret.write<bool > ((bool)((QAnimationDriver_Adaptor *)cls)->fp_QAnimationDriver_isSignalConnected_c2394 (arg1));
|
||||
}
|
||||
|
||||
|
||||
// exposed int QAnimationDriver::receivers(const char *signal)
|
||||
|
||||
static void _init_fp_receivers_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_fp_receivers_c1731 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
ret.write<int > ((int)((QAnimationDriver_Adaptor *)cls)->fp_QAnimationDriver_receivers_c1731 (arg1));
|
||||
}
|
||||
|
||||
|
||||
// exposed QObject *QAnimationDriver::sender()
|
||||
|
||||
static void _init_fp_sender_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QObject * > ();
|
||||
}
|
||||
|
||||
static void _call_fp_sender_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QObject * > ((QObject *)((QAnimationDriver_Adaptor *)cls)->fp_QAnimationDriver_sender_c0 ());
|
||||
}
|
||||
|
||||
|
||||
// exposed int QAnimationDriver::senderSignalIndex()
|
||||
|
||||
static void _init_fp_senderSignalIndex_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_fp_senderSignalIndex_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAnimationDriver_Adaptor *)cls)->fp_QAnimationDriver_senderSignalIndex_c0 ());
|
||||
}
|
||||
|
||||
|
||||
// void QAnimationDriver::start()
|
||||
|
||||
static void _init_cbs_start_0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_start_0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAnimationDriver_Adaptor *)cls)->cbs_start_0_0 ();
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_start_0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAnimationDriver_Adaptor *)cls)->cb_start_0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// emitter void QAnimationDriver::started()
|
||||
|
||||
static void _init_emitter_started_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_started_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
((QAnimationDriver_Adaptor *)cls)->emitter_QAnimationDriver_started_0 ();
|
||||
}
|
||||
|
||||
|
||||
// void QAnimationDriver::stop()
|
||||
|
||||
static void _init_cbs_stop_0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_stop_0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAnimationDriver_Adaptor *)cls)->cbs_stop_0_0 ();
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_stop_0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAnimationDriver_Adaptor *)cls)->cb_stop_0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// emitter void QAnimationDriver::stopped()
|
||||
|
||||
static void _init_emitter_stopped_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_stopped_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
((QAnimationDriver_Adaptor *)cls)->emitter_QAnimationDriver_stopped_0 ();
|
||||
}
|
||||
|
||||
|
||||
// void QAnimationDriver::timerEvent(QTimerEvent *)
|
||||
|
||||
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QTimerEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_timerEvent_1730_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QTimerEvent *arg1 = args.read<QTimerEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAnimationDriver_Adaptor *)cls)->cbs_timerEvent_1730_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_timerEvent_1730_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAnimationDriver_Adaptor *)cls)->cb_timerEvent_1730_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QAnimationDriver> &qtdecl_QAnimationDriver ();
|
||||
|
||||
static gsi::Methods methods_QAnimationDriver_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAnimationDriver::QAnimationDriver(QObject *parent)\nThis method creates an object of class QAnimationDriver.", &_init_ctor_QAnimationDriver_Adaptor_1302, &_call_ctor_QAnimationDriver_Adaptor_1302);
|
||||
methods += new qt_gsi::GenericMethod ("advance", "@hide", false, &_init_cbs_advance_0_0, &_call_cbs_advance_0_0);
|
||||
methods += new qt_gsi::GenericMethod ("advance", "@brief Virtual method void QAnimationDriver::advance()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_advance_0_0, &_call_cbs_advance_0_0, &_set_callback_cbs_advance_0_0);
|
||||
methods += new qt_gsi::GenericMethod ("*advanceAnimation", "@brief Method void QAnimationDriver::advanceAnimation(qint64 timeStep)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_advanceAnimation_986, &_call_fp_advanceAnimation_986);
|
||||
methods += new qt_gsi::GenericMethod ("*childEvent", "@hide", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0);
|
||||
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QAnimationDriver::childEvent(QChildEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0, &_set_callback_cbs_childEvent_1701_0);
|
||||
methods += new qt_gsi::GenericMethod ("*customEvent", "@hide", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("*customEvent", "@brief Virtual method void QAnimationDriver::customEvent(QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0, &_set_callback_cbs_customEvent_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("emit_destroyed", "@brief Emitter for signal void QAnimationDriver::destroyed(QObject *)\nCall this method to emit this signal.", false, &_init_emitter_destroyed_1302, &_call_emitter_destroyed_1302);
|
||||
methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@hide", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0);
|
||||
methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@brief Virtual method void QAnimationDriver::disconnectNotify(const QMetaMethod &signal)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0, &_set_callback_cbs_disconnectNotify_2394_0);
|
||||
methods += new qt_gsi::GenericMethod ("elapsed", "@hide", true, &_init_cbs_elapsed_c0_0, &_call_cbs_elapsed_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("elapsed", "@brief Virtual method qint64 QAnimationDriver::elapsed()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_elapsed_c0_0, &_call_cbs_elapsed_c0_0, &_set_callback_cbs_elapsed_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("event", "@hide", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("event", "@brief Virtual method bool QAnimationDriver::event(QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0, &_set_callback_cbs_event_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("eventFilter", "@hide", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0);
|
||||
methods += new qt_gsi::GenericMethod ("eventFilter", "@brief Virtual method bool QAnimationDriver::eventFilter(QObject *, QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0, &_set_callback_cbs_eventFilter_2411_0);
|
||||
methods += new qt_gsi::GenericMethod ("*isSignalConnected", "@brief Method bool QAnimationDriver::isSignalConnected(const QMetaMethod &signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_isSignalConnected_c2394, &_call_fp_isSignalConnected_c2394);
|
||||
methods += new qt_gsi::GenericMethod ("*receivers", "@brief Method int QAnimationDriver::receivers(const char *signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_receivers_c1731, &_call_fp_receivers_c1731);
|
||||
methods += new qt_gsi::GenericMethod ("*sender", "@brief Method QObject *QAnimationDriver::sender()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_sender_c0, &_call_fp_sender_c0);
|
||||
methods += new qt_gsi::GenericMethod ("*senderSignalIndex", "@brief Method int QAnimationDriver::senderSignalIndex()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_senderSignalIndex_c0, &_call_fp_senderSignalIndex_c0);
|
||||
methods += new qt_gsi::GenericMethod ("*start", "@hide", false, &_init_cbs_start_0_0, &_call_cbs_start_0_0);
|
||||
methods += new qt_gsi::GenericMethod ("*start", "@brief Virtual method void QAnimationDriver::start()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_start_0_0, &_call_cbs_start_0_0, &_set_callback_cbs_start_0_0);
|
||||
methods += new qt_gsi::GenericMethod ("emit_started", "@brief Emitter for signal void QAnimationDriver::started()\nCall this method to emit this signal.", false, &_init_emitter_started_0, &_call_emitter_started_0);
|
||||
methods += new qt_gsi::GenericMethod ("*stop", "@hide", false, &_init_cbs_stop_0_0, &_call_cbs_stop_0_0);
|
||||
methods += new qt_gsi::GenericMethod ("*stop", "@brief Virtual method void QAnimationDriver::stop()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_stop_0_0, &_call_cbs_stop_0_0, &_set_callback_cbs_stop_0_0);
|
||||
methods += new qt_gsi::GenericMethod ("emit_stopped", "@brief Emitter for signal void QAnimationDriver::stopped()\nCall this method to emit this signal.", false, &_init_emitter_stopped_0, &_call_emitter_stopped_0);
|
||||
methods += new qt_gsi::GenericMethod ("*timerEvent", "@hide", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0);
|
||||
methods += new qt_gsi::GenericMethod ("*timerEvent", "@brief Virtual method void QAnimationDriver::timerEvent(QTimerEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0, &_set_callback_cbs_timerEvent_1730_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAnimationDriver_Adaptor> decl_QAnimationDriver_Adaptor (qtdecl_QAnimationDriver (), "QAnimationDriver",
|
||||
methods_QAnimationDriver_Adaptor (),
|
||||
"@qt\n@brief Binding of QAnimationDriver");
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,983 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAnimationGroup.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAnimationGroup>
|
||||
#include <QAbstractAnimation>
|
||||
#include <QChildEvent>
|
||||
#include <QEvent>
|
||||
#include <QMetaMethod>
|
||||
#include <QObject>
|
||||
#include <QThread>
|
||||
#include <QTimerEvent>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAnimationGroup
|
||||
|
||||
// get static meta object
|
||||
|
||||
static void _init_smo (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return<const QMetaObject &> ();
|
||||
}
|
||||
|
||||
static void _call_smo (const qt_gsi::GenericStaticMethod *, gsi::SerialArgs &, gsi::SerialArgs &ret)
|
||||
{
|
||||
ret.write<const QMetaObject &> (QAnimationGroup::staticMetaObject);
|
||||
}
|
||||
|
||||
|
||||
// void QAnimationGroup::addAnimation(QAbstractAnimation *animation)
|
||||
|
||||
|
||||
static void _init_f_addAnimation_2451 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("animation");
|
||||
decl->add_arg<QAbstractAnimation * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_addAnimation_2451 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAbstractAnimation *arg1 = args.read<QAbstractAnimation * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAnimationGroup *)cls)->addAnimation (arg1);
|
||||
}
|
||||
|
||||
|
||||
// QAbstractAnimation *QAnimationGroup::animationAt(int index)
|
||||
|
||||
|
||||
static void _init_f_animationAt_c767 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("index");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
decl->set_return<QAbstractAnimation * > ();
|
||||
}
|
||||
|
||||
static void _call_f_animationAt_c767 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
ret.write<QAbstractAnimation * > ((QAbstractAnimation *)((QAnimationGroup *)cls)->animationAt (arg1));
|
||||
}
|
||||
|
||||
|
||||
// int QAnimationGroup::animationCount()
|
||||
|
||||
|
||||
static void _init_f_animationCount_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_animationCount_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAnimationGroup *)cls)->animationCount ());
|
||||
}
|
||||
|
||||
|
||||
// void QAnimationGroup::clear()
|
||||
|
||||
|
||||
static void _init_f_clear_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_clear_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAnimationGroup *)cls)->clear ();
|
||||
}
|
||||
|
||||
|
||||
// int QAnimationGroup::indexOfAnimation(QAbstractAnimation *animation)
|
||||
|
||||
|
||||
static void _init_f_indexOfAnimation_c2451 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("animation");
|
||||
decl->add_arg<QAbstractAnimation * > (argspec_0);
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_indexOfAnimation_c2451 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAbstractAnimation *arg1 = args.read<QAbstractAnimation * > (heap);
|
||||
ret.write<int > ((int)((QAnimationGroup *)cls)->indexOfAnimation (arg1));
|
||||
}
|
||||
|
||||
|
||||
// void QAnimationGroup::insertAnimation(int index, QAbstractAnimation *animation)
|
||||
|
||||
|
||||
static void _init_f_insertAnimation_3110 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("index");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("animation");
|
||||
decl->add_arg<QAbstractAnimation * > (argspec_1);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_insertAnimation_3110 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
QAbstractAnimation *arg2 = args.read<QAbstractAnimation * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAnimationGroup *)cls)->insertAnimation (arg1, arg2);
|
||||
}
|
||||
|
||||
|
||||
// void QAnimationGroup::removeAnimation(QAbstractAnimation *animation)
|
||||
|
||||
|
||||
static void _init_f_removeAnimation_2451 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("animation");
|
||||
decl->add_arg<QAbstractAnimation * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_removeAnimation_2451 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAbstractAnimation *arg1 = args.read<QAbstractAnimation * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAnimationGroup *)cls)->removeAnimation (arg1);
|
||||
}
|
||||
|
||||
|
||||
// QAbstractAnimation *QAnimationGroup::takeAnimation(int index)
|
||||
|
||||
|
||||
static void _init_f_takeAnimation_767 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("index");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
decl->set_return<QAbstractAnimation * > ();
|
||||
}
|
||||
|
||||
static void _call_f_takeAnimation_767 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
ret.write<QAbstractAnimation * > ((QAbstractAnimation *)((QAnimationGroup *)cls)->takeAnimation (arg1));
|
||||
}
|
||||
|
||||
|
||||
// static QString QAnimationGroup::tr(const char *s, const char *c, int n)
|
||||
|
||||
|
||||
static void _init_f_tr_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("s");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("c", true, "__null");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_tr_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(__null);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QAnimationGroup::tr (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
// static QString QAnimationGroup::trUtf8(const char *s, const char *c, int n)
|
||||
|
||||
|
||||
static void _init_f_trUtf8_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("s");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("c", true, "__null");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_trUtf8_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(__null);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QAnimationGroup::trUtf8 (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAnimationGroup () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("staticMetaObject", "@brief Obtains the static MetaObject for this class.", &_init_smo, &_call_smo);
|
||||
methods += new qt_gsi::GenericMethod ("addAnimation", "@brief Method void QAnimationGroup::addAnimation(QAbstractAnimation *animation)\n", false, &_init_f_addAnimation_2451, &_call_f_addAnimation_2451);
|
||||
methods += new qt_gsi::GenericMethod ("animationAt", "@brief Method QAbstractAnimation *QAnimationGroup::animationAt(int index)\n", true, &_init_f_animationAt_c767, &_call_f_animationAt_c767);
|
||||
methods += new qt_gsi::GenericMethod ("animationCount", "@brief Method int QAnimationGroup::animationCount()\n", true, &_init_f_animationCount_c0, &_call_f_animationCount_c0);
|
||||
methods += new qt_gsi::GenericMethod ("clear", "@brief Method void QAnimationGroup::clear()\n", false, &_init_f_clear_0, &_call_f_clear_0);
|
||||
methods += new qt_gsi::GenericMethod ("indexOfAnimation", "@brief Method int QAnimationGroup::indexOfAnimation(QAbstractAnimation *animation)\n", true, &_init_f_indexOfAnimation_c2451, &_call_f_indexOfAnimation_c2451);
|
||||
methods += new qt_gsi::GenericMethod ("insertAnimation", "@brief Method void QAnimationGroup::insertAnimation(int index, QAbstractAnimation *animation)\n", false, &_init_f_insertAnimation_3110, &_call_f_insertAnimation_3110);
|
||||
methods += new qt_gsi::GenericMethod ("removeAnimation", "@brief Method void QAnimationGroup::removeAnimation(QAbstractAnimation *animation)\n", false, &_init_f_removeAnimation_2451, &_call_f_removeAnimation_2451);
|
||||
methods += new qt_gsi::GenericMethod ("takeAnimation", "@brief Method QAbstractAnimation *QAnimationGroup::takeAnimation(int index)\n", false, &_init_f_takeAnimation_767, &_call_f_takeAnimation_767);
|
||||
methods += gsi::qt_signal<int > ("currentLoopChanged(int)", "currentLoopChanged", gsi::arg("currentLoop"), "@brief Signal declaration for QAnimationGroup::currentLoopChanged(int currentLoop)\nYou can bind a procedure to this signal.");
|
||||
methods += gsi::qt_signal<QObject * > ("destroyed(QObject *)", "destroyed", gsi::arg("arg1"), "@brief Signal declaration for QAnimationGroup::destroyed(QObject *)\nYou can bind a procedure to this signal.");
|
||||
methods += gsi::qt_signal<const qt_gsi::Converter<QAbstractAnimation::Direction>::target_type & > ("directionChanged(QAbstractAnimation::Direction)", "directionChanged", gsi::arg("arg1"), "@brief Signal declaration for QAnimationGroup::directionChanged(QAbstractAnimation::Direction)\nYou can bind a procedure to this signal.");
|
||||
methods += gsi::qt_signal ("finished()", "finished", "@brief Signal declaration for QAnimationGroup::finished()\nYou can bind a procedure to this signal.");
|
||||
methods += gsi::qt_signal<const qt_gsi::Converter<QAbstractAnimation::State>::target_type &, const qt_gsi::Converter<QAbstractAnimation::State>::target_type & > ("stateChanged(QAbstractAnimation::State, QAbstractAnimation::State)", "stateChanged", gsi::arg("newState"), gsi::arg("oldState"), "@brief Signal declaration for QAnimationGroup::stateChanged(QAbstractAnimation::State newState, QAbstractAnimation::State oldState)\nYou can bind a procedure to this signal.");
|
||||
methods += new qt_gsi::GenericStaticMethod ("tr", "@brief Static method QString QAnimationGroup::tr(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_tr_4013, &_call_f_tr_4013);
|
||||
methods += new qt_gsi::GenericStaticMethod ("trUtf8", "@brief Static method QString QAnimationGroup::trUtf8(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_trUtf8_4013, &_call_f_trUtf8_4013);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAbstractAnimation> &qtdecl_QAbstractAnimation ();
|
||||
|
||||
qt_gsi::QtNativeClass<QAnimationGroup> decl_QAnimationGroup (qtdecl_QAbstractAnimation (), "QAnimationGroup_Native",
|
||||
methods_QAnimationGroup (),
|
||||
"@hide\n@alias QAnimationGroup");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAnimationGroup> &qtdecl_QAnimationGroup () { return decl_QAnimationGroup; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QAnimationGroup_Adaptor : public QAnimationGroup, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QAnimationGroup_Adaptor();
|
||||
|
||||
// [adaptor ctor] QAnimationGroup::QAnimationGroup(QObject *parent)
|
||||
QAnimationGroup_Adaptor() : QAnimationGroup()
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor ctor] QAnimationGroup::QAnimationGroup(QObject *parent)
|
||||
QAnimationGroup_Adaptor(QObject *parent) : QAnimationGroup(parent)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [expose] bool QAnimationGroup::isSignalConnected(const QMetaMethod &signal)
|
||||
bool fp_QAnimationGroup_isSignalConnected_c2394 (const QMetaMethod &signal) const {
|
||||
return QAnimationGroup::isSignalConnected(signal);
|
||||
}
|
||||
|
||||
// [expose] int QAnimationGroup::receivers(const char *signal)
|
||||
int fp_QAnimationGroup_receivers_c1731 (const char *signal) const {
|
||||
return QAnimationGroup::receivers(signal);
|
||||
}
|
||||
|
||||
// [expose] QObject *QAnimationGroup::sender()
|
||||
QObject * fp_QAnimationGroup_sender_c0 () const {
|
||||
return QAnimationGroup::sender();
|
||||
}
|
||||
|
||||
// [expose] int QAnimationGroup::senderSignalIndex()
|
||||
int fp_QAnimationGroup_senderSignalIndex_c0 () const {
|
||||
return QAnimationGroup::senderSignalIndex();
|
||||
}
|
||||
|
||||
// [emitter impl] void QAnimationGroup::currentLoopChanged(int currentLoop)
|
||||
void emitter_QAnimationGroup_currentLoopChanged_767(int currentLoop)
|
||||
{
|
||||
emit QAnimationGroup::currentLoopChanged(currentLoop);
|
||||
}
|
||||
|
||||
// [emitter impl] void QAnimationGroup::destroyed(QObject *)
|
||||
void emitter_QAnimationGroup_destroyed_1302(QObject *arg1)
|
||||
{
|
||||
emit QAnimationGroup::destroyed(arg1);
|
||||
}
|
||||
|
||||
// [emitter impl] void QAnimationGroup::directionChanged(QAbstractAnimation::Direction)
|
||||
void emitter_QAnimationGroup_directionChanged_3310(QAbstractAnimation::Direction arg1)
|
||||
{
|
||||
emit QAnimationGroup::directionChanged(arg1);
|
||||
}
|
||||
|
||||
// [adaptor impl] int QAnimationGroup::duration()
|
||||
int cbs_duration_c0_0() const
|
||||
{
|
||||
throw qt_gsi::AbstractMethodCalledException("duration");
|
||||
}
|
||||
|
||||
virtual int duration() const
|
||||
{
|
||||
if (cb_duration_c0_0.can_issue()) {
|
||||
return cb_duration_c0_0.issue<QAnimationGroup_Adaptor, int>(&QAnimationGroup_Adaptor::cbs_duration_c0_0);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("duration");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] bool QAnimationGroup::eventFilter(QObject *, QEvent *)
|
||||
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
|
||||
{
|
||||
return QAnimationGroup::eventFilter(arg1, arg2);
|
||||
}
|
||||
|
||||
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
|
||||
{
|
||||
if (cb_eventFilter_2411_0.can_issue()) {
|
||||
return cb_eventFilter_2411_0.issue<QAnimationGroup_Adaptor, bool, QObject *, QEvent *>(&QAnimationGroup_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
|
||||
} else {
|
||||
return QAnimationGroup::eventFilter(arg1, arg2);
|
||||
}
|
||||
}
|
||||
|
||||
// [emitter impl] void QAnimationGroup::finished()
|
||||
void emitter_QAnimationGroup_finished_0()
|
||||
{
|
||||
emit QAnimationGroup::finished();
|
||||
}
|
||||
|
||||
// [emitter impl] void QAnimationGroup::stateChanged(QAbstractAnimation::State newState, QAbstractAnimation::State oldState)
|
||||
void emitter_QAnimationGroup_stateChanged_5680(QAbstractAnimation::State newState, QAbstractAnimation::State oldState)
|
||||
{
|
||||
emit QAnimationGroup::stateChanged(newState, oldState);
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAnimationGroup::childEvent(QChildEvent *)
|
||||
void cbs_childEvent_1701_0(QChildEvent *arg1)
|
||||
{
|
||||
QAnimationGroup::childEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void childEvent(QChildEvent *arg1)
|
||||
{
|
||||
if (cb_childEvent_1701_0.can_issue()) {
|
||||
cb_childEvent_1701_0.issue<QAnimationGroup_Adaptor, QChildEvent *>(&QAnimationGroup_Adaptor::cbs_childEvent_1701_0, arg1);
|
||||
} else {
|
||||
QAnimationGroup::childEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAnimationGroup::customEvent(QEvent *)
|
||||
void cbs_customEvent_1217_0(QEvent *arg1)
|
||||
{
|
||||
QAnimationGroup::customEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void customEvent(QEvent *arg1)
|
||||
{
|
||||
if (cb_customEvent_1217_0.can_issue()) {
|
||||
cb_customEvent_1217_0.issue<QAnimationGroup_Adaptor, QEvent *>(&QAnimationGroup_Adaptor::cbs_customEvent_1217_0, arg1);
|
||||
} else {
|
||||
QAnimationGroup::customEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAnimationGroup::disconnectNotify(const QMetaMethod &signal)
|
||||
void cbs_disconnectNotify_2394_0(const QMetaMethod &signal)
|
||||
{
|
||||
QAnimationGroup::disconnectNotify(signal);
|
||||
}
|
||||
|
||||
virtual void disconnectNotify(const QMetaMethod &signal)
|
||||
{
|
||||
if (cb_disconnectNotify_2394_0.can_issue()) {
|
||||
cb_disconnectNotify_2394_0.issue<QAnimationGroup_Adaptor, const QMetaMethod &>(&QAnimationGroup_Adaptor::cbs_disconnectNotify_2394_0, signal);
|
||||
} else {
|
||||
QAnimationGroup::disconnectNotify(signal);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] bool QAnimationGroup::event(QEvent *event)
|
||||
bool cbs_event_1217_0(QEvent *_event)
|
||||
{
|
||||
return QAnimationGroup::event(_event);
|
||||
}
|
||||
|
||||
virtual bool event(QEvent *_event)
|
||||
{
|
||||
if (cb_event_1217_0.can_issue()) {
|
||||
return cb_event_1217_0.issue<QAnimationGroup_Adaptor, bool, QEvent *>(&QAnimationGroup_Adaptor::cbs_event_1217_0, _event);
|
||||
} else {
|
||||
return QAnimationGroup::event(_event);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAnimationGroup::timerEvent(QTimerEvent *)
|
||||
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
|
||||
{
|
||||
QAnimationGroup::timerEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void timerEvent(QTimerEvent *arg1)
|
||||
{
|
||||
if (cb_timerEvent_1730_0.can_issue()) {
|
||||
cb_timerEvent_1730_0.issue<QAnimationGroup_Adaptor, QTimerEvent *>(&QAnimationGroup_Adaptor::cbs_timerEvent_1730_0, arg1);
|
||||
} else {
|
||||
QAnimationGroup::timerEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAnimationGroup::updateCurrentTime(int currentTime)
|
||||
void cbs_updateCurrentTime_767_0(int currentTime)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (currentTime);
|
||||
throw qt_gsi::AbstractMethodCalledException("updateCurrentTime");
|
||||
}
|
||||
|
||||
virtual void updateCurrentTime(int currentTime)
|
||||
{
|
||||
if (cb_updateCurrentTime_767_0.can_issue()) {
|
||||
cb_updateCurrentTime_767_0.issue<QAnimationGroup_Adaptor, int>(&QAnimationGroup_Adaptor::cbs_updateCurrentTime_767_0, currentTime);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("updateCurrentTime");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAnimationGroup::updateDirection(QAbstractAnimation::Direction direction)
|
||||
void cbs_updateDirection_3310_0(const qt_gsi::Converter<QAbstractAnimation::Direction>::target_type & direction)
|
||||
{
|
||||
QAnimationGroup::updateDirection(qt_gsi::QtToCppAdaptor<QAbstractAnimation::Direction>(direction).cref());
|
||||
}
|
||||
|
||||
virtual void updateDirection(QAbstractAnimation::Direction direction)
|
||||
{
|
||||
if (cb_updateDirection_3310_0.can_issue()) {
|
||||
cb_updateDirection_3310_0.issue<QAnimationGroup_Adaptor, const qt_gsi::Converter<QAbstractAnimation::Direction>::target_type &>(&QAnimationGroup_Adaptor::cbs_updateDirection_3310_0, qt_gsi::CppToQtAdaptor<QAbstractAnimation::Direction>(direction));
|
||||
} else {
|
||||
QAnimationGroup::updateDirection(direction);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAnimationGroup::updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState)
|
||||
void cbs_updateState_5680_0(const qt_gsi::Converter<QAbstractAnimation::State>::target_type & newState, const qt_gsi::Converter<QAbstractAnimation::State>::target_type & oldState)
|
||||
{
|
||||
QAnimationGroup::updateState(qt_gsi::QtToCppAdaptor<QAbstractAnimation::State>(newState).cref(), qt_gsi::QtToCppAdaptor<QAbstractAnimation::State>(oldState).cref());
|
||||
}
|
||||
|
||||
virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState)
|
||||
{
|
||||
if (cb_updateState_5680_0.can_issue()) {
|
||||
cb_updateState_5680_0.issue<QAnimationGroup_Adaptor, const qt_gsi::Converter<QAbstractAnimation::State>::target_type &, const qt_gsi::Converter<QAbstractAnimation::State>::target_type &>(&QAnimationGroup_Adaptor::cbs_updateState_5680_0, qt_gsi::CppToQtAdaptor<QAbstractAnimation::State>(newState), qt_gsi::CppToQtAdaptor<QAbstractAnimation::State>(oldState));
|
||||
} else {
|
||||
QAnimationGroup::updateState(newState, oldState);
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_duration_c0_0;
|
||||
gsi::Callback cb_eventFilter_2411_0;
|
||||
gsi::Callback cb_childEvent_1701_0;
|
||||
gsi::Callback cb_customEvent_1217_0;
|
||||
gsi::Callback cb_disconnectNotify_2394_0;
|
||||
gsi::Callback cb_event_1217_0;
|
||||
gsi::Callback cb_timerEvent_1730_0;
|
||||
gsi::Callback cb_updateCurrentTime_767_0;
|
||||
gsi::Callback cb_updateDirection_3310_0;
|
||||
gsi::Callback cb_updateState_5680_0;
|
||||
};
|
||||
|
||||
QAnimationGroup_Adaptor::~QAnimationGroup_Adaptor() { }
|
||||
|
||||
// Constructor QAnimationGroup::QAnimationGroup(QObject *parent) (adaptor class)
|
||||
|
||||
static void _init_ctor_QAnimationGroup_Adaptor_1302 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("parent", true, "0");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
decl->set_return_new<QAnimationGroup_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAnimationGroup_Adaptor_1302 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args ? args.read<QObject * > (heap) : (QObject *)(0);
|
||||
ret.write<QAnimationGroup_Adaptor *> (new QAnimationGroup_Adaptor (arg1));
|
||||
}
|
||||
|
||||
|
||||
// void QAnimationGroup::childEvent(QChildEvent *)
|
||||
|
||||
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QChildEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_childEvent_1701_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QChildEvent *arg1 = args.read<QChildEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAnimationGroup_Adaptor *)cls)->cbs_childEvent_1701_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAnimationGroup_Adaptor *)cls)->cb_childEvent_1701_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// emitter void QAnimationGroup::currentLoopChanged(int currentLoop)
|
||||
|
||||
static void _init_emitter_currentLoopChanged_767 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("currentLoop");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_currentLoopChanged_767 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
((QAnimationGroup_Adaptor *)cls)->emitter_QAnimationGroup_currentLoopChanged_767 (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAnimationGroup::customEvent(QEvent *)
|
||||
|
||||
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_customEvent_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAnimationGroup_Adaptor *)cls)->cbs_customEvent_1217_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAnimationGroup_Adaptor *)cls)->cb_customEvent_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// emitter void QAnimationGroup::destroyed(QObject *)
|
||||
|
||||
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args ? args.read<QObject * > (heap) : (QObject *)(0);
|
||||
((QAnimationGroup_Adaptor *)cls)->emitter_QAnimationGroup_destroyed_1302 (arg1);
|
||||
}
|
||||
|
||||
|
||||
// emitter void QAnimationGroup::directionChanged(QAbstractAnimation::Direction)
|
||||
|
||||
static void _init_emitter_directionChanged_3310 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<const qt_gsi::Converter<QAbstractAnimation::Direction>::target_type & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_directionChanged_3310 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const qt_gsi::Converter<QAbstractAnimation::Direction>::target_type & arg1 = args.read<const qt_gsi::Converter<QAbstractAnimation::Direction>::target_type & > (heap);
|
||||
((QAnimationGroup_Adaptor *)cls)->emitter_QAnimationGroup_directionChanged_3310 (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAnimationGroup::disconnectNotify(const QMetaMethod &signal)
|
||||
|
||||
static void _init_cbs_disconnectNotify_2394_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("signal");
|
||||
decl->add_arg<const QMetaMethod & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_disconnectNotify_2394_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QMetaMethod &arg1 = args.read<const QMetaMethod & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAnimationGroup_Adaptor *)cls)->cbs_disconnectNotify_2394_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_disconnectNotify_2394_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAnimationGroup_Adaptor *)cls)->cb_disconnectNotify_2394_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// int QAnimationGroup::duration()
|
||||
|
||||
static void _init_cbs_duration_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_duration_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAnimationGroup_Adaptor *)cls)->cbs_duration_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_duration_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAnimationGroup_Adaptor *)cls)->cb_duration_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// bool QAnimationGroup::event(QEvent *event)
|
||||
|
||||
static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("event");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_event_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
ret.write<bool > ((bool)((QAnimationGroup_Adaptor *)cls)->cbs_event_1217_0 (arg1));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAnimationGroup_Adaptor *)cls)->cb_event_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// bool QAnimationGroup::eventFilter(QObject *, QEvent *)
|
||||
|
||||
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("arg2");
|
||||
decl->add_arg<QEvent * > (argspec_1);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_eventFilter_2411_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args.read<QObject * > (heap);
|
||||
QEvent *arg2 = args.read<QEvent * > (heap);
|
||||
ret.write<bool > ((bool)((QAnimationGroup_Adaptor *)cls)->cbs_eventFilter_2411_0 (arg1, arg2));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_eventFilter_2411_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAnimationGroup_Adaptor *)cls)->cb_eventFilter_2411_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// emitter void QAnimationGroup::finished()
|
||||
|
||||
static void _init_emitter_finished_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_finished_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
((QAnimationGroup_Adaptor *)cls)->emitter_QAnimationGroup_finished_0 ();
|
||||
}
|
||||
|
||||
|
||||
// exposed bool QAnimationGroup::isSignalConnected(const QMetaMethod &signal)
|
||||
|
||||
static void _init_fp_isSignalConnected_c2394 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("signal");
|
||||
decl->add_arg<const QMetaMethod & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_fp_isSignalConnected_c2394 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QMetaMethod &arg1 = args.read<const QMetaMethod & > (heap);
|
||||
ret.write<bool > ((bool)((QAnimationGroup_Adaptor *)cls)->fp_QAnimationGroup_isSignalConnected_c2394 (arg1));
|
||||
}
|
||||
|
||||
|
||||
// exposed int QAnimationGroup::receivers(const char *signal)
|
||||
|
||||
static void _init_fp_receivers_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_fp_receivers_c1731 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
ret.write<int > ((int)((QAnimationGroup_Adaptor *)cls)->fp_QAnimationGroup_receivers_c1731 (arg1));
|
||||
}
|
||||
|
||||
|
||||
// exposed QObject *QAnimationGroup::sender()
|
||||
|
||||
static void _init_fp_sender_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QObject * > ();
|
||||
}
|
||||
|
||||
static void _call_fp_sender_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QObject * > ((QObject *)((QAnimationGroup_Adaptor *)cls)->fp_QAnimationGroup_sender_c0 ());
|
||||
}
|
||||
|
||||
|
||||
// exposed int QAnimationGroup::senderSignalIndex()
|
||||
|
||||
static void _init_fp_senderSignalIndex_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_fp_senderSignalIndex_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAnimationGroup_Adaptor *)cls)->fp_QAnimationGroup_senderSignalIndex_c0 ());
|
||||
}
|
||||
|
||||
|
||||
// emitter void QAnimationGroup::stateChanged(QAbstractAnimation::State newState, QAbstractAnimation::State oldState)
|
||||
|
||||
static void _init_emitter_stateChanged_5680 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("newState");
|
||||
decl->add_arg<const qt_gsi::Converter<QAbstractAnimation::State>::target_type & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("oldState");
|
||||
decl->add_arg<const qt_gsi::Converter<QAbstractAnimation::State>::target_type & > (argspec_1);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_stateChanged_5680 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const qt_gsi::Converter<QAbstractAnimation::State>::target_type & arg1 = args.read<const qt_gsi::Converter<QAbstractAnimation::State>::target_type & > (heap);
|
||||
const qt_gsi::Converter<QAbstractAnimation::State>::target_type & arg2 = args.read<const qt_gsi::Converter<QAbstractAnimation::State>::target_type & > (heap);
|
||||
((QAnimationGroup_Adaptor *)cls)->emitter_QAnimationGroup_stateChanged_5680 (arg1, arg2);
|
||||
}
|
||||
|
||||
|
||||
// void QAnimationGroup::timerEvent(QTimerEvent *)
|
||||
|
||||
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QTimerEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_timerEvent_1730_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QTimerEvent *arg1 = args.read<QTimerEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAnimationGroup_Adaptor *)cls)->cbs_timerEvent_1730_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_timerEvent_1730_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAnimationGroup_Adaptor *)cls)->cb_timerEvent_1730_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAnimationGroup::updateCurrentTime(int currentTime)
|
||||
|
||||
static void _init_cbs_updateCurrentTime_767_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("currentTime");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_updateCurrentTime_767_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAnimationGroup_Adaptor *)cls)->cbs_updateCurrentTime_767_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_updateCurrentTime_767_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAnimationGroup_Adaptor *)cls)->cb_updateCurrentTime_767_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAnimationGroup::updateDirection(QAbstractAnimation::Direction direction)
|
||||
|
||||
static void _init_cbs_updateDirection_3310_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("direction");
|
||||
decl->add_arg<const qt_gsi::Converter<QAbstractAnimation::Direction>::target_type & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_updateDirection_3310_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const qt_gsi::Converter<QAbstractAnimation::Direction>::target_type & arg1 = args.read<const qt_gsi::Converter<QAbstractAnimation::Direction>::target_type & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAnimationGroup_Adaptor *)cls)->cbs_updateDirection_3310_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_updateDirection_3310_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAnimationGroup_Adaptor *)cls)->cb_updateDirection_3310_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAnimationGroup::updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState)
|
||||
|
||||
static void _init_cbs_updateState_5680_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("newState");
|
||||
decl->add_arg<const qt_gsi::Converter<QAbstractAnimation::State>::target_type & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("oldState");
|
||||
decl->add_arg<const qt_gsi::Converter<QAbstractAnimation::State>::target_type & > (argspec_1);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_updateState_5680_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const qt_gsi::Converter<QAbstractAnimation::State>::target_type & arg1 = args.read<const qt_gsi::Converter<QAbstractAnimation::State>::target_type & > (heap);
|
||||
const qt_gsi::Converter<QAbstractAnimation::State>::target_type & arg2 = args.read<const qt_gsi::Converter<QAbstractAnimation::State>::target_type & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAnimationGroup_Adaptor *)cls)->cbs_updateState_5680_0 (arg1, arg2);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_updateState_5680_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAnimationGroup_Adaptor *)cls)->cb_updateState_5680_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QAnimationGroup> &qtdecl_QAnimationGroup ();
|
||||
|
||||
static gsi::Methods methods_QAnimationGroup_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAnimationGroup::QAnimationGroup(QObject *parent)\nThis method creates an object of class QAnimationGroup.", &_init_ctor_QAnimationGroup_Adaptor_1302, &_call_ctor_QAnimationGroup_Adaptor_1302);
|
||||
methods += new qt_gsi::GenericMethod ("*childEvent", "@hide", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0);
|
||||
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QAnimationGroup::childEvent(QChildEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0, &_set_callback_cbs_childEvent_1701_0);
|
||||
methods += new qt_gsi::GenericMethod ("emit_currentLoopChanged", "@brief Emitter for signal void QAnimationGroup::currentLoopChanged(int currentLoop)\nCall this method to emit this signal.", false, &_init_emitter_currentLoopChanged_767, &_call_emitter_currentLoopChanged_767);
|
||||
methods += new qt_gsi::GenericMethod ("*customEvent", "@hide", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("*customEvent", "@brief Virtual method void QAnimationGroup::customEvent(QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0, &_set_callback_cbs_customEvent_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("emit_destroyed", "@brief Emitter for signal void QAnimationGroup::destroyed(QObject *)\nCall this method to emit this signal.", false, &_init_emitter_destroyed_1302, &_call_emitter_destroyed_1302);
|
||||
methods += new qt_gsi::GenericMethod ("emit_directionChanged", "@brief Emitter for signal void QAnimationGroup::directionChanged(QAbstractAnimation::Direction)\nCall this method to emit this signal.", false, &_init_emitter_directionChanged_3310, &_call_emitter_directionChanged_3310);
|
||||
methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@hide", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0);
|
||||
methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@brief Virtual method void QAnimationGroup::disconnectNotify(const QMetaMethod &signal)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0, &_set_callback_cbs_disconnectNotify_2394_0);
|
||||
methods += new qt_gsi::GenericMethod ("duration", "@hide", true, &_init_cbs_duration_c0_0, &_call_cbs_duration_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("duration", "@brief Virtual method int QAnimationGroup::duration()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_duration_c0_0, &_call_cbs_duration_c0_0, &_set_callback_cbs_duration_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("*event", "@hide", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("*event", "@brief Virtual method bool QAnimationGroup::event(QEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0, &_set_callback_cbs_event_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("eventFilter", "@hide", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0);
|
||||
methods += new qt_gsi::GenericMethod ("eventFilter", "@brief Virtual method bool QAnimationGroup::eventFilter(QObject *, QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0, &_set_callback_cbs_eventFilter_2411_0);
|
||||
methods += new qt_gsi::GenericMethod ("emit_finished", "@brief Emitter for signal void QAnimationGroup::finished()\nCall this method to emit this signal.", false, &_init_emitter_finished_0, &_call_emitter_finished_0);
|
||||
methods += new qt_gsi::GenericMethod ("*isSignalConnected", "@brief Method bool QAnimationGroup::isSignalConnected(const QMetaMethod &signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_isSignalConnected_c2394, &_call_fp_isSignalConnected_c2394);
|
||||
methods += new qt_gsi::GenericMethod ("*receivers", "@brief Method int QAnimationGroup::receivers(const char *signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_receivers_c1731, &_call_fp_receivers_c1731);
|
||||
methods += new qt_gsi::GenericMethod ("*sender", "@brief Method QObject *QAnimationGroup::sender()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_sender_c0, &_call_fp_sender_c0);
|
||||
methods += new qt_gsi::GenericMethod ("*senderSignalIndex", "@brief Method int QAnimationGroup::senderSignalIndex()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_senderSignalIndex_c0, &_call_fp_senderSignalIndex_c0);
|
||||
methods += new qt_gsi::GenericMethod ("emit_stateChanged", "@brief Emitter for signal void QAnimationGroup::stateChanged(QAbstractAnimation::State newState, QAbstractAnimation::State oldState)\nCall this method to emit this signal.", false, &_init_emitter_stateChanged_5680, &_call_emitter_stateChanged_5680);
|
||||
methods += new qt_gsi::GenericMethod ("*timerEvent", "@hide", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0);
|
||||
methods += new qt_gsi::GenericMethod ("*timerEvent", "@brief Virtual method void QAnimationGroup::timerEvent(QTimerEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0, &_set_callback_cbs_timerEvent_1730_0);
|
||||
methods += new qt_gsi::GenericMethod ("*updateCurrentTime", "@hide", false, &_init_cbs_updateCurrentTime_767_0, &_call_cbs_updateCurrentTime_767_0);
|
||||
methods += new qt_gsi::GenericMethod ("*updateCurrentTime", "@brief Virtual method void QAnimationGroup::updateCurrentTime(int currentTime)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_updateCurrentTime_767_0, &_call_cbs_updateCurrentTime_767_0, &_set_callback_cbs_updateCurrentTime_767_0);
|
||||
methods += new qt_gsi::GenericMethod ("*updateDirection", "@hide", false, &_init_cbs_updateDirection_3310_0, &_call_cbs_updateDirection_3310_0);
|
||||
methods += new qt_gsi::GenericMethod ("*updateDirection", "@brief Virtual method void QAnimationGroup::updateDirection(QAbstractAnimation::Direction direction)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_updateDirection_3310_0, &_call_cbs_updateDirection_3310_0, &_set_callback_cbs_updateDirection_3310_0);
|
||||
methods += new qt_gsi::GenericMethod ("*updateState", "@hide", false, &_init_cbs_updateState_5680_0, &_call_cbs_updateState_5680_0);
|
||||
methods += new qt_gsi::GenericMethod ("*updateState", "@brief Virtual method void QAnimationGroup::updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_updateState_5680_0, &_call_cbs_updateState_5680_0, &_set_callback_cbs_updateState_5680_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAnimationGroup_Adaptor> decl_QAnimationGroup_Adaptor (qtdecl_QAnimationGroup (), "QAnimationGroup",
|
||||
methods_QAnimationGroup_Adaptor (),
|
||||
"@qt\n@brief Binding of QAnimationGroup");
|
||||
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,95 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQApplicationStateChangeEvent.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QApplicationStateChangeEvent>
|
||||
#include <QEvent>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QApplicationStateChangeEvent
|
||||
|
||||
// Constructor QApplicationStateChangeEvent::QApplicationStateChangeEvent(Qt::ApplicationState state)
|
||||
|
||||
|
||||
static void _init_ctor_QApplicationStateChangeEvent_2402 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("state");
|
||||
decl->add_arg<const qt_gsi::Converter<Qt::ApplicationState>::target_type & > (argspec_0);
|
||||
decl->set_return_new<QApplicationStateChangeEvent> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QApplicationStateChangeEvent_2402 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const qt_gsi::Converter<Qt::ApplicationState>::target_type & arg1 = args.read<const qt_gsi::Converter<Qt::ApplicationState>::target_type & > (heap);
|
||||
ret.write<QApplicationStateChangeEvent *> (new QApplicationStateChangeEvent (qt_gsi::QtToCppAdaptor<Qt::ApplicationState>(arg1).cref()));
|
||||
}
|
||||
|
||||
|
||||
// Qt::ApplicationState QApplicationStateChangeEvent::applicationState()
|
||||
|
||||
|
||||
static void _init_f_applicationState_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<qt_gsi::Converter<Qt::ApplicationState>::target_type > ();
|
||||
}
|
||||
|
||||
static void _call_f_applicationState_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<qt_gsi::Converter<Qt::ApplicationState>::target_type > ((qt_gsi::Converter<Qt::ApplicationState>::target_type)qt_gsi::CppToQtAdaptor<Qt::ApplicationState>(((QApplicationStateChangeEvent *)cls)->applicationState ()));
|
||||
}
|
||||
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QApplicationStateChangeEvent () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QApplicationStateChangeEvent::QApplicationStateChangeEvent(Qt::ApplicationState state)\nThis method creates an object of class QApplicationStateChangeEvent.", &_init_ctor_QApplicationStateChangeEvent_2402, &_call_ctor_QApplicationStateChangeEvent_2402);
|
||||
methods += new qt_gsi::GenericMethod ("applicationState", "@brief Method Qt::ApplicationState QApplicationStateChangeEvent::applicationState()\n", true, &_init_f_applicationState_c0, &_call_f_applicationState_c0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QEvent> &qtdecl_QEvent ();
|
||||
|
||||
gsi::Class<QApplicationStateChangeEvent> decl_QApplicationStateChangeEvent (qtdecl_QEvent (), "QApplicationStateChangeEvent",
|
||||
methods_QApplicationStateChangeEvent (),
|
||||
"@qt\n@brief Binding of QApplicationStateChangeEvent");
|
||||
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QApplicationStateChangeEvent> &qtdecl_QApplicationStateChangeEvent () { return decl_QApplicationStateChangeEvent; }
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,92 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAssociativeIterable.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAssociativeIterable>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAssociativeIterable
|
||||
|
||||
// int QAssociativeIterable::size()
|
||||
|
||||
|
||||
static void _init_f_size_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_size_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAssociativeIterable *)cls)->size ());
|
||||
}
|
||||
|
||||
|
||||
// QVariant QAssociativeIterable::value(const QVariant &key)
|
||||
|
||||
|
||||
static void _init_f_value_c2119 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("key");
|
||||
decl->add_arg<const QVariant & > (argspec_0);
|
||||
decl->set_return<QVariant > ();
|
||||
}
|
||||
|
||||
static void _call_f_value_c2119 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QVariant &arg1 = args.read<const QVariant & > (heap);
|
||||
ret.write<QVariant > ((QVariant)((QAssociativeIterable *)cls)->value (arg1));
|
||||
}
|
||||
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAssociativeIterable () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericMethod ("size", "@brief Method int QAssociativeIterable::size()\n", true, &_init_f_size_c0, &_call_f_size_c0);
|
||||
methods += new qt_gsi::GenericMethod ("value", "@brief Method QVariant QAssociativeIterable::value(const QVariant &key)\n", true, &_init_f_value_c2119, &_call_f_value_c2119);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAssociativeIterable> decl_QAssociativeIterable ("QAssociativeIterable",
|
||||
methods_QAssociativeIterable (),
|
||||
"@qt\n@brief Binding of QAssociativeIterable");
|
||||
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAssociativeIterable> &qtdecl_QAssociativeIterable () { return decl_QAssociativeIterable; }
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,112 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAudio.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAudio>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// namespace QAudio
|
||||
|
||||
class QAudio_Namespace { };
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
gsi::Class<QAudio_Namespace> decl_QAudio_Namespace ("QAudio",
|
||||
gsi::Methods(),
|
||||
"@qt\n@brief This class represents the QAudio namespace");
|
||||
}
|
||||
|
||||
|
||||
// Implementation of the enum wrapper class for QAudio::Error
|
||||
namespace qt_gsi
|
||||
{
|
||||
|
||||
static gsi::Enum<QAudio::Error> decl_QAudio_Error_Enum ("QAudio_Error",
|
||||
gsi::enum_const ("NoError", QAudio::NoError, "@brief Enum constant QAudio::NoError") +
|
||||
gsi::enum_const ("OpenError", QAudio::OpenError, "@brief Enum constant QAudio::OpenError") +
|
||||
gsi::enum_const ("IOError", QAudio::IOError, "@brief Enum constant QAudio::IOError") +
|
||||
gsi::enum_const ("UnderrunError", QAudio::UnderrunError, "@brief Enum constant QAudio::UnderrunError") +
|
||||
gsi::enum_const ("FatalError", QAudio::FatalError, "@brief Enum constant QAudio::FatalError"),
|
||||
"@qt\n@brief This class represents the QAudio::Error enum");
|
||||
|
||||
static gsi::QFlagsClass<QAudio::Error > decl_QAudio_Error_Enums ("QAudio_QFlags_Error",
|
||||
"@qt\n@brief This class represents the QFlags<QAudio::Error> flag set");
|
||||
|
||||
// Inject the declarations into the parent
|
||||
static gsi::ClassExt<QAudio_Namespace> inject_QAudio_Error_Enum_in_parent (decl_QAudio_Error_Enum.defs ());
|
||||
static gsi::ClassExt<QAudio_Namespace> decl_QAudio_Error_Enum_as_child (decl_QAudio_Error_Enum, "Error");
|
||||
static gsi::ClassExt<QAudio_Namespace> decl_QAudio_Error_Enums_as_child (decl_QAudio_Error_Enums, "QFlags_Error");
|
||||
|
||||
}
|
||||
|
||||
|
||||
// Implementation of the enum wrapper class for QAudio::Mode
|
||||
namespace qt_gsi
|
||||
{
|
||||
|
||||
static gsi::Enum<QAudio::Mode> decl_QAudio_Mode_Enum ("QAudio_Mode",
|
||||
gsi::enum_const ("AudioInput", QAudio::AudioInput, "@brief Enum constant QAudio::AudioInput") +
|
||||
gsi::enum_const ("AudioOutput", QAudio::AudioOutput, "@brief Enum constant QAudio::AudioOutput"),
|
||||
"@qt\n@brief This class represents the QAudio::Mode enum");
|
||||
|
||||
static gsi::QFlagsClass<QAudio::Mode > decl_QAudio_Mode_Enums ("QAudio_QFlags_Mode",
|
||||
"@qt\n@brief This class represents the QFlags<QAudio::Mode> flag set");
|
||||
|
||||
// Inject the declarations into the parent
|
||||
static gsi::ClassExt<QAudio_Namespace> inject_QAudio_Mode_Enum_in_parent (decl_QAudio_Mode_Enum.defs ());
|
||||
static gsi::ClassExt<QAudio_Namespace> decl_QAudio_Mode_Enum_as_child (decl_QAudio_Mode_Enum, "Mode");
|
||||
static gsi::ClassExt<QAudio_Namespace> decl_QAudio_Mode_Enums_as_child (decl_QAudio_Mode_Enums, "QFlags_Mode");
|
||||
|
||||
}
|
||||
|
||||
|
||||
// Implementation of the enum wrapper class for QAudio::State
|
||||
namespace qt_gsi
|
||||
{
|
||||
|
||||
static gsi::Enum<QAudio::State> decl_QAudio_State_Enum ("QAudio_State",
|
||||
gsi::enum_const ("ActiveState", QAudio::ActiveState, "@brief Enum constant QAudio::ActiveState") +
|
||||
gsi::enum_const ("SuspendedState", QAudio::SuspendedState, "@brief Enum constant QAudio::SuspendedState") +
|
||||
gsi::enum_const ("StoppedState", QAudio::StoppedState, "@brief Enum constant QAudio::StoppedState") +
|
||||
gsi::enum_const ("IdleState", QAudio::IdleState, "@brief Enum constant QAudio::IdleState"),
|
||||
"@qt\n@brief This class represents the QAudio::State enum");
|
||||
|
||||
static gsi::QFlagsClass<QAudio::State > decl_QAudio_State_Enums ("QAudio_QFlags_State",
|
||||
"@qt\n@brief This class represents the QFlags<QAudio::State> flag set");
|
||||
|
||||
// Inject the declarations into the parent
|
||||
static gsi::ClassExt<QAudio_Namespace> inject_QAudio_State_Enum_in_parent (decl_QAudio_State_Enum.defs ());
|
||||
static gsi::ClassExt<QAudio_Namespace> decl_QAudio_State_Enum_as_child (decl_QAudio_State_Enum, "State");
|
||||
static gsi::ClassExt<QAudio_Namespace> decl_QAudio_State_Enums_as_child (decl_QAudio_State_Enums, "QFlags_State");
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,324 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAudioBuffer.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAudioBuffer>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAudioBuffer
|
||||
|
||||
// Constructor QAudioBuffer::QAudioBuffer()
|
||||
|
||||
|
||||
static void _init_ctor_QAudioBuffer_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return_new<QAudioBuffer> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAudioBuffer_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAudioBuffer *> (new QAudioBuffer ());
|
||||
}
|
||||
|
||||
|
||||
// Constructor QAudioBuffer::QAudioBuffer(const QAudioBuffer &other)
|
||||
|
||||
|
||||
static void _init_ctor_QAudioBuffer_2494 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("other");
|
||||
decl->add_arg<const QAudioBuffer & > (argspec_0);
|
||||
decl->set_return_new<QAudioBuffer> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAudioBuffer_2494 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QAudioBuffer &arg1 = args.read<const QAudioBuffer & > (heap);
|
||||
ret.write<QAudioBuffer *> (new QAudioBuffer (arg1));
|
||||
}
|
||||
|
||||
|
||||
// Constructor QAudioBuffer::QAudioBuffer(const QByteArray &data, const QAudioFormat &format, qint64 startTime)
|
||||
|
||||
|
||||
static void _init_ctor_QAudioBuffer_5588 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("data");
|
||||
decl->add_arg<const QByteArray & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("format");
|
||||
decl->add_arg<const QAudioFormat & > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("startTime", true, "-1");
|
||||
decl->add_arg<qint64 > (argspec_2);
|
||||
decl->set_return_new<QAudioBuffer> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAudioBuffer_5588 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QByteArray &arg1 = args.read<const QByteArray & > (heap);
|
||||
const QAudioFormat &arg2 = args.read<const QAudioFormat & > (heap);
|
||||
qint64 arg3 = args ? args.read<qint64 > (heap) : (qint64)(-1);
|
||||
ret.write<QAudioBuffer *> (new QAudioBuffer (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
// Constructor QAudioBuffer::QAudioBuffer(int numFrames, const QAudioFormat &format, qint64 startTime)
|
||||
|
||||
|
||||
static void _init_ctor_QAudioBuffer_4046 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("numFrames");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("format");
|
||||
decl->add_arg<const QAudioFormat & > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("startTime", true, "-1");
|
||||
decl->add_arg<qint64 > (argspec_2);
|
||||
decl->set_return_new<QAudioBuffer> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAudioBuffer_4046 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
const QAudioFormat &arg2 = args.read<const QAudioFormat & > (heap);
|
||||
qint64 arg3 = args ? args.read<qint64 > (heap) : (qint64)(-1);
|
||||
ret.write<QAudioBuffer *> (new QAudioBuffer (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
// int QAudioBuffer::byteCount()
|
||||
|
||||
|
||||
static void _init_f_byteCount_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_byteCount_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAudioBuffer *)cls)->byteCount ());
|
||||
}
|
||||
|
||||
|
||||
// const void *QAudioBuffer::constData()
|
||||
|
||||
|
||||
static void _init_f_constData_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<const void * > ();
|
||||
}
|
||||
|
||||
static void _call_f_constData_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<const void * > ((const void *)((QAudioBuffer *)cls)->constData ());
|
||||
}
|
||||
|
||||
|
||||
// const void *QAudioBuffer::data()
|
||||
|
||||
|
||||
static void _init_f_data_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<const void * > ();
|
||||
}
|
||||
|
||||
static void _call_f_data_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<const void * > ((const void *)((QAudioBuffer *)cls)->data ());
|
||||
}
|
||||
|
||||
|
||||
// void *QAudioBuffer::data()
|
||||
|
||||
|
||||
static void _init_f_data_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void * > ();
|
||||
}
|
||||
|
||||
static void _call_f_data_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<void * > ((void *)((QAudioBuffer *)cls)->data ());
|
||||
}
|
||||
|
||||
|
||||
// qint64 QAudioBuffer::duration()
|
||||
|
||||
|
||||
static void _init_f_duration_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<qint64 > ();
|
||||
}
|
||||
|
||||
static void _call_f_duration_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<qint64 > ((qint64)((QAudioBuffer *)cls)->duration ());
|
||||
}
|
||||
|
||||
|
||||
// QAudioFormat QAudioBuffer::format()
|
||||
|
||||
|
||||
static void _init_f_format_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QAudioFormat > ();
|
||||
}
|
||||
|
||||
static void _call_f_format_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAudioFormat > ((QAudioFormat)((QAudioBuffer *)cls)->format ());
|
||||
}
|
||||
|
||||
|
||||
// int QAudioBuffer::frameCount()
|
||||
|
||||
|
||||
static void _init_f_frameCount_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_frameCount_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAudioBuffer *)cls)->frameCount ());
|
||||
}
|
||||
|
||||
|
||||
// bool QAudioBuffer::isValid()
|
||||
|
||||
|
||||
static void _init_f_isValid_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_isValid_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<bool > ((bool)((QAudioBuffer *)cls)->isValid ());
|
||||
}
|
||||
|
||||
|
||||
// QAudioBuffer &QAudioBuffer::operator=(const QAudioBuffer &other)
|
||||
|
||||
|
||||
static void _init_f_operator_eq__2494 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("other");
|
||||
decl->add_arg<const QAudioBuffer & > (argspec_0);
|
||||
decl->set_return<QAudioBuffer & > ();
|
||||
}
|
||||
|
||||
static void _call_f_operator_eq__2494 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QAudioBuffer &arg1 = args.read<const QAudioBuffer & > (heap);
|
||||
ret.write<QAudioBuffer & > ((QAudioBuffer &)((QAudioBuffer *)cls)->operator= (arg1));
|
||||
}
|
||||
|
||||
|
||||
// int QAudioBuffer::sampleCount()
|
||||
|
||||
|
||||
static void _init_f_sampleCount_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_sampleCount_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAudioBuffer *)cls)->sampleCount ());
|
||||
}
|
||||
|
||||
|
||||
// qint64 QAudioBuffer::startTime()
|
||||
|
||||
|
||||
static void _init_f_startTime_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<qint64 > ();
|
||||
}
|
||||
|
||||
static void _call_f_startTime_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<qint64 > ((qint64)((QAudioBuffer *)cls)->startTime ());
|
||||
}
|
||||
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAudioBuffer () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAudioBuffer::QAudioBuffer()\nThis method creates an object of class QAudioBuffer.", &_init_ctor_QAudioBuffer_0, &_call_ctor_QAudioBuffer_0);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAudioBuffer::QAudioBuffer(const QAudioBuffer &other)\nThis method creates an object of class QAudioBuffer.", &_init_ctor_QAudioBuffer_2494, &_call_ctor_QAudioBuffer_2494);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAudioBuffer::QAudioBuffer(const QByteArray &data, const QAudioFormat &format, qint64 startTime)\nThis method creates an object of class QAudioBuffer.", &_init_ctor_QAudioBuffer_5588, &_call_ctor_QAudioBuffer_5588);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAudioBuffer::QAudioBuffer(int numFrames, const QAudioFormat &format, qint64 startTime)\nThis method creates an object of class QAudioBuffer.", &_init_ctor_QAudioBuffer_4046, &_call_ctor_QAudioBuffer_4046);
|
||||
methods += new qt_gsi::GenericMethod ("byteCount", "@brief Method int QAudioBuffer::byteCount()\n", true, &_init_f_byteCount_c0, &_call_f_byteCount_c0);
|
||||
methods += new qt_gsi::GenericMethod ("constData", "@brief Method const void *QAudioBuffer::constData()\n", true, &_init_f_constData_c0, &_call_f_constData_c0);
|
||||
methods += new qt_gsi::GenericMethod ("data", "@brief Method const void *QAudioBuffer::data()\n", true, &_init_f_data_c0, &_call_f_data_c0);
|
||||
methods += new qt_gsi::GenericMethod ("data", "@brief Method void *QAudioBuffer::data()\n", false, &_init_f_data_0, &_call_f_data_0);
|
||||
methods += new qt_gsi::GenericMethod ("duration", "@brief Method qint64 QAudioBuffer::duration()\n", true, &_init_f_duration_c0, &_call_f_duration_c0);
|
||||
methods += new qt_gsi::GenericMethod ("format", "@brief Method QAudioFormat QAudioBuffer::format()\n", true, &_init_f_format_c0, &_call_f_format_c0);
|
||||
methods += new qt_gsi::GenericMethod ("frameCount", "@brief Method int QAudioBuffer::frameCount()\n", true, &_init_f_frameCount_c0, &_call_f_frameCount_c0);
|
||||
methods += new qt_gsi::GenericMethod ("isValid?", "@brief Method bool QAudioBuffer::isValid()\n", true, &_init_f_isValid_c0, &_call_f_isValid_c0);
|
||||
methods += new qt_gsi::GenericMethod ("assign", "@brief Method QAudioBuffer &QAudioBuffer::operator=(const QAudioBuffer &other)\n", false, &_init_f_operator_eq__2494, &_call_f_operator_eq__2494);
|
||||
methods += new qt_gsi::GenericMethod ("sampleCount", "@brief Method int QAudioBuffer::sampleCount()\n", true, &_init_f_sampleCount_c0, &_call_f_sampleCount_c0);
|
||||
methods += new qt_gsi::GenericMethod ("startTime", "@brief Method qint64 QAudioBuffer::startTime()\n", true, &_init_f_startTime_c0, &_call_f_startTime_c0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAudioBuffer> decl_QAudioBuffer ("QAudioBuffer",
|
||||
methods_QAudioBuffer (),
|
||||
"@qt\n@brief Binding of QAudioBuffer");
|
||||
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAudioBuffer> &qtdecl_QAudioBuffer () { return decl_QAudioBuffer; }
|
||||
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -1,389 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAudioDeviceInfo.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAudioDeviceInfo>
|
||||
#include <QAudioFormat>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAudioDeviceInfo
|
||||
|
||||
// Constructor QAudioDeviceInfo::QAudioDeviceInfo()
|
||||
|
||||
|
||||
static void _init_ctor_QAudioDeviceInfo_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return_new<QAudioDeviceInfo> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAudioDeviceInfo_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAudioDeviceInfo *> (new QAudioDeviceInfo ());
|
||||
}
|
||||
|
||||
|
||||
// Constructor QAudioDeviceInfo::QAudioDeviceInfo(const QAudioDeviceInfo &other)
|
||||
|
||||
|
||||
static void _init_ctor_QAudioDeviceInfo_2880 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("other");
|
||||
decl->add_arg<const QAudioDeviceInfo & > (argspec_0);
|
||||
decl->set_return_new<QAudioDeviceInfo> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAudioDeviceInfo_2880 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QAudioDeviceInfo &arg1 = args.read<const QAudioDeviceInfo & > (heap);
|
||||
ret.write<QAudioDeviceInfo *> (new QAudioDeviceInfo (arg1));
|
||||
}
|
||||
|
||||
|
||||
// QString QAudioDeviceInfo::deviceName()
|
||||
|
||||
|
||||
static void _init_f_deviceName_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_deviceName_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QString > ((QString)((QAudioDeviceInfo *)cls)->deviceName ());
|
||||
}
|
||||
|
||||
|
||||
// bool QAudioDeviceInfo::isFormatSupported(const QAudioFormat &format)
|
||||
|
||||
|
||||
static void _init_f_isFormatSupported_c2509 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("format");
|
||||
decl->add_arg<const QAudioFormat & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_isFormatSupported_c2509 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QAudioFormat &arg1 = args.read<const QAudioFormat & > (heap);
|
||||
ret.write<bool > ((bool)((QAudioDeviceInfo *)cls)->isFormatSupported (arg1));
|
||||
}
|
||||
|
||||
|
||||
// bool QAudioDeviceInfo::isNull()
|
||||
|
||||
|
||||
static void _init_f_isNull_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_isNull_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<bool > ((bool)((QAudioDeviceInfo *)cls)->isNull ());
|
||||
}
|
||||
|
||||
|
||||
// QAudioFormat QAudioDeviceInfo::nearestFormat(const QAudioFormat &format)
|
||||
|
||||
|
||||
static void _init_f_nearestFormat_c2509 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("format");
|
||||
decl->add_arg<const QAudioFormat & > (argspec_0);
|
||||
decl->set_return<QAudioFormat > ();
|
||||
}
|
||||
|
||||
static void _call_f_nearestFormat_c2509 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QAudioFormat &arg1 = args.read<const QAudioFormat & > (heap);
|
||||
ret.write<QAudioFormat > ((QAudioFormat)((QAudioDeviceInfo *)cls)->nearestFormat (arg1));
|
||||
}
|
||||
|
||||
|
||||
// bool QAudioDeviceInfo::operator!=(const QAudioDeviceInfo &other)
|
||||
|
||||
|
||||
static void _init_f_operator_excl__eq__c2880 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("other");
|
||||
decl->add_arg<const QAudioDeviceInfo & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_operator_excl__eq__c2880 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QAudioDeviceInfo &arg1 = args.read<const QAudioDeviceInfo & > (heap);
|
||||
ret.write<bool > ((bool)((QAudioDeviceInfo *)cls)->operator!= (arg1));
|
||||
}
|
||||
|
||||
|
||||
// QAudioDeviceInfo &QAudioDeviceInfo::operator=(const QAudioDeviceInfo &other)
|
||||
|
||||
|
||||
static void _init_f_operator_eq__2880 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("other");
|
||||
decl->add_arg<const QAudioDeviceInfo & > (argspec_0);
|
||||
decl->set_return<QAudioDeviceInfo & > ();
|
||||
}
|
||||
|
||||
static void _call_f_operator_eq__2880 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QAudioDeviceInfo &arg1 = args.read<const QAudioDeviceInfo & > (heap);
|
||||
ret.write<QAudioDeviceInfo & > ((QAudioDeviceInfo &)((QAudioDeviceInfo *)cls)->operator= (arg1));
|
||||
}
|
||||
|
||||
|
||||
// bool QAudioDeviceInfo::operator==(const QAudioDeviceInfo &other)
|
||||
|
||||
|
||||
static void _init_f_operator_eq__eq__c2880 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("other");
|
||||
decl->add_arg<const QAudioDeviceInfo & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_operator_eq__eq__c2880 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QAudioDeviceInfo &arg1 = args.read<const QAudioDeviceInfo & > (heap);
|
||||
ret.write<bool > ((bool)((QAudioDeviceInfo *)cls)->operator== (arg1));
|
||||
}
|
||||
|
||||
|
||||
// QAudioFormat QAudioDeviceInfo::preferredFormat()
|
||||
|
||||
|
||||
static void _init_f_preferredFormat_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QAudioFormat > ();
|
||||
}
|
||||
|
||||
static void _call_f_preferredFormat_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAudioFormat > ((QAudioFormat)((QAudioDeviceInfo *)cls)->preferredFormat ());
|
||||
}
|
||||
|
||||
|
||||
// QList<QAudioFormat::Endian> QAudioDeviceInfo::supportedByteOrders()
|
||||
|
||||
|
||||
static void _init_f_supportedByteOrders_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QList<QAudioFormat::Endian> > ();
|
||||
}
|
||||
|
||||
static void _call_f_supportedByteOrders_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QList<QAudioFormat::Endian> > ((QList<QAudioFormat::Endian>)((QAudioDeviceInfo *)cls)->supportedByteOrders ());
|
||||
}
|
||||
|
||||
|
||||
// QList<int> QAudioDeviceInfo::supportedChannelCounts()
|
||||
|
||||
|
||||
static void _init_f_supportedChannelCounts_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QList<int> > ();
|
||||
}
|
||||
|
||||
static void _call_f_supportedChannelCounts_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QList<int> > ((QList<int>)((QAudioDeviceInfo *)cls)->supportedChannelCounts ());
|
||||
}
|
||||
|
||||
|
||||
// QStringList QAudioDeviceInfo::supportedCodecs()
|
||||
|
||||
|
||||
static void _init_f_supportedCodecs_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QStringList > ();
|
||||
}
|
||||
|
||||
static void _call_f_supportedCodecs_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QStringList > ((QStringList)((QAudioDeviceInfo *)cls)->supportedCodecs ());
|
||||
}
|
||||
|
||||
|
||||
// QList<int> QAudioDeviceInfo::supportedSampleRates()
|
||||
|
||||
|
||||
static void _init_f_supportedSampleRates_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QList<int> > ();
|
||||
}
|
||||
|
||||
static void _call_f_supportedSampleRates_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QList<int> > ((QList<int>)((QAudioDeviceInfo *)cls)->supportedSampleRates ());
|
||||
}
|
||||
|
||||
|
||||
// QList<int> QAudioDeviceInfo::supportedSampleSizes()
|
||||
|
||||
|
||||
static void _init_f_supportedSampleSizes_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QList<int> > ();
|
||||
}
|
||||
|
||||
static void _call_f_supportedSampleSizes_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QList<int> > ((QList<int>)((QAudioDeviceInfo *)cls)->supportedSampleSizes ());
|
||||
}
|
||||
|
||||
|
||||
// QList<QAudioFormat::SampleType> QAudioDeviceInfo::supportedSampleTypes()
|
||||
|
||||
|
||||
static void _init_f_supportedSampleTypes_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QList<QAudioFormat::SampleType> > ();
|
||||
}
|
||||
|
||||
static void _call_f_supportedSampleTypes_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QList<QAudioFormat::SampleType> > ((QList<QAudioFormat::SampleType>)((QAudioDeviceInfo *)cls)->supportedSampleTypes ());
|
||||
}
|
||||
|
||||
|
||||
// static QList<QAudioDeviceInfo> QAudioDeviceInfo::availableDevices(QAudio::Mode mode)
|
||||
|
||||
|
||||
static void _init_f_availableDevices_1520 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("mode");
|
||||
decl->add_arg<const qt_gsi::Converter<QAudio::Mode>::target_type & > (argspec_0);
|
||||
decl->set_return<QList<QAudioDeviceInfo> > ();
|
||||
}
|
||||
|
||||
static void _call_f_availableDevices_1520 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const qt_gsi::Converter<QAudio::Mode>::target_type & arg1 = args.read<const qt_gsi::Converter<QAudio::Mode>::target_type & > (heap);
|
||||
ret.write<QList<QAudioDeviceInfo> > ((QList<QAudioDeviceInfo>)QAudioDeviceInfo::availableDevices (qt_gsi::QtToCppAdaptor<QAudio::Mode>(arg1).cref()));
|
||||
}
|
||||
|
||||
|
||||
// static QAudioDeviceInfo QAudioDeviceInfo::defaultInputDevice()
|
||||
|
||||
|
||||
static void _init_f_defaultInputDevice_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return<QAudioDeviceInfo > ();
|
||||
}
|
||||
|
||||
static void _call_f_defaultInputDevice_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAudioDeviceInfo > ((QAudioDeviceInfo)QAudioDeviceInfo::defaultInputDevice ());
|
||||
}
|
||||
|
||||
|
||||
// static QAudioDeviceInfo QAudioDeviceInfo::defaultOutputDevice()
|
||||
|
||||
|
||||
static void _init_f_defaultOutputDevice_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return<QAudioDeviceInfo > ();
|
||||
}
|
||||
|
||||
static void _call_f_defaultOutputDevice_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAudioDeviceInfo > ((QAudioDeviceInfo)QAudioDeviceInfo::defaultOutputDevice ());
|
||||
}
|
||||
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAudioDeviceInfo () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAudioDeviceInfo::QAudioDeviceInfo()\nThis method creates an object of class QAudioDeviceInfo.", &_init_ctor_QAudioDeviceInfo_0, &_call_ctor_QAudioDeviceInfo_0);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAudioDeviceInfo::QAudioDeviceInfo(const QAudioDeviceInfo &other)\nThis method creates an object of class QAudioDeviceInfo.", &_init_ctor_QAudioDeviceInfo_2880, &_call_ctor_QAudioDeviceInfo_2880);
|
||||
methods += new qt_gsi::GenericMethod ("deviceName", "@brief Method QString QAudioDeviceInfo::deviceName()\n", true, &_init_f_deviceName_c0, &_call_f_deviceName_c0);
|
||||
methods += new qt_gsi::GenericMethod ("isFormatSupported?", "@brief Method bool QAudioDeviceInfo::isFormatSupported(const QAudioFormat &format)\n", true, &_init_f_isFormatSupported_c2509, &_call_f_isFormatSupported_c2509);
|
||||
methods += new qt_gsi::GenericMethod ("isNull?", "@brief Method bool QAudioDeviceInfo::isNull()\n", true, &_init_f_isNull_c0, &_call_f_isNull_c0);
|
||||
methods += new qt_gsi::GenericMethod ("nearestFormat", "@brief Method QAudioFormat QAudioDeviceInfo::nearestFormat(const QAudioFormat &format)\n", true, &_init_f_nearestFormat_c2509, &_call_f_nearestFormat_c2509);
|
||||
methods += new qt_gsi::GenericMethod ("!=", "@brief Method bool QAudioDeviceInfo::operator!=(const QAudioDeviceInfo &other)\n", true, &_init_f_operator_excl__eq__c2880, &_call_f_operator_excl__eq__c2880);
|
||||
methods += new qt_gsi::GenericMethod ("assign", "@brief Method QAudioDeviceInfo &QAudioDeviceInfo::operator=(const QAudioDeviceInfo &other)\n", false, &_init_f_operator_eq__2880, &_call_f_operator_eq__2880);
|
||||
methods += new qt_gsi::GenericMethod ("==", "@brief Method bool QAudioDeviceInfo::operator==(const QAudioDeviceInfo &other)\n", true, &_init_f_operator_eq__eq__c2880, &_call_f_operator_eq__eq__c2880);
|
||||
methods += new qt_gsi::GenericMethod ("preferredFormat", "@brief Method QAudioFormat QAudioDeviceInfo::preferredFormat()\n", true, &_init_f_preferredFormat_c0, &_call_f_preferredFormat_c0);
|
||||
methods += new qt_gsi::GenericMethod ("supportedByteOrders", "@brief Method QList<QAudioFormat::Endian> QAudioDeviceInfo::supportedByteOrders()\n", true, &_init_f_supportedByteOrders_c0, &_call_f_supportedByteOrders_c0);
|
||||
methods += new qt_gsi::GenericMethod ("supportedChannelCounts", "@brief Method QList<int> QAudioDeviceInfo::supportedChannelCounts()\n", true, &_init_f_supportedChannelCounts_c0, &_call_f_supportedChannelCounts_c0);
|
||||
methods += new qt_gsi::GenericMethod ("supportedCodecs", "@brief Method QStringList QAudioDeviceInfo::supportedCodecs()\n", true, &_init_f_supportedCodecs_c0, &_call_f_supportedCodecs_c0);
|
||||
methods += new qt_gsi::GenericMethod ("supportedSampleRates", "@brief Method QList<int> QAudioDeviceInfo::supportedSampleRates()\n", true, &_init_f_supportedSampleRates_c0, &_call_f_supportedSampleRates_c0);
|
||||
methods += new qt_gsi::GenericMethod ("supportedSampleSizes", "@brief Method QList<int> QAudioDeviceInfo::supportedSampleSizes()\n", true, &_init_f_supportedSampleSizes_c0, &_call_f_supportedSampleSizes_c0);
|
||||
methods += new qt_gsi::GenericMethod ("supportedSampleTypes", "@brief Method QList<QAudioFormat::SampleType> QAudioDeviceInfo::supportedSampleTypes()\n", true, &_init_f_supportedSampleTypes_c0, &_call_f_supportedSampleTypes_c0);
|
||||
methods += new qt_gsi::GenericStaticMethod ("availableDevices", "@brief Static method QList<QAudioDeviceInfo> QAudioDeviceInfo::availableDevices(QAudio::Mode mode)\nThis method is static and can be called without an instance.", &_init_f_availableDevices_1520, &_call_f_availableDevices_1520);
|
||||
methods += new qt_gsi::GenericStaticMethod ("defaultInputDevice", "@brief Static method QAudioDeviceInfo QAudioDeviceInfo::defaultInputDevice()\nThis method is static and can be called without an instance.", &_init_f_defaultInputDevice_0, &_call_f_defaultInputDevice_0);
|
||||
methods += new qt_gsi::GenericStaticMethod ("defaultOutputDevice", "@brief Static method QAudioDeviceInfo QAudioDeviceInfo::defaultOutputDevice()\nThis method is static and can be called without an instance.", &_init_f_defaultOutputDevice_0, &_call_f_defaultOutputDevice_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAudioDeviceInfo> decl_QAudioDeviceInfo ("QAudioDeviceInfo",
|
||||
methods_QAudioDeviceInfo (),
|
||||
"@qt\n@brief Binding of QAudioDeviceInfo");
|
||||
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAudioDeviceInfo> &qtdecl_QAudioDeviceInfo () { return decl_QAudioDeviceInfo; }
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,471 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAudioEncoderSettings.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAudioEncoderSettings>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAudioEncoderSettings
|
||||
|
||||
// Constructor QAudioEncoderSettings::QAudioEncoderSettings()
|
||||
|
||||
|
||||
static void _init_ctor_QAudioEncoderSettings_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return_new<QAudioEncoderSettings> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAudioEncoderSettings_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAudioEncoderSettings *> (new QAudioEncoderSettings ());
|
||||
}
|
||||
|
||||
|
||||
// Constructor QAudioEncoderSettings::QAudioEncoderSettings(const QAudioEncoderSettings &other)
|
||||
|
||||
|
||||
static void _init_ctor_QAudioEncoderSettings_3445 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("other");
|
||||
decl->add_arg<const QAudioEncoderSettings & > (argspec_0);
|
||||
decl->set_return_new<QAudioEncoderSettings> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAudioEncoderSettings_3445 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QAudioEncoderSettings &arg1 = args.read<const QAudioEncoderSettings & > (heap);
|
||||
ret.write<QAudioEncoderSettings *> (new QAudioEncoderSettings (arg1));
|
||||
}
|
||||
|
||||
|
||||
// int QAudioEncoderSettings::bitRate()
|
||||
|
||||
|
||||
static void _init_f_bitRate_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_bitRate_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAudioEncoderSettings *)cls)->bitRate ());
|
||||
}
|
||||
|
||||
|
||||
// int QAudioEncoderSettings::channelCount()
|
||||
|
||||
|
||||
static void _init_f_channelCount_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_channelCount_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAudioEncoderSettings *)cls)->channelCount ());
|
||||
}
|
||||
|
||||
|
||||
// QString QAudioEncoderSettings::codec()
|
||||
|
||||
|
||||
static void _init_f_codec_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_codec_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QString > ((QString)((QAudioEncoderSettings *)cls)->codec ());
|
||||
}
|
||||
|
||||
|
||||
// QMultimedia::EncodingMode QAudioEncoderSettings::encodingMode()
|
||||
|
||||
|
||||
static void _init_f_encodingMode_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<qt_gsi::Converter<QMultimedia::EncodingMode>::target_type > ();
|
||||
}
|
||||
|
||||
static void _call_f_encodingMode_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<qt_gsi::Converter<QMultimedia::EncodingMode>::target_type > ((qt_gsi::Converter<QMultimedia::EncodingMode>::target_type)qt_gsi::CppToQtAdaptor<QMultimedia::EncodingMode>(((QAudioEncoderSettings *)cls)->encodingMode ()));
|
||||
}
|
||||
|
||||
|
||||
// QVariant QAudioEncoderSettings::encodingOption(const QString &option)
|
||||
|
||||
|
||||
static void _init_f_encodingOption_c2025 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("option");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
decl->set_return<QVariant > ();
|
||||
}
|
||||
|
||||
static void _call_f_encodingOption_c2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
ret.write<QVariant > ((QVariant)((QAudioEncoderSettings *)cls)->encodingOption (arg1));
|
||||
}
|
||||
|
||||
|
||||
// QMap<QString, QVariant> QAudioEncoderSettings::encodingOptions()
|
||||
|
||||
|
||||
static void _init_f_encodingOptions_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QMap<QString, QVariant> > ();
|
||||
}
|
||||
|
||||
static void _call_f_encodingOptions_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QMap<QString, QVariant> > ((QMap<QString, QVariant>)((QAudioEncoderSettings *)cls)->encodingOptions ());
|
||||
}
|
||||
|
||||
|
||||
// bool QAudioEncoderSettings::isNull()
|
||||
|
||||
|
||||
static void _init_f_isNull_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_isNull_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<bool > ((bool)((QAudioEncoderSettings *)cls)->isNull ());
|
||||
}
|
||||
|
||||
|
||||
// bool QAudioEncoderSettings::operator!=(const QAudioEncoderSettings &other)
|
||||
|
||||
|
||||
static void _init_f_operator_excl__eq__c3445 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("other");
|
||||
decl->add_arg<const QAudioEncoderSettings & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_operator_excl__eq__c3445 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QAudioEncoderSettings &arg1 = args.read<const QAudioEncoderSettings & > (heap);
|
||||
ret.write<bool > ((bool)((QAudioEncoderSettings *)cls)->operator!= (arg1));
|
||||
}
|
||||
|
||||
|
||||
// QAudioEncoderSettings &QAudioEncoderSettings::operator=(const QAudioEncoderSettings &other)
|
||||
|
||||
|
||||
static void _init_f_operator_eq__3445 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("other");
|
||||
decl->add_arg<const QAudioEncoderSettings & > (argspec_0);
|
||||
decl->set_return<QAudioEncoderSettings & > ();
|
||||
}
|
||||
|
||||
static void _call_f_operator_eq__3445 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QAudioEncoderSettings &arg1 = args.read<const QAudioEncoderSettings & > (heap);
|
||||
ret.write<QAudioEncoderSettings & > ((QAudioEncoderSettings &)((QAudioEncoderSettings *)cls)->operator= (arg1));
|
||||
}
|
||||
|
||||
|
||||
// bool QAudioEncoderSettings::operator==(const QAudioEncoderSettings &other)
|
||||
|
||||
|
||||
static void _init_f_operator_eq__eq__c3445 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("other");
|
||||
decl->add_arg<const QAudioEncoderSettings & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_operator_eq__eq__c3445 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QAudioEncoderSettings &arg1 = args.read<const QAudioEncoderSettings & > (heap);
|
||||
ret.write<bool > ((bool)((QAudioEncoderSettings *)cls)->operator== (arg1));
|
||||
}
|
||||
|
||||
|
||||
// QMultimedia::EncodingQuality QAudioEncoderSettings::quality()
|
||||
|
||||
|
||||
static void _init_f_quality_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<qt_gsi::Converter<QMultimedia::EncodingQuality>::target_type > ();
|
||||
}
|
||||
|
||||
static void _call_f_quality_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<qt_gsi::Converter<QMultimedia::EncodingQuality>::target_type > ((qt_gsi::Converter<QMultimedia::EncodingQuality>::target_type)qt_gsi::CppToQtAdaptor<QMultimedia::EncodingQuality>(((QAudioEncoderSettings *)cls)->quality ()));
|
||||
}
|
||||
|
||||
|
||||
// int QAudioEncoderSettings::sampleRate()
|
||||
|
||||
|
||||
static void _init_f_sampleRate_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_sampleRate_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAudioEncoderSettings *)cls)->sampleRate ());
|
||||
}
|
||||
|
||||
|
||||
// void QAudioEncoderSettings::setBitRate(int bitrate)
|
||||
|
||||
|
||||
static void _init_f_setBitRate_767 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("bitrate");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setBitRate_767 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioEncoderSettings *)cls)->setBitRate (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAudioEncoderSettings::setChannelCount(int channels)
|
||||
|
||||
|
||||
static void _init_f_setChannelCount_767 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("channels");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setChannelCount_767 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioEncoderSettings *)cls)->setChannelCount (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAudioEncoderSettings::setCodec(const QString &codec)
|
||||
|
||||
|
||||
static void _init_f_setCodec_2025 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("codec");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setCodec_2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioEncoderSettings *)cls)->setCodec (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAudioEncoderSettings::setEncodingMode(QMultimedia::EncodingMode)
|
||||
|
||||
|
||||
static void _init_f_setEncodingMode_2864 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<const qt_gsi::Converter<QMultimedia::EncodingMode>::target_type & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setEncodingMode_2864 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const qt_gsi::Converter<QMultimedia::EncodingMode>::target_type & arg1 = args.read<const qt_gsi::Converter<QMultimedia::EncodingMode>::target_type & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioEncoderSettings *)cls)->setEncodingMode (qt_gsi::QtToCppAdaptor<QMultimedia::EncodingMode>(arg1).cref());
|
||||
}
|
||||
|
||||
|
||||
// void QAudioEncoderSettings::setEncodingOption(const QString &option, const QVariant &value)
|
||||
|
||||
|
||||
static void _init_f_setEncodingOption_4036 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("option");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("value");
|
||||
decl->add_arg<const QVariant & > (argspec_1);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setEncodingOption_4036 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
const QVariant &arg2 = args.read<const QVariant & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioEncoderSettings *)cls)->setEncodingOption (arg1, arg2);
|
||||
}
|
||||
|
||||
|
||||
// void QAudioEncoderSettings::setEncodingOptions(const QMap<QString, QVariant> &options)
|
||||
|
||||
|
||||
static void _init_f_setEncodingOptions_3508 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("options");
|
||||
decl->add_arg<const QMap<QString, QVariant> & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setEncodingOptions_3508 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QMap<QString, QVariant> &arg1 = args.read<const QMap<QString, QVariant> & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioEncoderSettings *)cls)->setEncodingOptions (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAudioEncoderSettings::setQuality(QMultimedia::EncodingQuality quality)
|
||||
|
||||
|
||||
static void _init_f_setQuality_3220 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("quality");
|
||||
decl->add_arg<const qt_gsi::Converter<QMultimedia::EncodingQuality>::target_type & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setQuality_3220 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const qt_gsi::Converter<QMultimedia::EncodingQuality>::target_type & arg1 = args.read<const qt_gsi::Converter<QMultimedia::EncodingQuality>::target_type & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioEncoderSettings *)cls)->setQuality (qt_gsi::QtToCppAdaptor<QMultimedia::EncodingQuality>(arg1).cref());
|
||||
}
|
||||
|
||||
|
||||
// void QAudioEncoderSettings::setSampleRate(int rate)
|
||||
|
||||
|
||||
static void _init_f_setSampleRate_767 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("rate");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setSampleRate_767 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioEncoderSettings *)cls)->setSampleRate (arg1);
|
||||
}
|
||||
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAudioEncoderSettings () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAudioEncoderSettings::QAudioEncoderSettings()\nThis method creates an object of class QAudioEncoderSettings.", &_init_ctor_QAudioEncoderSettings_0, &_call_ctor_QAudioEncoderSettings_0);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAudioEncoderSettings::QAudioEncoderSettings(const QAudioEncoderSettings &other)\nThis method creates an object of class QAudioEncoderSettings.", &_init_ctor_QAudioEncoderSettings_3445, &_call_ctor_QAudioEncoderSettings_3445);
|
||||
methods += new qt_gsi::GenericMethod (":bitRate", "@brief Method int QAudioEncoderSettings::bitRate()\n", true, &_init_f_bitRate_c0, &_call_f_bitRate_c0);
|
||||
methods += new qt_gsi::GenericMethod (":channelCount", "@brief Method int QAudioEncoderSettings::channelCount()\n", true, &_init_f_channelCount_c0, &_call_f_channelCount_c0);
|
||||
methods += new qt_gsi::GenericMethod (":codec", "@brief Method QString QAudioEncoderSettings::codec()\n", true, &_init_f_codec_c0, &_call_f_codec_c0);
|
||||
methods += new qt_gsi::GenericMethod (":encodingMode", "@brief Method QMultimedia::EncodingMode QAudioEncoderSettings::encodingMode()\n", true, &_init_f_encodingMode_c0, &_call_f_encodingMode_c0);
|
||||
methods += new qt_gsi::GenericMethod ("encodingOption", "@brief Method QVariant QAudioEncoderSettings::encodingOption(const QString &option)\n", true, &_init_f_encodingOption_c2025, &_call_f_encodingOption_c2025);
|
||||
methods += new qt_gsi::GenericMethod (":encodingOptions", "@brief Method QMap<QString, QVariant> QAudioEncoderSettings::encodingOptions()\n", true, &_init_f_encodingOptions_c0, &_call_f_encodingOptions_c0);
|
||||
methods += new qt_gsi::GenericMethod ("isNull?", "@brief Method bool QAudioEncoderSettings::isNull()\n", true, &_init_f_isNull_c0, &_call_f_isNull_c0);
|
||||
methods += new qt_gsi::GenericMethod ("!=", "@brief Method bool QAudioEncoderSettings::operator!=(const QAudioEncoderSettings &other)\n", true, &_init_f_operator_excl__eq__c3445, &_call_f_operator_excl__eq__c3445);
|
||||
methods += new qt_gsi::GenericMethod ("assign", "@brief Method QAudioEncoderSettings &QAudioEncoderSettings::operator=(const QAudioEncoderSettings &other)\n", false, &_init_f_operator_eq__3445, &_call_f_operator_eq__3445);
|
||||
methods += new qt_gsi::GenericMethod ("==", "@brief Method bool QAudioEncoderSettings::operator==(const QAudioEncoderSettings &other)\n", true, &_init_f_operator_eq__eq__c3445, &_call_f_operator_eq__eq__c3445);
|
||||
methods += new qt_gsi::GenericMethod (":quality", "@brief Method QMultimedia::EncodingQuality QAudioEncoderSettings::quality()\n", true, &_init_f_quality_c0, &_call_f_quality_c0);
|
||||
methods += new qt_gsi::GenericMethod (":sampleRate", "@brief Method int QAudioEncoderSettings::sampleRate()\n", true, &_init_f_sampleRate_c0, &_call_f_sampleRate_c0);
|
||||
methods += new qt_gsi::GenericMethod ("setBitRate|bitRate=", "@brief Method void QAudioEncoderSettings::setBitRate(int bitrate)\n", false, &_init_f_setBitRate_767, &_call_f_setBitRate_767);
|
||||
methods += new qt_gsi::GenericMethod ("setChannelCount|channelCount=", "@brief Method void QAudioEncoderSettings::setChannelCount(int channels)\n", false, &_init_f_setChannelCount_767, &_call_f_setChannelCount_767);
|
||||
methods += new qt_gsi::GenericMethod ("setCodec|codec=", "@brief Method void QAudioEncoderSettings::setCodec(const QString &codec)\n", false, &_init_f_setCodec_2025, &_call_f_setCodec_2025);
|
||||
methods += new qt_gsi::GenericMethod ("setEncodingMode|encodingMode=", "@brief Method void QAudioEncoderSettings::setEncodingMode(QMultimedia::EncodingMode)\n", false, &_init_f_setEncodingMode_2864, &_call_f_setEncodingMode_2864);
|
||||
methods += new qt_gsi::GenericMethod ("setEncodingOption", "@brief Method void QAudioEncoderSettings::setEncodingOption(const QString &option, const QVariant &value)\n", false, &_init_f_setEncodingOption_4036, &_call_f_setEncodingOption_4036);
|
||||
methods += new qt_gsi::GenericMethod ("setEncodingOptions|encodingOptions=", "@brief Method void QAudioEncoderSettings::setEncodingOptions(const QMap<QString, QVariant> &options)\n", false, &_init_f_setEncodingOptions_3508, &_call_f_setEncodingOptions_3508);
|
||||
methods += new qt_gsi::GenericMethod ("setQuality|quality=", "@brief Method void QAudioEncoderSettings::setQuality(QMultimedia::EncodingQuality quality)\n", false, &_init_f_setQuality_3220, &_call_f_setQuality_3220);
|
||||
methods += new qt_gsi::GenericMethod ("setSampleRate|sampleRate=", "@brief Method void QAudioEncoderSettings::setSampleRate(int rate)\n", false, &_init_f_setSampleRate_767, &_call_f_setSampleRate_767);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAudioEncoderSettings> decl_QAudioEncoderSettings ("QAudioEncoderSettings",
|
||||
methods_QAudioEncoderSettings (),
|
||||
"@qt\n@brief Binding of QAudioEncoderSettings");
|
||||
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAudioEncoderSettings> &qtdecl_QAudioEncoderSettings () { return decl_QAudioEncoderSettings; }
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,824 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAudioEncoderSettingsControl.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAudioEncoderSettingsControl>
|
||||
#include <QAudioEncoderSettings>
|
||||
#include <QChildEvent>
|
||||
#include <QEvent>
|
||||
#include <QMetaMethod>
|
||||
#include <QObject>
|
||||
#include <QThread>
|
||||
#include <QTimerEvent>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAudioEncoderSettingsControl
|
||||
|
||||
// get static meta object
|
||||
|
||||
static void _init_smo (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return<const QMetaObject &> ();
|
||||
}
|
||||
|
||||
static void _call_smo (const qt_gsi::GenericStaticMethod *, gsi::SerialArgs &, gsi::SerialArgs &ret)
|
||||
{
|
||||
ret.write<const QMetaObject &> (QAudioEncoderSettingsControl::staticMetaObject);
|
||||
}
|
||||
|
||||
|
||||
// QAudioEncoderSettings QAudioEncoderSettingsControl::audioSettings()
|
||||
|
||||
|
||||
static void _init_f_audioSettings_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QAudioEncoderSettings > ();
|
||||
}
|
||||
|
||||
static void _call_f_audioSettings_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAudioEncoderSettings > ((QAudioEncoderSettings)((QAudioEncoderSettingsControl *)cls)->audioSettings ());
|
||||
}
|
||||
|
||||
|
||||
// QString QAudioEncoderSettingsControl::codecDescription(const QString &codecName)
|
||||
|
||||
|
||||
static void _init_f_codecDescription_c2025 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("codecName");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_codecDescription_c2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
ret.write<QString > ((QString)((QAudioEncoderSettingsControl *)cls)->codecDescription (arg1));
|
||||
}
|
||||
|
||||
|
||||
// void QAudioEncoderSettingsControl::setAudioSettings(const QAudioEncoderSettings &)
|
||||
|
||||
|
||||
static void _init_f_setAudioSettings_3445 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<const QAudioEncoderSettings & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setAudioSettings_3445 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QAudioEncoderSettings &arg1 = args.read<const QAudioEncoderSettings & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioEncoderSettingsControl *)cls)->setAudioSettings (arg1);
|
||||
}
|
||||
|
||||
|
||||
// QStringList QAudioEncoderSettingsControl::supportedAudioCodecs()
|
||||
|
||||
|
||||
static void _init_f_supportedAudioCodecs_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QStringList > ();
|
||||
}
|
||||
|
||||
static void _call_f_supportedAudioCodecs_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QStringList > ((QStringList)((QAudioEncoderSettingsControl *)cls)->supportedAudioCodecs ());
|
||||
}
|
||||
|
||||
|
||||
// QList<int> QAudioEncoderSettingsControl::supportedSampleRates(const QAudioEncoderSettings &settings, bool *continuous)
|
||||
|
||||
|
||||
static void _init_f_supportedSampleRates_c4387 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("settings");
|
||||
decl->add_arg<const QAudioEncoderSettings & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("continuous", true, "0");
|
||||
decl->add_arg<bool * > (argspec_1);
|
||||
decl->set_return<QList<int> > ();
|
||||
}
|
||||
|
||||
static void _call_f_supportedSampleRates_c4387 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QAudioEncoderSettings &arg1 = args.read<const QAudioEncoderSettings & > (heap);
|
||||
bool *arg2 = args ? args.read<bool * > (heap) : (bool *)(0);
|
||||
ret.write<QList<int> > ((QList<int>)((QAudioEncoderSettingsControl *)cls)->supportedSampleRates (arg1, arg2));
|
||||
}
|
||||
|
||||
|
||||
// static QString QAudioEncoderSettingsControl::tr(const char *s, const char *c, int n)
|
||||
|
||||
|
||||
static void _init_f_tr_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("s");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("c", true, "__null");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_tr_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(__null);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QAudioEncoderSettingsControl::tr (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
// static QString QAudioEncoderSettingsControl::trUtf8(const char *s, const char *c, int n)
|
||||
|
||||
|
||||
static void _init_f_trUtf8_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("s");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("c", true, "__null");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_trUtf8_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(__null);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QAudioEncoderSettingsControl::trUtf8 (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAudioEncoderSettingsControl () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("staticMetaObject", "@brief Obtains the static MetaObject for this class.", &_init_smo, &_call_smo);
|
||||
methods += new qt_gsi::GenericMethod (":audioSettings", "@brief Method QAudioEncoderSettings QAudioEncoderSettingsControl::audioSettings()\n", true, &_init_f_audioSettings_c0, &_call_f_audioSettings_c0);
|
||||
methods += new qt_gsi::GenericMethod ("codecDescription", "@brief Method QString QAudioEncoderSettingsControl::codecDescription(const QString &codecName)\n", true, &_init_f_codecDescription_c2025, &_call_f_codecDescription_c2025);
|
||||
methods += new qt_gsi::GenericMethod ("setAudioSettings|audioSettings=", "@brief Method void QAudioEncoderSettingsControl::setAudioSettings(const QAudioEncoderSettings &)\n", false, &_init_f_setAudioSettings_3445, &_call_f_setAudioSettings_3445);
|
||||
methods += new qt_gsi::GenericMethod ("supportedAudioCodecs", "@brief Method QStringList QAudioEncoderSettingsControl::supportedAudioCodecs()\n", true, &_init_f_supportedAudioCodecs_c0, &_call_f_supportedAudioCodecs_c0);
|
||||
methods += new qt_gsi::GenericMethod ("supportedSampleRates", "@brief Method QList<int> QAudioEncoderSettingsControl::supportedSampleRates(const QAudioEncoderSettings &settings, bool *continuous)\n", true, &_init_f_supportedSampleRates_c4387, &_call_f_supportedSampleRates_c4387);
|
||||
methods += gsi::qt_signal<QObject * > ("destroyed(QObject *)", "destroyed", gsi::arg("arg1"), "@brief Signal declaration for QAudioEncoderSettingsControl::destroyed(QObject *)\nYou can bind a procedure to this signal.");
|
||||
methods += new qt_gsi::GenericStaticMethod ("tr", "@brief Static method QString QAudioEncoderSettingsControl::tr(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_tr_4013, &_call_f_tr_4013);
|
||||
methods += new qt_gsi::GenericStaticMethod ("trUtf8", "@brief Static method QString QAudioEncoderSettingsControl::trUtf8(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_trUtf8_4013, &_call_f_trUtf8_4013);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QMediaControl> &qtdecl_QMediaControl ();
|
||||
|
||||
qt_gsi::QtNativeClass<QAudioEncoderSettingsControl> decl_QAudioEncoderSettingsControl (qtdecl_QMediaControl (), "QAudioEncoderSettingsControl_Native",
|
||||
methods_QAudioEncoderSettingsControl (),
|
||||
"@hide\n@alias QAudioEncoderSettingsControl");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAudioEncoderSettingsControl> &qtdecl_QAudioEncoderSettingsControl () { return decl_QAudioEncoderSettingsControl; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QAudioEncoderSettingsControl_Adaptor : public QAudioEncoderSettingsControl, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QAudioEncoderSettingsControl_Adaptor();
|
||||
|
||||
// [expose] bool QAudioEncoderSettingsControl::isSignalConnected(const QMetaMethod &signal)
|
||||
bool fp_QAudioEncoderSettingsControl_isSignalConnected_c2394 (const QMetaMethod &signal) const {
|
||||
return QAudioEncoderSettingsControl::isSignalConnected(signal);
|
||||
}
|
||||
|
||||
// [expose] int QAudioEncoderSettingsControl::receivers(const char *signal)
|
||||
int fp_QAudioEncoderSettingsControl_receivers_c1731 (const char *signal) const {
|
||||
return QAudioEncoderSettingsControl::receivers(signal);
|
||||
}
|
||||
|
||||
// [expose] QObject *QAudioEncoderSettingsControl::sender()
|
||||
QObject * fp_QAudioEncoderSettingsControl_sender_c0 () const {
|
||||
return QAudioEncoderSettingsControl::sender();
|
||||
}
|
||||
|
||||
// [expose] int QAudioEncoderSettingsControl::senderSignalIndex()
|
||||
int fp_QAudioEncoderSettingsControl_senderSignalIndex_c0 () const {
|
||||
return QAudioEncoderSettingsControl::senderSignalIndex();
|
||||
}
|
||||
|
||||
// [adaptor impl] QAudioEncoderSettings QAudioEncoderSettingsControl::audioSettings()
|
||||
QAudioEncoderSettings cbs_audioSettings_c0_0() const
|
||||
{
|
||||
throw qt_gsi::AbstractMethodCalledException("audioSettings");
|
||||
}
|
||||
|
||||
virtual QAudioEncoderSettings audioSettings() const
|
||||
{
|
||||
if (cb_audioSettings_c0_0.can_issue()) {
|
||||
return cb_audioSettings_c0_0.issue<QAudioEncoderSettingsControl_Adaptor, QAudioEncoderSettings>(&QAudioEncoderSettingsControl_Adaptor::cbs_audioSettings_c0_0);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("audioSettings");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] QString QAudioEncoderSettingsControl::codecDescription(const QString &codecName)
|
||||
QString cbs_codecDescription_c2025_0(const QString &codecName) const
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (codecName);
|
||||
throw qt_gsi::AbstractMethodCalledException("codecDescription");
|
||||
}
|
||||
|
||||
virtual QString codecDescription(const QString &codecName) const
|
||||
{
|
||||
if (cb_codecDescription_c2025_0.can_issue()) {
|
||||
return cb_codecDescription_c2025_0.issue<QAudioEncoderSettingsControl_Adaptor, QString, const QString &>(&QAudioEncoderSettingsControl_Adaptor::cbs_codecDescription_c2025_0, codecName);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("codecDescription");
|
||||
}
|
||||
}
|
||||
|
||||
// [emitter impl] void QAudioEncoderSettingsControl::destroyed(QObject *)
|
||||
void emitter_QAudioEncoderSettingsControl_destroyed_1302(QObject *arg1)
|
||||
{
|
||||
emit QAudioEncoderSettingsControl::destroyed(arg1);
|
||||
}
|
||||
|
||||
// [adaptor impl] bool QAudioEncoderSettingsControl::event(QEvent *)
|
||||
bool cbs_event_1217_0(QEvent *arg1)
|
||||
{
|
||||
return QAudioEncoderSettingsControl::event(arg1);
|
||||
}
|
||||
|
||||
virtual bool event(QEvent *arg1)
|
||||
{
|
||||
if (cb_event_1217_0.can_issue()) {
|
||||
return cb_event_1217_0.issue<QAudioEncoderSettingsControl_Adaptor, bool, QEvent *>(&QAudioEncoderSettingsControl_Adaptor::cbs_event_1217_0, arg1);
|
||||
} else {
|
||||
return QAudioEncoderSettingsControl::event(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] bool QAudioEncoderSettingsControl::eventFilter(QObject *, QEvent *)
|
||||
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
|
||||
{
|
||||
return QAudioEncoderSettingsControl::eventFilter(arg1, arg2);
|
||||
}
|
||||
|
||||
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
|
||||
{
|
||||
if (cb_eventFilter_2411_0.can_issue()) {
|
||||
return cb_eventFilter_2411_0.issue<QAudioEncoderSettingsControl_Adaptor, bool, QObject *, QEvent *>(&QAudioEncoderSettingsControl_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
|
||||
} else {
|
||||
return QAudioEncoderSettingsControl::eventFilter(arg1, arg2);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAudioEncoderSettingsControl::setAudioSettings(const QAudioEncoderSettings &)
|
||||
void cbs_setAudioSettings_3445_0(const QAudioEncoderSettings &arg1)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (arg1);
|
||||
throw qt_gsi::AbstractMethodCalledException("setAudioSettings");
|
||||
}
|
||||
|
||||
virtual void setAudioSettings(const QAudioEncoderSettings &arg1)
|
||||
{
|
||||
if (cb_setAudioSettings_3445_0.can_issue()) {
|
||||
cb_setAudioSettings_3445_0.issue<QAudioEncoderSettingsControl_Adaptor, const QAudioEncoderSettings &>(&QAudioEncoderSettingsControl_Adaptor::cbs_setAudioSettings_3445_0, arg1);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("setAudioSettings");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] QStringList QAudioEncoderSettingsControl::supportedAudioCodecs()
|
||||
QStringList cbs_supportedAudioCodecs_c0_0() const
|
||||
{
|
||||
throw qt_gsi::AbstractMethodCalledException("supportedAudioCodecs");
|
||||
}
|
||||
|
||||
virtual QStringList supportedAudioCodecs() const
|
||||
{
|
||||
if (cb_supportedAudioCodecs_c0_0.can_issue()) {
|
||||
return cb_supportedAudioCodecs_c0_0.issue<QAudioEncoderSettingsControl_Adaptor, QStringList>(&QAudioEncoderSettingsControl_Adaptor::cbs_supportedAudioCodecs_c0_0);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("supportedAudioCodecs");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] QList<int> QAudioEncoderSettingsControl::supportedSampleRates(const QAudioEncoderSettings &settings, bool *continuous)
|
||||
QList<int> cbs_supportedSampleRates_c4387_1(const QAudioEncoderSettings &settings, bool *continuous) const
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (settings);
|
||||
__SUPPRESS_UNUSED_WARNING (continuous);
|
||||
throw qt_gsi::AbstractMethodCalledException("supportedSampleRates");
|
||||
}
|
||||
|
||||
virtual QList<int> supportedSampleRates(const QAudioEncoderSettings &settings, bool *continuous) const
|
||||
{
|
||||
if (cb_supportedSampleRates_c4387_1.can_issue()) {
|
||||
return cb_supportedSampleRates_c4387_1.issue<QAudioEncoderSettingsControl_Adaptor, QList<int>, const QAudioEncoderSettings &, bool *>(&QAudioEncoderSettingsControl_Adaptor::cbs_supportedSampleRates_c4387_1, settings, continuous);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("supportedSampleRates");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAudioEncoderSettingsControl::childEvent(QChildEvent *)
|
||||
void cbs_childEvent_1701_0(QChildEvent *arg1)
|
||||
{
|
||||
QAudioEncoderSettingsControl::childEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void childEvent(QChildEvent *arg1)
|
||||
{
|
||||
if (cb_childEvent_1701_0.can_issue()) {
|
||||
cb_childEvent_1701_0.issue<QAudioEncoderSettingsControl_Adaptor, QChildEvent *>(&QAudioEncoderSettingsControl_Adaptor::cbs_childEvent_1701_0, arg1);
|
||||
} else {
|
||||
QAudioEncoderSettingsControl::childEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAudioEncoderSettingsControl::customEvent(QEvent *)
|
||||
void cbs_customEvent_1217_0(QEvent *arg1)
|
||||
{
|
||||
QAudioEncoderSettingsControl::customEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void customEvent(QEvent *arg1)
|
||||
{
|
||||
if (cb_customEvent_1217_0.can_issue()) {
|
||||
cb_customEvent_1217_0.issue<QAudioEncoderSettingsControl_Adaptor, QEvent *>(&QAudioEncoderSettingsControl_Adaptor::cbs_customEvent_1217_0, arg1);
|
||||
} else {
|
||||
QAudioEncoderSettingsControl::customEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAudioEncoderSettingsControl::disconnectNotify(const QMetaMethod &signal)
|
||||
void cbs_disconnectNotify_2394_0(const QMetaMethod &signal)
|
||||
{
|
||||
QAudioEncoderSettingsControl::disconnectNotify(signal);
|
||||
}
|
||||
|
||||
virtual void disconnectNotify(const QMetaMethod &signal)
|
||||
{
|
||||
if (cb_disconnectNotify_2394_0.can_issue()) {
|
||||
cb_disconnectNotify_2394_0.issue<QAudioEncoderSettingsControl_Adaptor, const QMetaMethod &>(&QAudioEncoderSettingsControl_Adaptor::cbs_disconnectNotify_2394_0, signal);
|
||||
} else {
|
||||
QAudioEncoderSettingsControl::disconnectNotify(signal);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAudioEncoderSettingsControl::timerEvent(QTimerEvent *)
|
||||
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
|
||||
{
|
||||
QAudioEncoderSettingsControl::timerEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void timerEvent(QTimerEvent *arg1)
|
||||
{
|
||||
if (cb_timerEvent_1730_0.can_issue()) {
|
||||
cb_timerEvent_1730_0.issue<QAudioEncoderSettingsControl_Adaptor, QTimerEvent *>(&QAudioEncoderSettingsControl_Adaptor::cbs_timerEvent_1730_0, arg1);
|
||||
} else {
|
||||
QAudioEncoderSettingsControl::timerEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_audioSettings_c0_0;
|
||||
gsi::Callback cb_codecDescription_c2025_0;
|
||||
gsi::Callback cb_event_1217_0;
|
||||
gsi::Callback cb_eventFilter_2411_0;
|
||||
gsi::Callback cb_setAudioSettings_3445_0;
|
||||
gsi::Callback cb_supportedAudioCodecs_c0_0;
|
||||
gsi::Callback cb_supportedSampleRates_c4387_1;
|
||||
gsi::Callback cb_childEvent_1701_0;
|
||||
gsi::Callback cb_customEvent_1217_0;
|
||||
gsi::Callback cb_disconnectNotify_2394_0;
|
||||
gsi::Callback cb_timerEvent_1730_0;
|
||||
};
|
||||
|
||||
QAudioEncoderSettingsControl_Adaptor::~QAudioEncoderSettingsControl_Adaptor() { }
|
||||
|
||||
// QAudioEncoderSettings QAudioEncoderSettingsControl::audioSettings()
|
||||
|
||||
static void _init_cbs_audioSettings_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QAudioEncoderSettings > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_audioSettings_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAudioEncoderSettings > ((QAudioEncoderSettings)((QAudioEncoderSettingsControl_Adaptor *)cls)->cbs_audioSettings_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_audioSettings_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioEncoderSettingsControl_Adaptor *)cls)->cb_audioSettings_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAudioEncoderSettingsControl::childEvent(QChildEvent *)
|
||||
|
||||
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QChildEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_childEvent_1701_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QChildEvent *arg1 = args.read<QChildEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioEncoderSettingsControl_Adaptor *)cls)->cbs_childEvent_1701_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioEncoderSettingsControl_Adaptor *)cls)->cb_childEvent_1701_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// QString QAudioEncoderSettingsControl::codecDescription(const QString &codecName)
|
||||
|
||||
static void _init_cbs_codecDescription_c2025_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("codecName");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_codecDescription_c2025_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
ret.write<QString > ((QString)((QAudioEncoderSettingsControl_Adaptor *)cls)->cbs_codecDescription_c2025_0 (arg1));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_codecDescription_c2025_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioEncoderSettingsControl_Adaptor *)cls)->cb_codecDescription_c2025_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAudioEncoderSettingsControl::customEvent(QEvent *)
|
||||
|
||||
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_customEvent_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioEncoderSettingsControl_Adaptor *)cls)->cbs_customEvent_1217_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioEncoderSettingsControl_Adaptor *)cls)->cb_customEvent_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// emitter void QAudioEncoderSettingsControl::destroyed(QObject *)
|
||||
|
||||
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args ? args.read<QObject * > (heap) : (QObject *)(0);
|
||||
((QAudioEncoderSettingsControl_Adaptor *)cls)->emitter_QAudioEncoderSettingsControl_destroyed_1302 (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAudioEncoderSettingsControl::disconnectNotify(const QMetaMethod &signal)
|
||||
|
||||
static void _init_cbs_disconnectNotify_2394_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("signal");
|
||||
decl->add_arg<const QMetaMethod & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_disconnectNotify_2394_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QMetaMethod &arg1 = args.read<const QMetaMethod & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioEncoderSettingsControl_Adaptor *)cls)->cbs_disconnectNotify_2394_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_disconnectNotify_2394_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioEncoderSettingsControl_Adaptor *)cls)->cb_disconnectNotify_2394_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// bool QAudioEncoderSettingsControl::event(QEvent *)
|
||||
|
||||
static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_event_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
ret.write<bool > ((bool)((QAudioEncoderSettingsControl_Adaptor *)cls)->cbs_event_1217_0 (arg1));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioEncoderSettingsControl_Adaptor *)cls)->cb_event_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// bool QAudioEncoderSettingsControl::eventFilter(QObject *, QEvent *)
|
||||
|
||||
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("arg2");
|
||||
decl->add_arg<QEvent * > (argspec_1);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_eventFilter_2411_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args.read<QObject * > (heap);
|
||||
QEvent *arg2 = args.read<QEvent * > (heap);
|
||||
ret.write<bool > ((bool)((QAudioEncoderSettingsControl_Adaptor *)cls)->cbs_eventFilter_2411_0 (arg1, arg2));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_eventFilter_2411_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioEncoderSettingsControl_Adaptor *)cls)->cb_eventFilter_2411_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// exposed bool QAudioEncoderSettingsControl::isSignalConnected(const QMetaMethod &signal)
|
||||
|
||||
static void _init_fp_isSignalConnected_c2394 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("signal");
|
||||
decl->add_arg<const QMetaMethod & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_fp_isSignalConnected_c2394 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QMetaMethod &arg1 = args.read<const QMetaMethod & > (heap);
|
||||
ret.write<bool > ((bool)((QAudioEncoderSettingsControl_Adaptor *)cls)->fp_QAudioEncoderSettingsControl_isSignalConnected_c2394 (arg1));
|
||||
}
|
||||
|
||||
|
||||
// exposed int QAudioEncoderSettingsControl::receivers(const char *signal)
|
||||
|
||||
static void _init_fp_receivers_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_fp_receivers_c1731 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
ret.write<int > ((int)((QAudioEncoderSettingsControl_Adaptor *)cls)->fp_QAudioEncoderSettingsControl_receivers_c1731 (arg1));
|
||||
}
|
||||
|
||||
|
||||
// exposed QObject *QAudioEncoderSettingsControl::sender()
|
||||
|
||||
static void _init_fp_sender_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QObject * > ();
|
||||
}
|
||||
|
||||
static void _call_fp_sender_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QObject * > ((QObject *)((QAudioEncoderSettingsControl_Adaptor *)cls)->fp_QAudioEncoderSettingsControl_sender_c0 ());
|
||||
}
|
||||
|
||||
|
||||
// exposed int QAudioEncoderSettingsControl::senderSignalIndex()
|
||||
|
||||
static void _init_fp_senderSignalIndex_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_fp_senderSignalIndex_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAudioEncoderSettingsControl_Adaptor *)cls)->fp_QAudioEncoderSettingsControl_senderSignalIndex_c0 ());
|
||||
}
|
||||
|
||||
|
||||
// void QAudioEncoderSettingsControl::setAudioSettings(const QAudioEncoderSettings &)
|
||||
|
||||
static void _init_cbs_setAudioSettings_3445_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<const QAudioEncoderSettings & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_setAudioSettings_3445_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QAudioEncoderSettings &arg1 = args.read<const QAudioEncoderSettings & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioEncoderSettingsControl_Adaptor *)cls)->cbs_setAudioSettings_3445_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_setAudioSettings_3445_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioEncoderSettingsControl_Adaptor *)cls)->cb_setAudioSettings_3445_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// QStringList QAudioEncoderSettingsControl::supportedAudioCodecs()
|
||||
|
||||
static void _init_cbs_supportedAudioCodecs_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QStringList > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_supportedAudioCodecs_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QStringList > ((QStringList)((QAudioEncoderSettingsControl_Adaptor *)cls)->cbs_supportedAudioCodecs_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_supportedAudioCodecs_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioEncoderSettingsControl_Adaptor *)cls)->cb_supportedAudioCodecs_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// QList<int> QAudioEncoderSettingsControl::supportedSampleRates(const QAudioEncoderSettings &settings, bool *continuous)
|
||||
|
||||
static void _init_cbs_supportedSampleRates_c4387_1 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("settings");
|
||||
decl->add_arg<const QAudioEncoderSettings & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("continuous");
|
||||
decl->add_arg<bool * > (argspec_1);
|
||||
decl->set_return<QList<int> > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_supportedSampleRates_c4387_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QAudioEncoderSettings &arg1 = args.read<const QAudioEncoderSettings & > (heap);
|
||||
bool *arg2 = args.read<bool * > (heap);
|
||||
ret.write<QList<int> > ((QList<int>)((QAudioEncoderSettingsControl_Adaptor *)cls)->cbs_supportedSampleRates_c4387_1 (arg1, arg2));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_supportedSampleRates_c4387_1 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioEncoderSettingsControl_Adaptor *)cls)->cb_supportedSampleRates_c4387_1 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAudioEncoderSettingsControl::timerEvent(QTimerEvent *)
|
||||
|
||||
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QTimerEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_timerEvent_1730_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QTimerEvent *arg1 = args.read<QTimerEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioEncoderSettingsControl_Adaptor *)cls)->cbs_timerEvent_1730_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_timerEvent_1730_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioEncoderSettingsControl_Adaptor *)cls)->cb_timerEvent_1730_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QAudioEncoderSettingsControl> &qtdecl_QAudioEncoderSettingsControl ();
|
||||
|
||||
static gsi::Methods methods_QAudioEncoderSettingsControl_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericMethod ("audioSettings", "@hide", true, &_init_cbs_audioSettings_c0_0, &_call_cbs_audioSettings_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("audioSettings", "@brief Virtual method QAudioEncoderSettings QAudioEncoderSettingsControl::audioSettings()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_audioSettings_c0_0, &_call_cbs_audioSettings_c0_0, &_set_callback_cbs_audioSettings_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("*childEvent", "@hide", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0);
|
||||
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QAudioEncoderSettingsControl::childEvent(QChildEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0, &_set_callback_cbs_childEvent_1701_0);
|
||||
methods += new qt_gsi::GenericMethod ("codecDescription", "@hide", true, &_init_cbs_codecDescription_c2025_0, &_call_cbs_codecDescription_c2025_0);
|
||||
methods += new qt_gsi::GenericMethod ("codecDescription", "@brief Virtual method QString QAudioEncoderSettingsControl::codecDescription(const QString &codecName)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_codecDescription_c2025_0, &_call_cbs_codecDescription_c2025_0, &_set_callback_cbs_codecDescription_c2025_0);
|
||||
methods += new qt_gsi::GenericMethod ("*customEvent", "@hide", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("*customEvent", "@brief Virtual method void QAudioEncoderSettingsControl::customEvent(QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0, &_set_callback_cbs_customEvent_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("emit_destroyed", "@brief Emitter for signal void QAudioEncoderSettingsControl::destroyed(QObject *)\nCall this method to emit this signal.", false, &_init_emitter_destroyed_1302, &_call_emitter_destroyed_1302);
|
||||
methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@hide", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0);
|
||||
methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@brief Virtual method void QAudioEncoderSettingsControl::disconnectNotify(const QMetaMethod &signal)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0, &_set_callback_cbs_disconnectNotify_2394_0);
|
||||
methods += new qt_gsi::GenericMethod ("event", "@hide", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("event", "@brief Virtual method bool QAudioEncoderSettingsControl::event(QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0, &_set_callback_cbs_event_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("eventFilter", "@hide", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0);
|
||||
methods += new qt_gsi::GenericMethod ("eventFilter", "@brief Virtual method bool QAudioEncoderSettingsControl::eventFilter(QObject *, QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0, &_set_callback_cbs_eventFilter_2411_0);
|
||||
methods += new qt_gsi::GenericMethod ("*isSignalConnected", "@brief Method bool QAudioEncoderSettingsControl::isSignalConnected(const QMetaMethod &signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_isSignalConnected_c2394, &_call_fp_isSignalConnected_c2394);
|
||||
methods += new qt_gsi::GenericMethod ("*receivers", "@brief Method int QAudioEncoderSettingsControl::receivers(const char *signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_receivers_c1731, &_call_fp_receivers_c1731);
|
||||
methods += new qt_gsi::GenericMethod ("*sender", "@brief Method QObject *QAudioEncoderSettingsControl::sender()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_sender_c0, &_call_fp_sender_c0);
|
||||
methods += new qt_gsi::GenericMethod ("*senderSignalIndex", "@brief Method int QAudioEncoderSettingsControl::senderSignalIndex()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_senderSignalIndex_c0, &_call_fp_senderSignalIndex_c0);
|
||||
methods += new qt_gsi::GenericMethod ("setAudioSettings", "@hide", false, &_init_cbs_setAudioSettings_3445_0, &_call_cbs_setAudioSettings_3445_0);
|
||||
methods += new qt_gsi::GenericMethod ("setAudioSettings", "@brief Virtual method void QAudioEncoderSettingsControl::setAudioSettings(const QAudioEncoderSettings &)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setAudioSettings_3445_0, &_call_cbs_setAudioSettings_3445_0, &_set_callback_cbs_setAudioSettings_3445_0);
|
||||
methods += new qt_gsi::GenericMethod ("supportedAudioCodecs", "@hide", true, &_init_cbs_supportedAudioCodecs_c0_0, &_call_cbs_supportedAudioCodecs_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("supportedAudioCodecs", "@brief Virtual method QStringList QAudioEncoderSettingsControl::supportedAudioCodecs()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_supportedAudioCodecs_c0_0, &_call_cbs_supportedAudioCodecs_c0_0, &_set_callback_cbs_supportedAudioCodecs_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("supportedSampleRates", "@hide", true, &_init_cbs_supportedSampleRates_c4387_1, &_call_cbs_supportedSampleRates_c4387_1);
|
||||
methods += new qt_gsi::GenericMethod ("supportedSampleRates", "@brief Virtual method QList<int> QAudioEncoderSettingsControl::supportedSampleRates(const QAudioEncoderSettings &settings, bool *continuous)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_supportedSampleRates_c4387_1, &_call_cbs_supportedSampleRates_c4387_1, &_set_callback_cbs_supportedSampleRates_c4387_1);
|
||||
methods += new qt_gsi::GenericMethod ("*timerEvent", "@hide", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0);
|
||||
methods += new qt_gsi::GenericMethod ("*timerEvent", "@brief Virtual method void QAudioEncoderSettingsControl::timerEvent(QTimerEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0, &_set_callback_cbs_timerEvent_1730_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAudioEncoderSettingsControl_Adaptor> decl_QAudioEncoderSettingsControl_Adaptor (qtdecl_QAudioEncoderSettingsControl (), "QAudioEncoderSettingsControl",
|
||||
methods_QAudioEncoderSettingsControl_Adaptor (),
|
||||
"@qt\n@brief Binding of QAudioEncoderSettingsControl");
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,568 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAudioFormat.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAudioFormat>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAudioFormat
|
||||
|
||||
// Constructor QAudioFormat::QAudioFormat()
|
||||
|
||||
|
||||
static void _init_ctor_QAudioFormat_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return_new<QAudioFormat> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAudioFormat_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAudioFormat *> (new QAudioFormat ());
|
||||
}
|
||||
|
||||
|
||||
// Constructor QAudioFormat::QAudioFormat(const QAudioFormat &other)
|
||||
|
||||
|
||||
static void _init_ctor_QAudioFormat_2509 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("other");
|
||||
decl->add_arg<const QAudioFormat & > (argspec_0);
|
||||
decl->set_return_new<QAudioFormat> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAudioFormat_2509 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QAudioFormat &arg1 = args.read<const QAudioFormat & > (heap);
|
||||
ret.write<QAudioFormat *> (new QAudioFormat (arg1));
|
||||
}
|
||||
|
||||
|
||||
// QAudioFormat::Endian QAudioFormat::byteOrder()
|
||||
|
||||
|
||||
static void _init_f_byteOrder_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<qt_gsi::Converter<QAudioFormat::Endian>::target_type > ();
|
||||
}
|
||||
|
||||
static void _call_f_byteOrder_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<qt_gsi::Converter<QAudioFormat::Endian>::target_type > ((qt_gsi::Converter<QAudioFormat::Endian>::target_type)qt_gsi::CppToQtAdaptor<QAudioFormat::Endian>(((QAudioFormat *)cls)->byteOrder ()));
|
||||
}
|
||||
|
||||
|
||||
// qint32 QAudioFormat::bytesForDuration(qint64 duration)
|
||||
|
||||
|
||||
static void _init_f_bytesForDuration_c986 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("duration");
|
||||
decl->add_arg<qint64 > (argspec_0);
|
||||
decl->set_return<qint32 > ();
|
||||
}
|
||||
|
||||
static void _call_f_bytesForDuration_c986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
qint64 arg1 = args.read<qint64 > (heap);
|
||||
ret.write<qint32 > ((qint32)((QAudioFormat *)cls)->bytesForDuration (arg1));
|
||||
}
|
||||
|
||||
|
||||
// qint32 QAudioFormat::bytesForFrames(qint32 frameCount)
|
||||
|
||||
|
||||
static void _init_f_bytesForFrames_c981 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("frameCount");
|
||||
decl->add_arg<qint32 > (argspec_0);
|
||||
decl->set_return<qint32 > ();
|
||||
}
|
||||
|
||||
static void _call_f_bytesForFrames_c981 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
qint32 arg1 = args.read<qint32 > (heap);
|
||||
ret.write<qint32 > ((qint32)((QAudioFormat *)cls)->bytesForFrames (arg1));
|
||||
}
|
||||
|
||||
|
||||
// int QAudioFormat::bytesPerFrame()
|
||||
|
||||
|
||||
static void _init_f_bytesPerFrame_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_bytesPerFrame_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAudioFormat *)cls)->bytesPerFrame ());
|
||||
}
|
||||
|
||||
|
||||
// int QAudioFormat::channelCount()
|
||||
|
||||
|
||||
static void _init_f_channelCount_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_channelCount_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAudioFormat *)cls)->channelCount ());
|
||||
}
|
||||
|
||||
|
||||
// QString QAudioFormat::codec()
|
||||
|
||||
|
||||
static void _init_f_codec_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_codec_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QString > ((QString)((QAudioFormat *)cls)->codec ());
|
||||
}
|
||||
|
||||
|
||||
// qint64 QAudioFormat::durationForBytes(qint32 byteCount)
|
||||
|
||||
|
||||
static void _init_f_durationForBytes_c981 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("byteCount");
|
||||
decl->add_arg<qint32 > (argspec_0);
|
||||
decl->set_return<qint64 > ();
|
||||
}
|
||||
|
||||
static void _call_f_durationForBytes_c981 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
qint32 arg1 = args.read<qint32 > (heap);
|
||||
ret.write<qint64 > ((qint64)((QAudioFormat *)cls)->durationForBytes (arg1));
|
||||
}
|
||||
|
||||
|
||||
// qint64 QAudioFormat::durationForFrames(qint32 frameCount)
|
||||
|
||||
|
||||
static void _init_f_durationForFrames_c981 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("frameCount");
|
||||
decl->add_arg<qint32 > (argspec_0);
|
||||
decl->set_return<qint64 > ();
|
||||
}
|
||||
|
||||
static void _call_f_durationForFrames_c981 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
qint32 arg1 = args.read<qint32 > (heap);
|
||||
ret.write<qint64 > ((qint64)((QAudioFormat *)cls)->durationForFrames (arg1));
|
||||
}
|
||||
|
||||
|
||||
// qint32 QAudioFormat::framesForBytes(qint32 byteCount)
|
||||
|
||||
|
||||
static void _init_f_framesForBytes_c981 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("byteCount");
|
||||
decl->add_arg<qint32 > (argspec_0);
|
||||
decl->set_return<qint32 > ();
|
||||
}
|
||||
|
||||
static void _call_f_framesForBytes_c981 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
qint32 arg1 = args.read<qint32 > (heap);
|
||||
ret.write<qint32 > ((qint32)((QAudioFormat *)cls)->framesForBytes (arg1));
|
||||
}
|
||||
|
||||
|
||||
// qint32 QAudioFormat::framesForDuration(qint64 duration)
|
||||
|
||||
|
||||
static void _init_f_framesForDuration_c986 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("duration");
|
||||
decl->add_arg<qint64 > (argspec_0);
|
||||
decl->set_return<qint32 > ();
|
||||
}
|
||||
|
||||
static void _call_f_framesForDuration_c986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
qint64 arg1 = args.read<qint64 > (heap);
|
||||
ret.write<qint32 > ((qint32)((QAudioFormat *)cls)->framesForDuration (arg1));
|
||||
}
|
||||
|
||||
|
||||
// bool QAudioFormat::isValid()
|
||||
|
||||
|
||||
static void _init_f_isValid_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_isValid_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<bool > ((bool)((QAudioFormat *)cls)->isValid ());
|
||||
}
|
||||
|
||||
|
||||
// bool QAudioFormat::operator!=(const QAudioFormat &other)
|
||||
|
||||
|
||||
static void _init_f_operator_excl__eq__c2509 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("other");
|
||||
decl->add_arg<const QAudioFormat & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_operator_excl__eq__c2509 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QAudioFormat &arg1 = args.read<const QAudioFormat & > (heap);
|
||||
ret.write<bool > ((bool)((QAudioFormat *)cls)->operator!= (arg1));
|
||||
}
|
||||
|
||||
|
||||
// QAudioFormat &QAudioFormat::operator=(const QAudioFormat &other)
|
||||
|
||||
|
||||
static void _init_f_operator_eq__2509 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("other");
|
||||
decl->add_arg<const QAudioFormat & > (argspec_0);
|
||||
decl->set_return<QAudioFormat & > ();
|
||||
}
|
||||
|
||||
static void _call_f_operator_eq__2509 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QAudioFormat &arg1 = args.read<const QAudioFormat & > (heap);
|
||||
ret.write<QAudioFormat & > ((QAudioFormat &)((QAudioFormat *)cls)->operator= (arg1));
|
||||
}
|
||||
|
||||
|
||||
// bool QAudioFormat::operator==(const QAudioFormat &other)
|
||||
|
||||
|
||||
static void _init_f_operator_eq__eq__c2509 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("other");
|
||||
decl->add_arg<const QAudioFormat & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_operator_eq__eq__c2509 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QAudioFormat &arg1 = args.read<const QAudioFormat & > (heap);
|
||||
ret.write<bool > ((bool)((QAudioFormat *)cls)->operator== (arg1));
|
||||
}
|
||||
|
||||
|
||||
// int QAudioFormat::sampleRate()
|
||||
|
||||
|
||||
static void _init_f_sampleRate_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_sampleRate_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAudioFormat *)cls)->sampleRate ());
|
||||
}
|
||||
|
||||
|
||||
// int QAudioFormat::sampleSize()
|
||||
|
||||
|
||||
static void _init_f_sampleSize_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_sampleSize_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAudioFormat *)cls)->sampleSize ());
|
||||
}
|
||||
|
||||
|
||||
// QAudioFormat::SampleType QAudioFormat::sampleType()
|
||||
|
||||
|
||||
static void _init_f_sampleType_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<qt_gsi::Converter<QAudioFormat::SampleType>::target_type > ();
|
||||
}
|
||||
|
||||
static void _call_f_sampleType_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<qt_gsi::Converter<QAudioFormat::SampleType>::target_type > ((qt_gsi::Converter<QAudioFormat::SampleType>::target_type)qt_gsi::CppToQtAdaptor<QAudioFormat::SampleType>(((QAudioFormat *)cls)->sampleType ()));
|
||||
}
|
||||
|
||||
|
||||
// void QAudioFormat::setByteOrder(QAudioFormat::Endian byteOrder)
|
||||
|
||||
|
||||
static void _init_f_setByteOrder_2339 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("byteOrder");
|
||||
decl->add_arg<const qt_gsi::Converter<QAudioFormat::Endian>::target_type & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setByteOrder_2339 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const qt_gsi::Converter<QAudioFormat::Endian>::target_type & arg1 = args.read<const qt_gsi::Converter<QAudioFormat::Endian>::target_type & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioFormat *)cls)->setByteOrder (qt_gsi::QtToCppAdaptor<QAudioFormat::Endian>(arg1).cref());
|
||||
}
|
||||
|
||||
|
||||
// void QAudioFormat::setChannelCount(int channelCount)
|
||||
|
||||
|
||||
static void _init_f_setChannelCount_767 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("channelCount");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setChannelCount_767 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioFormat *)cls)->setChannelCount (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAudioFormat::setCodec(const QString &codec)
|
||||
|
||||
|
||||
static void _init_f_setCodec_2025 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("codec");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setCodec_2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioFormat *)cls)->setCodec (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAudioFormat::setSampleRate(int sampleRate)
|
||||
|
||||
|
||||
static void _init_f_setSampleRate_767 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("sampleRate");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setSampleRate_767 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioFormat *)cls)->setSampleRate (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAudioFormat::setSampleSize(int sampleSize)
|
||||
|
||||
|
||||
static void _init_f_setSampleSize_767 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("sampleSize");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setSampleSize_767 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioFormat *)cls)->setSampleSize (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAudioFormat::setSampleType(QAudioFormat::SampleType sampleType)
|
||||
|
||||
|
||||
static void _init_f_setSampleType_2776 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("sampleType");
|
||||
decl->add_arg<const qt_gsi::Converter<QAudioFormat::SampleType>::target_type & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setSampleType_2776 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const qt_gsi::Converter<QAudioFormat::SampleType>::target_type & arg1 = args.read<const qt_gsi::Converter<QAudioFormat::SampleType>::target_type & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioFormat *)cls)->setSampleType (qt_gsi::QtToCppAdaptor<QAudioFormat::SampleType>(arg1).cref());
|
||||
}
|
||||
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAudioFormat () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAudioFormat::QAudioFormat()\nThis method creates an object of class QAudioFormat.", &_init_ctor_QAudioFormat_0, &_call_ctor_QAudioFormat_0);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAudioFormat::QAudioFormat(const QAudioFormat &other)\nThis method creates an object of class QAudioFormat.", &_init_ctor_QAudioFormat_2509, &_call_ctor_QAudioFormat_2509);
|
||||
methods += new qt_gsi::GenericMethod (":byteOrder", "@brief Method QAudioFormat::Endian QAudioFormat::byteOrder()\n", true, &_init_f_byteOrder_c0, &_call_f_byteOrder_c0);
|
||||
methods += new qt_gsi::GenericMethod ("bytesForDuration", "@brief Method qint32 QAudioFormat::bytesForDuration(qint64 duration)\n", true, &_init_f_bytesForDuration_c986, &_call_f_bytesForDuration_c986);
|
||||
methods += new qt_gsi::GenericMethod ("bytesForFrames", "@brief Method qint32 QAudioFormat::bytesForFrames(qint32 frameCount)\n", true, &_init_f_bytesForFrames_c981, &_call_f_bytesForFrames_c981);
|
||||
methods += new qt_gsi::GenericMethod ("bytesPerFrame", "@brief Method int QAudioFormat::bytesPerFrame()\n", true, &_init_f_bytesPerFrame_c0, &_call_f_bytesPerFrame_c0);
|
||||
methods += new qt_gsi::GenericMethod (":channelCount", "@brief Method int QAudioFormat::channelCount()\n", true, &_init_f_channelCount_c0, &_call_f_channelCount_c0);
|
||||
methods += new qt_gsi::GenericMethod (":codec", "@brief Method QString QAudioFormat::codec()\n", true, &_init_f_codec_c0, &_call_f_codec_c0);
|
||||
methods += new qt_gsi::GenericMethod ("durationForBytes", "@brief Method qint64 QAudioFormat::durationForBytes(qint32 byteCount)\n", true, &_init_f_durationForBytes_c981, &_call_f_durationForBytes_c981);
|
||||
methods += new qt_gsi::GenericMethod ("durationForFrames", "@brief Method qint64 QAudioFormat::durationForFrames(qint32 frameCount)\n", true, &_init_f_durationForFrames_c981, &_call_f_durationForFrames_c981);
|
||||
methods += new qt_gsi::GenericMethod ("framesForBytes", "@brief Method qint32 QAudioFormat::framesForBytes(qint32 byteCount)\n", true, &_init_f_framesForBytes_c981, &_call_f_framesForBytes_c981);
|
||||
methods += new qt_gsi::GenericMethod ("framesForDuration", "@brief Method qint32 QAudioFormat::framesForDuration(qint64 duration)\n", true, &_init_f_framesForDuration_c986, &_call_f_framesForDuration_c986);
|
||||
methods += new qt_gsi::GenericMethod ("isValid?", "@brief Method bool QAudioFormat::isValid()\n", true, &_init_f_isValid_c0, &_call_f_isValid_c0);
|
||||
methods += new qt_gsi::GenericMethod ("!=", "@brief Method bool QAudioFormat::operator!=(const QAudioFormat &other)\n", true, &_init_f_operator_excl__eq__c2509, &_call_f_operator_excl__eq__c2509);
|
||||
methods += new qt_gsi::GenericMethod ("assign", "@brief Method QAudioFormat &QAudioFormat::operator=(const QAudioFormat &other)\n", false, &_init_f_operator_eq__2509, &_call_f_operator_eq__2509);
|
||||
methods += new qt_gsi::GenericMethod ("==", "@brief Method bool QAudioFormat::operator==(const QAudioFormat &other)\n", true, &_init_f_operator_eq__eq__c2509, &_call_f_operator_eq__eq__c2509);
|
||||
methods += new qt_gsi::GenericMethod (":sampleRate", "@brief Method int QAudioFormat::sampleRate()\n", true, &_init_f_sampleRate_c0, &_call_f_sampleRate_c0);
|
||||
methods += new qt_gsi::GenericMethod (":sampleSize", "@brief Method int QAudioFormat::sampleSize()\n", true, &_init_f_sampleSize_c0, &_call_f_sampleSize_c0);
|
||||
methods += new qt_gsi::GenericMethod (":sampleType", "@brief Method QAudioFormat::SampleType QAudioFormat::sampleType()\n", true, &_init_f_sampleType_c0, &_call_f_sampleType_c0);
|
||||
methods += new qt_gsi::GenericMethod ("setByteOrder|byteOrder=", "@brief Method void QAudioFormat::setByteOrder(QAudioFormat::Endian byteOrder)\n", false, &_init_f_setByteOrder_2339, &_call_f_setByteOrder_2339);
|
||||
methods += new qt_gsi::GenericMethod ("setChannelCount|channelCount=", "@brief Method void QAudioFormat::setChannelCount(int channelCount)\n", false, &_init_f_setChannelCount_767, &_call_f_setChannelCount_767);
|
||||
methods += new qt_gsi::GenericMethod ("setCodec|codec=", "@brief Method void QAudioFormat::setCodec(const QString &codec)\n", false, &_init_f_setCodec_2025, &_call_f_setCodec_2025);
|
||||
methods += new qt_gsi::GenericMethod ("setSampleRate|sampleRate=", "@brief Method void QAudioFormat::setSampleRate(int sampleRate)\n", false, &_init_f_setSampleRate_767, &_call_f_setSampleRate_767);
|
||||
methods += new qt_gsi::GenericMethod ("setSampleSize|sampleSize=", "@brief Method void QAudioFormat::setSampleSize(int sampleSize)\n", false, &_init_f_setSampleSize_767, &_call_f_setSampleSize_767);
|
||||
methods += new qt_gsi::GenericMethod ("setSampleType|sampleType=", "@brief Method void QAudioFormat::setSampleType(QAudioFormat::SampleType sampleType)\n", false, &_init_f_setSampleType_2776, &_call_f_setSampleType_2776);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAudioFormat> decl_QAudioFormat ("QAudioFormat",
|
||||
methods_QAudioFormat (),
|
||||
"@qt\n@brief Binding of QAudioFormat");
|
||||
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAudioFormat> &qtdecl_QAudioFormat () { return decl_QAudioFormat; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
// Implementation of the enum wrapper class for QAudioFormat::Endian
|
||||
namespace qt_gsi
|
||||
{
|
||||
|
||||
static gsi::Enum<QAudioFormat::Endian> decl_QAudioFormat_Endian_Enum ("QAudioFormat_Endian",
|
||||
gsi::enum_const ("BigEndian", QAudioFormat::BigEndian, "@brief Enum constant QAudioFormat::BigEndian") +
|
||||
gsi::enum_const ("LittleEndian", QAudioFormat::LittleEndian, "@brief Enum constant QAudioFormat::LittleEndian"),
|
||||
"@qt\n@brief This class represents the QAudioFormat::Endian enum");
|
||||
|
||||
static gsi::QFlagsClass<QAudioFormat::Endian > decl_QAudioFormat_Endian_Enums ("QAudioFormat_QFlags_Endian",
|
||||
"@qt\n@brief This class represents the QFlags<QAudioFormat::Endian> flag set");
|
||||
|
||||
// Inject the declarations into the parent
|
||||
static gsi::ClassExt<QAudioFormat> inject_QAudioFormat_Endian_Enum_in_parent (decl_QAudioFormat_Endian_Enum.defs ());
|
||||
static gsi::ClassExt<QAudioFormat> decl_QAudioFormat_Endian_Enum_as_child (decl_QAudioFormat_Endian_Enum, "Endian");
|
||||
static gsi::ClassExt<QAudioFormat> decl_QAudioFormat_Endian_Enums_as_child (decl_QAudioFormat_Endian_Enums, "QFlags_Endian");
|
||||
|
||||
}
|
||||
|
||||
|
||||
// Implementation of the enum wrapper class for QAudioFormat::SampleType
|
||||
namespace qt_gsi
|
||||
{
|
||||
|
||||
static gsi::Enum<QAudioFormat::SampleType> decl_QAudioFormat_SampleType_Enum ("QAudioFormat_SampleType",
|
||||
gsi::enum_const ("Unknown", QAudioFormat::Unknown, "@brief Enum constant QAudioFormat::Unknown") +
|
||||
gsi::enum_const ("SignedInt", QAudioFormat::SignedInt, "@brief Enum constant QAudioFormat::SignedInt") +
|
||||
gsi::enum_const ("UnSignedInt", QAudioFormat::UnSignedInt, "@brief Enum constant QAudioFormat::UnSignedInt") +
|
||||
gsi::enum_const ("Float", QAudioFormat::Float, "@brief Enum constant QAudioFormat::Float"),
|
||||
"@qt\n@brief This class represents the QAudioFormat::SampleType enum");
|
||||
|
||||
static gsi::QFlagsClass<QAudioFormat::SampleType > decl_QAudioFormat_SampleType_Enums ("QAudioFormat_QFlags_SampleType",
|
||||
"@qt\n@brief This class represents the QFlags<QAudioFormat::SampleType> flag set");
|
||||
|
||||
// Inject the declarations into the parent
|
||||
static gsi::ClassExt<QAudioFormat> inject_QAudioFormat_SampleType_Enum_in_parent (decl_QAudioFormat_SampleType_Enum.defs ());
|
||||
static gsi::ClassExt<QAudioFormat> decl_QAudioFormat_SampleType_Enum_as_child (decl_QAudioFormat_SampleType_Enum, "SampleType");
|
||||
static gsi::ClassExt<QAudioFormat> decl_QAudioFormat_SampleType_Enums_as_child (decl_QAudioFormat_SampleType_Enums, "QFlags_SampleType");
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,984 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAudioInput.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAudioInput>
|
||||
#include <QAudioDeviceInfo>
|
||||
#include <QAudioFormat>
|
||||
#include <QChildEvent>
|
||||
#include <QEvent>
|
||||
#include <QIODevice>
|
||||
#include <QMetaMethod>
|
||||
#include <QObject>
|
||||
#include <QThread>
|
||||
#include <QTimerEvent>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAudioInput
|
||||
|
||||
// get static meta object
|
||||
|
||||
static void _init_smo (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return<const QMetaObject &> ();
|
||||
}
|
||||
|
||||
static void _call_smo (const qt_gsi::GenericStaticMethod *, gsi::SerialArgs &, gsi::SerialArgs &ret)
|
||||
{
|
||||
ret.write<const QMetaObject &> (QAudioInput::staticMetaObject);
|
||||
}
|
||||
|
||||
|
||||
// int QAudioInput::bufferSize()
|
||||
|
||||
|
||||
static void _init_f_bufferSize_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_bufferSize_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAudioInput *)cls)->bufferSize ());
|
||||
}
|
||||
|
||||
|
||||
// int QAudioInput::bytesReady()
|
||||
|
||||
|
||||
static void _init_f_bytesReady_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_bytesReady_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAudioInput *)cls)->bytesReady ());
|
||||
}
|
||||
|
||||
|
||||
// qint64 QAudioInput::elapsedUSecs()
|
||||
|
||||
|
||||
static void _init_f_elapsedUSecs_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<qint64 > ();
|
||||
}
|
||||
|
||||
static void _call_f_elapsedUSecs_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<qint64 > ((qint64)((QAudioInput *)cls)->elapsedUSecs ());
|
||||
}
|
||||
|
||||
|
||||
// QAudio::Error QAudioInput::error()
|
||||
|
||||
|
||||
static void _init_f_error_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<qt_gsi::Converter<QAudio::Error>::target_type > ();
|
||||
}
|
||||
|
||||
static void _call_f_error_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<qt_gsi::Converter<QAudio::Error>::target_type > ((qt_gsi::Converter<QAudio::Error>::target_type)qt_gsi::CppToQtAdaptor<QAudio::Error>(((QAudioInput *)cls)->error ()));
|
||||
}
|
||||
|
||||
|
||||
// QAudioFormat QAudioInput::format()
|
||||
|
||||
|
||||
static void _init_f_format_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QAudioFormat > ();
|
||||
}
|
||||
|
||||
static void _call_f_format_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAudioFormat > ((QAudioFormat)((QAudioInput *)cls)->format ());
|
||||
}
|
||||
|
||||
|
||||
// int QAudioInput::notifyInterval()
|
||||
|
||||
|
||||
static void _init_f_notifyInterval_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_notifyInterval_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAudioInput *)cls)->notifyInterval ());
|
||||
}
|
||||
|
||||
|
||||
// int QAudioInput::periodSize()
|
||||
|
||||
|
||||
static void _init_f_periodSize_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_periodSize_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAudioInput *)cls)->periodSize ());
|
||||
}
|
||||
|
||||
|
||||
// qint64 QAudioInput::processedUSecs()
|
||||
|
||||
|
||||
static void _init_f_processedUSecs_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<qint64 > ();
|
||||
}
|
||||
|
||||
static void _call_f_processedUSecs_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<qint64 > ((qint64)((QAudioInput *)cls)->processedUSecs ());
|
||||
}
|
||||
|
||||
|
||||
// void QAudioInput::reset()
|
||||
|
||||
|
||||
static void _init_f_reset_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_reset_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioInput *)cls)->reset ();
|
||||
}
|
||||
|
||||
|
||||
// void QAudioInput::resume()
|
||||
|
||||
|
||||
static void _init_f_resume_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_resume_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioInput *)cls)->resume ();
|
||||
}
|
||||
|
||||
|
||||
// void QAudioInput::setBufferSize(int bytes)
|
||||
|
||||
|
||||
static void _init_f_setBufferSize_767 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("bytes");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setBufferSize_767 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioInput *)cls)->setBufferSize (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAudioInput::setNotifyInterval(int milliSeconds)
|
||||
|
||||
|
||||
static void _init_f_setNotifyInterval_767 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("milliSeconds");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setNotifyInterval_767 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioInput *)cls)->setNotifyInterval (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAudioInput::setVolume(double volume)
|
||||
|
||||
|
||||
static void _init_f_setVolume_1071 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("volume");
|
||||
decl->add_arg<double > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setVolume_1071 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
double arg1 = args.read<double > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioInput *)cls)->setVolume (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAudioInput::start(QIODevice *device)
|
||||
|
||||
|
||||
static void _init_f_start_1447 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("device");
|
||||
decl->add_arg<QIODevice * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_start_1447 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QIODevice *arg1 = args.read<QIODevice * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioInput *)cls)->start (arg1);
|
||||
}
|
||||
|
||||
|
||||
// QIODevice *QAudioInput::start()
|
||||
|
||||
|
||||
static void _init_f_start_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QIODevice * > ();
|
||||
}
|
||||
|
||||
static void _call_f_start_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QIODevice * > ((QIODevice *)((QAudioInput *)cls)->start ());
|
||||
}
|
||||
|
||||
|
||||
// QAudio::State QAudioInput::state()
|
||||
|
||||
|
||||
static void _init_f_state_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<qt_gsi::Converter<QAudio::State>::target_type > ();
|
||||
}
|
||||
|
||||
static void _call_f_state_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<qt_gsi::Converter<QAudio::State>::target_type > ((qt_gsi::Converter<QAudio::State>::target_type)qt_gsi::CppToQtAdaptor<QAudio::State>(((QAudioInput *)cls)->state ()));
|
||||
}
|
||||
|
||||
|
||||
// void QAudioInput::stop()
|
||||
|
||||
|
||||
static void _init_f_stop_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_stop_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioInput *)cls)->stop ();
|
||||
}
|
||||
|
||||
|
||||
// void QAudioInput::suspend()
|
||||
|
||||
|
||||
static void _init_f_suspend_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_suspend_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioInput *)cls)->suspend ();
|
||||
}
|
||||
|
||||
|
||||
// double QAudioInput::volume()
|
||||
|
||||
|
||||
static void _init_f_volume_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<double > ();
|
||||
}
|
||||
|
||||
static void _call_f_volume_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<double > ((double)((QAudioInput *)cls)->volume ());
|
||||
}
|
||||
|
||||
|
||||
// static QString QAudioInput::tr(const char *s, const char *c, int n)
|
||||
|
||||
|
||||
static void _init_f_tr_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("s");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("c", true, "__null");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_tr_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(__null);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QAudioInput::tr (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
// static QString QAudioInput::trUtf8(const char *s, const char *c, int n)
|
||||
|
||||
|
||||
static void _init_f_trUtf8_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("s");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("c", true, "__null");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_trUtf8_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(__null);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QAudioInput::trUtf8 (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAudioInput () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("staticMetaObject", "@brief Obtains the static MetaObject for this class.", &_init_smo, &_call_smo);
|
||||
methods += new qt_gsi::GenericMethod (":bufferSize", "@brief Method int QAudioInput::bufferSize()\n", true, &_init_f_bufferSize_c0, &_call_f_bufferSize_c0);
|
||||
methods += new qt_gsi::GenericMethod ("bytesReady", "@brief Method int QAudioInput::bytesReady()\n", true, &_init_f_bytesReady_c0, &_call_f_bytesReady_c0);
|
||||
methods += new qt_gsi::GenericMethod ("elapsedUSecs", "@brief Method qint64 QAudioInput::elapsedUSecs()\n", true, &_init_f_elapsedUSecs_c0, &_call_f_elapsedUSecs_c0);
|
||||
methods += new qt_gsi::GenericMethod ("error", "@brief Method QAudio::Error QAudioInput::error()\n", true, &_init_f_error_c0, &_call_f_error_c0);
|
||||
methods += new qt_gsi::GenericMethod ("format", "@brief Method QAudioFormat QAudioInput::format()\n", true, &_init_f_format_c0, &_call_f_format_c0);
|
||||
methods += new qt_gsi::GenericMethod (":notifyInterval", "@brief Method int QAudioInput::notifyInterval()\n", true, &_init_f_notifyInterval_c0, &_call_f_notifyInterval_c0);
|
||||
methods += new qt_gsi::GenericMethod ("periodSize", "@brief Method int QAudioInput::periodSize()\n", true, &_init_f_periodSize_c0, &_call_f_periodSize_c0);
|
||||
methods += new qt_gsi::GenericMethod ("processedUSecs", "@brief Method qint64 QAudioInput::processedUSecs()\n", true, &_init_f_processedUSecs_c0, &_call_f_processedUSecs_c0);
|
||||
methods += new qt_gsi::GenericMethod ("reset", "@brief Method void QAudioInput::reset()\n", false, &_init_f_reset_0, &_call_f_reset_0);
|
||||
methods += new qt_gsi::GenericMethod ("resume", "@brief Method void QAudioInput::resume()\n", false, &_init_f_resume_0, &_call_f_resume_0);
|
||||
methods += new qt_gsi::GenericMethod ("setBufferSize|bufferSize=", "@brief Method void QAudioInput::setBufferSize(int bytes)\n", false, &_init_f_setBufferSize_767, &_call_f_setBufferSize_767);
|
||||
methods += new qt_gsi::GenericMethod ("setNotifyInterval|notifyInterval=", "@brief Method void QAudioInput::setNotifyInterval(int milliSeconds)\n", false, &_init_f_setNotifyInterval_767, &_call_f_setNotifyInterval_767);
|
||||
methods += new qt_gsi::GenericMethod ("setVolume|volume=", "@brief Method void QAudioInput::setVolume(double volume)\n", false, &_init_f_setVolume_1071, &_call_f_setVolume_1071);
|
||||
methods += new qt_gsi::GenericMethod ("start", "@brief Method void QAudioInput::start(QIODevice *device)\n", false, &_init_f_start_1447, &_call_f_start_1447);
|
||||
methods += new qt_gsi::GenericMethod ("start", "@brief Method QIODevice *QAudioInput::start()\n", false, &_init_f_start_0, &_call_f_start_0);
|
||||
methods += new qt_gsi::GenericMethod ("state", "@brief Method QAudio::State QAudioInput::state()\n", true, &_init_f_state_c0, &_call_f_state_c0);
|
||||
methods += new qt_gsi::GenericMethod ("stop", "@brief Method void QAudioInput::stop()\n", false, &_init_f_stop_0, &_call_f_stop_0);
|
||||
methods += new qt_gsi::GenericMethod ("suspend", "@brief Method void QAudioInput::suspend()\n", false, &_init_f_suspend_0, &_call_f_suspend_0);
|
||||
methods += new qt_gsi::GenericMethod (":volume", "@brief Method double QAudioInput::volume()\n", true, &_init_f_volume_c0, &_call_f_volume_c0);
|
||||
methods += gsi::qt_signal<QObject * > ("destroyed(QObject *)", "destroyed", gsi::arg("arg1"), "@brief Signal declaration for QAudioInput::destroyed(QObject *)\nYou can bind a procedure to this signal.");
|
||||
methods += gsi::qt_signal ("notify()", "notify", "@brief Signal declaration for QAudioInput::notify()\nYou can bind a procedure to this signal.");
|
||||
methods += gsi::qt_signal<const qt_gsi::Converter<QAudio::State>::target_type & > ("stateChanged(QAudio::State)", "stateChanged", gsi::arg("arg1"), "@brief Signal declaration for QAudioInput::stateChanged(QAudio::State)\nYou can bind a procedure to this signal.");
|
||||
methods += new qt_gsi::GenericStaticMethod ("tr", "@brief Static method QString QAudioInput::tr(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_tr_4013, &_call_f_tr_4013);
|
||||
methods += new qt_gsi::GenericStaticMethod ("trUtf8", "@brief Static method QString QAudioInput::trUtf8(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_trUtf8_4013, &_call_f_trUtf8_4013);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QObject> &qtdecl_QObject ();
|
||||
|
||||
qt_gsi::QtNativeClass<QAudioInput> decl_QAudioInput (qtdecl_QObject (), "QAudioInput_Native",
|
||||
methods_QAudioInput (),
|
||||
"@hide\n@alias QAudioInput");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAudioInput> &qtdecl_QAudioInput () { return decl_QAudioInput; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QAudioInput_Adaptor : public QAudioInput, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QAudioInput_Adaptor();
|
||||
|
||||
// [adaptor ctor] QAudioInput::QAudioInput(const QAudioFormat &format, QObject *parent)
|
||||
QAudioInput_Adaptor() : QAudioInput()
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor ctor] QAudioInput::QAudioInput(const QAudioFormat &format, QObject *parent)
|
||||
QAudioInput_Adaptor(const QAudioFormat &format) : QAudioInput(format)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor ctor] QAudioInput::QAudioInput(const QAudioFormat &format, QObject *parent)
|
||||
QAudioInput_Adaptor(const QAudioFormat &format, QObject *parent) : QAudioInput(format, parent)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor ctor] QAudioInput::QAudioInput(const QAudioDeviceInfo &audioDeviceInfo, const QAudioFormat &format, QObject *parent)
|
||||
QAudioInput_Adaptor(const QAudioDeviceInfo &audioDeviceInfo) : QAudioInput(audioDeviceInfo)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor ctor] QAudioInput::QAudioInput(const QAudioDeviceInfo &audioDeviceInfo, const QAudioFormat &format, QObject *parent)
|
||||
QAudioInput_Adaptor(const QAudioDeviceInfo &audioDeviceInfo, const QAudioFormat &format) : QAudioInput(audioDeviceInfo, format)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor ctor] QAudioInput::QAudioInput(const QAudioDeviceInfo &audioDeviceInfo, const QAudioFormat &format, QObject *parent)
|
||||
QAudioInput_Adaptor(const QAudioDeviceInfo &audioDeviceInfo, const QAudioFormat &format, QObject *parent) : QAudioInput(audioDeviceInfo, format, parent)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [expose] bool QAudioInput::isSignalConnected(const QMetaMethod &signal)
|
||||
bool fp_QAudioInput_isSignalConnected_c2394 (const QMetaMethod &signal) const {
|
||||
return QAudioInput::isSignalConnected(signal);
|
||||
}
|
||||
|
||||
// [expose] int QAudioInput::receivers(const char *signal)
|
||||
int fp_QAudioInput_receivers_c1731 (const char *signal) const {
|
||||
return QAudioInput::receivers(signal);
|
||||
}
|
||||
|
||||
// [expose] QObject *QAudioInput::sender()
|
||||
QObject * fp_QAudioInput_sender_c0 () const {
|
||||
return QAudioInput::sender();
|
||||
}
|
||||
|
||||
// [expose] int QAudioInput::senderSignalIndex()
|
||||
int fp_QAudioInput_senderSignalIndex_c0 () const {
|
||||
return QAudioInput::senderSignalIndex();
|
||||
}
|
||||
|
||||
// [emitter impl] void QAudioInput::destroyed(QObject *)
|
||||
void emitter_QAudioInput_destroyed_1302(QObject *arg1)
|
||||
{
|
||||
emit QAudioInput::destroyed(arg1);
|
||||
}
|
||||
|
||||
// [adaptor impl] bool QAudioInput::event(QEvent *)
|
||||
bool cbs_event_1217_0(QEvent *arg1)
|
||||
{
|
||||
return QAudioInput::event(arg1);
|
||||
}
|
||||
|
||||
virtual bool event(QEvent *arg1)
|
||||
{
|
||||
if (cb_event_1217_0.can_issue()) {
|
||||
return cb_event_1217_0.issue<QAudioInput_Adaptor, bool, QEvent *>(&QAudioInput_Adaptor::cbs_event_1217_0, arg1);
|
||||
} else {
|
||||
return QAudioInput::event(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] bool QAudioInput::eventFilter(QObject *, QEvent *)
|
||||
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
|
||||
{
|
||||
return QAudioInput::eventFilter(arg1, arg2);
|
||||
}
|
||||
|
||||
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
|
||||
{
|
||||
if (cb_eventFilter_2411_0.can_issue()) {
|
||||
return cb_eventFilter_2411_0.issue<QAudioInput_Adaptor, bool, QObject *, QEvent *>(&QAudioInput_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
|
||||
} else {
|
||||
return QAudioInput::eventFilter(arg1, arg2);
|
||||
}
|
||||
}
|
||||
|
||||
// [emitter impl] void QAudioInput::notify()
|
||||
void emitter_QAudioInput_notify_0()
|
||||
{
|
||||
emit QAudioInput::notify();
|
||||
}
|
||||
|
||||
// [emitter impl] void QAudioInput::stateChanged(QAudio::State)
|
||||
void emitter_QAudioInput_stateChanged_1644(QAudio::State arg1)
|
||||
{
|
||||
emit QAudioInput::stateChanged(arg1);
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAudioInput::childEvent(QChildEvent *)
|
||||
void cbs_childEvent_1701_0(QChildEvent *arg1)
|
||||
{
|
||||
QAudioInput::childEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void childEvent(QChildEvent *arg1)
|
||||
{
|
||||
if (cb_childEvent_1701_0.can_issue()) {
|
||||
cb_childEvent_1701_0.issue<QAudioInput_Adaptor, QChildEvent *>(&QAudioInput_Adaptor::cbs_childEvent_1701_0, arg1);
|
||||
} else {
|
||||
QAudioInput::childEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAudioInput::customEvent(QEvent *)
|
||||
void cbs_customEvent_1217_0(QEvent *arg1)
|
||||
{
|
||||
QAudioInput::customEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void customEvent(QEvent *arg1)
|
||||
{
|
||||
if (cb_customEvent_1217_0.can_issue()) {
|
||||
cb_customEvent_1217_0.issue<QAudioInput_Adaptor, QEvent *>(&QAudioInput_Adaptor::cbs_customEvent_1217_0, arg1);
|
||||
} else {
|
||||
QAudioInput::customEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAudioInput::disconnectNotify(const QMetaMethod &signal)
|
||||
void cbs_disconnectNotify_2394_0(const QMetaMethod &signal)
|
||||
{
|
||||
QAudioInput::disconnectNotify(signal);
|
||||
}
|
||||
|
||||
virtual void disconnectNotify(const QMetaMethod &signal)
|
||||
{
|
||||
if (cb_disconnectNotify_2394_0.can_issue()) {
|
||||
cb_disconnectNotify_2394_0.issue<QAudioInput_Adaptor, const QMetaMethod &>(&QAudioInput_Adaptor::cbs_disconnectNotify_2394_0, signal);
|
||||
} else {
|
||||
QAudioInput::disconnectNotify(signal);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAudioInput::timerEvent(QTimerEvent *)
|
||||
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
|
||||
{
|
||||
QAudioInput::timerEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void timerEvent(QTimerEvent *arg1)
|
||||
{
|
||||
if (cb_timerEvent_1730_0.can_issue()) {
|
||||
cb_timerEvent_1730_0.issue<QAudioInput_Adaptor, QTimerEvent *>(&QAudioInput_Adaptor::cbs_timerEvent_1730_0, arg1);
|
||||
} else {
|
||||
QAudioInput::timerEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_event_1217_0;
|
||||
gsi::Callback cb_eventFilter_2411_0;
|
||||
gsi::Callback cb_childEvent_1701_0;
|
||||
gsi::Callback cb_customEvent_1217_0;
|
||||
gsi::Callback cb_disconnectNotify_2394_0;
|
||||
gsi::Callback cb_timerEvent_1730_0;
|
||||
};
|
||||
|
||||
QAudioInput_Adaptor::~QAudioInput_Adaptor() { }
|
||||
|
||||
// Constructor QAudioInput::QAudioInput(const QAudioFormat &format, QObject *parent) (adaptor class)
|
||||
|
||||
static void _init_ctor_QAudioInput_Adaptor_3703 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("format", true, "QAudioFormat()");
|
||||
decl->add_arg<const QAudioFormat & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("parent", true, "0");
|
||||
decl->add_arg<QObject * > (argspec_1);
|
||||
decl->set_return_new<QAudioInput_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAudioInput_Adaptor_3703 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QAudioFormat &arg1 = args ? args.read<const QAudioFormat & > (heap) : (const QAudioFormat &)(QAudioFormat());
|
||||
QObject *arg2 = args ? args.read<QObject * > (heap) : (QObject *)(0);
|
||||
ret.write<QAudioInput_Adaptor *> (new QAudioInput_Adaptor (arg1, arg2));
|
||||
}
|
||||
|
||||
|
||||
// Constructor QAudioInput::QAudioInput(const QAudioDeviceInfo &audioDeviceInfo, const QAudioFormat &format, QObject *parent) (adaptor class)
|
||||
|
||||
static void _init_ctor_QAudioInput_Adaptor_6475 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("audioDeviceInfo");
|
||||
decl->add_arg<const QAudioDeviceInfo & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("format", true, "QAudioFormat()");
|
||||
decl->add_arg<const QAudioFormat & > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("parent", true, "0");
|
||||
decl->add_arg<QObject * > (argspec_2);
|
||||
decl->set_return_new<QAudioInput_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAudioInput_Adaptor_6475 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QAudioDeviceInfo &arg1 = args.read<const QAudioDeviceInfo & > (heap);
|
||||
const QAudioFormat &arg2 = args ? args.read<const QAudioFormat & > (heap) : (const QAudioFormat &)(QAudioFormat());
|
||||
QObject *arg3 = args ? args.read<QObject * > (heap) : (QObject *)(0);
|
||||
ret.write<QAudioInput_Adaptor *> (new QAudioInput_Adaptor (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
// void QAudioInput::childEvent(QChildEvent *)
|
||||
|
||||
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QChildEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_childEvent_1701_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QChildEvent *arg1 = args.read<QChildEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioInput_Adaptor *)cls)->cbs_childEvent_1701_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioInput_Adaptor *)cls)->cb_childEvent_1701_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAudioInput::customEvent(QEvent *)
|
||||
|
||||
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_customEvent_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioInput_Adaptor *)cls)->cbs_customEvent_1217_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioInput_Adaptor *)cls)->cb_customEvent_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// emitter void QAudioInput::destroyed(QObject *)
|
||||
|
||||
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args ? args.read<QObject * > (heap) : (QObject *)(0);
|
||||
((QAudioInput_Adaptor *)cls)->emitter_QAudioInput_destroyed_1302 (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAudioInput::disconnectNotify(const QMetaMethod &signal)
|
||||
|
||||
static void _init_cbs_disconnectNotify_2394_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("signal");
|
||||
decl->add_arg<const QMetaMethod & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_disconnectNotify_2394_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QMetaMethod &arg1 = args.read<const QMetaMethod & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioInput_Adaptor *)cls)->cbs_disconnectNotify_2394_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_disconnectNotify_2394_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioInput_Adaptor *)cls)->cb_disconnectNotify_2394_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// bool QAudioInput::event(QEvent *)
|
||||
|
||||
static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_event_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
ret.write<bool > ((bool)((QAudioInput_Adaptor *)cls)->cbs_event_1217_0 (arg1));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioInput_Adaptor *)cls)->cb_event_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// bool QAudioInput::eventFilter(QObject *, QEvent *)
|
||||
|
||||
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("arg2");
|
||||
decl->add_arg<QEvent * > (argspec_1);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_eventFilter_2411_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args.read<QObject * > (heap);
|
||||
QEvent *arg2 = args.read<QEvent * > (heap);
|
||||
ret.write<bool > ((bool)((QAudioInput_Adaptor *)cls)->cbs_eventFilter_2411_0 (arg1, arg2));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_eventFilter_2411_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioInput_Adaptor *)cls)->cb_eventFilter_2411_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// exposed bool QAudioInput::isSignalConnected(const QMetaMethod &signal)
|
||||
|
||||
static void _init_fp_isSignalConnected_c2394 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("signal");
|
||||
decl->add_arg<const QMetaMethod & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_fp_isSignalConnected_c2394 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QMetaMethod &arg1 = args.read<const QMetaMethod & > (heap);
|
||||
ret.write<bool > ((bool)((QAudioInput_Adaptor *)cls)->fp_QAudioInput_isSignalConnected_c2394 (arg1));
|
||||
}
|
||||
|
||||
|
||||
// emitter void QAudioInput::notify()
|
||||
|
||||
static void _init_emitter_notify_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_notify_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
((QAudioInput_Adaptor *)cls)->emitter_QAudioInput_notify_0 ();
|
||||
}
|
||||
|
||||
|
||||
// exposed int QAudioInput::receivers(const char *signal)
|
||||
|
||||
static void _init_fp_receivers_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_fp_receivers_c1731 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
ret.write<int > ((int)((QAudioInput_Adaptor *)cls)->fp_QAudioInput_receivers_c1731 (arg1));
|
||||
}
|
||||
|
||||
|
||||
// exposed QObject *QAudioInput::sender()
|
||||
|
||||
static void _init_fp_sender_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QObject * > ();
|
||||
}
|
||||
|
||||
static void _call_fp_sender_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QObject * > ((QObject *)((QAudioInput_Adaptor *)cls)->fp_QAudioInput_sender_c0 ());
|
||||
}
|
||||
|
||||
|
||||
// exposed int QAudioInput::senderSignalIndex()
|
||||
|
||||
static void _init_fp_senderSignalIndex_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_fp_senderSignalIndex_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAudioInput_Adaptor *)cls)->fp_QAudioInput_senderSignalIndex_c0 ());
|
||||
}
|
||||
|
||||
|
||||
// emitter void QAudioInput::stateChanged(QAudio::State)
|
||||
|
||||
static void _init_emitter_stateChanged_1644 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<const qt_gsi::Converter<QAudio::State>::target_type & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_stateChanged_1644 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const qt_gsi::Converter<QAudio::State>::target_type & arg1 = args.read<const qt_gsi::Converter<QAudio::State>::target_type & > (heap);
|
||||
((QAudioInput_Adaptor *)cls)->emitter_QAudioInput_stateChanged_1644 (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAudioInput::timerEvent(QTimerEvent *)
|
||||
|
||||
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QTimerEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_timerEvent_1730_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QTimerEvent *arg1 = args.read<QTimerEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioInput_Adaptor *)cls)->cbs_timerEvent_1730_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_timerEvent_1730_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioInput_Adaptor *)cls)->cb_timerEvent_1730_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QAudioInput> &qtdecl_QAudioInput ();
|
||||
|
||||
static gsi::Methods methods_QAudioInput_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAudioInput::QAudioInput(const QAudioFormat &format, QObject *parent)\nThis method creates an object of class QAudioInput.", &_init_ctor_QAudioInput_Adaptor_3703, &_call_ctor_QAudioInput_Adaptor_3703);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAudioInput::QAudioInput(const QAudioDeviceInfo &audioDeviceInfo, const QAudioFormat &format, QObject *parent)\nThis method creates an object of class QAudioInput.", &_init_ctor_QAudioInput_Adaptor_6475, &_call_ctor_QAudioInput_Adaptor_6475);
|
||||
methods += new qt_gsi::GenericMethod ("*childEvent", "@hide", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0);
|
||||
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QAudioInput::childEvent(QChildEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0, &_set_callback_cbs_childEvent_1701_0);
|
||||
methods += new qt_gsi::GenericMethod ("*customEvent", "@hide", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("*customEvent", "@brief Virtual method void QAudioInput::customEvent(QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0, &_set_callback_cbs_customEvent_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("emit_destroyed", "@brief Emitter for signal void QAudioInput::destroyed(QObject *)\nCall this method to emit this signal.", false, &_init_emitter_destroyed_1302, &_call_emitter_destroyed_1302);
|
||||
methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@hide", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0);
|
||||
methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@brief Virtual method void QAudioInput::disconnectNotify(const QMetaMethod &signal)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0, &_set_callback_cbs_disconnectNotify_2394_0);
|
||||
methods += new qt_gsi::GenericMethod ("event", "@hide", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("event", "@brief Virtual method bool QAudioInput::event(QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0, &_set_callback_cbs_event_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("eventFilter", "@hide", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0);
|
||||
methods += new qt_gsi::GenericMethod ("eventFilter", "@brief Virtual method bool QAudioInput::eventFilter(QObject *, QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0, &_set_callback_cbs_eventFilter_2411_0);
|
||||
methods += new qt_gsi::GenericMethod ("*isSignalConnected", "@brief Method bool QAudioInput::isSignalConnected(const QMetaMethod &signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_isSignalConnected_c2394, &_call_fp_isSignalConnected_c2394);
|
||||
methods += new qt_gsi::GenericMethod ("emit_notify", "@brief Emitter for signal void QAudioInput::notify()\nCall this method to emit this signal.", false, &_init_emitter_notify_0, &_call_emitter_notify_0);
|
||||
methods += new qt_gsi::GenericMethod ("*receivers", "@brief Method int QAudioInput::receivers(const char *signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_receivers_c1731, &_call_fp_receivers_c1731);
|
||||
methods += new qt_gsi::GenericMethod ("*sender", "@brief Method QObject *QAudioInput::sender()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_sender_c0, &_call_fp_sender_c0);
|
||||
methods += new qt_gsi::GenericMethod ("*senderSignalIndex", "@brief Method int QAudioInput::senderSignalIndex()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_senderSignalIndex_c0, &_call_fp_senderSignalIndex_c0);
|
||||
methods += new qt_gsi::GenericMethod ("emit_stateChanged", "@brief Emitter for signal void QAudioInput::stateChanged(QAudio::State)\nCall this method to emit this signal.", false, &_init_emitter_stateChanged_1644, &_call_emitter_stateChanged_1644);
|
||||
methods += new qt_gsi::GenericMethod ("*timerEvent", "@hide", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0);
|
||||
methods += new qt_gsi::GenericMethod ("*timerEvent", "@brief Virtual method void QAudioInput::timerEvent(QTimerEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0, &_set_callback_cbs_timerEvent_1730_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAudioInput_Adaptor> decl_QAudioInput_Adaptor (qtdecl_QAudioInput (), "QAudioInput",
|
||||
methods_QAudioInput_Adaptor (),
|
||||
"@qt\n@brief Binding of QAudioInput");
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,855 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAudioInputSelectorControl.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAudioInputSelectorControl>
|
||||
#include <QChildEvent>
|
||||
#include <QEvent>
|
||||
#include <QMetaMethod>
|
||||
#include <QObject>
|
||||
#include <QThread>
|
||||
#include <QTimerEvent>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAudioInputSelectorControl
|
||||
|
||||
// get static meta object
|
||||
|
||||
static void _init_smo (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return<const QMetaObject &> ();
|
||||
}
|
||||
|
||||
static void _call_smo (const qt_gsi::GenericStaticMethod *, gsi::SerialArgs &, gsi::SerialArgs &ret)
|
||||
{
|
||||
ret.write<const QMetaObject &> (QAudioInputSelectorControl::staticMetaObject);
|
||||
}
|
||||
|
||||
|
||||
// QString QAudioInputSelectorControl::activeInput()
|
||||
|
||||
|
||||
static void _init_f_activeInput_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_activeInput_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QString > ((QString)((QAudioInputSelectorControl *)cls)->activeInput ());
|
||||
}
|
||||
|
||||
|
||||
// QList<QString> QAudioInputSelectorControl::availableInputs()
|
||||
|
||||
|
||||
static void _init_f_availableInputs_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QList<QString> > ();
|
||||
}
|
||||
|
||||
static void _call_f_availableInputs_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QList<QString> > ((QList<QString>)((QAudioInputSelectorControl *)cls)->availableInputs ());
|
||||
}
|
||||
|
||||
|
||||
// QString QAudioInputSelectorControl::defaultInput()
|
||||
|
||||
|
||||
static void _init_f_defaultInput_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_defaultInput_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QString > ((QString)((QAudioInputSelectorControl *)cls)->defaultInput ());
|
||||
}
|
||||
|
||||
|
||||
// QString QAudioInputSelectorControl::inputDescription(const QString &name)
|
||||
|
||||
|
||||
static void _init_f_inputDescription_c2025 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("name");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_inputDescription_c2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
ret.write<QString > ((QString)((QAudioInputSelectorControl *)cls)->inputDescription (arg1));
|
||||
}
|
||||
|
||||
|
||||
// void QAudioInputSelectorControl::setActiveInput(const QString &name)
|
||||
|
||||
|
||||
static void _init_f_setActiveInput_2025 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("name");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setActiveInput_2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioInputSelectorControl *)cls)->setActiveInput (arg1);
|
||||
}
|
||||
|
||||
|
||||
// static QString QAudioInputSelectorControl::tr(const char *s, const char *c, int n)
|
||||
|
||||
|
||||
static void _init_f_tr_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("s");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("c", true, "__null");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_tr_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(__null);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QAudioInputSelectorControl::tr (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
// static QString QAudioInputSelectorControl::trUtf8(const char *s, const char *c, int n)
|
||||
|
||||
|
||||
static void _init_f_trUtf8_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("s");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("c", true, "__null");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_trUtf8_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(__null);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QAudioInputSelectorControl::trUtf8 (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAudioInputSelectorControl () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("staticMetaObject", "@brief Obtains the static MetaObject for this class.", &_init_smo, &_call_smo);
|
||||
methods += new qt_gsi::GenericMethod (":activeInput", "@brief Method QString QAudioInputSelectorControl::activeInput()\n", true, &_init_f_activeInput_c0, &_call_f_activeInput_c0);
|
||||
methods += new qt_gsi::GenericMethod ("availableInputs", "@brief Method QList<QString> QAudioInputSelectorControl::availableInputs()\n", true, &_init_f_availableInputs_c0, &_call_f_availableInputs_c0);
|
||||
methods += new qt_gsi::GenericMethod ("defaultInput", "@brief Method QString QAudioInputSelectorControl::defaultInput()\n", true, &_init_f_defaultInput_c0, &_call_f_defaultInput_c0);
|
||||
methods += new qt_gsi::GenericMethod ("inputDescription", "@brief Method QString QAudioInputSelectorControl::inputDescription(const QString &name)\n", true, &_init_f_inputDescription_c2025, &_call_f_inputDescription_c2025);
|
||||
methods += new qt_gsi::GenericMethod ("setActiveInput|activeInput=", "@brief Method void QAudioInputSelectorControl::setActiveInput(const QString &name)\n", false, &_init_f_setActiveInput_2025, &_call_f_setActiveInput_2025);
|
||||
methods += gsi::qt_signal<const QString & > ("activeInputChanged(const QString &)", "activeInputChanged", gsi::arg("name"), "@brief Signal declaration for QAudioInputSelectorControl::activeInputChanged(const QString &name)\nYou can bind a procedure to this signal.");
|
||||
methods += gsi::qt_signal ("availableInputsChanged()", "availableInputsChanged", "@brief Signal declaration for QAudioInputSelectorControl::availableInputsChanged()\nYou can bind a procedure to this signal.");
|
||||
methods += gsi::qt_signal<QObject * > ("destroyed(QObject *)", "destroyed", gsi::arg("arg1"), "@brief Signal declaration for QAudioInputSelectorControl::destroyed(QObject *)\nYou can bind a procedure to this signal.");
|
||||
methods += new qt_gsi::GenericStaticMethod ("tr", "@brief Static method QString QAudioInputSelectorControl::tr(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_tr_4013, &_call_f_tr_4013);
|
||||
methods += new qt_gsi::GenericStaticMethod ("trUtf8", "@brief Static method QString QAudioInputSelectorControl::trUtf8(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_trUtf8_4013, &_call_f_trUtf8_4013);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QMediaControl> &qtdecl_QMediaControl ();
|
||||
|
||||
qt_gsi::QtNativeClass<QAudioInputSelectorControl> decl_QAudioInputSelectorControl (qtdecl_QMediaControl (), "QAudioInputSelectorControl_Native",
|
||||
methods_QAudioInputSelectorControl (),
|
||||
"@hide\n@alias QAudioInputSelectorControl");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAudioInputSelectorControl> &qtdecl_QAudioInputSelectorControl () { return decl_QAudioInputSelectorControl; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QAudioInputSelectorControl_Adaptor : public QAudioInputSelectorControl, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QAudioInputSelectorControl_Adaptor();
|
||||
|
||||
// [expose] bool QAudioInputSelectorControl::isSignalConnected(const QMetaMethod &signal)
|
||||
bool fp_QAudioInputSelectorControl_isSignalConnected_c2394 (const QMetaMethod &signal) const {
|
||||
return QAudioInputSelectorControl::isSignalConnected(signal);
|
||||
}
|
||||
|
||||
// [expose] int QAudioInputSelectorControl::receivers(const char *signal)
|
||||
int fp_QAudioInputSelectorControl_receivers_c1731 (const char *signal) const {
|
||||
return QAudioInputSelectorControl::receivers(signal);
|
||||
}
|
||||
|
||||
// [expose] QObject *QAudioInputSelectorControl::sender()
|
||||
QObject * fp_QAudioInputSelectorControl_sender_c0 () const {
|
||||
return QAudioInputSelectorControl::sender();
|
||||
}
|
||||
|
||||
// [expose] int QAudioInputSelectorControl::senderSignalIndex()
|
||||
int fp_QAudioInputSelectorControl_senderSignalIndex_c0 () const {
|
||||
return QAudioInputSelectorControl::senderSignalIndex();
|
||||
}
|
||||
|
||||
// [adaptor impl] QString QAudioInputSelectorControl::activeInput()
|
||||
QString cbs_activeInput_c0_0() const
|
||||
{
|
||||
throw qt_gsi::AbstractMethodCalledException("activeInput");
|
||||
}
|
||||
|
||||
virtual QString activeInput() const
|
||||
{
|
||||
if (cb_activeInput_c0_0.can_issue()) {
|
||||
return cb_activeInput_c0_0.issue<QAudioInputSelectorControl_Adaptor, QString>(&QAudioInputSelectorControl_Adaptor::cbs_activeInput_c0_0);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("activeInput");
|
||||
}
|
||||
}
|
||||
|
||||
// [emitter impl] void QAudioInputSelectorControl::activeInputChanged(const QString &name)
|
||||
void emitter_QAudioInputSelectorControl_activeInputChanged_2025(const QString &name)
|
||||
{
|
||||
emit QAudioInputSelectorControl::activeInputChanged(name);
|
||||
}
|
||||
|
||||
// [adaptor impl] QList<QString> QAudioInputSelectorControl::availableInputs()
|
||||
QList<QString> cbs_availableInputs_c0_0() const
|
||||
{
|
||||
throw qt_gsi::AbstractMethodCalledException("availableInputs");
|
||||
}
|
||||
|
||||
virtual QList<QString> availableInputs() const
|
||||
{
|
||||
if (cb_availableInputs_c0_0.can_issue()) {
|
||||
return cb_availableInputs_c0_0.issue<QAudioInputSelectorControl_Adaptor, QList<QString> >(&QAudioInputSelectorControl_Adaptor::cbs_availableInputs_c0_0);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("availableInputs");
|
||||
}
|
||||
}
|
||||
|
||||
// [emitter impl] void QAudioInputSelectorControl::availableInputsChanged()
|
||||
void emitter_QAudioInputSelectorControl_availableInputsChanged_0()
|
||||
{
|
||||
emit QAudioInputSelectorControl::availableInputsChanged();
|
||||
}
|
||||
|
||||
// [adaptor impl] QString QAudioInputSelectorControl::defaultInput()
|
||||
QString cbs_defaultInput_c0_0() const
|
||||
{
|
||||
throw qt_gsi::AbstractMethodCalledException("defaultInput");
|
||||
}
|
||||
|
||||
virtual QString defaultInput() const
|
||||
{
|
||||
if (cb_defaultInput_c0_0.can_issue()) {
|
||||
return cb_defaultInput_c0_0.issue<QAudioInputSelectorControl_Adaptor, QString>(&QAudioInputSelectorControl_Adaptor::cbs_defaultInput_c0_0);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("defaultInput");
|
||||
}
|
||||
}
|
||||
|
||||
// [emitter impl] void QAudioInputSelectorControl::destroyed(QObject *)
|
||||
void emitter_QAudioInputSelectorControl_destroyed_1302(QObject *arg1)
|
||||
{
|
||||
emit QAudioInputSelectorControl::destroyed(arg1);
|
||||
}
|
||||
|
||||
// [adaptor impl] bool QAudioInputSelectorControl::event(QEvent *)
|
||||
bool cbs_event_1217_0(QEvent *arg1)
|
||||
{
|
||||
return QAudioInputSelectorControl::event(arg1);
|
||||
}
|
||||
|
||||
virtual bool event(QEvent *arg1)
|
||||
{
|
||||
if (cb_event_1217_0.can_issue()) {
|
||||
return cb_event_1217_0.issue<QAudioInputSelectorControl_Adaptor, bool, QEvent *>(&QAudioInputSelectorControl_Adaptor::cbs_event_1217_0, arg1);
|
||||
} else {
|
||||
return QAudioInputSelectorControl::event(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] bool QAudioInputSelectorControl::eventFilter(QObject *, QEvent *)
|
||||
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
|
||||
{
|
||||
return QAudioInputSelectorControl::eventFilter(arg1, arg2);
|
||||
}
|
||||
|
||||
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
|
||||
{
|
||||
if (cb_eventFilter_2411_0.can_issue()) {
|
||||
return cb_eventFilter_2411_0.issue<QAudioInputSelectorControl_Adaptor, bool, QObject *, QEvent *>(&QAudioInputSelectorControl_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
|
||||
} else {
|
||||
return QAudioInputSelectorControl::eventFilter(arg1, arg2);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] QString QAudioInputSelectorControl::inputDescription(const QString &name)
|
||||
QString cbs_inputDescription_c2025_0(const QString &name) const
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (name);
|
||||
throw qt_gsi::AbstractMethodCalledException("inputDescription");
|
||||
}
|
||||
|
||||
virtual QString inputDescription(const QString &name) const
|
||||
{
|
||||
if (cb_inputDescription_c2025_0.can_issue()) {
|
||||
return cb_inputDescription_c2025_0.issue<QAudioInputSelectorControl_Adaptor, QString, const QString &>(&QAudioInputSelectorControl_Adaptor::cbs_inputDescription_c2025_0, name);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("inputDescription");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAudioInputSelectorControl::setActiveInput(const QString &name)
|
||||
void cbs_setActiveInput_2025_0(const QString &name)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (name);
|
||||
throw qt_gsi::AbstractMethodCalledException("setActiveInput");
|
||||
}
|
||||
|
||||
virtual void setActiveInput(const QString &name)
|
||||
{
|
||||
if (cb_setActiveInput_2025_0.can_issue()) {
|
||||
cb_setActiveInput_2025_0.issue<QAudioInputSelectorControl_Adaptor, const QString &>(&QAudioInputSelectorControl_Adaptor::cbs_setActiveInput_2025_0, name);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("setActiveInput");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAudioInputSelectorControl::childEvent(QChildEvent *)
|
||||
void cbs_childEvent_1701_0(QChildEvent *arg1)
|
||||
{
|
||||
QAudioInputSelectorControl::childEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void childEvent(QChildEvent *arg1)
|
||||
{
|
||||
if (cb_childEvent_1701_0.can_issue()) {
|
||||
cb_childEvent_1701_0.issue<QAudioInputSelectorControl_Adaptor, QChildEvent *>(&QAudioInputSelectorControl_Adaptor::cbs_childEvent_1701_0, arg1);
|
||||
} else {
|
||||
QAudioInputSelectorControl::childEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAudioInputSelectorControl::customEvent(QEvent *)
|
||||
void cbs_customEvent_1217_0(QEvent *arg1)
|
||||
{
|
||||
QAudioInputSelectorControl::customEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void customEvent(QEvent *arg1)
|
||||
{
|
||||
if (cb_customEvent_1217_0.can_issue()) {
|
||||
cb_customEvent_1217_0.issue<QAudioInputSelectorControl_Adaptor, QEvent *>(&QAudioInputSelectorControl_Adaptor::cbs_customEvent_1217_0, arg1);
|
||||
} else {
|
||||
QAudioInputSelectorControl::customEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAudioInputSelectorControl::disconnectNotify(const QMetaMethod &signal)
|
||||
void cbs_disconnectNotify_2394_0(const QMetaMethod &signal)
|
||||
{
|
||||
QAudioInputSelectorControl::disconnectNotify(signal);
|
||||
}
|
||||
|
||||
virtual void disconnectNotify(const QMetaMethod &signal)
|
||||
{
|
||||
if (cb_disconnectNotify_2394_0.can_issue()) {
|
||||
cb_disconnectNotify_2394_0.issue<QAudioInputSelectorControl_Adaptor, const QMetaMethod &>(&QAudioInputSelectorControl_Adaptor::cbs_disconnectNotify_2394_0, signal);
|
||||
} else {
|
||||
QAudioInputSelectorControl::disconnectNotify(signal);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAudioInputSelectorControl::timerEvent(QTimerEvent *)
|
||||
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
|
||||
{
|
||||
QAudioInputSelectorControl::timerEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void timerEvent(QTimerEvent *arg1)
|
||||
{
|
||||
if (cb_timerEvent_1730_0.can_issue()) {
|
||||
cb_timerEvent_1730_0.issue<QAudioInputSelectorControl_Adaptor, QTimerEvent *>(&QAudioInputSelectorControl_Adaptor::cbs_timerEvent_1730_0, arg1);
|
||||
} else {
|
||||
QAudioInputSelectorControl::timerEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_activeInput_c0_0;
|
||||
gsi::Callback cb_availableInputs_c0_0;
|
||||
gsi::Callback cb_defaultInput_c0_0;
|
||||
gsi::Callback cb_event_1217_0;
|
||||
gsi::Callback cb_eventFilter_2411_0;
|
||||
gsi::Callback cb_inputDescription_c2025_0;
|
||||
gsi::Callback cb_setActiveInput_2025_0;
|
||||
gsi::Callback cb_childEvent_1701_0;
|
||||
gsi::Callback cb_customEvent_1217_0;
|
||||
gsi::Callback cb_disconnectNotify_2394_0;
|
||||
gsi::Callback cb_timerEvent_1730_0;
|
||||
};
|
||||
|
||||
QAudioInputSelectorControl_Adaptor::~QAudioInputSelectorControl_Adaptor() { }
|
||||
|
||||
// QString QAudioInputSelectorControl::activeInput()
|
||||
|
||||
static void _init_cbs_activeInput_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_activeInput_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QString > ((QString)((QAudioInputSelectorControl_Adaptor *)cls)->cbs_activeInput_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_activeInput_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioInputSelectorControl_Adaptor *)cls)->cb_activeInput_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// emitter void QAudioInputSelectorControl::activeInputChanged(const QString &name)
|
||||
|
||||
static void _init_emitter_activeInputChanged_2025 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("name");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_activeInputChanged_2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
((QAudioInputSelectorControl_Adaptor *)cls)->emitter_QAudioInputSelectorControl_activeInputChanged_2025 (arg1);
|
||||
}
|
||||
|
||||
|
||||
// QList<QString> QAudioInputSelectorControl::availableInputs()
|
||||
|
||||
static void _init_cbs_availableInputs_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QList<QString> > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_availableInputs_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QList<QString> > ((QList<QString>)((QAudioInputSelectorControl_Adaptor *)cls)->cbs_availableInputs_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_availableInputs_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioInputSelectorControl_Adaptor *)cls)->cb_availableInputs_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// emitter void QAudioInputSelectorControl::availableInputsChanged()
|
||||
|
||||
static void _init_emitter_availableInputsChanged_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_availableInputsChanged_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
((QAudioInputSelectorControl_Adaptor *)cls)->emitter_QAudioInputSelectorControl_availableInputsChanged_0 ();
|
||||
}
|
||||
|
||||
|
||||
// void QAudioInputSelectorControl::childEvent(QChildEvent *)
|
||||
|
||||
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QChildEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_childEvent_1701_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QChildEvent *arg1 = args.read<QChildEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioInputSelectorControl_Adaptor *)cls)->cbs_childEvent_1701_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioInputSelectorControl_Adaptor *)cls)->cb_childEvent_1701_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAudioInputSelectorControl::customEvent(QEvent *)
|
||||
|
||||
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_customEvent_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioInputSelectorControl_Adaptor *)cls)->cbs_customEvent_1217_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioInputSelectorControl_Adaptor *)cls)->cb_customEvent_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// QString QAudioInputSelectorControl::defaultInput()
|
||||
|
||||
static void _init_cbs_defaultInput_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_defaultInput_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QString > ((QString)((QAudioInputSelectorControl_Adaptor *)cls)->cbs_defaultInput_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_defaultInput_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioInputSelectorControl_Adaptor *)cls)->cb_defaultInput_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// emitter void QAudioInputSelectorControl::destroyed(QObject *)
|
||||
|
||||
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args ? args.read<QObject * > (heap) : (QObject *)(0);
|
||||
((QAudioInputSelectorControl_Adaptor *)cls)->emitter_QAudioInputSelectorControl_destroyed_1302 (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAudioInputSelectorControl::disconnectNotify(const QMetaMethod &signal)
|
||||
|
||||
static void _init_cbs_disconnectNotify_2394_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("signal");
|
||||
decl->add_arg<const QMetaMethod & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_disconnectNotify_2394_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QMetaMethod &arg1 = args.read<const QMetaMethod & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioInputSelectorControl_Adaptor *)cls)->cbs_disconnectNotify_2394_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_disconnectNotify_2394_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioInputSelectorControl_Adaptor *)cls)->cb_disconnectNotify_2394_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// bool QAudioInputSelectorControl::event(QEvent *)
|
||||
|
||||
static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_event_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
ret.write<bool > ((bool)((QAudioInputSelectorControl_Adaptor *)cls)->cbs_event_1217_0 (arg1));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioInputSelectorControl_Adaptor *)cls)->cb_event_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// bool QAudioInputSelectorControl::eventFilter(QObject *, QEvent *)
|
||||
|
||||
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("arg2");
|
||||
decl->add_arg<QEvent * > (argspec_1);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_eventFilter_2411_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args.read<QObject * > (heap);
|
||||
QEvent *arg2 = args.read<QEvent * > (heap);
|
||||
ret.write<bool > ((bool)((QAudioInputSelectorControl_Adaptor *)cls)->cbs_eventFilter_2411_0 (arg1, arg2));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_eventFilter_2411_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioInputSelectorControl_Adaptor *)cls)->cb_eventFilter_2411_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// QString QAudioInputSelectorControl::inputDescription(const QString &name)
|
||||
|
||||
static void _init_cbs_inputDescription_c2025_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("name");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_inputDescription_c2025_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
ret.write<QString > ((QString)((QAudioInputSelectorControl_Adaptor *)cls)->cbs_inputDescription_c2025_0 (arg1));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_inputDescription_c2025_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioInputSelectorControl_Adaptor *)cls)->cb_inputDescription_c2025_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// exposed bool QAudioInputSelectorControl::isSignalConnected(const QMetaMethod &signal)
|
||||
|
||||
static void _init_fp_isSignalConnected_c2394 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("signal");
|
||||
decl->add_arg<const QMetaMethod & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_fp_isSignalConnected_c2394 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QMetaMethod &arg1 = args.read<const QMetaMethod & > (heap);
|
||||
ret.write<bool > ((bool)((QAudioInputSelectorControl_Adaptor *)cls)->fp_QAudioInputSelectorControl_isSignalConnected_c2394 (arg1));
|
||||
}
|
||||
|
||||
|
||||
// exposed int QAudioInputSelectorControl::receivers(const char *signal)
|
||||
|
||||
static void _init_fp_receivers_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_fp_receivers_c1731 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
ret.write<int > ((int)((QAudioInputSelectorControl_Adaptor *)cls)->fp_QAudioInputSelectorControl_receivers_c1731 (arg1));
|
||||
}
|
||||
|
||||
|
||||
// exposed QObject *QAudioInputSelectorControl::sender()
|
||||
|
||||
static void _init_fp_sender_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QObject * > ();
|
||||
}
|
||||
|
||||
static void _call_fp_sender_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QObject * > ((QObject *)((QAudioInputSelectorControl_Adaptor *)cls)->fp_QAudioInputSelectorControl_sender_c0 ());
|
||||
}
|
||||
|
||||
|
||||
// exposed int QAudioInputSelectorControl::senderSignalIndex()
|
||||
|
||||
static void _init_fp_senderSignalIndex_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_fp_senderSignalIndex_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAudioInputSelectorControl_Adaptor *)cls)->fp_QAudioInputSelectorControl_senderSignalIndex_c0 ());
|
||||
}
|
||||
|
||||
|
||||
// void QAudioInputSelectorControl::setActiveInput(const QString &name)
|
||||
|
||||
static void _init_cbs_setActiveInput_2025_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("name");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_setActiveInput_2025_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioInputSelectorControl_Adaptor *)cls)->cbs_setActiveInput_2025_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_setActiveInput_2025_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioInputSelectorControl_Adaptor *)cls)->cb_setActiveInput_2025_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAudioInputSelectorControl::timerEvent(QTimerEvent *)
|
||||
|
||||
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QTimerEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_timerEvent_1730_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QTimerEvent *arg1 = args.read<QTimerEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioInputSelectorControl_Adaptor *)cls)->cbs_timerEvent_1730_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_timerEvent_1730_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioInputSelectorControl_Adaptor *)cls)->cb_timerEvent_1730_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QAudioInputSelectorControl> &qtdecl_QAudioInputSelectorControl ();
|
||||
|
||||
static gsi::Methods methods_QAudioInputSelectorControl_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericMethod ("activeInput", "@hide", true, &_init_cbs_activeInput_c0_0, &_call_cbs_activeInput_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("activeInput", "@brief Virtual method QString QAudioInputSelectorControl::activeInput()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_activeInput_c0_0, &_call_cbs_activeInput_c0_0, &_set_callback_cbs_activeInput_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("emit_activeInputChanged", "@brief Emitter for signal void QAudioInputSelectorControl::activeInputChanged(const QString &name)\nCall this method to emit this signal.", false, &_init_emitter_activeInputChanged_2025, &_call_emitter_activeInputChanged_2025);
|
||||
methods += new qt_gsi::GenericMethod ("availableInputs", "@hide", true, &_init_cbs_availableInputs_c0_0, &_call_cbs_availableInputs_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("availableInputs", "@brief Virtual method QList<QString> QAudioInputSelectorControl::availableInputs()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_availableInputs_c0_0, &_call_cbs_availableInputs_c0_0, &_set_callback_cbs_availableInputs_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("emit_availableInputsChanged", "@brief Emitter for signal void QAudioInputSelectorControl::availableInputsChanged()\nCall this method to emit this signal.", false, &_init_emitter_availableInputsChanged_0, &_call_emitter_availableInputsChanged_0);
|
||||
methods += new qt_gsi::GenericMethod ("*childEvent", "@hide", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0);
|
||||
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QAudioInputSelectorControl::childEvent(QChildEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0, &_set_callback_cbs_childEvent_1701_0);
|
||||
methods += new qt_gsi::GenericMethod ("*customEvent", "@hide", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("*customEvent", "@brief Virtual method void QAudioInputSelectorControl::customEvent(QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0, &_set_callback_cbs_customEvent_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("defaultInput", "@hide", true, &_init_cbs_defaultInput_c0_0, &_call_cbs_defaultInput_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("defaultInput", "@brief Virtual method QString QAudioInputSelectorControl::defaultInput()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_defaultInput_c0_0, &_call_cbs_defaultInput_c0_0, &_set_callback_cbs_defaultInput_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("emit_destroyed", "@brief Emitter for signal void QAudioInputSelectorControl::destroyed(QObject *)\nCall this method to emit this signal.", false, &_init_emitter_destroyed_1302, &_call_emitter_destroyed_1302);
|
||||
methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@hide", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0);
|
||||
methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@brief Virtual method void QAudioInputSelectorControl::disconnectNotify(const QMetaMethod &signal)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0, &_set_callback_cbs_disconnectNotify_2394_0);
|
||||
methods += new qt_gsi::GenericMethod ("event", "@hide", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("event", "@brief Virtual method bool QAudioInputSelectorControl::event(QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0, &_set_callback_cbs_event_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("eventFilter", "@hide", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0);
|
||||
methods += new qt_gsi::GenericMethod ("eventFilter", "@brief Virtual method bool QAudioInputSelectorControl::eventFilter(QObject *, QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0, &_set_callback_cbs_eventFilter_2411_0);
|
||||
methods += new qt_gsi::GenericMethod ("inputDescription", "@hide", true, &_init_cbs_inputDescription_c2025_0, &_call_cbs_inputDescription_c2025_0);
|
||||
methods += new qt_gsi::GenericMethod ("inputDescription", "@brief Virtual method QString QAudioInputSelectorControl::inputDescription(const QString &name)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_inputDescription_c2025_0, &_call_cbs_inputDescription_c2025_0, &_set_callback_cbs_inputDescription_c2025_0);
|
||||
methods += new qt_gsi::GenericMethod ("*isSignalConnected", "@brief Method bool QAudioInputSelectorControl::isSignalConnected(const QMetaMethod &signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_isSignalConnected_c2394, &_call_fp_isSignalConnected_c2394);
|
||||
methods += new qt_gsi::GenericMethod ("*receivers", "@brief Method int QAudioInputSelectorControl::receivers(const char *signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_receivers_c1731, &_call_fp_receivers_c1731);
|
||||
methods += new qt_gsi::GenericMethod ("*sender", "@brief Method QObject *QAudioInputSelectorControl::sender()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_sender_c0, &_call_fp_sender_c0);
|
||||
methods += new qt_gsi::GenericMethod ("*senderSignalIndex", "@brief Method int QAudioInputSelectorControl::senderSignalIndex()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_senderSignalIndex_c0, &_call_fp_senderSignalIndex_c0);
|
||||
methods += new qt_gsi::GenericMethod ("setActiveInput", "@hide", false, &_init_cbs_setActiveInput_2025_0, &_call_cbs_setActiveInput_2025_0);
|
||||
methods += new qt_gsi::GenericMethod ("setActiveInput", "@brief Virtual method void QAudioInputSelectorControl::setActiveInput(const QString &name)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setActiveInput_2025_0, &_call_cbs_setActiveInput_2025_0, &_set_callback_cbs_setActiveInput_2025_0);
|
||||
methods += new qt_gsi::GenericMethod ("*timerEvent", "@hide", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0);
|
||||
methods += new qt_gsi::GenericMethod ("*timerEvent", "@brief Virtual method void QAudioInputSelectorControl::timerEvent(QTimerEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0, &_set_callback_cbs_timerEvent_1730_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAudioInputSelectorControl_Adaptor> decl_QAudioInputSelectorControl_Adaptor (qtdecl_QAudioInputSelectorControl (), "QAudioInputSelectorControl",
|
||||
methods_QAudioInputSelectorControl_Adaptor (),
|
||||
"@qt\n@brief Binding of QAudioInputSelectorControl");
|
||||
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,855 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAudioOutputSelectorControl.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAudioOutputSelectorControl>
|
||||
#include <QChildEvent>
|
||||
#include <QEvent>
|
||||
#include <QMetaMethod>
|
||||
#include <QObject>
|
||||
#include <QThread>
|
||||
#include <QTimerEvent>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAudioOutputSelectorControl
|
||||
|
||||
// get static meta object
|
||||
|
||||
static void _init_smo (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return<const QMetaObject &> ();
|
||||
}
|
||||
|
||||
static void _call_smo (const qt_gsi::GenericStaticMethod *, gsi::SerialArgs &, gsi::SerialArgs &ret)
|
||||
{
|
||||
ret.write<const QMetaObject &> (QAudioOutputSelectorControl::staticMetaObject);
|
||||
}
|
||||
|
||||
|
||||
// QString QAudioOutputSelectorControl::activeOutput()
|
||||
|
||||
|
||||
static void _init_f_activeOutput_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_activeOutput_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QString > ((QString)((QAudioOutputSelectorControl *)cls)->activeOutput ());
|
||||
}
|
||||
|
||||
|
||||
// QList<QString> QAudioOutputSelectorControl::availableOutputs()
|
||||
|
||||
|
||||
static void _init_f_availableOutputs_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QList<QString> > ();
|
||||
}
|
||||
|
||||
static void _call_f_availableOutputs_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QList<QString> > ((QList<QString>)((QAudioOutputSelectorControl *)cls)->availableOutputs ());
|
||||
}
|
||||
|
||||
|
||||
// QString QAudioOutputSelectorControl::defaultOutput()
|
||||
|
||||
|
||||
static void _init_f_defaultOutput_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_defaultOutput_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QString > ((QString)((QAudioOutputSelectorControl *)cls)->defaultOutput ());
|
||||
}
|
||||
|
||||
|
||||
// QString QAudioOutputSelectorControl::outputDescription(const QString &name)
|
||||
|
||||
|
||||
static void _init_f_outputDescription_c2025 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("name");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_outputDescription_c2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
ret.write<QString > ((QString)((QAudioOutputSelectorControl *)cls)->outputDescription (arg1));
|
||||
}
|
||||
|
||||
|
||||
// void QAudioOutputSelectorControl::setActiveOutput(const QString &name)
|
||||
|
||||
|
||||
static void _init_f_setActiveOutput_2025 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("name");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setActiveOutput_2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioOutputSelectorControl *)cls)->setActiveOutput (arg1);
|
||||
}
|
||||
|
||||
|
||||
// static QString QAudioOutputSelectorControl::tr(const char *s, const char *c, int n)
|
||||
|
||||
|
||||
static void _init_f_tr_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("s");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("c", true, "__null");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_tr_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(__null);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QAudioOutputSelectorControl::tr (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
// static QString QAudioOutputSelectorControl::trUtf8(const char *s, const char *c, int n)
|
||||
|
||||
|
||||
static void _init_f_trUtf8_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("s");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("c", true, "__null");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_trUtf8_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(__null);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QAudioOutputSelectorControl::trUtf8 (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAudioOutputSelectorControl () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("staticMetaObject", "@brief Obtains the static MetaObject for this class.", &_init_smo, &_call_smo);
|
||||
methods += new qt_gsi::GenericMethod (":activeOutput", "@brief Method QString QAudioOutputSelectorControl::activeOutput()\n", true, &_init_f_activeOutput_c0, &_call_f_activeOutput_c0);
|
||||
methods += new qt_gsi::GenericMethod ("availableOutputs", "@brief Method QList<QString> QAudioOutputSelectorControl::availableOutputs()\n", true, &_init_f_availableOutputs_c0, &_call_f_availableOutputs_c0);
|
||||
methods += new qt_gsi::GenericMethod ("defaultOutput", "@brief Method QString QAudioOutputSelectorControl::defaultOutput()\n", true, &_init_f_defaultOutput_c0, &_call_f_defaultOutput_c0);
|
||||
methods += new qt_gsi::GenericMethod ("outputDescription", "@brief Method QString QAudioOutputSelectorControl::outputDescription(const QString &name)\n", true, &_init_f_outputDescription_c2025, &_call_f_outputDescription_c2025);
|
||||
methods += new qt_gsi::GenericMethod ("setActiveOutput|activeOutput=", "@brief Method void QAudioOutputSelectorControl::setActiveOutput(const QString &name)\n", false, &_init_f_setActiveOutput_2025, &_call_f_setActiveOutput_2025);
|
||||
methods += gsi::qt_signal<const QString & > ("activeOutputChanged(const QString &)", "activeOutputChanged", gsi::arg("name"), "@brief Signal declaration for QAudioOutputSelectorControl::activeOutputChanged(const QString &name)\nYou can bind a procedure to this signal.");
|
||||
methods += gsi::qt_signal ("availableOutputsChanged()", "availableOutputsChanged", "@brief Signal declaration for QAudioOutputSelectorControl::availableOutputsChanged()\nYou can bind a procedure to this signal.");
|
||||
methods += gsi::qt_signal<QObject * > ("destroyed(QObject *)", "destroyed", gsi::arg("arg1"), "@brief Signal declaration for QAudioOutputSelectorControl::destroyed(QObject *)\nYou can bind a procedure to this signal.");
|
||||
methods += new qt_gsi::GenericStaticMethod ("tr", "@brief Static method QString QAudioOutputSelectorControl::tr(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_tr_4013, &_call_f_tr_4013);
|
||||
methods += new qt_gsi::GenericStaticMethod ("trUtf8", "@brief Static method QString QAudioOutputSelectorControl::trUtf8(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_trUtf8_4013, &_call_f_trUtf8_4013);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QMediaControl> &qtdecl_QMediaControl ();
|
||||
|
||||
qt_gsi::QtNativeClass<QAudioOutputSelectorControl> decl_QAudioOutputSelectorControl (qtdecl_QMediaControl (), "QAudioOutputSelectorControl_Native",
|
||||
methods_QAudioOutputSelectorControl (),
|
||||
"@hide\n@alias QAudioOutputSelectorControl");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAudioOutputSelectorControl> &qtdecl_QAudioOutputSelectorControl () { return decl_QAudioOutputSelectorControl; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QAudioOutputSelectorControl_Adaptor : public QAudioOutputSelectorControl, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QAudioOutputSelectorControl_Adaptor();
|
||||
|
||||
// [expose] bool QAudioOutputSelectorControl::isSignalConnected(const QMetaMethod &signal)
|
||||
bool fp_QAudioOutputSelectorControl_isSignalConnected_c2394 (const QMetaMethod &signal) const {
|
||||
return QAudioOutputSelectorControl::isSignalConnected(signal);
|
||||
}
|
||||
|
||||
// [expose] int QAudioOutputSelectorControl::receivers(const char *signal)
|
||||
int fp_QAudioOutputSelectorControl_receivers_c1731 (const char *signal) const {
|
||||
return QAudioOutputSelectorControl::receivers(signal);
|
||||
}
|
||||
|
||||
// [expose] QObject *QAudioOutputSelectorControl::sender()
|
||||
QObject * fp_QAudioOutputSelectorControl_sender_c0 () const {
|
||||
return QAudioOutputSelectorControl::sender();
|
||||
}
|
||||
|
||||
// [expose] int QAudioOutputSelectorControl::senderSignalIndex()
|
||||
int fp_QAudioOutputSelectorControl_senderSignalIndex_c0 () const {
|
||||
return QAudioOutputSelectorControl::senderSignalIndex();
|
||||
}
|
||||
|
||||
// [adaptor impl] QString QAudioOutputSelectorControl::activeOutput()
|
||||
QString cbs_activeOutput_c0_0() const
|
||||
{
|
||||
throw qt_gsi::AbstractMethodCalledException("activeOutput");
|
||||
}
|
||||
|
||||
virtual QString activeOutput() const
|
||||
{
|
||||
if (cb_activeOutput_c0_0.can_issue()) {
|
||||
return cb_activeOutput_c0_0.issue<QAudioOutputSelectorControl_Adaptor, QString>(&QAudioOutputSelectorControl_Adaptor::cbs_activeOutput_c0_0);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("activeOutput");
|
||||
}
|
||||
}
|
||||
|
||||
// [emitter impl] void QAudioOutputSelectorControl::activeOutputChanged(const QString &name)
|
||||
void emitter_QAudioOutputSelectorControl_activeOutputChanged_2025(const QString &name)
|
||||
{
|
||||
emit QAudioOutputSelectorControl::activeOutputChanged(name);
|
||||
}
|
||||
|
||||
// [adaptor impl] QList<QString> QAudioOutputSelectorControl::availableOutputs()
|
||||
QList<QString> cbs_availableOutputs_c0_0() const
|
||||
{
|
||||
throw qt_gsi::AbstractMethodCalledException("availableOutputs");
|
||||
}
|
||||
|
||||
virtual QList<QString> availableOutputs() const
|
||||
{
|
||||
if (cb_availableOutputs_c0_0.can_issue()) {
|
||||
return cb_availableOutputs_c0_0.issue<QAudioOutputSelectorControl_Adaptor, QList<QString> >(&QAudioOutputSelectorControl_Adaptor::cbs_availableOutputs_c0_0);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("availableOutputs");
|
||||
}
|
||||
}
|
||||
|
||||
// [emitter impl] void QAudioOutputSelectorControl::availableOutputsChanged()
|
||||
void emitter_QAudioOutputSelectorControl_availableOutputsChanged_0()
|
||||
{
|
||||
emit QAudioOutputSelectorControl::availableOutputsChanged();
|
||||
}
|
||||
|
||||
// [adaptor impl] QString QAudioOutputSelectorControl::defaultOutput()
|
||||
QString cbs_defaultOutput_c0_0() const
|
||||
{
|
||||
throw qt_gsi::AbstractMethodCalledException("defaultOutput");
|
||||
}
|
||||
|
||||
virtual QString defaultOutput() const
|
||||
{
|
||||
if (cb_defaultOutput_c0_0.can_issue()) {
|
||||
return cb_defaultOutput_c0_0.issue<QAudioOutputSelectorControl_Adaptor, QString>(&QAudioOutputSelectorControl_Adaptor::cbs_defaultOutput_c0_0);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("defaultOutput");
|
||||
}
|
||||
}
|
||||
|
||||
// [emitter impl] void QAudioOutputSelectorControl::destroyed(QObject *)
|
||||
void emitter_QAudioOutputSelectorControl_destroyed_1302(QObject *arg1)
|
||||
{
|
||||
emit QAudioOutputSelectorControl::destroyed(arg1);
|
||||
}
|
||||
|
||||
// [adaptor impl] bool QAudioOutputSelectorControl::event(QEvent *)
|
||||
bool cbs_event_1217_0(QEvent *arg1)
|
||||
{
|
||||
return QAudioOutputSelectorControl::event(arg1);
|
||||
}
|
||||
|
||||
virtual bool event(QEvent *arg1)
|
||||
{
|
||||
if (cb_event_1217_0.can_issue()) {
|
||||
return cb_event_1217_0.issue<QAudioOutputSelectorControl_Adaptor, bool, QEvent *>(&QAudioOutputSelectorControl_Adaptor::cbs_event_1217_0, arg1);
|
||||
} else {
|
||||
return QAudioOutputSelectorControl::event(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] bool QAudioOutputSelectorControl::eventFilter(QObject *, QEvent *)
|
||||
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
|
||||
{
|
||||
return QAudioOutputSelectorControl::eventFilter(arg1, arg2);
|
||||
}
|
||||
|
||||
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
|
||||
{
|
||||
if (cb_eventFilter_2411_0.can_issue()) {
|
||||
return cb_eventFilter_2411_0.issue<QAudioOutputSelectorControl_Adaptor, bool, QObject *, QEvent *>(&QAudioOutputSelectorControl_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
|
||||
} else {
|
||||
return QAudioOutputSelectorControl::eventFilter(arg1, arg2);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] QString QAudioOutputSelectorControl::outputDescription(const QString &name)
|
||||
QString cbs_outputDescription_c2025_0(const QString &name) const
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (name);
|
||||
throw qt_gsi::AbstractMethodCalledException("outputDescription");
|
||||
}
|
||||
|
||||
virtual QString outputDescription(const QString &name) const
|
||||
{
|
||||
if (cb_outputDescription_c2025_0.can_issue()) {
|
||||
return cb_outputDescription_c2025_0.issue<QAudioOutputSelectorControl_Adaptor, QString, const QString &>(&QAudioOutputSelectorControl_Adaptor::cbs_outputDescription_c2025_0, name);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("outputDescription");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAudioOutputSelectorControl::setActiveOutput(const QString &name)
|
||||
void cbs_setActiveOutput_2025_0(const QString &name)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (name);
|
||||
throw qt_gsi::AbstractMethodCalledException("setActiveOutput");
|
||||
}
|
||||
|
||||
virtual void setActiveOutput(const QString &name)
|
||||
{
|
||||
if (cb_setActiveOutput_2025_0.can_issue()) {
|
||||
cb_setActiveOutput_2025_0.issue<QAudioOutputSelectorControl_Adaptor, const QString &>(&QAudioOutputSelectorControl_Adaptor::cbs_setActiveOutput_2025_0, name);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("setActiveOutput");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAudioOutputSelectorControl::childEvent(QChildEvent *)
|
||||
void cbs_childEvent_1701_0(QChildEvent *arg1)
|
||||
{
|
||||
QAudioOutputSelectorControl::childEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void childEvent(QChildEvent *arg1)
|
||||
{
|
||||
if (cb_childEvent_1701_0.can_issue()) {
|
||||
cb_childEvent_1701_0.issue<QAudioOutputSelectorControl_Adaptor, QChildEvent *>(&QAudioOutputSelectorControl_Adaptor::cbs_childEvent_1701_0, arg1);
|
||||
} else {
|
||||
QAudioOutputSelectorControl::childEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAudioOutputSelectorControl::customEvent(QEvent *)
|
||||
void cbs_customEvent_1217_0(QEvent *arg1)
|
||||
{
|
||||
QAudioOutputSelectorControl::customEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void customEvent(QEvent *arg1)
|
||||
{
|
||||
if (cb_customEvent_1217_0.can_issue()) {
|
||||
cb_customEvent_1217_0.issue<QAudioOutputSelectorControl_Adaptor, QEvent *>(&QAudioOutputSelectorControl_Adaptor::cbs_customEvent_1217_0, arg1);
|
||||
} else {
|
||||
QAudioOutputSelectorControl::customEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAudioOutputSelectorControl::disconnectNotify(const QMetaMethod &signal)
|
||||
void cbs_disconnectNotify_2394_0(const QMetaMethod &signal)
|
||||
{
|
||||
QAudioOutputSelectorControl::disconnectNotify(signal);
|
||||
}
|
||||
|
||||
virtual void disconnectNotify(const QMetaMethod &signal)
|
||||
{
|
||||
if (cb_disconnectNotify_2394_0.can_issue()) {
|
||||
cb_disconnectNotify_2394_0.issue<QAudioOutputSelectorControl_Adaptor, const QMetaMethod &>(&QAudioOutputSelectorControl_Adaptor::cbs_disconnectNotify_2394_0, signal);
|
||||
} else {
|
||||
QAudioOutputSelectorControl::disconnectNotify(signal);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAudioOutputSelectorControl::timerEvent(QTimerEvent *)
|
||||
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
|
||||
{
|
||||
QAudioOutputSelectorControl::timerEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void timerEvent(QTimerEvent *arg1)
|
||||
{
|
||||
if (cb_timerEvent_1730_0.can_issue()) {
|
||||
cb_timerEvent_1730_0.issue<QAudioOutputSelectorControl_Adaptor, QTimerEvent *>(&QAudioOutputSelectorControl_Adaptor::cbs_timerEvent_1730_0, arg1);
|
||||
} else {
|
||||
QAudioOutputSelectorControl::timerEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_activeOutput_c0_0;
|
||||
gsi::Callback cb_availableOutputs_c0_0;
|
||||
gsi::Callback cb_defaultOutput_c0_0;
|
||||
gsi::Callback cb_event_1217_0;
|
||||
gsi::Callback cb_eventFilter_2411_0;
|
||||
gsi::Callback cb_outputDescription_c2025_0;
|
||||
gsi::Callback cb_setActiveOutput_2025_0;
|
||||
gsi::Callback cb_childEvent_1701_0;
|
||||
gsi::Callback cb_customEvent_1217_0;
|
||||
gsi::Callback cb_disconnectNotify_2394_0;
|
||||
gsi::Callback cb_timerEvent_1730_0;
|
||||
};
|
||||
|
||||
QAudioOutputSelectorControl_Adaptor::~QAudioOutputSelectorControl_Adaptor() { }
|
||||
|
||||
// QString QAudioOutputSelectorControl::activeOutput()
|
||||
|
||||
static void _init_cbs_activeOutput_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_activeOutput_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QString > ((QString)((QAudioOutputSelectorControl_Adaptor *)cls)->cbs_activeOutput_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_activeOutput_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioOutputSelectorControl_Adaptor *)cls)->cb_activeOutput_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// emitter void QAudioOutputSelectorControl::activeOutputChanged(const QString &name)
|
||||
|
||||
static void _init_emitter_activeOutputChanged_2025 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("name");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_activeOutputChanged_2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
((QAudioOutputSelectorControl_Adaptor *)cls)->emitter_QAudioOutputSelectorControl_activeOutputChanged_2025 (arg1);
|
||||
}
|
||||
|
||||
|
||||
// QList<QString> QAudioOutputSelectorControl::availableOutputs()
|
||||
|
||||
static void _init_cbs_availableOutputs_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QList<QString> > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_availableOutputs_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QList<QString> > ((QList<QString>)((QAudioOutputSelectorControl_Adaptor *)cls)->cbs_availableOutputs_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_availableOutputs_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioOutputSelectorControl_Adaptor *)cls)->cb_availableOutputs_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// emitter void QAudioOutputSelectorControl::availableOutputsChanged()
|
||||
|
||||
static void _init_emitter_availableOutputsChanged_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_availableOutputsChanged_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
((QAudioOutputSelectorControl_Adaptor *)cls)->emitter_QAudioOutputSelectorControl_availableOutputsChanged_0 ();
|
||||
}
|
||||
|
||||
|
||||
// void QAudioOutputSelectorControl::childEvent(QChildEvent *)
|
||||
|
||||
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QChildEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_childEvent_1701_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QChildEvent *arg1 = args.read<QChildEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioOutputSelectorControl_Adaptor *)cls)->cbs_childEvent_1701_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioOutputSelectorControl_Adaptor *)cls)->cb_childEvent_1701_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAudioOutputSelectorControl::customEvent(QEvent *)
|
||||
|
||||
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_customEvent_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioOutputSelectorControl_Adaptor *)cls)->cbs_customEvent_1217_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioOutputSelectorControl_Adaptor *)cls)->cb_customEvent_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// QString QAudioOutputSelectorControl::defaultOutput()
|
||||
|
||||
static void _init_cbs_defaultOutput_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_defaultOutput_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QString > ((QString)((QAudioOutputSelectorControl_Adaptor *)cls)->cbs_defaultOutput_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_defaultOutput_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioOutputSelectorControl_Adaptor *)cls)->cb_defaultOutput_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// emitter void QAudioOutputSelectorControl::destroyed(QObject *)
|
||||
|
||||
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args ? args.read<QObject * > (heap) : (QObject *)(0);
|
||||
((QAudioOutputSelectorControl_Adaptor *)cls)->emitter_QAudioOutputSelectorControl_destroyed_1302 (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAudioOutputSelectorControl::disconnectNotify(const QMetaMethod &signal)
|
||||
|
||||
static void _init_cbs_disconnectNotify_2394_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("signal");
|
||||
decl->add_arg<const QMetaMethod & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_disconnectNotify_2394_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QMetaMethod &arg1 = args.read<const QMetaMethod & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioOutputSelectorControl_Adaptor *)cls)->cbs_disconnectNotify_2394_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_disconnectNotify_2394_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioOutputSelectorControl_Adaptor *)cls)->cb_disconnectNotify_2394_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// bool QAudioOutputSelectorControl::event(QEvent *)
|
||||
|
||||
static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_event_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
ret.write<bool > ((bool)((QAudioOutputSelectorControl_Adaptor *)cls)->cbs_event_1217_0 (arg1));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioOutputSelectorControl_Adaptor *)cls)->cb_event_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// bool QAudioOutputSelectorControl::eventFilter(QObject *, QEvent *)
|
||||
|
||||
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("arg2");
|
||||
decl->add_arg<QEvent * > (argspec_1);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_eventFilter_2411_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args.read<QObject * > (heap);
|
||||
QEvent *arg2 = args.read<QEvent * > (heap);
|
||||
ret.write<bool > ((bool)((QAudioOutputSelectorControl_Adaptor *)cls)->cbs_eventFilter_2411_0 (arg1, arg2));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_eventFilter_2411_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioOutputSelectorControl_Adaptor *)cls)->cb_eventFilter_2411_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// exposed bool QAudioOutputSelectorControl::isSignalConnected(const QMetaMethod &signal)
|
||||
|
||||
static void _init_fp_isSignalConnected_c2394 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("signal");
|
||||
decl->add_arg<const QMetaMethod & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_fp_isSignalConnected_c2394 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QMetaMethod &arg1 = args.read<const QMetaMethod & > (heap);
|
||||
ret.write<bool > ((bool)((QAudioOutputSelectorControl_Adaptor *)cls)->fp_QAudioOutputSelectorControl_isSignalConnected_c2394 (arg1));
|
||||
}
|
||||
|
||||
|
||||
// QString QAudioOutputSelectorControl::outputDescription(const QString &name)
|
||||
|
||||
static void _init_cbs_outputDescription_c2025_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("name");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_outputDescription_c2025_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
ret.write<QString > ((QString)((QAudioOutputSelectorControl_Adaptor *)cls)->cbs_outputDescription_c2025_0 (arg1));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_outputDescription_c2025_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioOutputSelectorControl_Adaptor *)cls)->cb_outputDescription_c2025_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// exposed int QAudioOutputSelectorControl::receivers(const char *signal)
|
||||
|
||||
static void _init_fp_receivers_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_fp_receivers_c1731 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
ret.write<int > ((int)((QAudioOutputSelectorControl_Adaptor *)cls)->fp_QAudioOutputSelectorControl_receivers_c1731 (arg1));
|
||||
}
|
||||
|
||||
|
||||
// exposed QObject *QAudioOutputSelectorControl::sender()
|
||||
|
||||
static void _init_fp_sender_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QObject * > ();
|
||||
}
|
||||
|
||||
static void _call_fp_sender_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QObject * > ((QObject *)((QAudioOutputSelectorControl_Adaptor *)cls)->fp_QAudioOutputSelectorControl_sender_c0 ());
|
||||
}
|
||||
|
||||
|
||||
// exposed int QAudioOutputSelectorControl::senderSignalIndex()
|
||||
|
||||
static void _init_fp_senderSignalIndex_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_fp_senderSignalIndex_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAudioOutputSelectorControl_Adaptor *)cls)->fp_QAudioOutputSelectorControl_senderSignalIndex_c0 ());
|
||||
}
|
||||
|
||||
|
||||
// void QAudioOutputSelectorControl::setActiveOutput(const QString &name)
|
||||
|
||||
static void _init_cbs_setActiveOutput_2025_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("name");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_setActiveOutput_2025_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioOutputSelectorControl_Adaptor *)cls)->cbs_setActiveOutput_2025_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_setActiveOutput_2025_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioOutputSelectorControl_Adaptor *)cls)->cb_setActiveOutput_2025_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAudioOutputSelectorControl::timerEvent(QTimerEvent *)
|
||||
|
||||
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QTimerEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_timerEvent_1730_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QTimerEvent *arg1 = args.read<QTimerEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioOutputSelectorControl_Adaptor *)cls)->cbs_timerEvent_1730_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_timerEvent_1730_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioOutputSelectorControl_Adaptor *)cls)->cb_timerEvent_1730_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QAudioOutputSelectorControl> &qtdecl_QAudioOutputSelectorControl ();
|
||||
|
||||
static gsi::Methods methods_QAudioOutputSelectorControl_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericMethod ("activeOutput", "@hide", true, &_init_cbs_activeOutput_c0_0, &_call_cbs_activeOutput_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("activeOutput", "@brief Virtual method QString QAudioOutputSelectorControl::activeOutput()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_activeOutput_c0_0, &_call_cbs_activeOutput_c0_0, &_set_callback_cbs_activeOutput_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("emit_activeOutputChanged", "@brief Emitter for signal void QAudioOutputSelectorControl::activeOutputChanged(const QString &name)\nCall this method to emit this signal.", false, &_init_emitter_activeOutputChanged_2025, &_call_emitter_activeOutputChanged_2025);
|
||||
methods += new qt_gsi::GenericMethod ("availableOutputs", "@hide", true, &_init_cbs_availableOutputs_c0_0, &_call_cbs_availableOutputs_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("availableOutputs", "@brief Virtual method QList<QString> QAudioOutputSelectorControl::availableOutputs()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_availableOutputs_c0_0, &_call_cbs_availableOutputs_c0_0, &_set_callback_cbs_availableOutputs_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("emit_availableOutputsChanged", "@brief Emitter for signal void QAudioOutputSelectorControl::availableOutputsChanged()\nCall this method to emit this signal.", false, &_init_emitter_availableOutputsChanged_0, &_call_emitter_availableOutputsChanged_0);
|
||||
methods += new qt_gsi::GenericMethod ("*childEvent", "@hide", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0);
|
||||
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QAudioOutputSelectorControl::childEvent(QChildEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0, &_set_callback_cbs_childEvent_1701_0);
|
||||
methods += new qt_gsi::GenericMethod ("*customEvent", "@hide", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("*customEvent", "@brief Virtual method void QAudioOutputSelectorControl::customEvent(QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0, &_set_callback_cbs_customEvent_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("defaultOutput", "@hide", true, &_init_cbs_defaultOutput_c0_0, &_call_cbs_defaultOutput_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("defaultOutput", "@brief Virtual method QString QAudioOutputSelectorControl::defaultOutput()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_defaultOutput_c0_0, &_call_cbs_defaultOutput_c0_0, &_set_callback_cbs_defaultOutput_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("emit_destroyed", "@brief Emitter for signal void QAudioOutputSelectorControl::destroyed(QObject *)\nCall this method to emit this signal.", false, &_init_emitter_destroyed_1302, &_call_emitter_destroyed_1302);
|
||||
methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@hide", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0);
|
||||
methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@brief Virtual method void QAudioOutputSelectorControl::disconnectNotify(const QMetaMethod &signal)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0, &_set_callback_cbs_disconnectNotify_2394_0);
|
||||
methods += new qt_gsi::GenericMethod ("event", "@hide", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("event", "@brief Virtual method bool QAudioOutputSelectorControl::event(QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0, &_set_callback_cbs_event_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("eventFilter", "@hide", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0);
|
||||
methods += new qt_gsi::GenericMethod ("eventFilter", "@brief Virtual method bool QAudioOutputSelectorControl::eventFilter(QObject *, QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0, &_set_callback_cbs_eventFilter_2411_0);
|
||||
methods += new qt_gsi::GenericMethod ("*isSignalConnected", "@brief Method bool QAudioOutputSelectorControl::isSignalConnected(const QMetaMethod &signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_isSignalConnected_c2394, &_call_fp_isSignalConnected_c2394);
|
||||
methods += new qt_gsi::GenericMethod ("outputDescription", "@hide", true, &_init_cbs_outputDescription_c2025_0, &_call_cbs_outputDescription_c2025_0);
|
||||
methods += new qt_gsi::GenericMethod ("outputDescription", "@brief Virtual method QString QAudioOutputSelectorControl::outputDescription(const QString &name)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_outputDescription_c2025_0, &_call_cbs_outputDescription_c2025_0, &_set_callback_cbs_outputDescription_c2025_0);
|
||||
methods += new qt_gsi::GenericMethod ("*receivers", "@brief Method int QAudioOutputSelectorControl::receivers(const char *signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_receivers_c1731, &_call_fp_receivers_c1731);
|
||||
methods += new qt_gsi::GenericMethod ("*sender", "@brief Method QObject *QAudioOutputSelectorControl::sender()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_sender_c0, &_call_fp_sender_c0);
|
||||
methods += new qt_gsi::GenericMethod ("*senderSignalIndex", "@brief Method int QAudioOutputSelectorControl::senderSignalIndex()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_senderSignalIndex_c0, &_call_fp_senderSignalIndex_c0);
|
||||
methods += new qt_gsi::GenericMethod ("setActiveOutput", "@hide", false, &_init_cbs_setActiveOutput_2025_0, &_call_cbs_setActiveOutput_2025_0);
|
||||
methods += new qt_gsi::GenericMethod ("setActiveOutput", "@brief Virtual method void QAudioOutputSelectorControl::setActiveOutput(const QString &name)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setActiveOutput_2025_0, &_call_cbs_setActiveOutput_2025_0, &_set_callback_cbs_setActiveOutput_2025_0);
|
||||
methods += new qt_gsi::GenericMethod ("*timerEvent", "@hide", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0);
|
||||
methods += new qt_gsi::GenericMethod ("*timerEvent", "@brief Virtual method void QAudioOutputSelectorControl::timerEvent(QTimerEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0, &_set_callback_cbs_timerEvent_1730_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAudioOutputSelectorControl_Adaptor> decl_QAudioOutputSelectorControl_Adaptor (qtdecl_QAudioOutputSelectorControl (), "QAudioOutputSelectorControl",
|
||||
methods_QAudioOutputSelectorControl_Adaptor (),
|
||||
"@qt\n@brief Binding of QAudioOutputSelectorControl");
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,660 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAudioProbe.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAudioProbe>
|
||||
#include <QAudioBuffer>
|
||||
#include <QChildEvent>
|
||||
#include <QEvent>
|
||||
#include <QMediaObject>
|
||||
#include <QMediaRecorder>
|
||||
#include <QMetaMethod>
|
||||
#include <QObject>
|
||||
#include <QThread>
|
||||
#include <QTimerEvent>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAudioProbe
|
||||
|
||||
// get static meta object
|
||||
|
||||
static void _init_smo (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return<const QMetaObject &> ();
|
||||
}
|
||||
|
||||
static void _call_smo (const qt_gsi::GenericStaticMethod *, gsi::SerialArgs &, gsi::SerialArgs &ret)
|
||||
{
|
||||
ret.write<const QMetaObject &> (QAudioProbe::staticMetaObject);
|
||||
}
|
||||
|
||||
|
||||
// bool QAudioProbe::isActive()
|
||||
|
||||
|
||||
static void _init_f_isActive_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_isActive_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<bool > ((bool)((QAudioProbe *)cls)->isActive ());
|
||||
}
|
||||
|
||||
|
||||
// bool QAudioProbe::setSource(QMediaObject *source)
|
||||
|
||||
|
||||
static void _init_f_setSource_1782 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("source");
|
||||
decl->add_arg<QMediaObject * > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_setSource_1782 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QMediaObject *arg1 = args.read<QMediaObject * > (heap);
|
||||
ret.write<bool > ((bool)((QAudioProbe *)cls)->setSource (arg1));
|
||||
}
|
||||
|
||||
|
||||
// bool QAudioProbe::setSource(QMediaRecorder *source)
|
||||
|
||||
|
||||
static void _init_f_setSource_2005 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("source");
|
||||
decl->add_arg<QMediaRecorder * > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_setSource_2005 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QMediaRecorder *arg1 = args.read<QMediaRecorder * > (heap);
|
||||
ret.write<bool > ((bool)((QAudioProbe *)cls)->setSource (arg1));
|
||||
}
|
||||
|
||||
|
||||
// static QString QAudioProbe::tr(const char *s, const char *c, int n)
|
||||
|
||||
|
||||
static void _init_f_tr_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("s");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("c", true, "__null");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_tr_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(__null);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QAudioProbe::tr (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
// static QString QAudioProbe::trUtf8(const char *s, const char *c, int n)
|
||||
|
||||
|
||||
static void _init_f_trUtf8_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("s");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("c", true, "__null");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_trUtf8_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(__null);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QAudioProbe::trUtf8 (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAudioProbe () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("staticMetaObject", "@brief Obtains the static MetaObject for this class.", &_init_smo, &_call_smo);
|
||||
methods += new qt_gsi::GenericMethod ("isActive?", "@brief Method bool QAudioProbe::isActive()\n", true, &_init_f_isActive_c0, &_call_f_isActive_c0);
|
||||
methods += new qt_gsi::GenericMethod ("setSource", "@brief Method bool QAudioProbe::setSource(QMediaObject *source)\n", false, &_init_f_setSource_1782, &_call_f_setSource_1782);
|
||||
methods += new qt_gsi::GenericMethod ("setSource", "@brief Method bool QAudioProbe::setSource(QMediaRecorder *source)\n", false, &_init_f_setSource_2005, &_call_f_setSource_2005);
|
||||
methods += gsi::qt_signal<const QAudioBuffer & > ("audioBufferProbed(const QAudioBuffer &)", "audioBufferProbed", gsi::arg("audioBuffer"), "@brief Signal declaration for QAudioProbe::audioBufferProbed(const QAudioBuffer &audioBuffer)\nYou can bind a procedure to this signal.");
|
||||
methods += gsi::qt_signal<QObject * > ("destroyed(QObject *)", "destroyed", gsi::arg("arg1"), "@brief Signal declaration for QAudioProbe::destroyed(QObject *)\nYou can bind a procedure to this signal.");
|
||||
methods += gsi::qt_signal ("flush()", "flush", "@brief Signal declaration for QAudioProbe::flush()\nYou can bind a procedure to this signal.");
|
||||
methods += new qt_gsi::GenericStaticMethod ("tr", "@brief Static method QString QAudioProbe::tr(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_tr_4013, &_call_f_tr_4013);
|
||||
methods += new qt_gsi::GenericStaticMethod ("trUtf8", "@brief Static method QString QAudioProbe::trUtf8(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_trUtf8_4013, &_call_f_trUtf8_4013);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QObject> &qtdecl_QObject ();
|
||||
|
||||
qt_gsi::QtNativeClass<QAudioProbe> decl_QAudioProbe (qtdecl_QObject (), "QAudioProbe_Native",
|
||||
methods_QAudioProbe (),
|
||||
"@hide\n@alias QAudioProbe");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAudioProbe> &qtdecl_QAudioProbe () { return decl_QAudioProbe; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QAudioProbe_Adaptor : public QAudioProbe, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QAudioProbe_Adaptor();
|
||||
|
||||
// [adaptor ctor] QAudioProbe::QAudioProbe(QObject *parent)
|
||||
QAudioProbe_Adaptor() : QAudioProbe()
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor ctor] QAudioProbe::QAudioProbe(QObject *parent)
|
||||
QAudioProbe_Adaptor(QObject *parent) : QAudioProbe(parent)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [expose] bool QAudioProbe::isSignalConnected(const QMetaMethod &signal)
|
||||
bool fp_QAudioProbe_isSignalConnected_c2394 (const QMetaMethod &signal) const {
|
||||
return QAudioProbe::isSignalConnected(signal);
|
||||
}
|
||||
|
||||
// [expose] int QAudioProbe::receivers(const char *signal)
|
||||
int fp_QAudioProbe_receivers_c1731 (const char *signal) const {
|
||||
return QAudioProbe::receivers(signal);
|
||||
}
|
||||
|
||||
// [expose] QObject *QAudioProbe::sender()
|
||||
QObject * fp_QAudioProbe_sender_c0 () const {
|
||||
return QAudioProbe::sender();
|
||||
}
|
||||
|
||||
// [expose] int QAudioProbe::senderSignalIndex()
|
||||
int fp_QAudioProbe_senderSignalIndex_c0 () const {
|
||||
return QAudioProbe::senderSignalIndex();
|
||||
}
|
||||
|
||||
// [emitter impl] void QAudioProbe::audioBufferProbed(const QAudioBuffer &audioBuffer)
|
||||
void emitter_QAudioProbe_audioBufferProbed_2494(const QAudioBuffer &audioBuffer)
|
||||
{
|
||||
emit QAudioProbe::audioBufferProbed(audioBuffer);
|
||||
}
|
||||
|
||||
// [emitter impl] void QAudioProbe::destroyed(QObject *)
|
||||
void emitter_QAudioProbe_destroyed_1302(QObject *arg1)
|
||||
{
|
||||
emit QAudioProbe::destroyed(arg1);
|
||||
}
|
||||
|
||||
// [adaptor impl] bool QAudioProbe::event(QEvent *)
|
||||
bool cbs_event_1217_0(QEvent *arg1)
|
||||
{
|
||||
return QAudioProbe::event(arg1);
|
||||
}
|
||||
|
||||
virtual bool event(QEvent *arg1)
|
||||
{
|
||||
if (cb_event_1217_0.can_issue()) {
|
||||
return cb_event_1217_0.issue<QAudioProbe_Adaptor, bool, QEvent *>(&QAudioProbe_Adaptor::cbs_event_1217_0, arg1);
|
||||
} else {
|
||||
return QAudioProbe::event(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] bool QAudioProbe::eventFilter(QObject *, QEvent *)
|
||||
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
|
||||
{
|
||||
return QAudioProbe::eventFilter(arg1, arg2);
|
||||
}
|
||||
|
||||
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
|
||||
{
|
||||
if (cb_eventFilter_2411_0.can_issue()) {
|
||||
return cb_eventFilter_2411_0.issue<QAudioProbe_Adaptor, bool, QObject *, QEvent *>(&QAudioProbe_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
|
||||
} else {
|
||||
return QAudioProbe::eventFilter(arg1, arg2);
|
||||
}
|
||||
}
|
||||
|
||||
// [emitter impl] void QAudioProbe::flush()
|
||||
void emitter_QAudioProbe_flush_0()
|
||||
{
|
||||
emit QAudioProbe::flush();
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAudioProbe::childEvent(QChildEvent *)
|
||||
void cbs_childEvent_1701_0(QChildEvent *arg1)
|
||||
{
|
||||
QAudioProbe::childEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void childEvent(QChildEvent *arg1)
|
||||
{
|
||||
if (cb_childEvent_1701_0.can_issue()) {
|
||||
cb_childEvent_1701_0.issue<QAudioProbe_Adaptor, QChildEvent *>(&QAudioProbe_Adaptor::cbs_childEvent_1701_0, arg1);
|
||||
} else {
|
||||
QAudioProbe::childEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAudioProbe::customEvent(QEvent *)
|
||||
void cbs_customEvent_1217_0(QEvent *arg1)
|
||||
{
|
||||
QAudioProbe::customEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void customEvent(QEvent *arg1)
|
||||
{
|
||||
if (cb_customEvent_1217_0.can_issue()) {
|
||||
cb_customEvent_1217_0.issue<QAudioProbe_Adaptor, QEvent *>(&QAudioProbe_Adaptor::cbs_customEvent_1217_0, arg1);
|
||||
} else {
|
||||
QAudioProbe::customEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAudioProbe::disconnectNotify(const QMetaMethod &signal)
|
||||
void cbs_disconnectNotify_2394_0(const QMetaMethod &signal)
|
||||
{
|
||||
QAudioProbe::disconnectNotify(signal);
|
||||
}
|
||||
|
||||
virtual void disconnectNotify(const QMetaMethod &signal)
|
||||
{
|
||||
if (cb_disconnectNotify_2394_0.can_issue()) {
|
||||
cb_disconnectNotify_2394_0.issue<QAudioProbe_Adaptor, const QMetaMethod &>(&QAudioProbe_Adaptor::cbs_disconnectNotify_2394_0, signal);
|
||||
} else {
|
||||
QAudioProbe::disconnectNotify(signal);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAudioProbe::timerEvent(QTimerEvent *)
|
||||
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
|
||||
{
|
||||
QAudioProbe::timerEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void timerEvent(QTimerEvent *arg1)
|
||||
{
|
||||
if (cb_timerEvent_1730_0.can_issue()) {
|
||||
cb_timerEvent_1730_0.issue<QAudioProbe_Adaptor, QTimerEvent *>(&QAudioProbe_Adaptor::cbs_timerEvent_1730_0, arg1);
|
||||
} else {
|
||||
QAudioProbe::timerEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_event_1217_0;
|
||||
gsi::Callback cb_eventFilter_2411_0;
|
||||
gsi::Callback cb_childEvent_1701_0;
|
||||
gsi::Callback cb_customEvent_1217_0;
|
||||
gsi::Callback cb_disconnectNotify_2394_0;
|
||||
gsi::Callback cb_timerEvent_1730_0;
|
||||
};
|
||||
|
||||
QAudioProbe_Adaptor::~QAudioProbe_Adaptor() { }
|
||||
|
||||
// Constructor QAudioProbe::QAudioProbe(QObject *parent) (adaptor class)
|
||||
|
||||
static void _init_ctor_QAudioProbe_Adaptor_1302 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("parent", true, "0");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
decl->set_return_new<QAudioProbe_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAudioProbe_Adaptor_1302 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args ? args.read<QObject * > (heap) : (QObject *)(0);
|
||||
ret.write<QAudioProbe_Adaptor *> (new QAudioProbe_Adaptor (arg1));
|
||||
}
|
||||
|
||||
|
||||
// emitter void QAudioProbe::audioBufferProbed(const QAudioBuffer &audioBuffer)
|
||||
|
||||
static void _init_emitter_audioBufferProbed_2494 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("audioBuffer");
|
||||
decl->add_arg<const QAudioBuffer & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_audioBufferProbed_2494 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QAudioBuffer &arg1 = args.read<const QAudioBuffer & > (heap);
|
||||
((QAudioProbe_Adaptor *)cls)->emitter_QAudioProbe_audioBufferProbed_2494 (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAudioProbe::childEvent(QChildEvent *)
|
||||
|
||||
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QChildEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_childEvent_1701_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QChildEvent *arg1 = args.read<QChildEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioProbe_Adaptor *)cls)->cbs_childEvent_1701_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioProbe_Adaptor *)cls)->cb_childEvent_1701_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAudioProbe::customEvent(QEvent *)
|
||||
|
||||
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_customEvent_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioProbe_Adaptor *)cls)->cbs_customEvent_1217_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioProbe_Adaptor *)cls)->cb_customEvent_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// emitter void QAudioProbe::destroyed(QObject *)
|
||||
|
||||
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args ? args.read<QObject * > (heap) : (QObject *)(0);
|
||||
((QAudioProbe_Adaptor *)cls)->emitter_QAudioProbe_destroyed_1302 (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAudioProbe::disconnectNotify(const QMetaMethod &signal)
|
||||
|
||||
static void _init_cbs_disconnectNotify_2394_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("signal");
|
||||
decl->add_arg<const QMetaMethod & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_disconnectNotify_2394_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QMetaMethod &arg1 = args.read<const QMetaMethod & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioProbe_Adaptor *)cls)->cbs_disconnectNotify_2394_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_disconnectNotify_2394_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioProbe_Adaptor *)cls)->cb_disconnectNotify_2394_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// bool QAudioProbe::event(QEvent *)
|
||||
|
||||
static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_event_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
ret.write<bool > ((bool)((QAudioProbe_Adaptor *)cls)->cbs_event_1217_0 (arg1));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioProbe_Adaptor *)cls)->cb_event_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// bool QAudioProbe::eventFilter(QObject *, QEvent *)
|
||||
|
||||
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("arg2");
|
||||
decl->add_arg<QEvent * > (argspec_1);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_eventFilter_2411_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args.read<QObject * > (heap);
|
||||
QEvent *arg2 = args.read<QEvent * > (heap);
|
||||
ret.write<bool > ((bool)((QAudioProbe_Adaptor *)cls)->cbs_eventFilter_2411_0 (arg1, arg2));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_eventFilter_2411_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioProbe_Adaptor *)cls)->cb_eventFilter_2411_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// emitter void QAudioProbe::flush()
|
||||
|
||||
static void _init_emitter_flush_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_flush_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
((QAudioProbe_Adaptor *)cls)->emitter_QAudioProbe_flush_0 ();
|
||||
}
|
||||
|
||||
|
||||
// exposed bool QAudioProbe::isSignalConnected(const QMetaMethod &signal)
|
||||
|
||||
static void _init_fp_isSignalConnected_c2394 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("signal");
|
||||
decl->add_arg<const QMetaMethod & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_fp_isSignalConnected_c2394 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QMetaMethod &arg1 = args.read<const QMetaMethod & > (heap);
|
||||
ret.write<bool > ((bool)((QAudioProbe_Adaptor *)cls)->fp_QAudioProbe_isSignalConnected_c2394 (arg1));
|
||||
}
|
||||
|
||||
|
||||
// exposed int QAudioProbe::receivers(const char *signal)
|
||||
|
||||
static void _init_fp_receivers_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_fp_receivers_c1731 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
ret.write<int > ((int)((QAudioProbe_Adaptor *)cls)->fp_QAudioProbe_receivers_c1731 (arg1));
|
||||
}
|
||||
|
||||
|
||||
// exposed QObject *QAudioProbe::sender()
|
||||
|
||||
static void _init_fp_sender_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QObject * > ();
|
||||
}
|
||||
|
||||
static void _call_fp_sender_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QObject * > ((QObject *)((QAudioProbe_Adaptor *)cls)->fp_QAudioProbe_sender_c0 ());
|
||||
}
|
||||
|
||||
|
||||
// exposed int QAudioProbe::senderSignalIndex()
|
||||
|
||||
static void _init_fp_senderSignalIndex_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_fp_senderSignalIndex_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAudioProbe_Adaptor *)cls)->fp_QAudioProbe_senderSignalIndex_c0 ());
|
||||
}
|
||||
|
||||
|
||||
// void QAudioProbe::timerEvent(QTimerEvent *)
|
||||
|
||||
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QTimerEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_timerEvent_1730_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QTimerEvent *arg1 = args.read<QTimerEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioProbe_Adaptor *)cls)->cbs_timerEvent_1730_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_timerEvent_1730_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioProbe_Adaptor *)cls)->cb_timerEvent_1730_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QAudioProbe> &qtdecl_QAudioProbe ();
|
||||
|
||||
static gsi::Methods methods_QAudioProbe_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAudioProbe::QAudioProbe(QObject *parent)\nThis method creates an object of class QAudioProbe.", &_init_ctor_QAudioProbe_Adaptor_1302, &_call_ctor_QAudioProbe_Adaptor_1302);
|
||||
methods += new qt_gsi::GenericMethod ("emit_audioBufferProbed", "@brief Emitter for signal void QAudioProbe::audioBufferProbed(const QAudioBuffer &audioBuffer)\nCall this method to emit this signal.", false, &_init_emitter_audioBufferProbed_2494, &_call_emitter_audioBufferProbed_2494);
|
||||
methods += new qt_gsi::GenericMethod ("*childEvent", "@hide", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0);
|
||||
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QAudioProbe::childEvent(QChildEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0, &_set_callback_cbs_childEvent_1701_0);
|
||||
methods += new qt_gsi::GenericMethod ("*customEvent", "@hide", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("*customEvent", "@brief Virtual method void QAudioProbe::customEvent(QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0, &_set_callback_cbs_customEvent_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("emit_destroyed", "@brief Emitter for signal void QAudioProbe::destroyed(QObject *)\nCall this method to emit this signal.", false, &_init_emitter_destroyed_1302, &_call_emitter_destroyed_1302);
|
||||
methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@hide", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0);
|
||||
methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@brief Virtual method void QAudioProbe::disconnectNotify(const QMetaMethod &signal)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0, &_set_callback_cbs_disconnectNotify_2394_0);
|
||||
methods += new qt_gsi::GenericMethod ("event", "@hide", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("event", "@brief Virtual method bool QAudioProbe::event(QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0, &_set_callback_cbs_event_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("eventFilter", "@hide", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0);
|
||||
methods += new qt_gsi::GenericMethod ("eventFilter", "@brief Virtual method bool QAudioProbe::eventFilter(QObject *, QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0, &_set_callback_cbs_eventFilter_2411_0);
|
||||
methods += new qt_gsi::GenericMethod ("emit_flush", "@brief Emitter for signal void QAudioProbe::flush()\nCall this method to emit this signal.", false, &_init_emitter_flush_0, &_call_emitter_flush_0);
|
||||
methods += new qt_gsi::GenericMethod ("*isSignalConnected", "@brief Method bool QAudioProbe::isSignalConnected(const QMetaMethod &signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_isSignalConnected_c2394, &_call_fp_isSignalConnected_c2394);
|
||||
methods += new qt_gsi::GenericMethod ("*receivers", "@brief Method int QAudioProbe::receivers(const char *signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_receivers_c1731, &_call_fp_receivers_c1731);
|
||||
methods += new qt_gsi::GenericMethod ("*sender", "@brief Method QObject *QAudioProbe::sender()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_sender_c0, &_call_fp_sender_c0);
|
||||
methods += new qt_gsi::GenericMethod ("*senderSignalIndex", "@brief Method int QAudioProbe::senderSignalIndex()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_senderSignalIndex_c0, &_call_fp_senderSignalIndex_c0);
|
||||
methods += new qt_gsi::GenericMethod ("*timerEvent", "@hide", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0);
|
||||
methods += new qt_gsi::GenericMethod ("*timerEvent", "@brief Virtual method void QAudioProbe::timerEvent(QTimerEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0, &_set_callback_cbs_timerEvent_1730_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAudioProbe_Adaptor> decl_QAudioProbe_Adaptor (qtdecl_QAudioProbe (), "QAudioProbe",
|
||||
methods_QAudioProbe_Adaptor (),
|
||||
"@qt\n@brief Binding of QAudioProbe");
|
||||
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,360 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAudioSystemFactoryInterface.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAudioSystemFactoryInterface>
|
||||
#include <QAbstractAudioDeviceInfo>
|
||||
#include <QAbstractAudioInput>
|
||||
#include <QAbstractAudioOutput>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// struct QAudioSystemFactoryInterface
|
||||
|
||||
// QList<QByteArray> QAudioSystemFactoryInterface::availableDevices(QAudio::Mode)
|
||||
|
||||
|
||||
static void _init_f_availableDevices_c1520 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<const qt_gsi::Converter<QAudio::Mode>::target_type & > (argspec_0);
|
||||
decl->set_return<QList<QByteArray> > ();
|
||||
}
|
||||
|
||||
static void _call_f_availableDevices_c1520 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const qt_gsi::Converter<QAudio::Mode>::target_type & arg1 = args.read<const qt_gsi::Converter<QAudio::Mode>::target_type & > (heap);
|
||||
ret.write<QList<QByteArray> > ((QList<QByteArray>)((QAudioSystemFactoryInterface *)cls)->availableDevices (qt_gsi::QtToCppAdaptor<QAudio::Mode>(arg1).cref()));
|
||||
}
|
||||
|
||||
|
||||
// QAbstractAudioDeviceInfo *QAudioSystemFactoryInterface::createDeviceInfo(const QByteArray &device, QAudio::Mode mode)
|
||||
|
||||
|
||||
static void _init_f_createDeviceInfo_3721 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("device");
|
||||
decl->add_arg<const QByteArray & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("mode");
|
||||
decl->add_arg<const qt_gsi::Converter<QAudio::Mode>::target_type & > (argspec_1);
|
||||
decl->set_return<QAbstractAudioDeviceInfo * > ();
|
||||
}
|
||||
|
||||
static void _call_f_createDeviceInfo_3721 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QByteArray &arg1 = args.read<const QByteArray & > (heap);
|
||||
const qt_gsi::Converter<QAudio::Mode>::target_type & arg2 = args.read<const qt_gsi::Converter<QAudio::Mode>::target_type & > (heap);
|
||||
ret.write<QAbstractAudioDeviceInfo * > ((QAbstractAudioDeviceInfo *)((QAudioSystemFactoryInterface *)cls)->createDeviceInfo (arg1, qt_gsi::QtToCppAdaptor<QAudio::Mode>(arg2).cref()));
|
||||
}
|
||||
|
||||
|
||||
// QAbstractAudioInput *QAudioSystemFactoryInterface::createInput(const QByteArray &device)
|
||||
|
||||
|
||||
static void _init_f_createInput_2309 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("device");
|
||||
decl->add_arg<const QByteArray & > (argspec_0);
|
||||
decl->set_return<QAbstractAudioInput * > ();
|
||||
}
|
||||
|
||||
static void _call_f_createInput_2309 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QByteArray &arg1 = args.read<const QByteArray & > (heap);
|
||||
ret.write<QAbstractAudioInput * > ((QAbstractAudioInput *)((QAudioSystemFactoryInterface *)cls)->createInput (arg1));
|
||||
}
|
||||
|
||||
|
||||
// QAbstractAudioOutput *QAudioSystemFactoryInterface::createOutput(const QByteArray &device)
|
||||
|
||||
|
||||
static void _init_f_createOutput_2309 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("device");
|
||||
decl->add_arg<const QByteArray & > (argspec_0);
|
||||
decl->set_return<QAbstractAudioOutput * > ();
|
||||
}
|
||||
|
||||
static void _call_f_createOutput_2309 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QByteArray &arg1 = args.read<const QByteArray & > (heap);
|
||||
ret.write<QAbstractAudioOutput * > ((QAbstractAudioOutput *)((QAudioSystemFactoryInterface *)cls)->createOutput (arg1));
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAudioSystemFactoryInterface () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericMethod ("availableDevices", "@brief Method QList<QByteArray> QAudioSystemFactoryInterface::availableDevices(QAudio::Mode)\n", true, &_init_f_availableDevices_c1520, &_call_f_availableDevices_c1520);
|
||||
methods += new qt_gsi::GenericMethod ("createDeviceInfo", "@brief Method QAbstractAudioDeviceInfo *QAudioSystemFactoryInterface::createDeviceInfo(const QByteArray &device, QAudio::Mode mode)\n", false, &_init_f_createDeviceInfo_3721, &_call_f_createDeviceInfo_3721);
|
||||
methods += new qt_gsi::GenericMethod ("createInput", "@brief Method QAbstractAudioInput *QAudioSystemFactoryInterface::createInput(const QByteArray &device)\n", false, &_init_f_createInput_2309, &_call_f_createInput_2309);
|
||||
methods += new qt_gsi::GenericMethod ("createOutput", "@brief Method QAbstractAudioOutput *QAudioSystemFactoryInterface::createOutput(const QByteArray &device)\n", false, &_init_f_createOutput_2309, &_call_f_createOutput_2309);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAudioSystemFactoryInterface> decl_QAudioSystemFactoryInterface ("QAudioSystemFactoryInterface_Native",
|
||||
methods_QAudioSystemFactoryInterface (),
|
||||
"@hide\n@alias QAudioSystemFactoryInterface");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAudioSystemFactoryInterface> &qtdecl_QAudioSystemFactoryInterface () { return decl_QAudioSystemFactoryInterface; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QAudioSystemFactoryInterface_Adaptor : public QAudioSystemFactoryInterface, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QAudioSystemFactoryInterface_Adaptor();
|
||||
|
||||
// [adaptor ctor] QAudioSystemFactoryInterface::QAudioSystemFactoryInterface()
|
||||
QAudioSystemFactoryInterface_Adaptor() : QAudioSystemFactoryInterface()
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor impl] QList<QByteArray> QAudioSystemFactoryInterface::availableDevices(QAudio::Mode)
|
||||
QList<QByteArray> cbs_availableDevices_c1520_0(const qt_gsi::Converter<QAudio::Mode>::target_type & arg1) const
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (arg1);
|
||||
throw qt_gsi::AbstractMethodCalledException("availableDevices");
|
||||
}
|
||||
|
||||
virtual QList<QByteArray> availableDevices(QAudio::Mode arg1) const
|
||||
{
|
||||
if (cb_availableDevices_c1520_0.can_issue()) {
|
||||
return cb_availableDevices_c1520_0.issue<QAudioSystemFactoryInterface_Adaptor, QList<QByteArray>, const qt_gsi::Converter<QAudio::Mode>::target_type &>(&QAudioSystemFactoryInterface_Adaptor::cbs_availableDevices_c1520_0, qt_gsi::CppToQtAdaptor<QAudio::Mode>(arg1));
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("availableDevices");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] QAbstractAudioDeviceInfo *QAudioSystemFactoryInterface::createDeviceInfo(const QByteArray &device, QAudio::Mode mode)
|
||||
QAbstractAudioDeviceInfo * cbs_createDeviceInfo_3721_0(const QByteArray &device, const qt_gsi::Converter<QAudio::Mode>::target_type & mode)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (device);
|
||||
__SUPPRESS_UNUSED_WARNING (mode);
|
||||
throw qt_gsi::AbstractMethodCalledException("createDeviceInfo");
|
||||
}
|
||||
|
||||
virtual QAbstractAudioDeviceInfo * createDeviceInfo(const QByteArray &device, QAudio::Mode mode)
|
||||
{
|
||||
if (cb_createDeviceInfo_3721_0.can_issue()) {
|
||||
return cb_createDeviceInfo_3721_0.issue<QAudioSystemFactoryInterface_Adaptor, QAbstractAudioDeviceInfo *, const QByteArray &, const qt_gsi::Converter<QAudio::Mode>::target_type &>(&QAudioSystemFactoryInterface_Adaptor::cbs_createDeviceInfo_3721_0, device, qt_gsi::CppToQtAdaptor<QAudio::Mode>(mode));
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("createDeviceInfo");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] QAbstractAudioInput *QAudioSystemFactoryInterface::createInput(const QByteArray &device)
|
||||
QAbstractAudioInput * cbs_createInput_2309_0(const QByteArray &device)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (device);
|
||||
throw qt_gsi::AbstractMethodCalledException("createInput");
|
||||
}
|
||||
|
||||
virtual QAbstractAudioInput * createInput(const QByteArray &device)
|
||||
{
|
||||
if (cb_createInput_2309_0.can_issue()) {
|
||||
return cb_createInput_2309_0.issue<QAudioSystemFactoryInterface_Adaptor, QAbstractAudioInput *, const QByteArray &>(&QAudioSystemFactoryInterface_Adaptor::cbs_createInput_2309_0, device);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("createInput");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] QAbstractAudioOutput *QAudioSystemFactoryInterface::createOutput(const QByteArray &device)
|
||||
QAbstractAudioOutput * cbs_createOutput_2309_0(const QByteArray &device)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (device);
|
||||
throw qt_gsi::AbstractMethodCalledException("createOutput");
|
||||
}
|
||||
|
||||
virtual QAbstractAudioOutput * createOutput(const QByteArray &device)
|
||||
{
|
||||
if (cb_createOutput_2309_0.can_issue()) {
|
||||
return cb_createOutput_2309_0.issue<QAudioSystemFactoryInterface_Adaptor, QAbstractAudioOutput *, const QByteArray &>(&QAudioSystemFactoryInterface_Adaptor::cbs_createOutput_2309_0, device);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("createOutput");
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_availableDevices_c1520_0;
|
||||
gsi::Callback cb_createDeviceInfo_3721_0;
|
||||
gsi::Callback cb_createInput_2309_0;
|
||||
gsi::Callback cb_createOutput_2309_0;
|
||||
};
|
||||
|
||||
QAudioSystemFactoryInterface_Adaptor::~QAudioSystemFactoryInterface_Adaptor() { }
|
||||
|
||||
// Constructor QAudioSystemFactoryInterface::QAudioSystemFactoryInterface() (adaptor class)
|
||||
|
||||
static void _init_ctor_QAudioSystemFactoryInterface_Adaptor_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return_new<QAudioSystemFactoryInterface_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAudioSystemFactoryInterface_Adaptor_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAudioSystemFactoryInterface_Adaptor *> (new QAudioSystemFactoryInterface_Adaptor ());
|
||||
}
|
||||
|
||||
|
||||
// QList<QByteArray> QAudioSystemFactoryInterface::availableDevices(QAudio::Mode)
|
||||
|
||||
static void _init_cbs_availableDevices_c1520_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<const qt_gsi::Converter<QAudio::Mode>::target_type & > (argspec_0);
|
||||
decl->set_return<QList<QByteArray> > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_availableDevices_c1520_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const qt_gsi::Converter<QAudio::Mode>::target_type & arg1 = args.read<const qt_gsi::Converter<QAudio::Mode>::target_type & > (heap);
|
||||
ret.write<QList<QByteArray> > ((QList<QByteArray>)((QAudioSystemFactoryInterface_Adaptor *)cls)->cbs_availableDevices_c1520_0 (arg1));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_availableDevices_c1520_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioSystemFactoryInterface_Adaptor *)cls)->cb_availableDevices_c1520_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// QAbstractAudioDeviceInfo *QAudioSystemFactoryInterface::createDeviceInfo(const QByteArray &device, QAudio::Mode mode)
|
||||
|
||||
static void _init_cbs_createDeviceInfo_3721_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("device");
|
||||
decl->add_arg<const QByteArray & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("mode");
|
||||
decl->add_arg<const qt_gsi::Converter<QAudio::Mode>::target_type & > (argspec_1);
|
||||
decl->set_return<QAbstractAudioDeviceInfo * > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_createDeviceInfo_3721_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QByteArray &arg1 = args.read<const QByteArray & > (heap);
|
||||
const qt_gsi::Converter<QAudio::Mode>::target_type & arg2 = args.read<const qt_gsi::Converter<QAudio::Mode>::target_type & > (heap);
|
||||
ret.write<QAbstractAudioDeviceInfo * > ((QAbstractAudioDeviceInfo *)((QAudioSystemFactoryInterface_Adaptor *)cls)->cbs_createDeviceInfo_3721_0 (arg1, arg2));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_createDeviceInfo_3721_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioSystemFactoryInterface_Adaptor *)cls)->cb_createDeviceInfo_3721_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// QAbstractAudioInput *QAudioSystemFactoryInterface::createInput(const QByteArray &device)
|
||||
|
||||
static void _init_cbs_createInput_2309_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("device");
|
||||
decl->add_arg<const QByteArray & > (argspec_0);
|
||||
decl->set_return<QAbstractAudioInput * > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_createInput_2309_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QByteArray &arg1 = args.read<const QByteArray & > (heap);
|
||||
ret.write<QAbstractAudioInput * > ((QAbstractAudioInput *)((QAudioSystemFactoryInterface_Adaptor *)cls)->cbs_createInput_2309_0 (arg1));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_createInput_2309_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioSystemFactoryInterface_Adaptor *)cls)->cb_createInput_2309_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// QAbstractAudioOutput *QAudioSystemFactoryInterface::createOutput(const QByteArray &device)
|
||||
|
||||
static void _init_cbs_createOutput_2309_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("device");
|
||||
decl->add_arg<const QByteArray & > (argspec_0);
|
||||
decl->set_return<QAbstractAudioOutput * > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_createOutput_2309_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QByteArray &arg1 = args.read<const QByteArray & > (heap);
|
||||
ret.write<QAbstractAudioOutput * > ((QAbstractAudioOutput *)((QAudioSystemFactoryInterface_Adaptor *)cls)->cbs_createOutput_2309_0 (arg1));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_createOutput_2309_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioSystemFactoryInterface_Adaptor *)cls)->cb_createOutput_2309_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QAudioSystemFactoryInterface> &qtdecl_QAudioSystemFactoryInterface ();
|
||||
|
||||
static gsi::Methods methods_QAudioSystemFactoryInterface_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAudioSystemFactoryInterface::QAudioSystemFactoryInterface()\nThis method creates an object of class QAudioSystemFactoryInterface.", &_init_ctor_QAudioSystemFactoryInterface_Adaptor_0, &_call_ctor_QAudioSystemFactoryInterface_Adaptor_0);
|
||||
methods += new qt_gsi::GenericMethod ("availableDevices", "@hide", true, &_init_cbs_availableDevices_c1520_0, &_call_cbs_availableDevices_c1520_0);
|
||||
methods += new qt_gsi::GenericMethod ("availableDevices", "@brief Virtual method QList<QByteArray> QAudioSystemFactoryInterface::availableDevices(QAudio::Mode)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_availableDevices_c1520_0, &_call_cbs_availableDevices_c1520_0, &_set_callback_cbs_availableDevices_c1520_0);
|
||||
methods += new qt_gsi::GenericMethod ("createDeviceInfo", "@hide", false, &_init_cbs_createDeviceInfo_3721_0, &_call_cbs_createDeviceInfo_3721_0);
|
||||
methods += new qt_gsi::GenericMethod ("createDeviceInfo", "@brief Virtual method QAbstractAudioDeviceInfo *QAudioSystemFactoryInterface::createDeviceInfo(const QByteArray &device, QAudio::Mode mode)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_createDeviceInfo_3721_0, &_call_cbs_createDeviceInfo_3721_0, &_set_callback_cbs_createDeviceInfo_3721_0);
|
||||
methods += new qt_gsi::GenericMethod ("createInput", "@hide", false, &_init_cbs_createInput_2309_0, &_call_cbs_createInput_2309_0);
|
||||
methods += new qt_gsi::GenericMethod ("createInput", "@brief Virtual method QAbstractAudioInput *QAudioSystemFactoryInterface::createInput(const QByteArray &device)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_createInput_2309_0, &_call_cbs_createInput_2309_0, &_set_callback_cbs_createInput_2309_0);
|
||||
methods += new qt_gsi::GenericMethod ("createOutput", "@hide", false, &_init_cbs_createOutput_2309_0, &_call_cbs_createOutput_2309_0);
|
||||
methods += new qt_gsi::GenericMethod ("createOutput", "@brief Virtual method QAbstractAudioOutput *QAudioSystemFactoryInterface::createOutput(const QByteArray &device)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_createOutput_2309_0, &_call_cbs_createOutput_2309_0, &_set_callback_cbs_createOutput_2309_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAudioSystemFactoryInterface_Adaptor> decl_QAudioSystemFactoryInterface_Adaptor (qtdecl_QAudioSystemFactoryInterface (), "QAudioSystemFactoryInterface",
|
||||
methods_QAudioSystemFactoryInterface_Adaptor (),
|
||||
"@qt\n@brief Binding of QAudioSystemFactoryInterface");
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,860 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAudioSystemPlugin.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAudioSystemPlugin>
|
||||
#include <QAbstractAudioDeviceInfo>
|
||||
#include <QAbstractAudioInput>
|
||||
#include <QAbstractAudioOutput>
|
||||
#include <QChildEvent>
|
||||
#include <QEvent>
|
||||
#include <QMetaMethod>
|
||||
#include <QObject>
|
||||
#include <QThread>
|
||||
#include <QTimerEvent>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAudioSystemPlugin
|
||||
|
||||
// get static meta object
|
||||
|
||||
static void _init_smo (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return<const QMetaObject &> ();
|
||||
}
|
||||
|
||||
static void _call_smo (const qt_gsi::GenericStaticMethod *, gsi::SerialArgs &, gsi::SerialArgs &ret)
|
||||
{
|
||||
ret.write<const QMetaObject &> (QAudioSystemPlugin::staticMetaObject);
|
||||
}
|
||||
|
||||
|
||||
// (QAudio::Mode) const
|
||||
|
||||
|
||||
static void _init_f_availableDevices_c1520 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<const qt_gsi::Converter<QAudio::Mode>::target_type & > (argspec_0);
|
||||
decl->set_return<QList<QByteArray> > ();
|
||||
}
|
||||
|
||||
static void _call_f_availableDevices_c1520 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const qt_gsi::Converter<QAudio::Mode>::target_type & arg1 = args.read<const qt_gsi::Converter<QAudio::Mode>::target_type & > (heap);
|
||||
ret.write<QList<QByteArray> > ((QList<QByteArray>)((QAudioSystemPlugin *)cls)->availableDevices (qt_gsi::QtToCppAdaptor<QAudio::Mode>(arg1).cref()));
|
||||
}
|
||||
|
||||
|
||||
// (const QByteArray &, QAudio::Mode)
|
||||
|
||||
|
||||
static void _init_f_createDeviceInfo_3721 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("device");
|
||||
decl->add_arg<const QByteArray & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("mode");
|
||||
decl->add_arg<const qt_gsi::Converter<QAudio::Mode>::target_type & > (argspec_1);
|
||||
decl->set_return<QAbstractAudioDeviceInfo * > ();
|
||||
}
|
||||
|
||||
static void _call_f_createDeviceInfo_3721 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QByteArray &arg1 = args.read<const QByteArray & > (heap);
|
||||
const qt_gsi::Converter<QAudio::Mode>::target_type & arg2 = args.read<const qt_gsi::Converter<QAudio::Mode>::target_type & > (heap);
|
||||
ret.write<QAbstractAudioDeviceInfo * > ((QAbstractAudioDeviceInfo *)((QAudioSystemPlugin *)cls)->createDeviceInfo (arg1, qt_gsi::QtToCppAdaptor<QAudio::Mode>(arg2).cref()));
|
||||
}
|
||||
|
||||
|
||||
// (const QByteArray &)
|
||||
|
||||
|
||||
static void _init_f_createInput_2309 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("device");
|
||||
decl->add_arg<const QByteArray & > (argspec_0);
|
||||
decl->set_return<QAbstractAudioInput * > ();
|
||||
}
|
||||
|
||||
static void _call_f_createInput_2309 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QByteArray &arg1 = args.read<const QByteArray & > (heap);
|
||||
ret.write<QAbstractAudioInput * > ((QAbstractAudioInput *)((QAudioSystemPlugin *)cls)->createInput (arg1));
|
||||
}
|
||||
|
||||
|
||||
// (const QByteArray &)
|
||||
|
||||
|
||||
static void _init_f_createOutput_2309 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("device");
|
||||
decl->add_arg<const QByteArray & > (argspec_0);
|
||||
decl->set_return<QAbstractAudioOutput * > ();
|
||||
}
|
||||
|
||||
static void _call_f_createOutput_2309 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QByteArray &arg1 = args.read<const QByteArray & > (heap);
|
||||
ret.write<QAbstractAudioOutput * > ((QAbstractAudioOutput *)((QAudioSystemPlugin *)cls)->createOutput (arg1));
|
||||
}
|
||||
|
||||
|
||||
// static QString QAudioSystemPlugin::tr(const char *s, const char *c, int n)
|
||||
|
||||
|
||||
static void _init_f_tr_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("s");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("c", true, "__null");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_tr_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(__null);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QAudioSystemPlugin::tr (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
// static QString QAudioSystemPlugin::trUtf8(const char *s, const char *c, int n)
|
||||
|
||||
|
||||
static void _init_f_trUtf8_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("s");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("c", true, "__null");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_trUtf8_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(__null);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QAudioSystemPlugin::trUtf8 (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
// base class cast for QObject
|
||||
|
||||
static void _init_f_QAudioSystemPlugin_as_QObject (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QObject *> ();
|
||||
}
|
||||
|
||||
static void _call_f_QAudioSystemPlugin_as_QObject (const qt_gsi::GenericMethod *, void *cls, gsi::SerialArgs &, gsi::SerialArgs &ret)
|
||||
{
|
||||
ret.write<QObject *> ((QObject *)(QAudioSystemPlugin *)cls);
|
||||
}
|
||||
|
||||
static void _init_f_QAudioSystemPlugin_as_const_QObject (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<const QObject *> ();
|
||||
}
|
||||
|
||||
static void _call_f_QAudioSystemPlugin_as_const_QObject (const qt_gsi::GenericMethod *, void *cls, gsi::SerialArgs &, gsi::SerialArgs &ret)
|
||||
{
|
||||
ret.write<const QObject *> ((const QObject *)(const QAudioSystemPlugin *)cls);
|
||||
}
|
||||
|
||||
// base class cast for QAudioSystemFactoryInterface
|
||||
|
||||
static void _init_f_QAudioSystemPlugin_as_QAudioSystemFactoryInterface (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QAudioSystemFactoryInterface *> ();
|
||||
}
|
||||
|
||||
static void _call_f_QAudioSystemPlugin_as_QAudioSystemFactoryInterface (const qt_gsi::GenericMethod *, void *cls, gsi::SerialArgs &, gsi::SerialArgs &ret)
|
||||
{
|
||||
ret.write<QAudioSystemFactoryInterface *> ((QAudioSystemFactoryInterface *)(QAudioSystemPlugin *)cls);
|
||||
}
|
||||
|
||||
static void _init_f_QAudioSystemPlugin_as_const_QAudioSystemFactoryInterface (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<const QAudioSystemFactoryInterface *> ();
|
||||
}
|
||||
|
||||
static void _call_f_QAudioSystemPlugin_as_const_QAudioSystemFactoryInterface (const qt_gsi::GenericMethod *, void *cls, gsi::SerialArgs &, gsi::SerialArgs &ret)
|
||||
{
|
||||
ret.write<const QAudioSystemFactoryInterface *> ((const QAudioSystemFactoryInterface *)(const QAudioSystemPlugin *)cls);
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAudioSystemPlugin () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("staticMetaObject", "@brief Obtains the static MetaObject for this class.", &_init_smo, &_call_smo);
|
||||
methods += new qt_gsi::GenericMethod ("availableDevices", "@brief Method (QAudio::Mode) const\nThis is a reimplementation of QAudioSystemFactoryInterface::availableDevices", true, &_init_f_availableDevices_c1520, &_call_f_availableDevices_c1520);
|
||||
methods += new qt_gsi::GenericMethod ("createDeviceInfo", "@brief Method (const QByteArray &, QAudio::Mode)\nThis is a reimplementation of QAudioSystemFactoryInterface::createDeviceInfo", false, &_init_f_createDeviceInfo_3721, &_call_f_createDeviceInfo_3721);
|
||||
methods += new qt_gsi::GenericMethod ("createInput", "@brief Method (const QByteArray &)\nThis is a reimplementation of QAudioSystemFactoryInterface::createInput", false, &_init_f_createInput_2309, &_call_f_createInput_2309);
|
||||
methods += new qt_gsi::GenericMethod ("createOutput", "@brief Method (const QByteArray &)\nThis is a reimplementation of QAudioSystemFactoryInterface::createOutput", false, &_init_f_createOutput_2309, &_call_f_createOutput_2309);
|
||||
methods += gsi::qt_signal<QObject * > ("destroyed(QObject *)", "destroyed", gsi::arg("arg1"), "@brief Signal declaration for QAudioSystemPlugin::destroyed(QObject *)\nYou can bind a procedure to this signal.");
|
||||
methods += new qt_gsi::GenericStaticMethod ("tr", "@brief Static method QString QAudioSystemPlugin::tr(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_tr_4013, &_call_f_tr_4013);
|
||||
methods += new qt_gsi::GenericStaticMethod ("trUtf8", "@brief Static method QString QAudioSystemPlugin::trUtf8(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_trUtf8_4013, &_call_f_trUtf8_4013);
|
||||
methods += new qt_gsi::GenericMethod ("asQObject", "@brief Delivers the base class interface QObject of QAudioSystemPlugin\nClass QAudioSystemPlugin is derived from multiple base classes. This method delivers the QObject base class aspect.", false, &_init_f_QAudioSystemPlugin_as_QObject, &_call_f_QAudioSystemPlugin_as_QObject);
|
||||
methods += new qt_gsi::GenericMethod ("asConstQObject", "@brief Delivers the base class interface QObject of QAudioSystemPlugin\nClass QAudioSystemPlugin is derived from multiple base classes. This method delivers the QObject base class aspect.\n\nUse this version if you have a const reference.", true, &_init_f_QAudioSystemPlugin_as_const_QObject, &_call_f_QAudioSystemPlugin_as_const_QObject);
|
||||
methods += new qt_gsi::GenericMethod ("asQAudioSystemFactoryInterface", "@brief Delivers the base class interface QAudioSystemFactoryInterface of QAudioSystemPlugin\nClass QAudioSystemPlugin is derived from multiple base classes. This method delivers the QAudioSystemFactoryInterface base class aspect.", false, &_init_f_QAudioSystemPlugin_as_QAudioSystemFactoryInterface, &_call_f_QAudioSystemPlugin_as_QAudioSystemFactoryInterface);
|
||||
methods += new qt_gsi::GenericMethod ("asConstQAudioSystemFactoryInterface", "@brief Delivers the base class interface QAudioSystemFactoryInterface of QAudioSystemPlugin\nClass QAudioSystemPlugin is derived from multiple base classes. This method delivers the QAudioSystemFactoryInterface base class aspect.\n\nUse this version if you have a const reference.", true, &_init_f_QAudioSystemPlugin_as_const_QAudioSystemFactoryInterface, &_call_f_QAudioSystemPlugin_as_const_QAudioSystemFactoryInterface);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QObject> &qtdecl_QObject ();
|
||||
|
||||
qt_gsi::QtNativeClass<QAudioSystemPlugin> decl_QAudioSystemPlugin (qtdecl_QObject (), "QAudioSystemPlugin_Native",
|
||||
methods_QAudioSystemPlugin (),
|
||||
"@hide\n@alias QAudioSystemPlugin");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAudioSystemPlugin> &qtdecl_QAudioSystemPlugin () { return decl_QAudioSystemPlugin; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QAudioSystemPlugin_Adaptor : public QAudioSystemPlugin, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QAudioSystemPlugin_Adaptor();
|
||||
|
||||
// [adaptor ctor] QAudioSystemPlugin::QAudioSystemPlugin(QObject *parent)
|
||||
QAudioSystemPlugin_Adaptor() : QAudioSystemPlugin()
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor ctor] QAudioSystemPlugin::QAudioSystemPlugin(QObject *parent)
|
||||
QAudioSystemPlugin_Adaptor(QObject *parent) : QAudioSystemPlugin(parent)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [expose] bool QAudioSystemPlugin::isSignalConnected(const QMetaMethod &signal)
|
||||
bool fp_QAudioSystemPlugin_isSignalConnected_c2394 (const QMetaMethod &signal) const {
|
||||
return QAudioSystemPlugin::isSignalConnected(signal);
|
||||
}
|
||||
|
||||
// [expose] int QAudioSystemPlugin::receivers(const char *signal)
|
||||
int fp_QAudioSystemPlugin_receivers_c1731 (const char *signal) const {
|
||||
return QAudioSystemPlugin::receivers(signal);
|
||||
}
|
||||
|
||||
// [expose] QObject *QAudioSystemPlugin::sender()
|
||||
QObject * fp_QAudioSystemPlugin_sender_c0 () const {
|
||||
return QAudioSystemPlugin::sender();
|
||||
}
|
||||
|
||||
// [expose] int QAudioSystemPlugin::senderSignalIndex()
|
||||
int fp_QAudioSystemPlugin_senderSignalIndex_c0 () const {
|
||||
return QAudioSystemPlugin::senderSignalIndex();
|
||||
}
|
||||
|
||||
// [adaptor impl] QList<QByteArray> QAudioSystemPlugin::availableDevices(QAudio::Mode)
|
||||
QList<QByteArray> cbs_availableDevices_c1520_0(const qt_gsi::Converter<QAudio::Mode>::target_type & arg1) const
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (arg1);
|
||||
throw qt_gsi::AbstractMethodCalledException("availableDevices");
|
||||
}
|
||||
|
||||
virtual QList<QByteArray> availableDevices(QAudio::Mode arg1) const
|
||||
{
|
||||
if (cb_availableDevices_c1520_0.can_issue()) {
|
||||
return cb_availableDevices_c1520_0.issue<QAudioSystemPlugin_Adaptor, QList<QByteArray>, const qt_gsi::Converter<QAudio::Mode>::target_type &>(&QAudioSystemPlugin_Adaptor::cbs_availableDevices_c1520_0, qt_gsi::CppToQtAdaptor<QAudio::Mode>(arg1));
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("availableDevices");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] QAbstractAudioDeviceInfo *QAudioSystemPlugin::createDeviceInfo(const QByteArray &device, QAudio::Mode mode)
|
||||
QAbstractAudioDeviceInfo * cbs_createDeviceInfo_3721_0(const QByteArray &device, const qt_gsi::Converter<QAudio::Mode>::target_type & mode)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (device);
|
||||
__SUPPRESS_UNUSED_WARNING (mode);
|
||||
throw qt_gsi::AbstractMethodCalledException("createDeviceInfo");
|
||||
}
|
||||
|
||||
virtual QAbstractAudioDeviceInfo * createDeviceInfo(const QByteArray &device, QAudio::Mode mode)
|
||||
{
|
||||
if (cb_createDeviceInfo_3721_0.can_issue()) {
|
||||
return cb_createDeviceInfo_3721_0.issue<QAudioSystemPlugin_Adaptor, QAbstractAudioDeviceInfo *, const QByteArray &, const qt_gsi::Converter<QAudio::Mode>::target_type &>(&QAudioSystemPlugin_Adaptor::cbs_createDeviceInfo_3721_0, device, qt_gsi::CppToQtAdaptor<QAudio::Mode>(mode));
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("createDeviceInfo");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] QAbstractAudioInput *QAudioSystemPlugin::createInput(const QByteArray &device)
|
||||
QAbstractAudioInput * cbs_createInput_2309_0(const QByteArray &device)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (device);
|
||||
throw qt_gsi::AbstractMethodCalledException("createInput");
|
||||
}
|
||||
|
||||
virtual QAbstractAudioInput * createInput(const QByteArray &device)
|
||||
{
|
||||
if (cb_createInput_2309_0.can_issue()) {
|
||||
return cb_createInput_2309_0.issue<QAudioSystemPlugin_Adaptor, QAbstractAudioInput *, const QByteArray &>(&QAudioSystemPlugin_Adaptor::cbs_createInput_2309_0, device);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("createInput");
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] QAbstractAudioOutput *QAudioSystemPlugin::createOutput(const QByteArray &device)
|
||||
QAbstractAudioOutput * cbs_createOutput_2309_0(const QByteArray &device)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING (device);
|
||||
throw qt_gsi::AbstractMethodCalledException("createOutput");
|
||||
}
|
||||
|
||||
virtual QAbstractAudioOutput * createOutput(const QByteArray &device)
|
||||
{
|
||||
if (cb_createOutput_2309_0.can_issue()) {
|
||||
return cb_createOutput_2309_0.issue<QAudioSystemPlugin_Adaptor, QAbstractAudioOutput *, const QByteArray &>(&QAudioSystemPlugin_Adaptor::cbs_createOutput_2309_0, device);
|
||||
} else {
|
||||
throw qt_gsi::AbstractMethodCalledException("createOutput");
|
||||
}
|
||||
}
|
||||
|
||||
// [emitter impl] void QAudioSystemPlugin::destroyed(QObject *)
|
||||
void emitter_QAudioSystemPlugin_destroyed_1302(QObject *arg1)
|
||||
{
|
||||
emit QAudioSystemPlugin::destroyed(arg1);
|
||||
}
|
||||
|
||||
// [adaptor impl] bool QAudioSystemPlugin::event(QEvent *)
|
||||
bool cbs_event_1217_0(QEvent *arg1)
|
||||
{
|
||||
return QAudioSystemPlugin::event(arg1);
|
||||
}
|
||||
|
||||
virtual bool event(QEvent *arg1)
|
||||
{
|
||||
if (cb_event_1217_0.can_issue()) {
|
||||
return cb_event_1217_0.issue<QAudioSystemPlugin_Adaptor, bool, QEvent *>(&QAudioSystemPlugin_Adaptor::cbs_event_1217_0, arg1);
|
||||
} else {
|
||||
return QAudioSystemPlugin::event(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] bool QAudioSystemPlugin::eventFilter(QObject *, QEvent *)
|
||||
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
|
||||
{
|
||||
return QAudioSystemPlugin::eventFilter(arg1, arg2);
|
||||
}
|
||||
|
||||
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
|
||||
{
|
||||
if (cb_eventFilter_2411_0.can_issue()) {
|
||||
return cb_eventFilter_2411_0.issue<QAudioSystemPlugin_Adaptor, bool, QObject *, QEvent *>(&QAudioSystemPlugin_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
|
||||
} else {
|
||||
return QAudioSystemPlugin::eventFilter(arg1, arg2);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAudioSystemPlugin::childEvent(QChildEvent *)
|
||||
void cbs_childEvent_1701_0(QChildEvent *arg1)
|
||||
{
|
||||
QAudioSystemPlugin::childEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void childEvent(QChildEvent *arg1)
|
||||
{
|
||||
if (cb_childEvent_1701_0.can_issue()) {
|
||||
cb_childEvent_1701_0.issue<QAudioSystemPlugin_Adaptor, QChildEvent *>(&QAudioSystemPlugin_Adaptor::cbs_childEvent_1701_0, arg1);
|
||||
} else {
|
||||
QAudioSystemPlugin::childEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAudioSystemPlugin::customEvent(QEvent *)
|
||||
void cbs_customEvent_1217_0(QEvent *arg1)
|
||||
{
|
||||
QAudioSystemPlugin::customEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void customEvent(QEvent *arg1)
|
||||
{
|
||||
if (cb_customEvent_1217_0.can_issue()) {
|
||||
cb_customEvent_1217_0.issue<QAudioSystemPlugin_Adaptor, QEvent *>(&QAudioSystemPlugin_Adaptor::cbs_customEvent_1217_0, arg1);
|
||||
} else {
|
||||
QAudioSystemPlugin::customEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAudioSystemPlugin::disconnectNotify(const QMetaMethod &signal)
|
||||
void cbs_disconnectNotify_2394_0(const QMetaMethod &signal)
|
||||
{
|
||||
QAudioSystemPlugin::disconnectNotify(signal);
|
||||
}
|
||||
|
||||
virtual void disconnectNotify(const QMetaMethod &signal)
|
||||
{
|
||||
if (cb_disconnectNotify_2394_0.can_issue()) {
|
||||
cb_disconnectNotify_2394_0.issue<QAudioSystemPlugin_Adaptor, const QMetaMethod &>(&QAudioSystemPlugin_Adaptor::cbs_disconnectNotify_2394_0, signal);
|
||||
} else {
|
||||
QAudioSystemPlugin::disconnectNotify(signal);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QAudioSystemPlugin::timerEvent(QTimerEvent *)
|
||||
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
|
||||
{
|
||||
QAudioSystemPlugin::timerEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void timerEvent(QTimerEvent *arg1)
|
||||
{
|
||||
if (cb_timerEvent_1730_0.can_issue()) {
|
||||
cb_timerEvent_1730_0.issue<QAudioSystemPlugin_Adaptor, QTimerEvent *>(&QAudioSystemPlugin_Adaptor::cbs_timerEvent_1730_0, arg1);
|
||||
} else {
|
||||
QAudioSystemPlugin::timerEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_availableDevices_c1520_0;
|
||||
gsi::Callback cb_createDeviceInfo_3721_0;
|
||||
gsi::Callback cb_createInput_2309_0;
|
||||
gsi::Callback cb_createOutput_2309_0;
|
||||
gsi::Callback cb_event_1217_0;
|
||||
gsi::Callback cb_eventFilter_2411_0;
|
||||
gsi::Callback cb_childEvent_1701_0;
|
||||
gsi::Callback cb_customEvent_1217_0;
|
||||
gsi::Callback cb_disconnectNotify_2394_0;
|
||||
gsi::Callback cb_timerEvent_1730_0;
|
||||
};
|
||||
|
||||
QAudioSystemPlugin_Adaptor::~QAudioSystemPlugin_Adaptor() { }
|
||||
|
||||
// Constructor QAudioSystemPlugin::QAudioSystemPlugin(QObject *parent) (adaptor class)
|
||||
|
||||
static void _init_ctor_QAudioSystemPlugin_Adaptor_1302 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("parent", true, "0");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
decl->set_return_new<QAudioSystemPlugin_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAudioSystemPlugin_Adaptor_1302 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args ? args.read<QObject * > (heap) : (QObject *)(0);
|
||||
ret.write<QAudioSystemPlugin_Adaptor *> (new QAudioSystemPlugin_Adaptor (arg1));
|
||||
}
|
||||
|
||||
|
||||
// QList<QByteArray> QAudioSystemPlugin::availableDevices(QAudio::Mode)
|
||||
|
||||
static void _init_cbs_availableDevices_c1520_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<const qt_gsi::Converter<QAudio::Mode>::target_type & > (argspec_0);
|
||||
decl->set_return<QList<QByteArray> > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_availableDevices_c1520_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const qt_gsi::Converter<QAudio::Mode>::target_type & arg1 = args.read<const qt_gsi::Converter<QAudio::Mode>::target_type & > (heap);
|
||||
ret.write<QList<QByteArray> > ((QList<QByteArray>)((QAudioSystemPlugin_Adaptor *)cls)->cbs_availableDevices_c1520_0 (arg1));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_availableDevices_c1520_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioSystemPlugin_Adaptor *)cls)->cb_availableDevices_c1520_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAudioSystemPlugin::childEvent(QChildEvent *)
|
||||
|
||||
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QChildEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_childEvent_1701_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QChildEvent *arg1 = args.read<QChildEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioSystemPlugin_Adaptor *)cls)->cbs_childEvent_1701_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioSystemPlugin_Adaptor *)cls)->cb_childEvent_1701_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// QAbstractAudioDeviceInfo *QAudioSystemPlugin::createDeviceInfo(const QByteArray &device, QAudio::Mode mode)
|
||||
|
||||
static void _init_cbs_createDeviceInfo_3721_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("device");
|
||||
decl->add_arg<const QByteArray & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("mode");
|
||||
decl->add_arg<const qt_gsi::Converter<QAudio::Mode>::target_type & > (argspec_1);
|
||||
decl->set_return<QAbstractAudioDeviceInfo * > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_createDeviceInfo_3721_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QByteArray &arg1 = args.read<const QByteArray & > (heap);
|
||||
const qt_gsi::Converter<QAudio::Mode>::target_type & arg2 = args.read<const qt_gsi::Converter<QAudio::Mode>::target_type & > (heap);
|
||||
ret.write<QAbstractAudioDeviceInfo * > ((QAbstractAudioDeviceInfo *)((QAudioSystemPlugin_Adaptor *)cls)->cbs_createDeviceInfo_3721_0 (arg1, arg2));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_createDeviceInfo_3721_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioSystemPlugin_Adaptor *)cls)->cb_createDeviceInfo_3721_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// QAbstractAudioInput *QAudioSystemPlugin::createInput(const QByteArray &device)
|
||||
|
||||
static void _init_cbs_createInput_2309_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("device");
|
||||
decl->add_arg<const QByteArray & > (argspec_0);
|
||||
decl->set_return<QAbstractAudioInput * > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_createInput_2309_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QByteArray &arg1 = args.read<const QByteArray & > (heap);
|
||||
ret.write<QAbstractAudioInput * > ((QAbstractAudioInput *)((QAudioSystemPlugin_Adaptor *)cls)->cbs_createInput_2309_0 (arg1));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_createInput_2309_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioSystemPlugin_Adaptor *)cls)->cb_createInput_2309_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// QAbstractAudioOutput *QAudioSystemPlugin::createOutput(const QByteArray &device)
|
||||
|
||||
static void _init_cbs_createOutput_2309_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("device");
|
||||
decl->add_arg<const QByteArray & > (argspec_0);
|
||||
decl->set_return<QAbstractAudioOutput * > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_createOutput_2309_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QByteArray &arg1 = args.read<const QByteArray & > (heap);
|
||||
ret.write<QAbstractAudioOutput * > ((QAbstractAudioOutput *)((QAudioSystemPlugin_Adaptor *)cls)->cbs_createOutput_2309_0 (arg1));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_createOutput_2309_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioSystemPlugin_Adaptor *)cls)->cb_createOutput_2309_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QAudioSystemPlugin::customEvent(QEvent *)
|
||||
|
||||
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_customEvent_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioSystemPlugin_Adaptor *)cls)->cbs_customEvent_1217_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioSystemPlugin_Adaptor *)cls)->cb_customEvent_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// emitter void QAudioSystemPlugin::destroyed(QObject *)
|
||||
|
||||
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args ? args.read<QObject * > (heap) : (QObject *)(0);
|
||||
((QAudioSystemPlugin_Adaptor *)cls)->emitter_QAudioSystemPlugin_destroyed_1302 (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAudioSystemPlugin::disconnectNotify(const QMetaMethod &signal)
|
||||
|
||||
static void _init_cbs_disconnectNotify_2394_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("signal");
|
||||
decl->add_arg<const QMetaMethod & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_disconnectNotify_2394_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QMetaMethod &arg1 = args.read<const QMetaMethod & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioSystemPlugin_Adaptor *)cls)->cbs_disconnectNotify_2394_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_disconnectNotify_2394_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioSystemPlugin_Adaptor *)cls)->cb_disconnectNotify_2394_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// bool QAudioSystemPlugin::event(QEvent *)
|
||||
|
||||
static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_event_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
ret.write<bool > ((bool)((QAudioSystemPlugin_Adaptor *)cls)->cbs_event_1217_0 (arg1));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioSystemPlugin_Adaptor *)cls)->cb_event_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// bool QAudioSystemPlugin::eventFilter(QObject *, QEvent *)
|
||||
|
||||
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("arg2");
|
||||
decl->add_arg<QEvent * > (argspec_1);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_eventFilter_2411_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args.read<QObject * > (heap);
|
||||
QEvent *arg2 = args.read<QEvent * > (heap);
|
||||
ret.write<bool > ((bool)((QAudioSystemPlugin_Adaptor *)cls)->cbs_eventFilter_2411_0 (arg1, arg2));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_eventFilter_2411_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioSystemPlugin_Adaptor *)cls)->cb_eventFilter_2411_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// exposed bool QAudioSystemPlugin::isSignalConnected(const QMetaMethod &signal)
|
||||
|
||||
static void _init_fp_isSignalConnected_c2394 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("signal");
|
||||
decl->add_arg<const QMetaMethod & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_fp_isSignalConnected_c2394 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QMetaMethod &arg1 = args.read<const QMetaMethod & > (heap);
|
||||
ret.write<bool > ((bool)((QAudioSystemPlugin_Adaptor *)cls)->fp_QAudioSystemPlugin_isSignalConnected_c2394 (arg1));
|
||||
}
|
||||
|
||||
|
||||
// exposed int QAudioSystemPlugin::receivers(const char *signal)
|
||||
|
||||
static void _init_fp_receivers_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_fp_receivers_c1731 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
ret.write<int > ((int)((QAudioSystemPlugin_Adaptor *)cls)->fp_QAudioSystemPlugin_receivers_c1731 (arg1));
|
||||
}
|
||||
|
||||
|
||||
// exposed QObject *QAudioSystemPlugin::sender()
|
||||
|
||||
static void _init_fp_sender_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QObject * > ();
|
||||
}
|
||||
|
||||
static void _call_fp_sender_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QObject * > ((QObject *)((QAudioSystemPlugin_Adaptor *)cls)->fp_QAudioSystemPlugin_sender_c0 ());
|
||||
}
|
||||
|
||||
|
||||
// exposed int QAudioSystemPlugin::senderSignalIndex()
|
||||
|
||||
static void _init_fp_senderSignalIndex_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_fp_senderSignalIndex_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QAudioSystemPlugin_Adaptor *)cls)->fp_QAudioSystemPlugin_senderSignalIndex_c0 ());
|
||||
}
|
||||
|
||||
|
||||
// void QAudioSystemPlugin::timerEvent(QTimerEvent *)
|
||||
|
||||
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QTimerEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_timerEvent_1730_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QTimerEvent *arg1 = args.read<QTimerEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAudioSystemPlugin_Adaptor *)cls)->cbs_timerEvent_1730_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_timerEvent_1730_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QAudioSystemPlugin_Adaptor *)cls)->cb_timerEvent_1730_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QAudioSystemPlugin> &qtdecl_QAudioSystemPlugin ();
|
||||
|
||||
static gsi::Methods methods_QAudioSystemPlugin_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAudioSystemPlugin::QAudioSystemPlugin(QObject *parent)\nThis method creates an object of class QAudioSystemPlugin.", &_init_ctor_QAudioSystemPlugin_Adaptor_1302, &_call_ctor_QAudioSystemPlugin_Adaptor_1302);
|
||||
methods += new qt_gsi::GenericMethod ("availableDevices", "@hide", true, &_init_cbs_availableDevices_c1520_0, &_call_cbs_availableDevices_c1520_0);
|
||||
methods += new qt_gsi::GenericMethod ("availableDevices", "@brief Virtual method QList<QByteArray> QAudioSystemPlugin::availableDevices(QAudio::Mode)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_availableDevices_c1520_0, &_call_cbs_availableDevices_c1520_0, &_set_callback_cbs_availableDevices_c1520_0);
|
||||
methods += new qt_gsi::GenericMethod ("*childEvent", "@hide", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0);
|
||||
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QAudioSystemPlugin::childEvent(QChildEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0, &_set_callback_cbs_childEvent_1701_0);
|
||||
methods += new qt_gsi::GenericMethod ("createDeviceInfo", "@hide", false, &_init_cbs_createDeviceInfo_3721_0, &_call_cbs_createDeviceInfo_3721_0);
|
||||
methods += new qt_gsi::GenericMethod ("createDeviceInfo", "@brief Virtual method QAbstractAudioDeviceInfo *QAudioSystemPlugin::createDeviceInfo(const QByteArray &device, QAudio::Mode mode)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_createDeviceInfo_3721_0, &_call_cbs_createDeviceInfo_3721_0, &_set_callback_cbs_createDeviceInfo_3721_0);
|
||||
methods += new qt_gsi::GenericMethod ("createInput", "@hide", false, &_init_cbs_createInput_2309_0, &_call_cbs_createInput_2309_0);
|
||||
methods += new qt_gsi::GenericMethod ("createInput", "@brief Virtual method QAbstractAudioInput *QAudioSystemPlugin::createInput(const QByteArray &device)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_createInput_2309_0, &_call_cbs_createInput_2309_0, &_set_callback_cbs_createInput_2309_0);
|
||||
methods += new qt_gsi::GenericMethod ("createOutput", "@hide", false, &_init_cbs_createOutput_2309_0, &_call_cbs_createOutput_2309_0);
|
||||
methods += new qt_gsi::GenericMethod ("createOutput", "@brief Virtual method QAbstractAudioOutput *QAudioSystemPlugin::createOutput(const QByteArray &device)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_createOutput_2309_0, &_call_cbs_createOutput_2309_0, &_set_callback_cbs_createOutput_2309_0);
|
||||
methods += new qt_gsi::GenericMethod ("*customEvent", "@hide", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("*customEvent", "@brief Virtual method void QAudioSystemPlugin::customEvent(QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0, &_set_callback_cbs_customEvent_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("emit_destroyed", "@brief Emitter for signal void QAudioSystemPlugin::destroyed(QObject *)\nCall this method to emit this signal.", false, &_init_emitter_destroyed_1302, &_call_emitter_destroyed_1302);
|
||||
methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@hide", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0);
|
||||
methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@brief Virtual method void QAudioSystemPlugin::disconnectNotify(const QMetaMethod &signal)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0, &_set_callback_cbs_disconnectNotify_2394_0);
|
||||
methods += new qt_gsi::GenericMethod ("event", "@hide", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("event", "@brief Virtual method bool QAudioSystemPlugin::event(QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0, &_set_callback_cbs_event_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("eventFilter", "@hide", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0);
|
||||
methods += new qt_gsi::GenericMethod ("eventFilter", "@brief Virtual method bool QAudioSystemPlugin::eventFilter(QObject *, QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0, &_set_callback_cbs_eventFilter_2411_0);
|
||||
methods += new qt_gsi::GenericMethod ("*isSignalConnected", "@brief Method bool QAudioSystemPlugin::isSignalConnected(const QMetaMethod &signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_isSignalConnected_c2394, &_call_fp_isSignalConnected_c2394);
|
||||
methods += new qt_gsi::GenericMethod ("*receivers", "@brief Method int QAudioSystemPlugin::receivers(const char *signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_receivers_c1731, &_call_fp_receivers_c1731);
|
||||
methods += new qt_gsi::GenericMethod ("*sender", "@brief Method QObject *QAudioSystemPlugin::sender()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_sender_c0, &_call_fp_sender_c0);
|
||||
methods += new qt_gsi::GenericMethod ("*senderSignalIndex", "@brief Method int QAudioSystemPlugin::senderSignalIndex()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_senderSignalIndex_c0, &_call_fp_senderSignalIndex_c0);
|
||||
methods += new qt_gsi::GenericMethod ("*timerEvent", "@hide", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0);
|
||||
methods += new qt_gsi::GenericMethod ("*timerEvent", "@brief Virtual method void QAudioSystemPlugin::timerEvent(QTimerEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0, &_set_callback_cbs_timerEvent_1730_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAudioSystemPlugin_Adaptor> decl_QAudioSystemPlugin_Adaptor (qtdecl_QAudioSystemPlugin (), "QAudioSystemPlugin",
|
||||
methods_QAudioSystemPlugin_Adaptor (),
|
||||
"@qt\n@brief Binding of QAudioSystemPlugin");
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,356 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQAuthenticator.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QAuthenticator>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QAuthenticator
|
||||
|
||||
// Constructor QAuthenticator::QAuthenticator()
|
||||
|
||||
|
||||
static void _init_ctor_QAuthenticator_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return_new<QAuthenticator> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAuthenticator_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAuthenticator *> (new QAuthenticator ());
|
||||
}
|
||||
|
||||
|
||||
// Constructor QAuthenticator::QAuthenticator(const QAuthenticator &other)
|
||||
|
||||
|
||||
static void _init_ctor_QAuthenticator_2765 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("other");
|
||||
decl->add_arg<const QAuthenticator & > (argspec_0);
|
||||
decl->set_return_new<QAuthenticator> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QAuthenticator_2765 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QAuthenticator &arg1 = args.read<const QAuthenticator & > (heap);
|
||||
ret.write<QAuthenticator *> (new QAuthenticator (arg1));
|
||||
}
|
||||
|
||||
|
||||
// void QAuthenticator::detach()
|
||||
|
||||
|
||||
static void _init_f_detach_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_detach_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAuthenticator *)cls)->detach ();
|
||||
}
|
||||
|
||||
|
||||
// bool QAuthenticator::isNull()
|
||||
|
||||
|
||||
static void _init_f_isNull_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_isNull_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<bool > ((bool)((QAuthenticator *)cls)->isNull ());
|
||||
}
|
||||
|
||||
|
||||
// bool QAuthenticator::operator!=(const QAuthenticator &other)
|
||||
|
||||
|
||||
static void _init_f_operator_excl__eq__c2765 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("other");
|
||||
decl->add_arg<const QAuthenticator & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_operator_excl__eq__c2765 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QAuthenticator &arg1 = args.read<const QAuthenticator & > (heap);
|
||||
ret.write<bool > ((bool)((QAuthenticator *)cls)->operator!= (arg1));
|
||||
}
|
||||
|
||||
|
||||
// QAuthenticator &QAuthenticator::operator=(const QAuthenticator &other)
|
||||
|
||||
|
||||
static void _init_f_operator_eq__2765 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("other");
|
||||
decl->add_arg<const QAuthenticator & > (argspec_0);
|
||||
decl->set_return<QAuthenticator & > ();
|
||||
}
|
||||
|
||||
static void _call_f_operator_eq__2765 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QAuthenticator &arg1 = args.read<const QAuthenticator & > (heap);
|
||||
ret.write<QAuthenticator & > ((QAuthenticator &)((QAuthenticator *)cls)->operator= (arg1));
|
||||
}
|
||||
|
||||
|
||||
// bool QAuthenticator::operator==(const QAuthenticator &other)
|
||||
|
||||
|
||||
static void _init_f_operator_eq__eq__c2765 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("other");
|
||||
decl->add_arg<const QAuthenticator & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_operator_eq__eq__c2765 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QAuthenticator &arg1 = args.read<const QAuthenticator & > (heap);
|
||||
ret.write<bool > ((bool)((QAuthenticator *)cls)->operator== (arg1));
|
||||
}
|
||||
|
||||
|
||||
// QVariant QAuthenticator::option(const QString &opt)
|
||||
|
||||
|
||||
static void _init_f_option_c2025 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("opt");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
decl->set_return<QVariant > ();
|
||||
}
|
||||
|
||||
static void _call_f_option_c2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
ret.write<QVariant > ((QVariant)((QAuthenticator *)cls)->option (arg1));
|
||||
}
|
||||
|
||||
|
||||
// QHash<QString, QVariant> QAuthenticator::options()
|
||||
|
||||
|
||||
static void _init_f_options_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QHash<QString, QVariant> > ();
|
||||
}
|
||||
|
||||
static void _call_f_options_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QHash<QString, QVariant> > ((QHash<QString, QVariant>)((QAuthenticator *)cls)->options ());
|
||||
}
|
||||
|
||||
|
||||
// QString QAuthenticator::password()
|
||||
|
||||
|
||||
static void _init_f_password_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_password_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QString > ((QString)((QAuthenticator *)cls)->password ());
|
||||
}
|
||||
|
||||
|
||||
// QString QAuthenticator::realm()
|
||||
|
||||
|
||||
static void _init_f_realm_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_realm_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QString > ((QString)((QAuthenticator *)cls)->realm ());
|
||||
}
|
||||
|
||||
|
||||
// void QAuthenticator::setOption(const QString &opt, const QVariant &value)
|
||||
|
||||
|
||||
static void _init_f_setOption_4036 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("opt");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("value");
|
||||
decl->add_arg<const QVariant & > (argspec_1);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setOption_4036 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
const QVariant &arg2 = args.read<const QVariant & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAuthenticator *)cls)->setOption (arg1, arg2);
|
||||
}
|
||||
|
||||
|
||||
// void QAuthenticator::setPassword(const QString &password)
|
||||
|
||||
|
||||
static void _init_f_setPassword_2025 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("password");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setPassword_2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAuthenticator *)cls)->setPassword (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAuthenticator::setRealm(const QString &realm)
|
||||
|
||||
|
||||
static void _init_f_setRealm_2025 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("realm");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setRealm_2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAuthenticator *)cls)->setRealm (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QAuthenticator::setUser(const QString &user)
|
||||
|
||||
|
||||
static void _init_f_setUser_2025 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("user");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setUser_2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QAuthenticator *)cls)->setUser (arg1);
|
||||
}
|
||||
|
||||
|
||||
// QString QAuthenticator::user()
|
||||
|
||||
|
||||
static void _init_f_user_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_user_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QString > ((QString)((QAuthenticator *)cls)->user ());
|
||||
}
|
||||
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QAuthenticator () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAuthenticator::QAuthenticator()\nThis method creates an object of class QAuthenticator.", &_init_ctor_QAuthenticator_0, &_call_ctor_QAuthenticator_0);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAuthenticator::QAuthenticator(const QAuthenticator &other)\nThis method creates an object of class QAuthenticator.", &_init_ctor_QAuthenticator_2765, &_call_ctor_QAuthenticator_2765);
|
||||
methods += new qt_gsi::GenericMethod ("detach", "@brief Method void QAuthenticator::detach()\n", false, &_init_f_detach_0, &_call_f_detach_0);
|
||||
methods += new qt_gsi::GenericMethod ("isNull?", "@brief Method bool QAuthenticator::isNull()\n", true, &_init_f_isNull_c0, &_call_f_isNull_c0);
|
||||
methods += new qt_gsi::GenericMethod ("!=", "@brief Method bool QAuthenticator::operator!=(const QAuthenticator &other)\n", true, &_init_f_operator_excl__eq__c2765, &_call_f_operator_excl__eq__c2765);
|
||||
methods += new qt_gsi::GenericMethod ("assign", "@brief Method QAuthenticator &QAuthenticator::operator=(const QAuthenticator &other)\n", false, &_init_f_operator_eq__2765, &_call_f_operator_eq__2765);
|
||||
methods += new qt_gsi::GenericMethod ("==", "@brief Method bool QAuthenticator::operator==(const QAuthenticator &other)\n", true, &_init_f_operator_eq__eq__c2765, &_call_f_operator_eq__eq__c2765);
|
||||
methods += new qt_gsi::GenericMethod ("option", "@brief Method QVariant QAuthenticator::option(const QString &opt)\n", true, &_init_f_option_c2025, &_call_f_option_c2025);
|
||||
methods += new qt_gsi::GenericMethod ("options", "@brief Method QHash<QString, QVariant> QAuthenticator::options()\n", true, &_init_f_options_c0, &_call_f_options_c0);
|
||||
methods += new qt_gsi::GenericMethod (":password", "@brief Method QString QAuthenticator::password()\n", true, &_init_f_password_c0, &_call_f_password_c0);
|
||||
methods += new qt_gsi::GenericMethod (":realm", "@brief Method QString QAuthenticator::realm()\n", true, &_init_f_realm_c0, &_call_f_realm_c0);
|
||||
methods += new qt_gsi::GenericMethod ("setOption", "@brief Method void QAuthenticator::setOption(const QString &opt, const QVariant &value)\n", false, &_init_f_setOption_4036, &_call_f_setOption_4036);
|
||||
methods += new qt_gsi::GenericMethod ("setPassword|password=", "@brief Method void QAuthenticator::setPassword(const QString &password)\n", false, &_init_f_setPassword_2025, &_call_f_setPassword_2025);
|
||||
methods += new qt_gsi::GenericMethod ("setRealm|realm=", "@brief Method void QAuthenticator::setRealm(const QString &realm)\n", false, &_init_f_setRealm_2025, &_call_f_setRealm_2025);
|
||||
methods += new qt_gsi::GenericMethod ("setUser|user=", "@brief Method void QAuthenticator::setUser(const QString &user)\n", false, &_init_f_setUser_2025, &_call_f_setUser_2025);
|
||||
methods += new qt_gsi::GenericMethod (":user", "@brief Method QString QAuthenticator::user()\n", true, &_init_f_user_c0, &_call_f_user_c0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QAuthenticator> decl_QAuthenticator ("QAuthenticator",
|
||||
methods_QAuthenticator (),
|
||||
"@qt\n@brief Binding of QAuthenticator");
|
||||
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QAuthenticator> &qtdecl_QAuthenticator () { return decl_QAuthenticator; }
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,289 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQBackingStore.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QBackingStore>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QBackingStore
|
||||
|
||||
// Constructor QBackingStore::QBackingStore(QWindow *window)
|
||||
|
||||
|
||||
static void _init_ctor_QBackingStore_1335 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("window");
|
||||
decl->add_arg<QWindow * > (argspec_0);
|
||||
decl->set_return_new<QBackingStore> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QBackingStore_1335 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QWindow *arg1 = args.read<QWindow * > (heap);
|
||||
ret.write<QBackingStore *> (new QBackingStore (arg1));
|
||||
}
|
||||
|
||||
|
||||
// void QBackingStore::beginPaint(const QRegion &)
|
||||
|
||||
|
||||
static void _init_f_beginPaint_2006 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<const QRegion & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_beginPaint_2006 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QRegion &arg1 = args.read<const QRegion & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QBackingStore *)cls)->beginPaint (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QBackingStore::endPaint()
|
||||
|
||||
|
||||
static void _init_f_endPaint_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_endPaint_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QBackingStore *)cls)->endPaint ();
|
||||
}
|
||||
|
||||
|
||||
// void QBackingStore::flush(const QRegion ®ion, QWindow *window, const QPoint &offset)
|
||||
|
||||
|
||||
static void _init_f_flush_5041 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("region");
|
||||
decl->add_arg<const QRegion & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("window", true, "0");
|
||||
decl->add_arg<QWindow * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("offset", true, "QPoint()");
|
||||
decl->add_arg<const QPoint & > (argspec_2);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_flush_5041 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QRegion &arg1 = args.read<const QRegion & > (heap);
|
||||
QWindow *arg2 = args ? args.read<QWindow * > (heap) : (QWindow *)(0);
|
||||
const QPoint &arg3 = args ? args.read<const QPoint & > (heap) : (const QPoint &)(QPoint());
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QBackingStore *)cls)->flush (arg1, arg2, arg3);
|
||||
}
|
||||
|
||||
|
||||
// bool QBackingStore::hasStaticContents()
|
||||
|
||||
|
||||
static void _init_f_hasStaticContents_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_hasStaticContents_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<bool > ((bool)((QBackingStore *)cls)->hasStaticContents ());
|
||||
}
|
||||
|
||||
|
||||
// QPaintDevice *QBackingStore::paintDevice()
|
||||
|
||||
|
||||
static void _init_f_paintDevice_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QPaintDevice * > ();
|
||||
}
|
||||
|
||||
static void _call_f_paintDevice_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QPaintDevice * > ((QPaintDevice *)((QBackingStore *)cls)->paintDevice ());
|
||||
}
|
||||
|
||||
|
||||
// void QBackingStore::resize(const QSize &size)
|
||||
|
||||
|
||||
static void _init_f_resize_1805 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("size");
|
||||
decl->add_arg<const QSize & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_resize_1805 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QSize &arg1 = args.read<const QSize & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QBackingStore *)cls)->resize (arg1);
|
||||
}
|
||||
|
||||
|
||||
// bool QBackingStore::scroll(const QRegion &area, int dx, int dy)
|
||||
|
||||
|
||||
static void _init_f_scroll_3324 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("area");
|
||||
decl->add_arg<const QRegion & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("dx");
|
||||
decl->add_arg<int > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("dy");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_scroll_3324 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QRegion &arg1 = args.read<const QRegion & > (heap);
|
||||
int arg2 = args.read<int > (heap);
|
||||
int arg3 = args.read<int > (heap);
|
||||
ret.write<bool > ((bool)((QBackingStore *)cls)->scroll (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
// void QBackingStore::setStaticContents(const QRegion ®ion)
|
||||
|
||||
|
||||
static void _init_f_setStaticContents_2006 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("region");
|
||||
decl->add_arg<const QRegion & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setStaticContents_2006 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QRegion &arg1 = args.read<const QRegion & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QBackingStore *)cls)->setStaticContents (arg1);
|
||||
}
|
||||
|
||||
|
||||
// QSize QBackingStore::size()
|
||||
|
||||
|
||||
static void _init_f_size_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QSize > ();
|
||||
}
|
||||
|
||||
static void _call_f_size_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QSize > ((QSize)((QBackingStore *)cls)->size ());
|
||||
}
|
||||
|
||||
|
||||
// QRegion QBackingStore::staticContents()
|
||||
|
||||
|
||||
static void _init_f_staticContents_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QRegion > ();
|
||||
}
|
||||
|
||||
static void _call_f_staticContents_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QRegion > ((QRegion)((QBackingStore *)cls)->staticContents ());
|
||||
}
|
||||
|
||||
|
||||
// QWindow *QBackingStore::window()
|
||||
|
||||
|
||||
static void _init_f_window_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QWindow * > ();
|
||||
}
|
||||
|
||||
static void _call_f_window_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QWindow * > ((QWindow *)((QBackingStore *)cls)->window ());
|
||||
}
|
||||
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QBackingStore () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBackingStore::QBackingStore(QWindow *window)\nThis method creates an object of class QBackingStore.", &_init_ctor_QBackingStore_1335, &_call_ctor_QBackingStore_1335);
|
||||
methods += new qt_gsi::GenericMethod ("beginPaint", "@brief Method void QBackingStore::beginPaint(const QRegion &)\n", false, &_init_f_beginPaint_2006, &_call_f_beginPaint_2006);
|
||||
methods += new qt_gsi::GenericMethod ("endPaint", "@brief Method void QBackingStore::endPaint()\n", false, &_init_f_endPaint_0, &_call_f_endPaint_0);
|
||||
methods += new qt_gsi::GenericMethod ("flush", "@brief Method void QBackingStore::flush(const QRegion ®ion, QWindow *window, const QPoint &offset)\n", false, &_init_f_flush_5041, &_call_f_flush_5041);
|
||||
methods += new qt_gsi::GenericMethod ("hasStaticContents", "@brief Method bool QBackingStore::hasStaticContents()\n", true, &_init_f_hasStaticContents_c0, &_call_f_hasStaticContents_c0);
|
||||
methods += new qt_gsi::GenericMethod ("paintDevice", "@brief Method QPaintDevice *QBackingStore::paintDevice()\n", false, &_init_f_paintDevice_0, &_call_f_paintDevice_0);
|
||||
methods += new qt_gsi::GenericMethod ("resize", "@brief Method void QBackingStore::resize(const QSize &size)\n", false, &_init_f_resize_1805, &_call_f_resize_1805);
|
||||
methods += new qt_gsi::GenericMethod ("scroll", "@brief Method bool QBackingStore::scroll(const QRegion &area, int dx, int dy)\n", false, &_init_f_scroll_3324, &_call_f_scroll_3324);
|
||||
methods += new qt_gsi::GenericMethod ("setStaticContents", "@brief Method void QBackingStore::setStaticContents(const QRegion ®ion)\n", false, &_init_f_setStaticContents_2006, &_call_f_setStaticContents_2006);
|
||||
methods += new qt_gsi::GenericMethod ("size", "@brief Method QSize QBackingStore::size()\n", true, &_init_f_size_c0, &_call_f_size_c0);
|
||||
methods += new qt_gsi::GenericMethod ("staticContents", "@brief Method QRegion QBackingStore::staticContents()\n", true, &_init_f_staticContents_c0, &_call_f_staticContents_c0);
|
||||
methods += new qt_gsi::GenericMethod ("window", "@brief Method QWindow *QBackingStore::window()\n", true, &_init_f_window_c0, &_call_f_window_c0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QBackingStore> decl_QBackingStore ("QBackingStore",
|
||||
methods_QBackingStore (),
|
||||
"@qt\n@brief Binding of QBackingStore");
|
||||
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QBackingStore> &qtdecl_QBackingStore () { return decl_QBackingStore; }
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,138 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQBasicMutex.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QBasicMutex>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QBasicMutex
|
||||
|
||||
// Constructor QBasicMutex::QBasicMutex()
|
||||
|
||||
|
||||
static void _init_ctor_QBasicMutex_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return_new<QBasicMutex> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QBasicMutex_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QBasicMutex *> (new QBasicMutex ());
|
||||
}
|
||||
|
||||
|
||||
// bool QBasicMutex::isRecursive()
|
||||
|
||||
|
||||
static void _init_f_isRecursive_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_isRecursive_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<bool > ((bool)((QBasicMutex *)cls)->isRecursive ());
|
||||
}
|
||||
|
||||
|
||||
// void QBasicMutex::lock()
|
||||
|
||||
|
||||
static void _init_f_lock_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_lock_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QBasicMutex *)cls)->lock ();
|
||||
}
|
||||
|
||||
|
||||
// bool QBasicMutex::tryLock()
|
||||
|
||||
|
||||
static void _init_f_tryLock_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_tryLock_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<bool > ((bool)((QBasicMutex *)cls)->tryLock ());
|
||||
}
|
||||
|
||||
|
||||
// void QBasicMutex::unlock()
|
||||
|
||||
|
||||
static void _init_f_unlock_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_unlock_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QBasicMutex *)cls)->unlock ();
|
||||
}
|
||||
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QBasicMutex () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBasicMutex::QBasicMutex()\nThis method creates an object of class QBasicMutex.", &_init_ctor_QBasicMutex_0, &_call_ctor_QBasicMutex_0);
|
||||
methods += new qt_gsi::GenericMethod ("isRecursive?", "@brief Method bool QBasicMutex::isRecursive()\n", false, &_init_f_isRecursive_0, &_call_f_isRecursive_0);
|
||||
methods += new qt_gsi::GenericMethod ("lock", "@brief Method void QBasicMutex::lock()\n", false, &_init_f_lock_0, &_call_f_lock_0);
|
||||
methods += new qt_gsi::GenericMethod ("tryLock", "@brief Method bool QBasicMutex::tryLock()\n", false, &_init_f_tryLock_0, &_call_f_tryLock_0);
|
||||
methods += new qt_gsi::GenericMethod ("unlock", "@brief Method void QBasicMutex::unlock()\n", false, &_init_f_unlock_0, &_call_f_unlock_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QBasicMutex> decl_QBasicMutex ("QBasicMutex",
|
||||
methods_QBasicMutex (),
|
||||
"@qt\n@brief Binding of QBasicMutex");
|
||||
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QBasicMutex> &qtdecl_QBasicMutex () { return decl_QBasicMutex; }
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,173 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQBasicTimer.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QBasicTimer>
|
||||
#include <QObject>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QBasicTimer
|
||||
|
||||
// Constructor QBasicTimer::QBasicTimer()
|
||||
|
||||
|
||||
static void _init_ctor_QBasicTimer_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return_new<QBasicTimer> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QBasicTimer_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QBasicTimer *> (new QBasicTimer ());
|
||||
}
|
||||
|
||||
|
||||
// bool QBasicTimer::isActive()
|
||||
|
||||
|
||||
static void _init_f_isActive_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_isActive_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<bool > ((bool)((QBasicTimer *)cls)->isActive ());
|
||||
}
|
||||
|
||||
|
||||
// void QBasicTimer::start(int msec, QObject *obj)
|
||||
|
||||
|
||||
static void _init_f_start_1961 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("msec");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("obj");
|
||||
decl->add_arg<QObject * > (argspec_1);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_start_1961 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
QObject *arg2 = args.read<QObject * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QBasicTimer *)cls)->start (arg1, arg2);
|
||||
}
|
||||
|
||||
|
||||
// void QBasicTimer::start(int msec, Qt::TimerType timerType, QObject *obj)
|
||||
|
||||
|
||||
static void _init_f_start_3533 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("msec");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("timerType");
|
||||
decl->add_arg<const qt_gsi::Converter<Qt::TimerType>::target_type & > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("obj");
|
||||
decl->add_arg<QObject * > (argspec_2);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_start_3533 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
const qt_gsi::Converter<Qt::TimerType>::target_type & arg2 = args.read<const qt_gsi::Converter<Qt::TimerType>::target_type & > (heap);
|
||||
QObject *arg3 = args.read<QObject * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QBasicTimer *)cls)->start (arg1, qt_gsi::QtToCppAdaptor<Qt::TimerType>(arg2).cref(), arg3);
|
||||
}
|
||||
|
||||
|
||||
// void QBasicTimer::stop()
|
||||
|
||||
|
||||
static void _init_f_stop_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_stop_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QBasicTimer *)cls)->stop ();
|
||||
}
|
||||
|
||||
|
||||
// int QBasicTimer::timerId()
|
||||
|
||||
|
||||
static void _init_f_timerId_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_timerId_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QBasicTimer *)cls)->timerId ());
|
||||
}
|
||||
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QBasicTimer () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBasicTimer::QBasicTimer()\nThis method creates an object of class QBasicTimer.", &_init_ctor_QBasicTimer_0, &_call_ctor_QBasicTimer_0);
|
||||
methods += new qt_gsi::GenericMethod ("isActive?", "@brief Method bool QBasicTimer::isActive()\n", true, &_init_f_isActive_c0, &_call_f_isActive_c0);
|
||||
methods += new qt_gsi::GenericMethod ("start", "@brief Method void QBasicTimer::start(int msec, QObject *obj)\n", false, &_init_f_start_1961, &_call_f_start_1961);
|
||||
methods += new qt_gsi::GenericMethod ("start", "@brief Method void QBasicTimer::start(int msec, Qt::TimerType timerType, QObject *obj)\n", false, &_init_f_start_3533, &_call_f_start_3533);
|
||||
methods += new qt_gsi::GenericMethod ("stop", "@brief Method void QBasicTimer::stop()\n", false, &_init_f_stop_0, &_call_f_stop_0);
|
||||
methods += new qt_gsi::GenericMethod ("timerId", "@brief Method int QBasicTimer::timerId()\n", true, &_init_f_timerId_c0, &_call_f_timerId_c0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QBasicTimer> decl_QBasicTimer ("QBasicTimer",
|
||||
methods_QBasicTimer (),
|
||||
"@qt\n@brief Binding of QBasicTimer");
|
||||
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QBasicTimer> &qtdecl_QBasicTimer () { return decl_QBasicTimer; }
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,603 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQBitmap.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QBitmap>
|
||||
#include <QColor>
|
||||
#include <QIODevice>
|
||||
#include <QImage>
|
||||
#include <QImageReader>
|
||||
#include <QMatrix>
|
||||
#include <QObject>
|
||||
#include <QPaintDevice>
|
||||
#include <QPaintEngine>
|
||||
#include <QPainter>
|
||||
#include <QPixmap>
|
||||
#include <QPoint>
|
||||
#include <QRect>
|
||||
#include <QRegion>
|
||||
#include <QSize>
|
||||
#include <QTransform>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QBitmap
|
||||
|
||||
// void QBitmap::clear()
|
||||
|
||||
|
||||
static void _init_f_clear_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_clear_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QBitmap *)cls)->clear ();
|
||||
}
|
||||
|
||||
|
||||
// (const QPixmap &)
|
||||
|
||||
|
||||
static void _init_f_operator_eq__2017 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<const QPixmap & > (argspec_0);
|
||||
decl->set_return<QBitmap & > ();
|
||||
}
|
||||
|
||||
static void _call_f_operator_eq__2017 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QPixmap &arg1 = args.read<const QPixmap & > (heap);
|
||||
ret.write<QBitmap & > ((QBitmap &)((QBitmap *)cls)->operator= (arg1));
|
||||
}
|
||||
|
||||
|
||||
// (QBitmap &)
|
||||
|
||||
|
||||
static void _init_f_swap_1304 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("other");
|
||||
decl->add_arg<QBitmap & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_swap_1304 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QBitmap &arg1 = args.read<QBitmap & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QBitmap *)cls)->swap (arg1);
|
||||
}
|
||||
|
||||
|
||||
// (const QMatrix &) const
|
||||
|
||||
|
||||
static void _init_f_transformed_c2023 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<const QMatrix & > (argspec_0);
|
||||
decl->set_return<QBitmap > ();
|
||||
}
|
||||
|
||||
static void _call_f_transformed_c2023 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QMatrix &arg1 = args.read<const QMatrix & > (heap);
|
||||
ret.write<QBitmap > ((QBitmap)((QBitmap *)cls)->transformed (arg1));
|
||||
}
|
||||
|
||||
|
||||
// (const QTransform &) const
|
||||
|
||||
|
||||
static void _init_f_transformed_c2350 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("matrix");
|
||||
decl->add_arg<const QTransform & > (argspec_0);
|
||||
decl->set_return<QBitmap > ();
|
||||
}
|
||||
|
||||
static void _call_f_transformed_c2350 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QTransform &arg1 = args.read<const QTransform & > (heap);
|
||||
ret.write<QBitmap > ((QBitmap)((QBitmap *)cls)->transformed (arg1));
|
||||
}
|
||||
|
||||
|
||||
// static QBitmap QBitmap::fromData(const QSize &size, const unsigned char *bits, QImage::Format monoFormat)
|
||||
|
||||
|
||||
static void _init_f_fromData_6058 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("size");
|
||||
decl->add_arg<const QSize & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("bits");
|
||||
decl->add_arg<const unsigned char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("monoFormat", true, "QImage::Format_MonoLSB");
|
||||
decl->add_arg<const qt_gsi::Converter<QImage::Format>::target_type & > (argspec_2);
|
||||
decl->set_return<QBitmap > ();
|
||||
}
|
||||
|
||||
static void _call_f_fromData_6058 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QSize &arg1 = args.read<const QSize & > (heap);
|
||||
const unsigned char *arg2 = args.read<const unsigned char * > (heap);
|
||||
const qt_gsi::Converter<QImage::Format>::target_type & arg3 = args ? args.read<const qt_gsi::Converter<QImage::Format>::target_type & > (heap) : (const qt_gsi::Converter<QImage::Format>::target_type &)(qt_gsi::CppToQtReadAdaptor<QImage::Format>(heap, QImage::Format_MonoLSB));
|
||||
ret.write<QBitmap > ((QBitmap)QBitmap::fromData (arg1, arg2, qt_gsi::QtToCppAdaptor<QImage::Format>(arg3).cref()));
|
||||
}
|
||||
|
||||
|
||||
// static QBitmap QBitmap::fromImage(const QImage &image, QFlags<Qt::ImageConversionFlag> flags)
|
||||
|
||||
|
||||
static void _init_f_fromImage_5137 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("image");
|
||||
decl->add_arg<const QImage & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("flags", true, "Qt::AutoColor");
|
||||
decl->add_arg<QFlags<Qt::ImageConversionFlag> > (argspec_1);
|
||||
decl->set_return<QBitmap > ();
|
||||
}
|
||||
|
||||
static void _call_f_fromImage_5137 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QImage &arg1 = args.read<const QImage & > (heap);
|
||||
QFlags<Qt::ImageConversionFlag> arg2 = args ? args.read<QFlags<Qt::ImageConversionFlag> > (heap) : (QFlags<Qt::ImageConversionFlag>)(Qt::AutoColor);
|
||||
ret.write<QBitmap > ((QBitmap)QBitmap::fromImage (arg1, arg2));
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QBitmap () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericMethod ("clear", "@brief Method void QBitmap::clear()\n", false, &_init_f_clear_0, &_call_f_clear_0);
|
||||
methods += new qt_gsi::GenericMethod ("assign", "@brief Method (const QPixmap &)\n", false, &_init_f_operator_eq__2017, &_call_f_operator_eq__2017);
|
||||
methods += new qt_gsi::GenericMethod ("swap", "@brief Method (QBitmap &)\n", false, &_init_f_swap_1304, &_call_f_swap_1304);
|
||||
methods += new qt_gsi::GenericMethod ("transformed", "@brief Method (const QMatrix &) const\n", true, &_init_f_transformed_c2023, &_call_f_transformed_c2023);
|
||||
methods += new qt_gsi::GenericMethod ("transformed", "@brief Method (const QTransform &) const\n", true, &_init_f_transformed_c2350, &_call_f_transformed_c2350);
|
||||
methods += new qt_gsi::GenericStaticMethod ("fromData", "@brief Static method QBitmap QBitmap::fromData(const QSize &size, const unsigned char *bits, QImage::Format monoFormat)\nThis method is static and can be called without an instance.", &_init_f_fromData_6058, &_call_f_fromData_6058);
|
||||
methods += new qt_gsi::GenericStaticMethod ("fromImage", "@brief Static method QBitmap QBitmap::fromImage(const QImage &image, QFlags<Qt::ImageConversionFlag> flags)\nThis method is static and can be called without an instance.", &_init_f_fromImage_5137, &_call_f_fromImage_5137);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QPixmap> &qtdecl_QPixmap ();
|
||||
|
||||
gsi::Class<QBitmap> decl_QBitmap (qtdecl_QPixmap (), "QBitmap_Native",
|
||||
methods_QBitmap (),
|
||||
"@hide\n@alias QBitmap");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QBitmap> &qtdecl_QBitmap () { return decl_QBitmap; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QBitmap_Adaptor : public QBitmap, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QBitmap_Adaptor();
|
||||
|
||||
// [adaptor ctor] QBitmap::QBitmap()
|
||||
QBitmap_Adaptor() : QBitmap()
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor ctor] QBitmap::QBitmap(const QPixmap &)
|
||||
QBitmap_Adaptor(const QPixmap &arg1) : QBitmap(arg1)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor ctor] QBitmap::QBitmap(int w, int h)
|
||||
QBitmap_Adaptor(int w, int h) : QBitmap(w, h)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor ctor] QBitmap::QBitmap(const QSize &)
|
||||
QBitmap_Adaptor(const QSize &arg1) : QBitmap(arg1)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor ctor] QBitmap::QBitmap(const QString &fileName, const char *format)
|
||||
QBitmap_Adaptor(const QString &fileName) : QBitmap(fileName)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor ctor] QBitmap::QBitmap(const QString &fileName, const char *format)
|
||||
QBitmap_Adaptor(const QString &fileName, const char *format) : QBitmap(fileName, format)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [expose] QPixmap QBitmap::fromImageInPlace(QImage &image, QFlags<Qt::ImageConversionFlag> flags)
|
||||
static QPixmap fp_QBitmap_fromImageInPlace_4442 (QImage &image, QFlags<Qt::ImageConversionFlag> flags) {
|
||||
return QBitmap::fromImageInPlace(image, flags);
|
||||
}
|
||||
|
||||
// [adaptor impl] QPaintEngine *QBitmap::paintEngine()
|
||||
QPaintEngine * cbs_paintEngine_c0_0() const
|
||||
{
|
||||
return QBitmap::paintEngine();
|
||||
}
|
||||
|
||||
virtual QPaintEngine * paintEngine() const
|
||||
{
|
||||
if (cb_paintEngine_c0_0.can_issue()) {
|
||||
return cb_paintEngine_c0_0.issue<QBitmap_Adaptor, QPaintEngine *>(&QBitmap_Adaptor::cbs_paintEngine_c0_0);
|
||||
} else {
|
||||
return QBitmap::paintEngine();
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QBitmap::initPainter(QPainter *painter)
|
||||
void cbs_initPainter_c1426_0(QPainter *painter) const
|
||||
{
|
||||
QBitmap::initPainter(painter);
|
||||
}
|
||||
|
||||
virtual void initPainter(QPainter *painter) const
|
||||
{
|
||||
if (cb_initPainter_c1426_0.can_issue()) {
|
||||
cb_initPainter_c1426_0.issue<QBitmap_Adaptor, QPainter *>(&QBitmap_Adaptor::cbs_initPainter_c1426_0, painter);
|
||||
} else {
|
||||
QBitmap::initPainter(painter);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] int QBitmap::metric(QPaintDevice::PaintDeviceMetric)
|
||||
int cbs_metric_c3445_0(const qt_gsi::Converter<QPaintDevice::PaintDeviceMetric>::target_type & arg1) const
|
||||
{
|
||||
return QBitmap::metric(qt_gsi::QtToCppAdaptor<QPaintDevice::PaintDeviceMetric>(arg1).cref());
|
||||
}
|
||||
|
||||
virtual int metric(QPaintDevice::PaintDeviceMetric arg1) const
|
||||
{
|
||||
if (cb_metric_c3445_0.can_issue()) {
|
||||
return cb_metric_c3445_0.issue<QBitmap_Adaptor, int, const qt_gsi::Converter<QPaintDevice::PaintDeviceMetric>::target_type &>(&QBitmap_Adaptor::cbs_metric_c3445_0, qt_gsi::CppToQtAdaptor<QPaintDevice::PaintDeviceMetric>(arg1));
|
||||
} else {
|
||||
return QBitmap::metric(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] QPaintDevice *QBitmap::redirected(QPoint *offset)
|
||||
QPaintDevice * cbs_redirected_c1225_0(QPoint *offset) const
|
||||
{
|
||||
return QBitmap::redirected(offset);
|
||||
}
|
||||
|
||||
virtual QPaintDevice * redirected(QPoint *offset) const
|
||||
{
|
||||
if (cb_redirected_c1225_0.can_issue()) {
|
||||
return cb_redirected_c1225_0.issue<QBitmap_Adaptor, QPaintDevice *, QPoint *>(&QBitmap_Adaptor::cbs_redirected_c1225_0, offset);
|
||||
} else {
|
||||
return QBitmap::redirected(offset);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] QPainter *QBitmap::sharedPainter()
|
||||
QPainter * cbs_sharedPainter_c0_0() const
|
||||
{
|
||||
return QBitmap::sharedPainter();
|
||||
}
|
||||
|
||||
virtual QPainter * sharedPainter() const
|
||||
{
|
||||
if (cb_sharedPainter_c0_0.can_issue()) {
|
||||
return cb_sharedPainter_c0_0.issue<QBitmap_Adaptor, QPainter *>(&QBitmap_Adaptor::cbs_sharedPainter_c0_0);
|
||||
} else {
|
||||
return QBitmap::sharedPainter();
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_paintEngine_c0_0;
|
||||
gsi::Callback cb_initPainter_c1426_0;
|
||||
gsi::Callback cb_metric_c3445_0;
|
||||
gsi::Callback cb_redirected_c1225_0;
|
||||
gsi::Callback cb_sharedPainter_c0_0;
|
||||
};
|
||||
|
||||
QBitmap_Adaptor::~QBitmap_Adaptor() { }
|
||||
|
||||
// Constructor QBitmap::QBitmap() (adaptor class)
|
||||
|
||||
static void _init_ctor_QBitmap_Adaptor_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return_new<QBitmap_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QBitmap_Adaptor_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QBitmap_Adaptor *> (new QBitmap_Adaptor ());
|
||||
}
|
||||
|
||||
|
||||
// Constructor QBitmap::QBitmap(const QPixmap &) (adaptor class)
|
||||
|
||||
static void _init_ctor_QBitmap_Adaptor_2017 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<const QPixmap & > (argspec_0);
|
||||
decl->set_return_new<QBitmap_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QBitmap_Adaptor_2017 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QPixmap &arg1 = args.read<const QPixmap & > (heap);
|
||||
ret.write<QBitmap_Adaptor *> (new QBitmap_Adaptor (arg1));
|
||||
}
|
||||
|
||||
|
||||
// Constructor QBitmap::QBitmap(int w, int h) (adaptor class)
|
||||
|
||||
static void _init_ctor_QBitmap_Adaptor_1426 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("w");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("h");
|
||||
decl->add_arg<int > (argspec_1);
|
||||
decl->set_return_new<QBitmap_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QBitmap_Adaptor_1426 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
int arg2 = args.read<int > (heap);
|
||||
ret.write<QBitmap_Adaptor *> (new QBitmap_Adaptor (arg1, arg2));
|
||||
}
|
||||
|
||||
|
||||
// Constructor QBitmap::QBitmap(const QSize &) (adaptor class)
|
||||
|
||||
static void _init_ctor_QBitmap_Adaptor_1805 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<const QSize & > (argspec_0);
|
||||
decl->set_return_new<QBitmap_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QBitmap_Adaptor_1805 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QSize &arg1 = args.read<const QSize & > (heap);
|
||||
ret.write<QBitmap_Adaptor *> (new QBitmap_Adaptor (arg1));
|
||||
}
|
||||
|
||||
|
||||
// Constructor QBitmap::QBitmap(const QString &fileName, const char *format) (adaptor class)
|
||||
|
||||
static void _init_ctor_QBitmap_Adaptor_3648 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("fileName");
|
||||
decl->add_arg<const QString & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("format", true, "0");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
decl->set_return_new<QBitmap_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QBitmap_Adaptor_3648 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QString &arg1 = args.read<const QString & > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(0);
|
||||
ret.write<QBitmap_Adaptor *> (new QBitmap_Adaptor (arg1, arg2));
|
||||
}
|
||||
|
||||
|
||||
// exposed QPixmap QBitmap::fromImageInPlace(QImage &image, QFlags<Qt::ImageConversionFlag> flags)
|
||||
|
||||
static void _init_fp_fromImageInPlace_4442 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("image");
|
||||
decl->add_arg<QImage & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("flags", true, "Qt::AutoColor");
|
||||
decl->add_arg<QFlags<Qt::ImageConversionFlag> > (argspec_1);
|
||||
decl->set_return<QPixmap > ();
|
||||
}
|
||||
|
||||
static void _call_fp_fromImageInPlace_4442 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QImage &arg1 = args.read<QImage & > (heap);
|
||||
QFlags<Qt::ImageConversionFlag> arg2 = args ? args.read<QFlags<Qt::ImageConversionFlag> > (heap) : (QFlags<Qt::ImageConversionFlag>)(Qt::AutoColor);
|
||||
ret.write<QPixmap > ((QPixmap)QBitmap_Adaptor::fp_QBitmap_fromImageInPlace_4442 (arg1, arg2));
|
||||
}
|
||||
|
||||
|
||||
// void QBitmap::initPainter(QPainter *painter)
|
||||
|
||||
static void _init_cbs_initPainter_c1426_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("painter");
|
||||
decl->add_arg<QPainter * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_initPainter_c1426_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QPainter *arg1 = args.read<QPainter * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QBitmap_Adaptor *)cls)->cbs_initPainter_c1426_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_initPainter_c1426_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QBitmap_Adaptor *)cls)->cb_initPainter_c1426_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// int QBitmap::metric(QPaintDevice::PaintDeviceMetric)
|
||||
|
||||
static void _init_cbs_metric_c3445_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<const qt_gsi::Converter<QPaintDevice::PaintDeviceMetric>::target_type & > (argspec_0);
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_metric_c3445_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const qt_gsi::Converter<QPaintDevice::PaintDeviceMetric>::target_type & arg1 = args.read<const qt_gsi::Converter<QPaintDevice::PaintDeviceMetric>::target_type & > (heap);
|
||||
ret.write<int > ((int)((QBitmap_Adaptor *)cls)->cbs_metric_c3445_0 (arg1));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_metric_c3445_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QBitmap_Adaptor *)cls)->cb_metric_c3445_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// QPaintEngine *QBitmap::paintEngine()
|
||||
|
||||
static void _init_cbs_paintEngine_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QPaintEngine * > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_paintEngine_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QPaintEngine * > ((QPaintEngine *)((QBitmap_Adaptor *)cls)->cbs_paintEngine_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_paintEngine_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QBitmap_Adaptor *)cls)->cb_paintEngine_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// QPaintDevice *QBitmap::redirected(QPoint *offset)
|
||||
|
||||
static void _init_cbs_redirected_c1225_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("offset");
|
||||
decl->add_arg<QPoint * > (argspec_0);
|
||||
decl->set_return<QPaintDevice * > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_redirected_c1225_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QPoint *arg1 = args.read<QPoint * > (heap);
|
||||
ret.write<QPaintDevice * > ((QPaintDevice *)((QBitmap_Adaptor *)cls)->cbs_redirected_c1225_0 (arg1));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_redirected_c1225_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QBitmap_Adaptor *)cls)->cb_redirected_c1225_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// QPainter *QBitmap::sharedPainter()
|
||||
|
||||
static void _init_cbs_sharedPainter_c0_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QPainter * > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_sharedPainter_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QPainter * > ((QPainter *)((QBitmap_Adaptor *)cls)->cbs_sharedPainter_c0_0 ());
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_sharedPainter_c0_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QBitmap_Adaptor *)cls)->cb_sharedPainter_c0_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QBitmap> &qtdecl_QBitmap ();
|
||||
|
||||
static gsi::Methods methods_QBitmap_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBitmap::QBitmap()\nThis method creates an object of class QBitmap.", &_init_ctor_QBitmap_Adaptor_0, &_call_ctor_QBitmap_Adaptor_0);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBitmap::QBitmap(const QPixmap &)\nThis method creates an object of class QBitmap.", &_init_ctor_QBitmap_Adaptor_2017, &_call_ctor_QBitmap_Adaptor_2017);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBitmap::QBitmap(int w, int h)\nThis method creates an object of class QBitmap.", &_init_ctor_QBitmap_Adaptor_1426, &_call_ctor_QBitmap_Adaptor_1426);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBitmap::QBitmap(const QSize &)\nThis method creates an object of class QBitmap.", &_init_ctor_QBitmap_Adaptor_1805, &_call_ctor_QBitmap_Adaptor_1805);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBitmap::QBitmap(const QString &fileName, const char *format)\nThis method creates an object of class QBitmap.", &_init_ctor_QBitmap_Adaptor_3648, &_call_ctor_QBitmap_Adaptor_3648);
|
||||
methods += new qt_gsi::GenericStaticMethod ("*fromImageInPlace", "@brief Method QPixmap QBitmap::fromImageInPlace(QImage &image, QFlags<Qt::ImageConversionFlag> flags)\nThis method is protected and can only be called from inside a derived class.", &_init_fp_fromImageInPlace_4442, &_call_fp_fromImageInPlace_4442);
|
||||
methods += new qt_gsi::GenericMethod ("*initPainter", "@hide", true, &_init_cbs_initPainter_c1426_0, &_call_cbs_initPainter_c1426_0);
|
||||
methods += new qt_gsi::GenericMethod ("*initPainter", "@brief Virtual method void QBitmap::initPainter(QPainter *painter)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_initPainter_c1426_0, &_call_cbs_initPainter_c1426_0, &_set_callback_cbs_initPainter_c1426_0);
|
||||
methods += new qt_gsi::GenericMethod ("*metric", "@hide", true, &_init_cbs_metric_c3445_0, &_call_cbs_metric_c3445_0);
|
||||
methods += new qt_gsi::GenericMethod ("*metric", "@brief Virtual method int QBitmap::metric(QPaintDevice::PaintDeviceMetric)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_metric_c3445_0, &_call_cbs_metric_c3445_0, &_set_callback_cbs_metric_c3445_0);
|
||||
methods += new qt_gsi::GenericMethod ("paintEngine", "@hide", true, &_init_cbs_paintEngine_c0_0, &_call_cbs_paintEngine_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("paintEngine", "@brief Virtual method QPaintEngine *QBitmap::paintEngine()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_paintEngine_c0_0, &_call_cbs_paintEngine_c0_0, &_set_callback_cbs_paintEngine_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("*redirected", "@hide", true, &_init_cbs_redirected_c1225_0, &_call_cbs_redirected_c1225_0);
|
||||
methods += new qt_gsi::GenericMethod ("*redirected", "@brief Virtual method QPaintDevice *QBitmap::redirected(QPoint *offset)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_redirected_c1225_0, &_call_cbs_redirected_c1225_0, &_set_callback_cbs_redirected_c1225_0);
|
||||
methods += new qt_gsi::GenericMethod ("*sharedPainter", "@hide", true, &_init_cbs_sharedPainter_c0_0, &_call_cbs_sharedPainter_c0_0);
|
||||
methods += new qt_gsi::GenericMethod ("*sharedPainter", "@brief Virtual method QPainter *QBitmap::sharedPainter()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_sharedPainter_c0_0, &_call_cbs_sharedPainter_c0_0, &_set_callback_cbs_sharedPainter_c0_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QBitmap_Adaptor> decl_QBitmap_Adaptor (qtdecl_QBitmap (), "QBitmap",
|
||||
methods_QBitmap_Adaptor (),
|
||||
"@qt\n@brief Binding of QBitmap");
|
||||
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,642 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQBrush.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QBrush>
|
||||
#include <QColor>
|
||||
#include <QGradient>
|
||||
#include <QImage>
|
||||
#include <QMatrix>
|
||||
#include <QPixmap>
|
||||
#include <QTransform>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QBrush
|
||||
|
||||
// Constructor QBrush::QBrush()
|
||||
|
||||
|
||||
static void _init_ctor_QBrush_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return_new<QBrush> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QBrush_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QBrush *> (new QBrush ());
|
||||
}
|
||||
|
||||
|
||||
// Constructor QBrush::QBrush(Qt::BrushStyle bs)
|
||||
|
||||
|
||||
static void _init_ctor_QBrush_1794 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("bs");
|
||||
decl->add_arg<const qt_gsi::Converter<Qt::BrushStyle>::target_type & > (argspec_0);
|
||||
decl->set_return_new<QBrush> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QBrush_1794 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const qt_gsi::Converter<Qt::BrushStyle>::target_type & arg1 = args.read<const qt_gsi::Converter<Qt::BrushStyle>::target_type & > (heap);
|
||||
ret.write<QBrush *> (new QBrush (qt_gsi::QtToCppAdaptor<Qt::BrushStyle>(arg1).cref()));
|
||||
}
|
||||
|
||||
|
||||
// Constructor QBrush::QBrush(const QColor &color, Qt::BrushStyle bs)
|
||||
|
||||
|
||||
static void _init_ctor_QBrush_3591 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("color");
|
||||
decl->add_arg<const QColor & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("bs", true, "Qt::SolidPattern");
|
||||
decl->add_arg<const qt_gsi::Converter<Qt::BrushStyle>::target_type & > (argspec_1);
|
||||
decl->set_return_new<QBrush> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QBrush_3591 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QColor &arg1 = args.read<const QColor & > (heap);
|
||||
const qt_gsi::Converter<Qt::BrushStyle>::target_type & arg2 = args ? args.read<const qt_gsi::Converter<Qt::BrushStyle>::target_type & > (heap) : (const qt_gsi::Converter<Qt::BrushStyle>::target_type &)(qt_gsi::CppToQtReadAdaptor<Qt::BrushStyle>(heap, Qt::SolidPattern));
|
||||
ret.write<QBrush *> (new QBrush (arg1, qt_gsi::QtToCppAdaptor<Qt::BrushStyle>(arg2).cref()));
|
||||
}
|
||||
|
||||
|
||||
// Constructor QBrush::QBrush(Qt::GlobalColor color, Qt::BrushStyle bs)
|
||||
|
||||
|
||||
static void _init_ctor_QBrush_3539 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("color");
|
||||
decl->add_arg<const qt_gsi::Converter<Qt::GlobalColor>::target_type & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("bs", true, "Qt::SolidPattern");
|
||||
decl->add_arg<const qt_gsi::Converter<Qt::BrushStyle>::target_type & > (argspec_1);
|
||||
decl->set_return_new<QBrush> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QBrush_3539 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const qt_gsi::Converter<Qt::GlobalColor>::target_type & arg1 = args.read<const qt_gsi::Converter<Qt::GlobalColor>::target_type & > (heap);
|
||||
const qt_gsi::Converter<Qt::BrushStyle>::target_type & arg2 = args ? args.read<const qt_gsi::Converter<Qt::BrushStyle>::target_type & > (heap) : (const qt_gsi::Converter<Qt::BrushStyle>::target_type &)(qt_gsi::CppToQtReadAdaptor<Qt::BrushStyle>(heap, Qt::SolidPattern));
|
||||
ret.write<QBrush *> (new QBrush (qt_gsi::QtToCppAdaptor<Qt::GlobalColor>(arg1).cref(), qt_gsi::QtToCppAdaptor<Qt::BrushStyle>(arg2).cref()));
|
||||
}
|
||||
|
||||
|
||||
// Constructor QBrush::QBrush(const QColor &color, const QPixmap &pixmap)
|
||||
|
||||
|
||||
static void _init_ctor_QBrush_3814 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("color");
|
||||
decl->add_arg<const QColor & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("pixmap");
|
||||
decl->add_arg<const QPixmap & > (argspec_1);
|
||||
decl->set_return_new<QBrush> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QBrush_3814 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QColor &arg1 = args.read<const QColor & > (heap);
|
||||
const QPixmap &arg2 = args.read<const QPixmap & > (heap);
|
||||
ret.write<QBrush *> (new QBrush (arg1, arg2));
|
||||
}
|
||||
|
||||
|
||||
// Constructor QBrush::QBrush(Qt::GlobalColor color, const QPixmap &pixmap)
|
||||
|
||||
|
||||
static void _init_ctor_QBrush_3762 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("color");
|
||||
decl->add_arg<const qt_gsi::Converter<Qt::GlobalColor>::target_type & > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("pixmap");
|
||||
decl->add_arg<const QPixmap & > (argspec_1);
|
||||
decl->set_return_new<QBrush> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QBrush_3762 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const qt_gsi::Converter<Qt::GlobalColor>::target_type & arg1 = args.read<const qt_gsi::Converter<Qt::GlobalColor>::target_type & > (heap);
|
||||
const QPixmap &arg2 = args.read<const QPixmap & > (heap);
|
||||
ret.write<QBrush *> (new QBrush (qt_gsi::QtToCppAdaptor<Qt::GlobalColor>(arg1).cref(), arg2));
|
||||
}
|
||||
|
||||
|
||||
// Constructor QBrush::QBrush(const QPixmap &pixmap)
|
||||
|
||||
|
||||
static void _init_ctor_QBrush_2017 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("pixmap");
|
||||
decl->add_arg<const QPixmap & > (argspec_0);
|
||||
decl->set_return_new<QBrush> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QBrush_2017 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QPixmap &arg1 = args.read<const QPixmap & > (heap);
|
||||
ret.write<QBrush *> (new QBrush (arg1));
|
||||
}
|
||||
|
||||
|
||||
// Constructor QBrush::QBrush(const QImage &image)
|
||||
|
||||
|
||||
static void _init_ctor_QBrush_1877 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("image");
|
||||
decl->add_arg<const QImage & > (argspec_0);
|
||||
decl->set_return_new<QBrush> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QBrush_1877 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QImage &arg1 = args.read<const QImage & > (heap);
|
||||
ret.write<QBrush *> (new QBrush (arg1));
|
||||
}
|
||||
|
||||
|
||||
// Constructor QBrush::QBrush(const QBrush &brush)
|
||||
|
||||
|
||||
static void _init_ctor_QBrush_1910 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("brush");
|
||||
decl->add_arg<const QBrush & > (argspec_0);
|
||||
decl->set_return_new<QBrush> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QBrush_1910 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QBrush &arg1 = args.read<const QBrush & > (heap);
|
||||
ret.write<QBrush *> (new QBrush (arg1));
|
||||
}
|
||||
|
||||
|
||||
// Constructor QBrush::QBrush(const QGradient &gradient)
|
||||
|
||||
|
||||
static void _init_ctor_QBrush_2208 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("gradient");
|
||||
decl->add_arg<const QGradient & > (argspec_0);
|
||||
decl->set_return_new<QBrush> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QBrush_2208 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QGradient &arg1 = args.read<const QGradient & > (heap);
|
||||
ret.write<QBrush *> (new QBrush (arg1));
|
||||
}
|
||||
|
||||
|
||||
// const QColor &QBrush::color()
|
||||
|
||||
|
||||
static void _init_f_color_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<const QColor & > ();
|
||||
}
|
||||
|
||||
static void _call_f_color_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<const QColor & > ((const QColor &)((QBrush *)cls)->color ());
|
||||
}
|
||||
|
||||
|
||||
// const QGradient *QBrush::gradient()
|
||||
|
||||
|
||||
static void _init_f_gradient_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<const QGradient * > ();
|
||||
}
|
||||
|
||||
static void _call_f_gradient_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<const QGradient * > ((const QGradient *)((QBrush *)cls)->gradient ());
|
||||
}
|
||||
|
||||
|
||||
// bool QBrush::isDetached()
|
||||
|
||||
|
||||
static void _init_f_isDetached_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_isDetached_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<bool > ((bool)((QBrush *)cls)->isDetached ());
|
||||
}
|
||||
|
||||
|
||||
// bool QBrush::isOpaque()
|
||||
|
||||
|
||||
static void _init_f_isOpaque_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_isOpaque_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<bool > ((bool)((QBrush *)cls)->isOpaque ());
|
||||
}
|
||||
|
||||
|
||||
// const QMatrix &QBrush::matrix()
|
||||
|
||||
|
||||
static void _init_f_matrix_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<const QMatrix & > ();
|
||||
}
|
||||
|
||||
static void _call_f_matrix_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<const QMatrix & > ((const QMatrix &)((QBrush *)cls)->matrix ());
|
||||
}
|
||||
|
||||
|
||||
// bool QBrush::operator!=(const QBrush &b)
|
||||
|
||||
|
||||
static void _init_f_operator_excl__eq__c1910 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("b");
|
||||
decl->add_arg<const QBrush & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_operator_excl__eq__c1910 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QBrush &arg1 = args.read<const QBrush & > (heap);
|
||||
ret.write<bool > ((bool)((QBrush *)cls)->operator!= (arg1));
|
||||
}
|
||||
|
||||
|
||||
// QBrush &QBrush::operator=(const QBrush &brush)
|
||||
|
||||
|
||||
static void _init_f_operator_eq__1910 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("brush");
|
||||
decl->add_arg<const QBrush & > (argspec_0);
|
||||
decl->set_return<QBrush & > ();
|
||||
}
|
||||
|
||||
static void _call_f_operator_eq__1910 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QBrush &arg1 = args.read<const QBrush & > (heap);
|
||||
ret.write<QBrush & > ((QBrush &)((QBrush *)cls)->operator= (arg1));
|
||||
}
|
||||
|
||||
|
||||
// bool QBrush::operator==(const QBrush &b)
|
||||
|
||||
|
||||
static void _init_f_operator_eq__eq__c1910 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("b");
|
||||
decl->add_arg<const QBrush & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_operator_eq__eq__c1910 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QBrush &arg1 = args.read<const QBrush & > (heap);
|
||||
ret.write<bool > ((bool)((QBrush *)cls)->operator== (arg1));
|
||||
}
|
||||
|
||||
|
||||
// void QBrush::setColor(const QColor &color)
|
||||
|
||||
|
||||
static void _init_f_setColor_1905 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("color");
|
||||
decl->add_arg<const QColor & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setColor_1905 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QColor &arg1 = args.read<const QColor & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QBrush *)cls)->setColor (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QBrush::setColor(Qt::GlobalColor color)
|
||||
|
||||
|
||||
static void _init_f_setColor_1853 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("color");
|
||||
decl->add_arg<const qt_gsi::Converter<Qt::GlobalColor>::target_type & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setColor_1853 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const qt_gsi::Converter<Qt::GlobalColor>::target_type & arg1 = args.read<const qt_gsi::Converter<Qt::GlobalColor>::target_type & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QBrush *)cls)->setColor (qt_gsi::QtToCppAdaptor<Qt::GlobalColor>(arg1).cref());
|
||||
}
|
||||
|
||||
|
||||
// void QBrush::setMatrix(const QMatrix &mat)
|
||||
|
||||
|
||||
static void _init_f_setMatrix_2023 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("mat");
|
||||
decl->add_arg<const QMatrix & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setMatrix_2023 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QMatrix &arg1 = args.read<const QMatrix & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QBrush *)cls)->setMatrix (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QBrush::setStyle(Qt::BrushStyle)
|
||||
|
||||
|
||||
static void _init_f_setStyle_1794 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<const qt_gsi::Converter<Qt::BrushStyle>::target_type & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setStyle_1794 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const qt_gsi::Converter<Qt::BrushStyle>::target_type & arg1 = args.read<const qt_gsi::Converter<Qt::BrushStyle>::target_type & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QBrush *)cls)->setStyle (qt_gsi::QtToCppAdaptor<Qt::BrushStyle>(arg1).cref());
|
||||
}
|
||||
|
||||
|
||||
// void QBrush::setTexture(const QPixmap &pixmap)
|
||||
|
||||
|
||||
static void _init_f_setTexture_2017 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("pixmap");
|
||||
decl->add_arg<const QPixmap & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setTexture_2017 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QPixmap &arg1 = args.read<const QPixmap & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QBrush *)cls)->setTexture (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QBrush::setTextureImage(const QImage &image)
|
||||
|
||||
|
||||
static void _init_f_setTextureImage_1877 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("image");
|
||||
decl->add_arg<const QImage & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setTextureImage_1877 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QImage &arg1 = args.read<const QImage & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QBrush *)cls)->setTextureImage (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QBrush::setTransform(const QTransform &)
|
||||
|
||||
|
||||
static void _init_f_setTransform_2350 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<const QTransform & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setTransform_2350 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QTransform &arg1 = args.read<const QTransform & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QBrush *)cls)->setTransform (arg1);
|
||||
}
|
||||
|
||||
|
||||
// Qt::BrushStyle QBrush::style()
|
||||
|
||||
|
||||
static void _init_f_style_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<qt_gsi::Converter<Qt::BrushStyle>::target_type > ();
|
||||
}
|
||||
|
||||
static void _call_f_style_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<qt_gsi::Converter<Qt::BrushStyle>::target_type > ((qt_gsi::Converter<Qt::BrushStyle>::target_type)qt_gsi::CppToQtAdaptor<Qt::BrushStyle>(((QBrush *)cls)->style ()));
|
||||
}
|
||||
|
||||
|
||||
// void QBrush::swap(QBrush &other)
|
||||
|
||||
|
||||
static void _init_f_swap_1215 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("other");
|
||||
decl->add_arg<QBrush & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_swap_1215 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QBrush &arg1 = args.read<QBrush & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QBrush *)cls)->swap (arg1);
|
||||
}
|
||||
|
||||
|
||||
// QPixmap QBrush::texture()
|
||||
|
||||
|
||||
static void _init_f_texture_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QPixmap > ();
|
||||
}
|
||||
|
||||
static void _call_f_texture_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QPixmap > ((QPixmap)((QBrush *)cls)->texture ());
|
||||
}
|
||||
|
||||
|
||||
// QImage QBrush::textureImage()
|
||||
|
||||
|
||||
static void _init_f_textureImage_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QImage > ();
|
||||
}
|
||||
|
||||
static void _call_f_textureImage_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QImage > ((QImage)((QBrush *)cls)->textureImage ());
|
||||
}
|
||||
|
||||
|
||||
// QTransform QBrush::transform()
|
||||
|
||||
|
||||
static void _init_f_transform_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QTransform > ();
|
||||
}
|
||||
|
||||
static void _call_f_transform_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QTransform > ((QTransform)((QBrush *)cls)->transform ());
|
||||
}
|
||||
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QBrush () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBrush::QBrush()\nThis method creates an object of class QBrush.", &_init_ctor_QBrush_0, &_call_ctor_QBrush_0);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBrush::QBrush(Qt::BrushStyle bs)\nThis method creates an object of class QBrush.", &_init_ctor_QBrush_1794, &_call_ctor_QBrush_1794);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBrush::QBrush(const QColor &color, Qt::BrushStyle bs)\nThis method creates an object of class QBrush.", &_init_ctor_QBrush_3591, &_call_ctor_QBrush_3591);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBrush::QBrush(Qt::GlobalColor color, Qt::BrushStyle bs)\nThis method creates an object of class QBrush.", &_init_ctor_QBrush_3539, &_call_ctor_QBrush_3539);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBrush::QBrush(const QColor &color, const QPixmap &pixmap)\nThis method creates an object of class QBrush.", &_init_ctor_QBrush_3814, &_call_ctor_QBrush_3814);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBrush::QBrush(Qt::GlobalColor color, const QPixmap &pixmap)\nThis method creates an object of class QBrush.", &_init_ctor_QBrush_3762, &_call_ctor_QBrush_3762);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBrush::QBrush(const QPixmap &pixmap)\nThis method creates an object of class QBrush.", &_init_ctor_QBrush_2017, &_call_ctor_QBrush_2017);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBrush::QBrush(const QImage &image)\nThis method creates an object of class QBrush.", &_init_ctor_QBrush_1877, &_call_ctor_QBrush_1877);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBrush::QBrush(const QBrush &brush)\nThis method creates an object of class QBrush.", &_init_ctor_QBrush_1910, &_call_ctor_QBrush_1910);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBrush::QBrush(const QGradient &gradient)\nThis method creates an object of class QBrush.", &_init_ctor_QBrush_2208, &_call_ctor_QBrush_2208);
|
||||
methods += new qt_gsi::GenericMethod (":color", "@brief Method const QColor &QBrush::color()\n", true, &_init_f_color_c0, &_call_f_color_c0);
|
||||
methods += new qt_gsi::GenericMethod ("gradient", "@brief Method const QGradient *QBrush::gradient()\n", true, &_init_f_gradient_c0, &_call_f_gradient_c0);
|
||||
methods += new qt_gsi::GenericMethod ("isDetached?", "@brief Method bool QBrush::isDetached()\n", true, &_init_f_isDetached_c0, &_call_f_isDetached_c0);
|
||||
methods += new qt_gsi::GenericMethod ("isOpaque?", "@brief Method bool QBrush::isOpaque()\n", true, &_init_f_isOpaque_c0, &_call_f_isOpaque_c0);
|
||||
methods += new qt_gsi::GenericMethod (":matrix", "@brief Method const QMatrix &QBrush::matrix()\n", true, &_init_f_matrix_c0, &_call_f_matrix_c0);
|
||||
methods += new qt_gsi::GenericMethod ("!=", "@brief Method bool QBrush::operator!=(const QBrush &b)\n", true, &_init_f_operator_excl__eq__c1910, &_call_f_operator_excl__eq__c1910);
|
||||
methods += new qt_gsi::GenericMethod ("assign", "@brief Method QBrush &QBrush::operator=(const QBrush &brush)\n", false, &_init_f_operator_eq__1910, &_call_f_operator_eq__1910);
|
||||
methods += new qt_gsi::GenericMethod ("==", "@brief Method bool QBrush::operator==(const QBrush &b)\n", true, &_init_f_operator_eq__eq__c1910, &_call_f_operator_eq__eq__c1910);
|
||||
methods += new qt_gsi::GenericMethod ("setColor|color=", "@brief Method void QBrush::setColor(const QColor &color)\n", false, &_init_f_setColor_1905, &_call_f_setColor_1905);
|
||||
methods += new qt_gsi::GenericMethod ("setColor|color=", "@brief Method void QBrush::setColor(Qt::GlobalColor color)\n", false, &_init_f_setColor_1853, &_call_f_setColor_1853);
|
||||
methods += new qt_gsi::GenericMethod ("setMatrix|matrix=", "@brief Method void QBrush::setMatrix(const QMatrix &mat)\n", false, &_init_f_setMatrix_2023, &_call_f_setMatrix_2023);
|
||||
methods += new qt_gsi::GenericMethod ("setStyle|style=", "@brief Method void QBrush::setStyle(Qt::BrushStyle)\n", false, &_init_f_setStyle_1794, &_call_f_setStyle_1794);
|
||||
methods += new qt_gsi::GenericMethod ("setTexture|texture=", "@brief Method void QBrush::setTexture(const QPixmap &pixmap)\n", false, &_init_f_setTexture_2017, &_call_f_setTexture_2017);
|
||||
methods += new qt_gsi::GenericMethod ("setTextureImage|textureImage=", "@brief Method void QBrush::setTextureImage(const QImage &image)\n", false, &_init_f_setTextureImage_1877, &_call_f_setTextureImage_1877);
|
||||
methods += new qt_gsi::GenericMethod ("setTransform|transform=", "@brief Method void QBrush::setTransform(const QTransform &)\n", false, &_init_f_setTransform_2350, &_call_f_setTransform_2350);
|
||||
methods += new qt_gsi::GenericMethod (":style", "@brief Method Qt::BrushStyle QBrush::style()\n", true, &_init_f_style_c0, &_call_f_style_c0);
|
||||
methods += new qt_gsi::GenericMethod ("swap", "@brief Method void QBrush::swap(QBrush &other)\n", false, &_init_f_swap_1215, &_call_f_swap_1215);
|
||||
methods += new qt_gsi::GenericMethod (":texture", "@brief Method QPixmap QBrush::texture()\n", true, &_init_f_texture_c0, &_call_f_texture_c0);
|
||||
methods += new qt_gsi::GenericMethod (":textureImage", "@brief Method QImage QBrush::textureImage()\n", true, &_init_f_textureImage_c0, &_call_f_textureImage_c0);
|
||||
methods += new qt_gsi::GenericMethod (":transform", "@brief Method QTransform QBrush::transform()\n", true, &_init_f_transform_c0, &_call_f_transform_c0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QBrush> decl_QBrush ("QBrush",
|
||||
methods_QBrush (),
|
||||
"@qt\n@brief Binding of QBrush");
|
||||
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QBrush> &qtdecl_QBrush () { return decl_QBrush; }
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,413 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQBuffer.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QBuffer>
|
||||
#include <QChildEvent>
|
||||
#include <QEvent>
|
||||
#include <QMetaMethod>
|
||||
#include <QObject>
|
||||
#include <QThread>
|
||||
#include <QTimerEvent>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QBuffer
|
||||
|
||||
// get static meta object
|
||||
|
||||
static void _init_smo (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return<const QMetaObject &> ();
|
||||
}
|
||||
|
||||
static void _call_smo (const qt_gsi::GenericStaticMethod *, gsi::SerialArgs &, gsi::SerialArgs &ret)
|
||||
{
|
||||
ret.write<const QMetaObject &> (QBuffer::staticMetaObject);
|
||||
}
|
||||
|
||||
|
||||
// Constructor QBuffer::QBuffer(QObject *parent)
|
||||
|
||||
|
||||
static void _init_ctor_QBuffer_1302 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("parent", true, "0");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
decl->set_return_new<QBuffer> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QBuffer_1302 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args ? args.read<QObject * > (heap) : (QObject *)(0);
|
||||
ret.write<QBuffer *> (new QBuffer (arg1));
|
||||
}
|
||||
|
||||
|
||||
// Constructor QBuffer::QBuffer(QByteArray *buf, QObject *parent)
|
||||
|
||||
|
||||
static void _init_ctor_QBuffer_2812 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("buf");
|
||||
decl->add_arg<QByteArray * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("parent", true, "0");
|
||||
decl->add_arg<QObject * > (argspec_1);
|
||||
decl->set_return_new<QBuffer> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QBuffer_2812 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QByteArray *arg1 = args.read<QByteArray * > (heap);
|
||||
QObject *arg2 = args ? args.read<QObject * > (heap) : (QObject *)(0);
|
||||
ret.write<QBuffer *> (new QBuffer (arg1, arg2));
|
||||
}
|
||||
|
||||
|
||||
// () const
|
||||
|
||||
|
||||
static void _init_f_atEnd_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_atEnd_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<bool > ((bool)((QBuffer *)cls)->atEnd ());
|
||||
}
|
||||
|
||||
|
||||
// QByteArray &QBuffer::buffer()
|
||||
|
||||
|
||||
static void _init_f_buffer_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QByteArray & > ();
|
||||
}
|
||||
|
||||
static void _call_f_buffer_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QByteArray & > ((QByteArray &)((QBuffer *)cls)->buffer ());
|
||||
}
|
||||
|
||||
|
||||
// const QByteArray &QBuffer::buffer()
|
||||
|
||||
|
||||
static void _init_f_buffer_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<const QByteArray & > ();
|
||||
}
|
||||
|
||||
static void _call_f_buffer_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<const QByteArray & > ((const QByteArray &)((QBuffer *)cls)->buffer ());
|
||||
}
|
||||
|
||||
|
||||
// () const
|
||||
|
||||
|
||||
static void _init_f_canReadLine_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_canReadLine_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<bool > ((bool)((QBuffer *)cls)->canReadLine ());
|
||||
}
|
||||
|
||||
|
||||
// ()
|
||||
|
||||
|
||||
static void _init_f_close_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_close_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QBuffer *)cls)->close ();
|
||||
}
|
||||
|
||||
|
||||
// const QByteArray &QBuffer::data()
|
||||
|
||||
|
||||
static void _init_f_data_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<const QByteArray & > ();
|
||||
}
|
||||
|
||||
static void _call_f_data_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<const QByteArray & > ((const QByteArray &)((QBuffer *)cls)->data ());
|
||||
}
|
||||
|
||||
|
||||
// (QFlags<QIODevice::OpenModeFlag>)
|
||||
|
||||
|
||||
static void _init_f_open_3242 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("openMode");
|
||||
decl->add_arg<QFlags<QIODevice::OpenModeFlag> > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_open_3242 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QFlags<QIODevice::OpenModeFlag> arg1 = args.read<QFlags<QIODevice::OpenModeFlag> > (heap);
|
||||
ret.write<bool > ((bool)((QBuffer *)cls)->open (arg1));
|
||||
}
|
||||
|
||||
|
||||
// () const
|
||||
|
||||
|
||||
static void _init_f_pos_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<qint64 > ();
|
||||
}
|
||||
|
||||
static void _call_f_pos_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<qint64 > ((qint64)((QBuffer *)cls)->pos ());
|
||||
}
|
||||
|
||||
|
||||
// (qint64)
|
||||
|
||||
|
||||
static void _init_f_seek_986 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("off");
|
||||
decl->add_arg<qint64 > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_seek_986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
qint64 arg1 = args.read<qint64 > (heap);
|
||||
ret.write<bool > ((bool)((QBuffer *)cls)->seek (arg1));
|
||||
}
|
||||
|
||||
|
||||
// void QBuffer::setBuffer(QByteArray *a)
|
||||
|
||||
|
||||
static void _init_f_setBuffer_1618 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("a");
|
||||
decl->add_arg<QByteArray * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setBuffer_1618 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QByteArray *arg1 = args.read<QByteArray * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QBuffer *)cls)->setBuffer (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QBuffer::setData(const QByteArray &data)
|
||||
|
||||
|
||||
static void _init_f_setData_2309 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("data");
|
||||
decl->add_arg<const QByteArray & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setData_2309 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QByteArray &arg1 = args.read<const QByteArray & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QBuffer *)cls)->setData (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QBuffer::setData(const char *data, int len)
|
||||
|
||||
|
||||
static void _init_f_setData_2390 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("data");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("len");
|
||||
decl->add_arg<int > (argspec_1);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setData_2390 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
int arg2 = args.read<int > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QBuffer *)cls)->setData (arg1, arg2);
|
||||
}
|
||||
|
||||
|
||||
// () const
|
||||
|
||||
|
||||
static void _init_f_size_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<qint64 > ();
|
||||
}
|
||||
|
||||
static void _call_f_size_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<qint64 > ((qint64)((QBuffer *)cls)->size ());
|
||||
}
|
||||
|
||||
|
||||
// static QString QBuffer::tr(const char *s, const char *c, int n)
|
||||
|
||||
|
||||
static void _init_f_tr_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("s");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("c", true, "__null");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_tr_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(__null);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QBuffer::tr (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
// static QString QBuffer::trUtf8(const char *s, const char *c, int n)
|
||||
|
||||
|
||||
static void _init_f_trUtf8_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("s");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("c", true, "__null");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_trUtf8_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(__null);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QBuffer::trUtf8 (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QBuffer () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBuffer::QBuffer(QObject *parent)\nThis method creates an object of class QBuffer.", &_init_ctor_QBuffer_1302, &_call_ctor_QBuffer_1302);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBuffer::QBuffer(QByteArray *buf, QObject *parent)\nThis method creates an object of class QBuffer.", &_init_ctor_QBuffer_2812, &_call_ctor_QBuffer_2812);
|
||||
methods += new qt_gsi::GenericStaticMethod ("staticMetaObject", "@brief Obtains the static MetaObject for this class.", &_init_smo, &_call_smo);
|
||||
methods += new qt_gsi::GenericMethod ("atEnd", "@brief Method () const\nThis is a reimplementation of QIODevice::atEnd", true, &_init_f_atEnd_c0, &_call_f_atEnd_c0);
|
||||
methods += new qt_gsi::GenericMethod ("buffer", "@brief Method QByteArray &QBuffer::buffer()\n", false, &_init_f_buffer_0, &_call_f_buffer_0);
|
||||
methods += new qt_gsi::GenericMethod ("buffer", "@brief Method const QByteArray &QBuffer::buffer()\n", true, &_init_f_buffer_c0, &_call_f_buffer_c0);
|
||||
methods += new qt_gsi::GenericMethod ("canReadLine", "@brief Method () const\nThis is a reimplementation of QIODevice::canReadLine", true, &_init_f_canReadLine_c0, &_call_f_canReadLine_c0);
|
||||
methods += new qt_gsi::GenericMethod ("close", "@brief Method ()\nThis is a reimplementation of QIODevice::close", false, &_init_f_close_0, &_call_f_close_0);
|
||||
methods += new qt_gsi::GenericMethod (":data", "@brief Method const QByteArray &QBuffer::data()\n", true, &_init_f_data_c0, &_call_f_data_c0);
|
||||
methods += new qt_gsi::GenericMethod ("open", "@brief Method (QFlags<QIODevice::OpenModeFlag>)\nThis is a reimplementation of QIODevice::open", false, &_init_f_open_3242, &_call_f_open_3242);
|
||||
methods += new qt_gsi::GenericMethod ("pos", "@brief Method () const\nThis is a reimplementation of QIODevice::pos", true, &_init_f_pos_c0, &_call_f_pos_c0);
|
||||
methods += new qt_gsi::GenericMethod ("seek", "@brief Method (qint64)\nThis is a reimplementation of QIODevice::seek", false, &_init_f_seek_986, &_call_f_seek_986);
|
||||
methods += new qt_gsi::GenericMethod ("setBuffer", "@brief Method void QBuffer::setBuffer(QByteArray *a)\n", false, &_init_f_setBuffer_1618, &_call_f_setBuffer_1618);
|
||||
methods += new qt_gsi::GenericMethod ("setData|data=", "@brief Method void QBuffer::setData(const QByteArray &data)\n", false, &_init_f_setData_2309, &_call_f_setData_2309);
|
||||
methods += new qt_gsi::GenericMethod ("setData", "@brief Method void QBuffer::setData(const char *data, int len)\n", false, &_init_f_setData_2390, &_call_f_setData_2390);
|
||||
methods += new qt_gsi::GenericMethod ("size", "@brief Method () const\nThis is a reimplementation of QIODevice::size", true, &_init_f_size_c0, &_call_f_size_c0);
|
||||
methods += gsi::qt_signal ("aboutToClose()", "aboutToClose", "@brief Signal declaration for QBuffer::aboutToClose()\nYou can bind a procedure to this signal.");
|
||||
methods += gsi::qt_signal<qint64 > ("bytesWritten(qint64)", "bytesWritten", gsi::arg("bytes"), "@brief Signal declaration for QBuffer::bytesWritten(qint64 bytes)\nYou can bind a procedure to this signal.");
|
||||
methods += gsi::qt_signal<QObject * > ("destroyed(QObject *)", "destroyed", gsi::arg("arg1"), "@brief Signal declaration for QBuffer::destroyed(QObject *)\nYou can bind a procedure to this signal.");
|
||||
methods += gsi::qt_signal ("readChannelFinished()", "readChannelFinished", "@brief Signal declaration for QBuffer::readChannelFinished()\nYou can bind a procedure to this signal.");
|
||||
methods += gsi::qt_signal ("readyRead()", "readyRead", "@brief Signal declaration for QBuffer::readyRead()\nYou can bind a procedure to this signal.");
|
||||
methods += new qt_gsi::GenericStaticMethod ("tr", "@brief Static method QString QBuffer::tr(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_tr_4013, &_call_f_tr_4013);
|
||||
methods += new qt_gsi::GenericStaticMethod ("trUtf8", "@brief Static method QString QBuffer::trUtf8(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_trUtf8_4013, &_call_f_trUtf8_4013);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QIODevice> &qtdecl_QIODevice ();
|
||||
|
||||
qt_gsi::QtNativeClass<QBuffer> decl_QBuffer (qtdecl_QIODevice (), "QBuffer",
|
||||
methods_QBuffer (),
|
||||
"@qt\n@brief Binding of QBuffer");
|
||||
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QBuffer> &qtdecl_QBuffer () { return decl_QBuffer; }
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,962 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQButtonGroup.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QButtonGroup>
|
||||
#include <QAbstractButton>
|
||||
#include <QChildEvent>
|
||||
#include <QEvent>
|
||||
#include <QMetaMethod>
|
||||
#include <QObject>
|
||||
#include <QThread>
|
||||
#include <QTimerEvent>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QButtonGroup
|
||||
|
||||
// get static meta object
|
||||
|
||||
static void _init_smo (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return<const QMetaObject &> ();
|
||||
}
|
||||
|
||||
static void _call_smo (const qt_gsi::GenericStaticMethod *, gsi::SerialArgs &, gsi::SerialArgs &ret)
|
||||
{
|
||||
ret.write<const QMetaObject &> (QButtonGroup::staticMetaObject);
|
||||
}
|
||||
|
||||
|
||||
// void QButtonGroup::addButton(QAbstractButton *, int id)
|
||||
|
||||
|
||||
static void _init_f_addButton_2818 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QAbstractButton * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("id", true, "-1");
|
||||
decl->add_arg<int > (argspec_1);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_addButton_2818 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAbstractButton *arg1 = args.read<QAbstractButton * > (heap);
|
||||
int arg2 = args ? args.read<int > (heap) : (int)(-1);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QButtonGroup *)cls)->addButton (arg1, arg2);
|
||||
}
|
||||
|
||||
|
||||
// QAbstractButton *QButtonGroup::button(int id)
|
||||
|
||||
|
||||
static void _init_f_button_c767 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("id");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
decl->set_return<QAbstractButton * > ();
|
||||
}
|
||||
|
||||
static void _call_f_button_c767 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
ret.write<QAbstractButton * > ((QAbstractButton *)((QButtonGroup *)cls)->button (arg1));
|
||||
}
|
||||
|
||||
|
||||
// QList<QAbstractButton*> QButtonGroup::buttons()
|
||||
|
||||
|
||||
static void _init_f_buttons_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QList<QAbstractButton*> > ();
|
||||
}
|
||||
|
||||
static void _call_f_buttons_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QList<QAbstractButton*> > ((QList<QAbstractButton*>)((QButtonGroup *)cls)->buttons ());
|
||||
}
|
||||
|
||||
|
||||
// QAbstractButton *QButtonGroup::checkedButton()
|
||||
|
||||
|
||||
static void _init_f_checkedButton_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QAbstractButton * > ();
|
||||
}
|
||||
|
||||
static void _call_f_checkedButton_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QAbstractButton * > ((QAbstractButton *)((QButtonGroup *)cls)->checkedButton ());
|
||||
}
|
||||
|
||||
|
||||
// int QButtonGroup::checkedId()
|
||||
|
||||
|
||||
static void _init_f_checkedId_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_checkedId_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QButtonGroup *)cls)->checkedId ());
|
||||
}
|
||||
|
||||
|
||||
// bool QButtonGroup::exclusive()
|
||||
|
||||
|
||||
static void _init_f_exclusive_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_exclusive_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<bool > ((bool)((QButtonGroup *)cls)->exclusive ());
|
||||
}
|
||||
|
||||
|
||||
// int QButtonGroup::id(QAbstractButton *button)
|
||||
|
||||
|
||||
static void _init_f_id_c2159 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("button");
|
||||
decl->add_arg<QAbstractButton * > (argspec_0);
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_id_c2159 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAbstractButton *arg1 = args.read<QAbstractButton * > (heap);
|
||||
ret.write<int > ((int)((QButtonGroup *)cls)->id (arg1));
|
||||
}
|
||||
|
||||
|
||||
// void QButtonGroup::removeButton(QAbstractButton *)
|
||||
|
||||
|
||||
static void _init_f_removeButton_2159 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QAbstractButton * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_removeButton_2159 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAbstractButton *arg1 = args.read<QAbstractButton * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QButtonGroup *)cls)->removeButton (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QButtonGroup::setExclusive(bool)
|
||||
|
||||
|
||||
static void _init_f_setExclusive_864 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<bool > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setExclusive_864 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
bool arg1 = args.read<bool > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QButtonGroup *)cls)->setExclusive (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QButtonGroup::setId(QAbstractButton *button, int id)
|
||||
|
||||
|
||||
static void _init_f_setId_2818 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("button");
|
||||
decl->add_arg<QAbstractButton * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("id");
|
||||
decl->add_arg<int > (argspec_1);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setId_2818 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAbstractButton *arg1 = args.read<QAbstractButton * > (heap);
|
||||
int arg2 = args.read<int > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QButtonGroup *)cls)->setId (arg1, arg2);
|
||||
}
|
||||
|
||||
|
||||
// static QString QButtonGroup::tr(const char *s, const char *c, int n)
|
||||
|
||||
|
||||
static void _init_f_tr_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("s");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("c", true, "__null");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_tr_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(__null);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QButtonGroup::tr (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
// static QString QButtonGroup::trUtf8(const char *s, const char *c, int n)
|
||||
|
||||
|
||||
static void _init_f_trUtf8_4013 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("s");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("c", true, "__null");
|
||||
decl->add_arg<const char * > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<QString > ();
|
||||
}
|
||||
|
||||
static void _call_f_trUtf8_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
const char *arg2 = args ? args.read<const char * > (heap) : (const char *)(__null);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(-1);
|
||||
ret.write<QString > ((QString)QButtonGroup::trUtf8 (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QButtonGroup () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("staticMetaObject", "@brief Obtains the static MetaObject for this class.", &_init_smo, &_call_smo);
|
||||
methods += new qt_gsi::GenericMethod ("addButton", "@brief Method void QButtonGroup::addButton(QAbstractButton *, int id)\n", false, &_init_f_addButton_2818, &_call_f_addButton_2818);
|
||||
methods += new qt_gsi::GenericMethod ("button", "@brief Method QAbstractButton *QButtonGroup::button(int id)\n", true, &_init_f_button_c767, &_call_f_button_c767);
|
||||
methods += new qt_gsi::GenericMethod ("buttons", "@brief Method QList<QAbstractButton*> QButtonGroup::buttons()\n", true, &_init_f_buttons_c0, &_call_f_buttons_c0);
|
||||
methods += new qt_gsi::GenericMethod ("checkedButton", "@brief Method QAbstractButton *QButtonGroup::checkedButton()\n", true, &_init_f_checkedButton_c0, &_call_f_checkedButton_c0);
|
||||
methods += new qt_gsi::GenericMethod ("checkedId", "@brief Method int QButtonGroup::checkedId()\n", true, &_init_f_checkedId_c0, &_call_f_checkedId_c0);
|
||||
methods += new qt_gsi::GenericMethod (":exclusive", "@brief Method bool QButtonGroup::exclusive()\n", true, &_init_f_exclusive_c0, &_call_f_exclusive_c0);
|
||||
methods += new qt_gsi::GenericMethod ("id", "@brief Method int QButtonGroup::id(QAbstractButton *button)\n", true, &_init_f_id_c2159, &_call_f_id_c2159);
|
||||
methods += new qt_gsi::GenericMethod ("removeButton", "@brief Method void QButtonGroup::removeButton(QAbstractButton *)\n", false, &_init_f_removeButton_2159, &_call_f_removeButton_2159);
|
||||
methods += new qt_gsi::GenericMethod ("setExclusive|exclusive=", "@brief Method void QButtonGroup::setExclusive(bool)\n", false, &_init_f_setExclusive_864, &_call_f_setExclusive_864);
|
||||
methods += new qt_gsi::GenericMethod ("setId", "@brief Method void QButtonGroup::setId(QAbstractButton *button, int id)\n", false, &_init_f_setId_2818, &_call_f_setId_2818);
|
||||
methods += gsi::qt_signal<QAbstractButton * > ("buttonClicked(QAbstractButton *)", "buttonClicked_qab", gsi::arg("arg1"), "@brief Signal declaration for QButtonGroup::buttonClicked(QAbstractButton *)\nYou can bind a procedure to this signal.");
|
||||
methods += gsi::qt_signal<int > ("buttonClicked(int)", "buttonClicked", gsi::arg("arg1"), "@brief Signal declaration for QButtonGroup::buttonClicked(int)\nYou can bind a procedure to this signal.");
|
||||
methods += gsi::qt_signal<QAbstractButton * > ("buttonPressed(QAbstractButton *)", "buttonPressed_qab", gsi::arg("arg1"), "@brief Signal declaration for QButtonGroup::buttonPressed(QAbstractButton *)\nYou can bind a procedure to this signal.");
|
||||
methods += gsi::qt_signal<int > ("buttonPressed(int)", "buttonPressed", gsi::arg("arg1"), "@brief Signal declaration for QButtonGroup::buttonPressed(int)\nYou can bind a procedure to this signal.");
|
||||
methods += gsi::qt_signal<QAbstractButton * > ("buttonReleased(QAbstractButton *)", "buttonReleased_qab", gsi::arg("arg1"), "@brief Signal declaration for QButtonGroup::buttonReleased(QAbstractButton *)\nYou can bind a procedure to this signal.");
|
||||
methods += gsi::qt_signal<int > ("buttonReleased(int)", "buttonReleased", gsi::arg("arg1"), "@brief Signal declaration for QButtonGroup::buttonReleased(int)\nYou can bind a procedure to this signal.");
|
||||
methods += gsi::qt_signal<QAbstractButton *, bool > ("buttonToggled(QAbstractButton *, bool)", "buttonToggled_object", gsi::arg("arg1"), gsi::arg("arg2"), "@brief Signal declaration for QButtonGroup::buttonToggled(QAbstractButton *, bool)\nYou can bind a procedure to this signal.");
|
||||
methods += gsi::qt_signal<int, bool > ("buttonToggled(int, bool)", "buttonToggled_int", gsi::arg("arg1"), gsi::arg("arg2"), "@brief Signal declaration for QButtonGroup::buttonToggled(int, bool)\nYou can bind a procedure to this signal.");
|
||||
methods += gsi::qt_signal<QObject * > ("destroyed(QObject *)", "destroyed", gsi::arg("arg1"), "@brief Signal declaration for QButtonGroup::destroyed(QObject *)\nYou can bind a procedure to this signal.");
|
||||
methods += new qt_gsi::GenericStaticMethod ("tr", "@brief Static method QString QButtonGroup::tr(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_tr_4013, &_call_f_tr_4013);
|
||||
methods += new qt_gsi::GenericStaticMethod ("trUtf8", "@brief Static method QString QButtonGroup::trUtf8(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_trUtf8_4013, &_call_f_trUtf8_4013);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QObject> &qtdecl_QObject ();
|
||||
|
||||
qt_gsi::QtNativeClass<QButtonGroup> decl_QButtonGroup (qtdecl_QObject (), "QButtonGroup_Native",
|
||||
methods_QButtonGroup (),
|
||||
"@hide\n@alias QButtonGroup");
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QButtonGroup> &qtdecl_QButtonGroup () { return decl_QButtonGroup; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
class QButtonGroup_Adaptor : public QButtonGroup, public qt_gsi::QtObjectBase
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~QButtonGroup_Adaptor();
|
||||
|
||||
// [adaptor ctor] QButtonGroup::QButtonGroup(QObject *parent)
|
||||
QButtonGroup_Adaptor() : QButtonGroup()
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [adaptor ctor] QButtonGroup::QButtonGroup(QObject *parent)
|
||||
QButtonGroup_Adaptor(QObject *parent) : QButtonGroup(parent)
|
||||
{
|
||||
qt_gsi::QtObjectBase::init (this);
|
||||
}
|
||||
|
||||
// [expose] bool QButtonGroup::isSignalConnected(const QMetaMethod &signal)
|
||||
bool fp_QButtonGroup_isSignalConnected_c2394 (const QMetaMethod &signal) const {
|
||||
return QButtonGroup::isSignalConnected(signal);
|
||||
}
|
||||
|
||||
// [expose] int QButtonGroup::receivers(const char *signal)
|
||||
int fp_QButtonGroup_receivers_c1731 (const char *signal) const {
|
||||
return QButtonGroup::receivers(signal);
|
||||
}
|
||||
|
||||
// [expose] QObject *QButtonGroup::sender()
|
||||
QObject * fp_QButtonGroup_sender_c0 () const {
|
||||
return QButtonGroup::sender();
|
||||
}
|
||||
|
||||
// [expose] int QButtonGroup::senderSignalIndex()
|
||||
int fp_QButtonGroup_senderSignalIndex_c0 () const {
|
||||
return QButtonGroup::senderSignalIndex();
|
||||
}
|
||||
|
||||
// [emitter impl] void QButtonGroup::buttonClicked(QAbstractButton *)
|
||||
void emitter_QButtonGroup_buttonClicked_2159(QAbstractButton *arg1)
|
||||
{
|
||||
emit QButtonGroup::buttonClicked(arg1);
|
||||
}
|
||||
|
||||
// [emitter impl] void QButtonGroup::buttonClicked(int)
|
||||
void emitter_QButtonGroup_buttonClicked_767(int arg1)
|
||||
{
|
||||
emit QButtonGroup::buttonClicked(arg1);
|
||||
}
|
||||
|
||||
// [emitter impl] void QButtonGroup::buttonPressed(QAbstractButton *)
|
||||
void emitter_QButtonGroup_buttonPressed_2159(QAbstractButton *arg1)
|
||||
{
|
||||
emit QButtonGroup::buttonPressed(arg1);
|
||||
}
|
||||
|
||||
// [emitter impl] void QButtonGroup::buttonPressed(int)
|
||||
void emitter_QButtonGroup_buttonPressed_767(int arg1)
|
||||
{
|
||||
emit QButtonGroup::buttonPressed(arg1);
|
||||
}
|
||||
|
||||
// [emitter impl] void QButtonGroup::buttonReleased(QAbstractButton *)
|
||||
void emitter_QButtonGroup_buttonReleased_2159(QAbstractButton *arg1)
|
||||
{
|
||||
emit QButtonGroup::buttonReleased(arg1);
|
||||
}
|
||||
|
||||
// [emitter impl] void QButtonGroup::buttonReleased(int)
|
||||
void emitter_QButtonGroup_buttonReleased_767(int arg1)
|
||||
{
|
||||
emit QButtonGroup::buttonReleased(arg1);
|
||||
}
|
||||
|
||||
// [emitter impl] void QButtonGroup::buttonToggled(QAbstractButton *, bool)
|
||||
void emitter_QButtonGroup_buttonToggled_2915(QAbstractButton *arg1, bool arg2)
|
||||
{
|
||||
emit QButtonGroup::buttonToggled(arg1, arg2);
|
||||
}
|
||||
|
||||
// [emitter impl] void QButtonGroup::buttonToggled(int, bool)
|
||||
void emitter_QButtonGroup_buttonToggled_1523(int arg1, bool arg2)
|
||||
{
|
||||
emit QButtonGroup::buttonToggled(arg1, arg2);
|
||||
}
|
||||
|
||||
// [emitter impl] void QButtonGroup::destroyed(QObject *)
|
||||
void emitter_QButtonGroup_destroyed_1302(QObject *arg1)
|
||||
{
|
||||
emit QButtonGroup::destroyed(arg1);
|
||||
}
|
||||
|
||||
// [adaptor impl] bool QButtonGroup::event(QEvent *)
|
||||
bool cbs_event_1217_0(QEvent *arg1)
|
||||
{
|
||||
return QButtonGroup::event(arg1);
|
||||
}
|
||||
|
||||
virtual bool event(QEvent *arg1)
|
||||
{
|
||||
if (cb_event_1217_0.can_issue()) {
|
||||
return cb_event_1217_0.issue<QButtonGroup_Adaptor, bool, QEvent *>(&QButtonGroup_Adaptor::cbs_event_1217_0, arg1);
|
||||
} else {
|
||||
return QButtonGroup::event(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] bool QButtonGroup::eventFilter(QObject *, QEvent *)
|
||||
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
|
||||
{
|
||||
return QButtonGroup::eventFilter(arg1, arg2);
|
||||
}
|
||||
|
||||
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
|
||||
{
|
||||
if (cb_eventFilter_2411_0.can_issue()) {
|
||||
return cb_eventFilter_2411_0.issue<QButtonGroup_Adaptor, bool, QObject *, QEvent *>(&QButtonGroup_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
|
||||
} else {
|
||||
return QButtonGroup::eventFilter(arg1, arg2);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QButtonGroup::childEvent(QChildEvent *)
|
||||
void cbs_childEvent_1701_0(QChildEvent *arg1)
|
||||
{
|
||||
QButtonGroup::childEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void childEvent(QChildEvent *arg1)
|
||||
{
|
||||
if (cb_childEvent_1701_0.can_issue()) {
|
||||
cb_childEvent_1701_0.issue<QButtonGroup_Adaptor, QChildEvent *>(&QButtonGroup_Adaptor::cbs_childEvent_1701_0, arg1);
|
||||
} else {
|
||||
QButtonGroup::childEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QButtonGroup::customEvent(QEvent *)
|
||||
void cbs_customEvent_1217_0(QEvent *arg1)
|
||||
{
|
||||
QButtonGroup::customEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void customEvent(QEvent *arg1)
|
||||
{
|
||||
if (cb_customEvent_1217_0.can_issue()) {
|
||||
cb_customEvent_1217_0.issue<QButtonGroup_Adaptor, QEvent *>(&QButtonGroup_Adaptor::cbs_customEvent_1217_0, arg1);
|
||||
} else {
|
||||
QButtonGroup::customEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QButtonGroup::disconnectNotify(const QMetaMethod &signal)
|
||||
void cbs_disconnectNotify_2394_0(const QMetaMethod &signal)
|
||||
{
|
||||
QButtonGroup::disconnectNotify(signal);
|
||||
}
|
||||
|
||||
virtual void disconnectNotify(const QMetaMethod &signal)
|
||||
{
|
||||
if (cb_disconnectNotify_2394_0.can_issue()) {
|
||||
cb_disconnectNotify_2394_0.issue<QButtonGroup_Adaptor, const QMetaMethod &>(&QButtonGroup_Adaptor::cbs_disconnectNotify_2394_0, signal);
|
||||
} else {
|
||||
QButtonGroup::disconnectNotify(signal);
|
||||
}
|
||||
}
|
||||
|
||||
// [adaptor impl] void QButtonGroup::timerEvent(QTimerEvent *)
|
||||
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
|
||||
{
|
||||
QButtonGroup::timerEvent(arg1);
|
||||
}
|
||||
|
||||
virtual void timerEvent(QTimerEvent *arg1)
|
||||
{
|
||||
if (cb_timerEvent_1730_0.can_issue()) {
|
||||
cb_timerEvent_1730_0.issue<QButtonGroup_Adaptor, QTimerEvent *>(&QButtonGroup_Adaptor::cbs_timerEvent_1730_0, arg1);
|
||||
} else {
|
||||
QButtonGroup::timerEvent(arg1);
|
||||
}
|
||||
}
|
||||
|
||||
gsi::Callback cb_event_1217_0;
|
||||
gsi::Callback cb_eventFilter_2411_0;
|
||||
gsi::Callback cb_childEvent_1701_0;
|
||||
gsi::Callback cb_customEvent_1217_0;
|
||||
gsi::Callback cb_disconnectNotify_2394_0;
|
||||
gsi::Callback cb_timerEvent_1730_0;
|
||||
};
|
||||
|
||||
QButtonGroup_Adaptor::~QButtonGroup_Adaptor() { }
|
||||
|
||||
// Constructor QButtonGroup::QButtonGroup(QObject *parent) (adaptor class)
|
||||
|
||||
static void _init_ctor_QButtonGroup_Adaptor_1302 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("parent", true, "0");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
decl->set_return_new<QButtonGroup_Adaptor> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QButtonGroup_Adaptor_1302 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args ? args.read<QObject * > (heap) : (QObject *)(0);
|
||||
ret.write<QButtonGroup_Adaptor *> (new QButtonGroup_Adaptor (arg1));
|
||||
}
|
||||
|
||||
|
||||
// emitter void QButtonGroup::buttonClicked(QAbstractButton *)
|
||||
|
||||
static void _init_emitter_buttonClicked_2159 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QAbstractButton * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_buttonClicked_2159 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAbstractButton *arg1 = args.read<QAbstractButton * > (heap);
|
||||
((QButtonGroup_Adaptor *)cls)->emitter_QButtonGroup_buttonClicked_2159 (arg1);
|
||||
}
|
||||
|
||||
|
||||
// emitter void QButtonGroup::buttonClicked(int)
|
||||
|
||||
static void _init_emitter_buttonClicked_767 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_buttonClicked_767 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
((QButtonGroup_Adaptor *)cls)->emitter_QButtonGroup_buttonClicked_767 (arg1);
|
||||
}
|
||||
|
||||
|
||||
// emitter void QButtonGroup::buttonPressed(QAbstractButton *)
|
||||
|
||||
static void _init_emitter_buttonPressed_2159 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QAbstractButton * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_buttonPressed_2159 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAbstractButton *arg1 = args.read<QAbstractButton * > (heap);
|
||||
((QButtonGroup_Adaptor *)cls)->emitter_QButtonGroup_buttonPressed_2159 (arg1);
|
||||
}
|
||||
|
||||
|
||||
// emitter void QButtonGroup::buttonPressed(int)
|
||||
|
||||
static void _init_emitter_buttonPressed_767 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_buttonPressed_767 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
((QButtonGroup_Adaptor *)cls)->emitter_QButtonGroup_buttonPressed_767 (arg1);
|
||||
}
|
||||
|
||||
|
||||
// emitter void QButtonGroup::buttonReleased(QAbstractButton *)
|
||||
|
||||
static void _init_emitter_buttonReleased_2159 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QAbstractButton * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_buttonReleased_2159 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAbstractButton *arg1 = args.read<QAbstractButton * > (heap);
|
||||
((QButtonGroup_Adaptor *)cls)->emitter_QButtonGroup_buttonReleased_2159 (arg1);
|
||||
}
|
||||
|
||||
|
||||
// emitter void QButtonGroup::buttonReleased(int)
|
||||
|
||||
static void _init_emitter_buttonReleased_767 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_buttonReleased_767 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
((QButtonGroup_Adaptor *)cls)->emitter_QButtonGroup_buttonReleased_767 (arg1);
|
||||
}
|
||||
|
||||
|
||||
// emitter void QButtonGroup::buttonToggled(QAbstractButton *, bool)
|
||||
|
||||
static void _init_emitter_buttonToggled_2915 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QAbstractButton * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("arg2");
|
||||
decl->add_arg<bool > (argspec_1);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_buttonToggled_2915 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QAbstractButton *arg1 = args.read<QAbstractButton * > (heap);
|
||||
bool arg2 = args.read<bool > (heap);
|
||||
((QButtonGroup_Adaptor *)cls)->emitter_QButtonGroup_buttonToggled_2915 (arg1, arg2);
|
||||
}
|
||||
|
||||
|
||||
// emitter void QButtonGroup::buttonToggled(int, bool)
|
||||
|
||||
static void _init_emitter_buttonToggled_1523 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<int > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("arg2");
|
||||
decl->add_arg<bool > (argspec_1);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_buttonToggled_1523 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
int arg1 = args.read<int > (heap);
|
||||
bool arg2 = args.read<bool > (heap);
|
||||
((QButtonGroup_Adaptor *)cls)->emitter_QButtonGroup_buttonToggled_1523 (arg1, arg2);
|
||||
}
|
||||
|
||||
|
||||
// void QButtonGroup::childEvent(QChildEvent *)
|
||||
|
||||
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QChildEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_childEvent_1701_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QChildEvent *arg1 = args.read<QChildEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QButtonGroup_Adaptor *)cls)->cbs_childEvent_1701_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QButtonGroup_Adaptor *)cls)->cb_childEvent_1701_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// void QButtonGroup::customEvent(QEvent *)
|
||||
|
||||
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_customEvent_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QButtonGroup_Adaptor *)cls)->cbs_customEvent_1217_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QButtonGroup_Adaptor *)cls)->cb_customEvent_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// emitter void QButtonGroup::destroyed(QObject *)
|
||||
|
||||
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args ? args.read<QObject * > (heap) : (QObject *)(0);
|
||||
((QButtonGroup_Adaptor *)cls)->emitter_QButtonGroup_destroyed_1302 (arg1);
|
||||
}
|
||||
|
||||
|
||||
// void QButtonGroup::disconnectNotify(const QMetaMethod &signal)
|
||||
|
||||
static void _init_cbs_disconnectNotify_2394_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("signal");
|
||||
decl->add_arg<const QMetaMethod & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_disconnectNotify_2394_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QMetaMethod &arg1 = args.read<const QMetaMethod & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QButtonGroup_Adaptor *)cls)->cbs_disconnectNotify_2394_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_disconnectNotify_2394_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QButtonGroup_Adaptor *)cls)->cb_disconnectNotify_2394_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// bool QButtonGroup::event(QEvent *)
|
||||
|
||||
static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QEvent * > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_event_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QEvent *arg1 = args.read<QEvent * > (heap);
|
||||
ret.write<bool > ((bool)((QButtonGroup_Adaptor *)cls)->cbs_event_1217_0 (arg1));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QButtonGroup_Adaptor *)cls)->cb_event_1217_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// bool QButtonGroup::eventFilter(QObject *, QEvent *)
|
||||
|
||||
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QObject * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("arg2");
|
||||
decl->add_arg<QEvent * > (argspec_1);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_eventFilter_2411_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QObject *arg1 = args.read<QObject * > (heap);
|
||||
QEvent *arg2 = args.read<QEvent * > (heap);
|
||||
ret.write<bool > ((bool)((QButtonGroup_Adaptor *)cls)->cbs_eventFilter_2411_0 (arg1, arg2));
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_eventFilter_2411_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QButtonGroup_Adaptor *)cls)->cb_eventFilter_2411_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
// exposed bool QButtonGroup::isSignalConnected(const QMetaMethod &signal)
|
||||
|
||||
static void _init_fp_isSignalConnected_c2394 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("signal");
|
||||
decl->add_arg<const QMetaMethod & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_fp_isSignalConnected_c2394 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QMetaMethod &arg1 = args.read<const QMetaMethod & > (heap);
|
||||
ret.write<bool > ((bool)((QButtonGroup_Adaptor *)cls)->fp_QButtonGroup_isSignalConnected_c2394 (arg1));
|
||||
}
|
||||
|
||||
|
||||
// exposed int QButtonGroup::receivers(const char *signal)
|
||||
|
||||
static void _init_fp_receivers_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_fp_receivers_c1731 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
ret.write<int > ((int)((QButtonGroup_Adaptor *)cls)->fp_QButtonGroup_receivers_c1731 (arg1));
|
||||
}
|
||||
|
||||
|
||||
// exposed QObject *QButtonGroup::sender()
|
||||
|
||||
static void _init_fp_sender_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QObject * > ();
|
||||
}
|
||||
|
||||
static void _call_fp_sender_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QObject * > ((QObject *)((QButtonGroup_Adaptor *)cls)->fp_QButtonGroup_sender_c0 ());
|
||||
}
|
||||
|
||||
|
||||
// exposed int QButtonGroup::senderSignalIndex()
|
||||
|
||||
static void _init_fp_senderSignalIndex_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_fp_senderSignalIndex_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<int > ((int)((QButtonGroup_Adaptor *)cls)->fp_QButtonGroup_senderSignalIndex_c0 ());
|
||||
}
|
||||
|
||||
|
||||
// void QButtonGroup::timerEvent(QTimerEvent *)
|
||||
|
||||
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("arg1");
|
||||
decl->add_arg<QTimerEvent * > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_cbs_timerEvent_1730_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
QTimerEvent *arg1 = args.read<QTimerEvent * > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QButtonGroup_Adaptor *)cls)->cbs_timerEvent_1730_0 (arg1);
|
||||
}
|
||||
|
||||
static void _set_callback_cbs_timerEvent_1730_0 (void *cls, const gsi::Callback &cb)
|
||||
{
|
||||
((QButtonGroup_Adaptor *)cls)->cb_timerEvent_1730_0 = cb;
|
||||
}
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
gsi::Class<QButtonGroup> &qtdecl_QButtonGroup ();
|
||||
|
||||
static gsi::Methods methods_QButtonGroup_Adaptor () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QButtonGroup::QButtonGroup(QObject *parent)\nThis method creates an object of class QButtonGroup.", &_init_ctor_QButtonGroup_Adaptor_1302, &_call_ctor_QButtonGroup_Adaptor_1302);
|
||||
methods += new qt_gsi::GenericMethod ("emit_buttonClicked_qab", "@brief Emitter for signal void QButtonGroup::buttonClicked(QAbstractButton *)\nCall this method to emit this signal.", false, &_init_emitter_buttonClicked_2159, &_call_emitter_buttonClicked_2159);
|
||||
methods += new qt_gsi::GenericMethod ("emit_buttonClicked", "@brief Emitter for signal void QButtonGroup::buttonClicked(int)\nCall this method to emit this signal.", false, &_init_emitter_buttonClicked_767, &_call_emitter_buttonClicked_767);
|
||||
methods += new qt_gsi::GenericMethod ("emit_buttonPressed_qab", "@brief Emitter for signal void QButtonGroup::buttonPressed(QAbstractButton *)\nCall this method to emit this signal.", false, &_init_emitter_buttonPressed_2159, &_call_emitter_buttonPressed_2159);
|
||||
methods += new qt_gsi::GenericMethod ("emit_buttonPressed", "@brief Emitter for signal void QButtonGroup::buttonPressed(int)\nCall this method to emit this signal.", false, &_init_emitter_buttonPressed_767, &_call_emitter_buttonPressed_767);
|
||||
methods += new qt_gsi::GenericMethod ("emit_buttonReleased_qab", "@brief Emitter for signal void QButtonGroup::buttonReleased(QAbstractButton *)\nCall this method to emit this signal.", false, &_init_emitter_buttonReleased_2159, &_call_emitter_buttonReleased_2159);
|
||||
methods += new qt_gsi::GenericMethod ("emit_buttonReleased", "@brief Emitter for signal void QButtonGroup::buttonReleased(int)\nCall this method to emit this signal.", false, &_init_emitter_buttonReleased_767, &_call_emitter_buttonReleased_767);
|
||||
methods += new qt_gsi::GenericMethod ("emit_buttonToggled_object", "@brief Emitter for signal void QButtonGroup::buttonToggled(QAbstractButton *, bool)\nCall this method to emit this signal.", false, &_init_emitter_buttonToggled_2915, &_call_emitter_buttonToggled_2915);
|
||||
methods += new qt_gsi::GenericMethod ("emit_buttonToggled_int", "@brief Emitter for signal void QButtonGroup::buttonToggled(int, bool)\nCall this method to emit this signal.", false, &_init_emitter_buttonToggled_1523, &_call_emitter_buttonToggled_1523);
|
||||
methods += new qt_gsi::GenericMethod ("*childEvent", "@hide", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0);
|
||||
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QButtonGroup::childEvent(QChildEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0, &_set_callback_cbs_childEvent_1701_0);
|
||||
methods += new qt_gsi::GenericMethod ("*customEvent", "@hide", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("*customEvent", "@brief Virtual method void QButtonGroup::customEvent(QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0, &_set_callback_cbs_customEvent_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("emit_destroyed", "@brief Emitter for signal void QButtonGroup::destroyed(QObject *)\nCall this method to emit this signal.", false, &_init_emitter_destroyed_1302, &_call_emitter_destroyed_1302);
|
||||
methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@hide", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0);
|
||||
methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@brief Virtual method void QButtonGroup::disconnectNotify(const QMetaMethod &signal)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0, &_set_callback_cbs_disconnectNotify_2394_0);
|
||||
methods += new qt_gsi::GenericMethod ("event", "@hide", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("event", "@brief Virtual method bool QButtonGroup::event(QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0, &_set_callback_cbs_event_1217_0);
|
||||
methods += new qt_gsi::GenericMethod ("eventFilter", "@hide", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0);
|
||||
methods += new qt_gsi::GenericMethod ("eventFilter", "@brief Virtual method bool QButtonGroup::eventFilter(QObject *, QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0, &_set_callback_cbs_eventFilter_2411_0);
|
||||
methods += new qt_gsi::GenericMethod ("*isSignalConnected", "@brief Method bool QButtonGroup::isSignalConnected(const QMetaMethod &signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_isSignalConnected_c2394, &_call_fp_isSignalConnected_c2394);
|
||||
methods += new qt_gsi::GenericMethod ("*receivers", "@brief Method int QButtonGroup::receivers(const char *signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_receivers_c1731, &_call_fp_receivers_c1731);
|
||||
methods += new qt_gsi::GenericMethod ("*sender", "@brief Method QObject *QButtonGroup::sender()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_sender_c0, &_call_fp_sender_c0);
|
||||
methods += new qt_gsi::GenericMethod ("*senderSignalIndex", "@brief Method int QButtonGroup::senderSignalIndex()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_senderSignalIndex_c0, &_call_fp_senderSignalIndex_c0);
|
||||
methods += new qt_gsi::GenericMethod ("*timerEvent", "@hide", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0);
|
||||
methods += new qt_gsi::GenericMethod ("*timerEvent", "@brief Virtual method void QButtonGroup::timerEvent(QTimerEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0, &_set_callback_cbs_timerEvent_1730_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QButtonGroup_Adaptor> decl_QButtonGroup_Adaptor (qtdecl_QButtonGroup (), "QButtonGroup",
|
||||
methods_QButtonGroup_Adaptor (),
|
||||
"@qt\n@brief Binding of QButtonGroup");
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,72 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQByteArrayDataPtr.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QByteArrayDataPtr>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// struct QByteArrayDataPtr
|
||||
|
||||
// Constructor QByteArrayDataPtr::QByteArrayDataPtr()
|
||||
|
||||
|
||||
static void _init_ctor_QByteArrayDataPtr_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return_new<QByteArrayDataPtr> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QByteArrayDataPtr_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QByteArrayDataPtr *> (new QByteArrayDataPtr ());
|
||||
}
|
||||
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QByteArrayDataPtr () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QByteArrayDataPtr::QByteArrayDataPtr()\nThis method creates an object of class QByteArrayDataPtr.", &_init_ctor_QByteArrayDataPtr_0, &_call_ctor_QByteArrayDataPtr_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QByteArrayDataPtr> decl_QByteArrayDataPtr ("QByteArrayDataPtr",
|
||||
methods_QByteArrayDataPtr (),
|
||||
"@qt\n@brief Binding of QByteArrayDataPtr");
|
||||
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QByteArrayDataPtr> &qtdecl_QByteArrayDataPtr () { return decl_QByteArrayDataPtr; }
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,218 +0,0 @@
|
|||
|
||||
/*
|
||||
|
||||
KLayout Layout Viewer
|
||||
Copyright (C) 2006-2018 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 gsiDeclQByteArrayMatcher.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
#include <QByteArrayMatcher>
|
||||
#include "gsiQt.h"
|
||||
#include "gsiQtCommon.h"
|
||||
#include "gsiDeclQtTypeTraits.h"
|
||||
#include <memory>
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// class QByteArrayMatcher
|
||||
|
||||
// Constructor QByteArrayMatcher::QByteArrayMatcher()
|
||||
|
||||
|
||||
static void _init_ctor_QByteArrayMatcher_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return_new<QByteArrayMatcher> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QByteArrayMatcher_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QByteArrayMatcher *> (new QByteArrayMatcher ());
|
||||
}
|
||||
|
||||
|
||||
// Constructor QByteArrayMatcher::QByteArrayMatcher(const QByteArray &pattern)
|
||||
|
||||
|
||||
static void _init_ctor_QByteArrayMatcher_2309 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("pattern");
|
||||
decl->add_arg<const QByteArray & > (argspec_0);
|
||||
decl->set_return_new<QByteArrayMatcher> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QByteArrayMatcher_2309 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QByteArray &arg1 = args.read<const QByteArray & > (heap);
|
||||
ret.write<QByteArrayMatcher *> (new QByteArrayMatcher (arg1));
|
||||
}
|
||||
|
||||
|
||||
// Constructor QByteArrayMatcher::QByteArrayMatcher(const char *pattern, int length)
|
||||
|
||||
|
||||
static void _init_ctor_QByteArrayMatcher_2390 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("pattern");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("length");
|
||||
decl->add_arg<int > (argspec_1);
|
||||
decl->set_return_new<QByteArrayMatcher> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QByteArrayMatcher_2390 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
int arg2 = args.read<int > (heap);
|
||||
ret.write<QByteArrayMatcher *> (new QByteArrayMatcher (arg1, arg2));
|
||||
}
|
||||
|
||||
|
||||
// Constructor QByteArrayMatcher::QByteArrayMatcher(const QByteArrayMatcher &other)
|
||||
|
||||
|
||||
static void _init_ctor_QByteArrayMatcher_3017 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("other");
|
||||
decl->add_arg<const QByteArrayMatcher & > (argspec_0);
|
||||
decl->set_return_new<QByteArrayMatcher> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QByteArrayMatcher_3017 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QByteArrayMatcher &arg1 = args.read<const QByteArrayMatcher & > (heap);
|
||||
ret.write<QByteArrayMatcher *> (new QByteArrayMatcher (arg1));
|
||||
}
|
||||
|
||||
|
||||
// int QByteArrayMatcher::indexIn(const char *str, int len, int from)
|
||||
|
||||
|
||||
static void _init_f_indexIn_c3049 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("str");
|
||||
decl->add_arg<const char * > (argspec_0);
|
||||
static gsi::ArgSpecBase argspec_1 ("len");
|
||||
decl->add_arg<int > (argspec_1);
|
||||
static gsi::ArgSpecBase argspec_2 ("from", true, "0");
|
||||
decl->add_arg<int > (argspec_2);
|
||||
decl->set_return<int > ();
|
||||
}
|
||||
|
||||
static void _call_f_indexIn_c3049 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const char *arg1 = args.read<const char * > (heap);
|
||||
int arg2 = args.read<int > (heap);
|
||||
int arg3 = args ? args.read<int > (heap) : (int)(0);
|
||||
ret.write<int > ((int)((QByteArrayMatcher *)cls)->indexIn (arg1, arg2, arg3));
|
||||
}
|
||||
|
||||
|
||||
// QByteArrayMatcher &QByteArrayMatcher::operator=(const QByteArrayMatcher &other)
|
||||
|
||||
|
||||
static void _init_f_operator_eq__3017 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("other");
|
||||
decl->add_arg<const QByteArrayMatcher & > (argspec_0);
|
||||
decl->set_return<QByteArrayMatcher & > ();
|
||||
}
|
||||
|
||||
static void _call_f_operator_eq__3017 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QByteArrayMatcher &arg1 = args.read<const QByteArrayMatcher & > (heap);
|
||||
ret.write<QByteArrayMatcher & > ((QByteArrayMatcher &)((QByteArrayMatcher *)cls)->operator= (arg1));
|
||||
}
|
||||
|
||||
|
||||
// QByteArray QByteArrayMatcher::pattern()
|
||||
|
||||
|
||||
static void _init_f_pattern_c0 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
decl->set_return<QByteArray > ();
|
||||
}
|
||||
|
||||
static void _call_f_pattern_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QByteArray > ((QByteArray)((QByteArrayMatcher *)cls)->pattern ());
|
||||
}
|
||||
|
||||
|
||||
// void QByteArrayMatcher::setPattern(const QByteArray &pattern)
|
||||
|
||||
|
||||
static void _init_f_setPattern_2309 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("pattern");
|
||||
decl->add_arg<const QByteArray & > (argspec_0);
|
||||
decl->set_return<void > ();
|
||||
}
|
||||
|
||||
static void _call_f_setPattern_2309 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QByteArray &arg1 = args.read<const QByteArray & > (heap);
|
||||
__SUPPRESS_UNUSED_WARNING(ret);
|
||||
((QByteArrayMatcher *)cls)->setPattern (arg1);
|
||||
}
|
||||
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QByteArrayMatcher () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QByteArrayMatcher::QByteArrayMatcher()\nThis method creates an object of class QByteArrayMatcher.", &_init_ctor_QByteArrayMatcher_0, &_call_ctor_QByteArrayMatcher_0);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QByteArrayMatcher::QByteArrayMatcher(const QByteArray &pattern)\nThis method creates an object of class QByteArrayMatcher.", &_init_ctor_QByteArrayMatcher_2309, &_call_ctor_QByteArrayMatcher_2309);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QByteArrayMatcher::QByteArrayMatcher(const char *pattern, int length)\nThis method creates an object of class QByteArrayMatcher.", &_init_ctor_QByteArrayMatcher_2390, &_call_ctor_QByteArrayMatcher_2390);
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QByteArrayMatcher::QByteArrayMatcher(const QByteArrayMatcher &other)\nThis method creates an object of class QByteArrayMatcher.", &_init_ctor_QByteArrayMatcher_3017, &_call_ctor_QByteArrayMatcher_3017);
|
||||
methods += new qt_gsi::GenericMethod ("indexIn", "@brief Method int QByteArrayMatcher::indexIn(const char *str, int len, int from)\n", true, &_init_f_indexIn_c3049, &_call_f_indexIn_c3049);
|
||||
methods += new qt_gsi::GenericMethod ("assign", "@brief Method QByteArrayMatcher &QByteArrayMatcher::operator=(const QByteArrayMatcher &other)\n", false, &_init_f_operator_eq__3017, &_call_f_operator_eq__3017);
|
||||
methods += new qt_gsi::GenericMethod (":pattern", "@brief Method QByteArray QByteArrayMatcher::pattern()\n", true, &_init_f_pattern_c0, &_call_f_pattern_c0);
|
||||
methods += new qt_gsi::GenericMethod ("setPattern|pattern=", "@brief Method void QByteArrayMatcher::setPattern(const QByteArray &pattern)\n", false, &_init_f_setPattern_2309, &_call_f_setPattern_2309);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QByteArrayMatcher> decl_QByteArrayMatcher ("QByteArrayMatcher",
|
||||
methods_QByteArrayMatcher (),
|
||||
"@qt\n@brief Binding of QByteArrayMatcher");
|
||||
|
||||
|
||||
GSIQT_PUBLIC gsi::Class<QByteArrayMatcher> &qtdecl_QByteArrayMatcher () { return decl_QByteArrayMatcher; }
|
||||
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue