/* 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 gsiDeclQToolTip.cc * * DO NOT EDIT THIS FILE. * This file has been created automatically */ #include #include #include #include #include #include #include "gsiQt.h" #include "gsiQtCommon.h" #include "gsiDeclQtTypeTraits.h" #include // ----------------------------------------------------------------------- // class QToolTip // static QFont QToolTip::font() static void _init_f_font_0 (qt_gsi::GenericStaticMethod *decl) { decl->set_return (); } static void _call_f_font_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); ret.write ((QFont)QToolTip::font ()); } // static void QToolTip::hideText() static void _init_f_hideText_0 (qt_gsi::GenericStaticMethod *decl) { decl->set_return (); } static void _call_f_hideText_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); __SUPPRESS_UNUSED_WARNING(ret); QToolTip::hideText (); } // static bool QToolTip::isVisible() static void _init_f_isVisible_0 (qt_gsi::GenericStaticMethod *decl) { decl->set_return (); } static void _call_f_isVisible_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); ret.write ((bool)QToolTip::isVisible ()); } // static QPalette QToolTip::palette() static void _init_f_palette_0 (qt_gsi::GenericStaticMethod *decl) { decl->set_return (); } static void _call_f_palette_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); ret.write ((QPalette)QToolTip::palette ()); } // static void QToolTip::setFont(const QFont &) static void _init_f_setFont_1801 (qt_gsi::GenericStaticMethod *decl) { static gsi::ArgSpecBase argspec_0 ("arg1"); decl->add_arg (argspec_0); decl->set_return (); } static void _call_f_setFont_1801 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); tl::Heap heap; const QFont &arg1 = args.read (heap); __SUPPRESS_UNUSED_WARNING(ret); QToolTip::setFont (arg1); } // static void QToolTip::setPalette(const QPalette &) static void _init_f_setPalette_2113 (qt_gsi::GenericStaticMethod *decl) { static gsi::ArgSpecBase argspec_0 ("arg1"); decl->add_arg (argspec_0); decl->set_return (); } static void _call_f_setPalette_2113 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); tl::Heap heap; const QPalette &arg1 = args.read (heap); __SUPPRESS_UNUSED_WARNING(ret); QToolTip::setPalette (arg1); } // static void QToolTip::showText(const QPoint &pos, const QString &text, QWidget *w) static void _init_f_showText_5040 (qt_gsi::GenericStaticMethod *decl) { static gsi::ArgSpecBase argspec_0 ("pos"); decl->add_arg (argspec_0); static gsi::ArgSpecBase argspec_1 ("text"); decl->add_arg (argspec_1); static gsi::ArgSpecBase argspec_2 ("w", true, "0"); decl->add_arg (argspec_2); decl->set_return (); } static void _call_f_showText_5040 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); tl::Heap heap; const QPoint &arg1 = args.read (heap); const QString &arg2 = args.read (heap); QWidget *arg3 = args ? args.read (heap) : (QWidget *)(0); __SUPPRESS_UNUSED_WARNING(ret); QToolTip::showText (arg1, arg2, arg3); } // static void QToolTip::showText(const QPoint &pos, const QString &text, QWidget *w, const QRect &rect) static void _init_f_showText_6724 (qt_gsi::GenericStaticMethod *decl) { static gsi::ArgSpecBase argspec_0 ("pos"); decl->add_arg (argspec_0); static gsi::ArgSpecBase argspec_1 ("text"); decl->add_arg (argspec_1); static gsi::ArgSpecBase argspec_2 ("w"); decl->add_arg (argspec_2); static gsi::ArgSpecBase argspec_3 ("rect"); decl->add_arg (argspec_3); decl->set_return (); } static void _call_f_showText_6724 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); tl::Heap heap; const QPoint &arg1 = args.read (heap); const QString &arg2 = args.read (heap); QWidget *arg3 = args.read (heap); const QRect &arg4 = args.read (heap); __SUPPRESS_UNUSED_WARNING(ret); QToolTip::showText (arg1, arg2, arg3, arg4); } // static QString QToolTip::text() static void _init_f_text_0 (qt_gsi::GenericStaticMethod *decl) { decl->set_return (); } static void _call_f_text_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); ret.write ((QString)QToolTip::text ()); } namespace gsi { static gsi::Methods methods_QToolTip () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod (":font", "@brief Static method QFont QToolTip::font()\nThis method is static and can be called without an instance.", &_init_f_font_0, &_call_f_font_0); methods += new qt_gsi::GenericStaticMethod ("hideText", "@brief Static method void QToolTip::hideText()\nThis method is static and can be called without an instance.", &_init_f_hideText_0, &_call_f_hideText_0); methods += new qt_gsi::GenericStaticMethod ("isVisible?", "@brief Static method bool QToolTip::isVisible()\nThis method is static and can be called without an instance.", &_init_f_isVisible_0, &_call_f_isVisible_0); methods += new qt_gsi::GenericStaticMethod (":palette", "@brief Static method QPalette QToolTip::palette()\nThis method is static and can be called without an instance.", &_init_f_palette_0, &_call_f_palette_0); methods += new qt_gsi::GenericStaticMethod ("setFont|font=", "@brief Static method void QToolTip::setFont(const QFont &)\nThis method is static and can be called without an instance.", &_init_f_setFont_1801, &_call_f_setFont_1801); methods += new qt_gsi::GenericStaticMethod ("setPalette|palette=", "@brief Static method void QToolTip::setPalette(const QPalette &)\nThis method is static and can be called without an instance.", &_init_f_setPalette_2113, &_call_f_setPalette_2113); methods += new qt_gsi::GenericStaticMethod ("showText", "@brief Static method void QToolTip::showText(const QPoint &pos, const QString &text, QWidget *w)\nThis method is static and can be called without an instance.", &_init_f_showText_5040, &_call_f_showText_5040); methods += new qt_gsi::GenericStaticMethod ("showText", "@brief Static method void QToolTip::showText(const QPoint &pos, const QString &text, QWidget *w, const QRect &rect)\nThis method is static and can be called without an instance.", &_init_f_showText_6724, &_call_f_showText_6724); methods += new qt_gsi::GenericStaticMethod ("text", "@brief Static method QString QToolTip::text()\nThis method is static and can be called without an instance.", &_init_f_text_0, &_call_f_text_0); return methods; } gsi::Class decl_QToolTip ("QToolTip", methods_QToolTip (), "@qt\n@brief Binding of QToolTip"); GSIQT_PUBLIC gsi::Class &qtdecl_QToolTip () { return decl_QToolTip; } }