/* KLayout Layout Viewer Copyright (C) 2006-2017 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 #include "gsiQt.h" #include "gsiQtCommon.h" #include "gsiDeclQtTypeTraits.h" #include // ----------------------------------------------------------------------- // class QAuthenticator // Constructor QAuthenticator::QAuthenticator() static void _init_ctor_QAuthenticator_0 (qt_gsi::GenericStaticMethod *decl) { decl->set_return_new (); } static void _call_ctor_QAuthenticator_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); ret.write (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 (argspec_0); decl->set_return_new (); } 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 (heap); ret.write (new QAuthenticator (arg1)); } // void QAuthenticator::detach() static void _init_f_detach_0 (qt_gsi::GenericMethod *decl) { decl->set_return (); } 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 (); } 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)((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 (argspec_0); decl->set_return (); } 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 (heap); ret.write ((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 (argspec_0); decl->set_return (); } 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 (heap); ret.write ((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 (argspec_0); decl->set_return (); } 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 (heap); ret.write ((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 (argspec_0); decl->set_return (); } 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 (heap); ret.write ((QVariant)((QAuthenticator *)cls)->option (arg1)); } // QHash QAuthenticator::options() static void _init_f_options_c0 (qt_gsi::GenericMethod *decl) { decl->set_return > (); } 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)((QAuthenticator *)cls)->options ()); } // QString QAuthenticator::password() static void _init_f_password_c0 (qt_gsi::GenericMethod *decl) { decl->set_return (); } 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)((QAuthenticator *)cls)->password ()); } // QString QAuthenticator::realm() static void _init_f_realm_c0 (qt_gsi::GenericMethod *decl) { decl->set_return (); } 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)((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 (argspec_0); static gsi::ArgSpecBase argspec_1 ("value"); decl->add_arg (argspec_1); decl->set_return (); } 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 (heap); const QVariant &arg2 = args.read (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 (argspec_0); decl->set_return (); } 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 (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 (argspec_0); decl->set_return (); } 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 (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 (argspec_0); decl->set_return (); } 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 (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 (); } 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)((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 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 decl_QAuthenticator ("QAuthenticator", methods_QAuthenticator (), "@qt\n@brief Binding of QAuthenticator"); GSIQT_PUBLIC gsi::Class &qtdecl_QAuthenticator () { return decl_QAuthenticator; } }