mirror of https://github.com/KLayout/klayout.git
507 lines
20 KiB
C++
507 lines
20 KiB
C++
|
|
/*
|
|
|
|
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 gsiDeclQGraphicsSceneDragDropEvent.cc
|
|
*
|
|
* DO NOT EDIT THIS FILE.
|
|
* This file has been created automatically
|
|
*/
|
|
|
|
#include <QGraphicsSceneDragDropEvent>
|
|
#include <QMimeData>
|
|
#include <QPoint>
|
|
#include <QPointF>
|
|
#include <QWidget>
|
|
#include "gsiQt.h"
|
|
#include "gsiQtCommon.h"
|
|
#include "gsiDeclQtTypeTraits.h"
|
|
#include <memory>
|
|
|
|
// -----------------------------------------------------------------------
|
|
// class QGraphicsSceneDragDropEvent
|
|
|
|
// void QGraphicsSceneDragDropEvent::acceptProposedAction()
|
|
|
|
|
|
static void _init_f_acceptProposedAction_0 (qt_gsi::GenericMethod *decl)
|
|
{
|
|
decl->set_return<void > ();
|
|
}
|
|
|
|
static void _call_f_acceptProposedAction_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
|
{
|
|
__SUPPRESS_UNUSED_WARNING(args);
|
|
__SUPPRESS_UNUSED_WARNING(ret);
|
|
((QGraphicsSceneDragDropEvent *)cls)->acceptProposedAction ();
|
|
}
|
|
|
|
|
|
// QFlags<Qt::MouseButton> QGraphicsSceneDragDropEvent::buttons()
|
|
|
|
|
|
static void _init_f_buttons_c0 (qt_gsi::GenericMethod *decl)
|
|
{
|
|
decl->set_return<QFlags<Qt::MouseButton> > ();
|
|
}
|
|
|
|
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<QFlags<Qt::MouseButton> > ((QFlags<Qt::MouseButton>)((QGraphicsSceneDragDropEvent *)cls)->buttons ());
|
|
}
|
|
|
|
|
|
// Qt::DropAction QGraphicsSceneDragDropEvent::dropAction()
|
|
|
|
|
|
static void _init_f_dropAction_c0 (qt_gsi::GenericMethod *decl)
|
|
{
|
|
decl->set_return<qt_gsi::Converter<Qt::DropAction>::target_type > ();
|
|
}
|
|
|
|
static void _call_f_dropAction_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
|
{
|
|
__SUPPRESS_UNUSED_WARNING(args);
|
|
ret.write<qt_gsi::Converter<Qt::DropAction>::target_type > ((qt_gsi::Converter<Qt::DropAction>::target_type)qt_gsi::CppToQtAdaptor<Qt::DropAction>(((QGraphicsSceneDragDropEvent *)cls)->dropAction ()));
|
|
}
|
|
|
|
|
|
// const QMimeData *QGraphicsSceneDragDropEvent::mimeData()
|
|
|
|
|
|
static void _init_f_mimeData_c0 (qt_gsi::GenericMethod *decl)
|
|
{
|
|
decl->set_return<const QMimeData * > ();
|
|
}
|
|
|
|
static void _call_f_mimeData_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
|
{
|
|
__SUPPRESS_UNUSED_WARNING(args);
|
|
ret.write<const QMimeData * > ((const QMimeData *)((QGraphicsSceneDragDropEvent *)cls)->mimeData ());
|
|
}
|
|
|
|
|
|
// QFlags<Qt::KeyboardModifier> QGraphicsSceneDragDropEvent::modifiers()
|
|
|
|
|
|
static void _init_f_modifiers_c0 (qt_gsi::GenericMethod *decl)
|
|
{
|
|
decl->set_return<QFlags<Qt::KeyboardModifier> > ();
|
|
}
|
|
|
|
static void _call_f_modifiers_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
|
{
|
|
__SUPPRESS_UNUSED_WARNING(args);
|
|
ret.write<QFlags<Qt::KeyboardModifier> > ((QFlags<Qt::KeyboardModifier>)((QGraphicsSceneDragDropEvent *)cls)->modifiers ());
|
|
}
|
|
|
|
|
|
// QPointF QGraphicsSceneDragDropEvent::pos()
|
|
|
|
|
|
static void _init_f_pos_c0 (qt_gsi::GenericMethod *decl)
|
|
{
|
|
decl->set_return<QPointF > ();
|
|
}
|
|
|
|
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<QPointF > ((QPointF)((QGraphicsSceneDragDropEvent *)cls)->pos ());
|
|
}
|
|
|
|
|
|
// QFlags<Qt::DropAction> QGraphicsSceneDragDropEvent::possibleActions()
|
|
|
|
|
|
static void _init_f_possibleActions_c0 (qt_gsi::GenericMethod *decl)
|
|
{
|
|
decl->set_return<QFlags<Qt::DropAction> > ();
|
|
}
|
|
|
|
static void _call_f_possibleActions_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
|
{
|
|
__SUPPRESS_UNUSED_WARNING(args);
|
|
ret.write<QFlags<Qt::DropAction> > ((QFlags<Qt::DropAction>)((QGraphicsSceneDragDropEvent *)cls)->possibleActions ());
|
|
}
|
|
|
|
|
|
// Qt::DropAction QGraphicsSceneDragDropEvent::proposedAction()
|
|
|
|
|
|
static void _init_f_proposedAction_c0 (qt_gsi::GenericMethod *decl)
|
|
{
|
|
decl->set_return<qt_gsi::Converter<Qt::DropAction>::target_type > ();
|
|
}
|
|
|
|
static void _call_f_proposedAction_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
|
{
|
|
__SUPPRESS_UNUSED_WARNING(args);
|
|
ret.write<qt_gsi::Converter<Qt::DropAction>::target_type > ((qt_gsi::Converter<Qt::DropAction>::target_type)qt_gsi::CppToQtAdaptor<Qt::DropAction>(((QGraphicsSceneDragDropEvent *)cls)->proposedAction ()));
|
|
}
|
|
|
|
|
|
// QPointF QGraphicsSceneDragDropEvent::scenePos()
|
|
|
|
|
|
static void _init_f_scenePos_c0 (qt_gsi::GenericMethod *decl)
|
|
{
|
|
decl->set_return<QPointF > ();
|
|
}
|
|
|
|
static void _call_f_scenePos_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
|
{
|
|
__SUPPRESS_UNUSED_WARNING(args);
|
|
ret.write<QPointF > ((QPointF)((QGraphicsSceneDragDropEvent *)cls)->scenePos ());
|
|
}
|
|
|
|
|
|
// QPoint QGraphicsSceneDragDropEvent::screenPos()
|
|
|
|
|
|
static void _init_f_screenPos_c0 (qt_gsi::GenericMethod *decl)
|
|
{
|
|
decl->set_return<QPoint > ();
|
|
}
|
|
|
|
static void _call_f_screenPos_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
|
{
|
|
__SUPPRESS_UNUSED_WARNING(args);
|
|
ret.write<QPoint > ((QPoint)((QGraphicsSceneDragDropEvent *)cls)->screenPos ());
|
|
}
|
|
|
|
|
|
// void QGraphicsSceneDragDropEvent::setButtons(QFlags<Qt::MouseButton> buttons)
|
|
|
|
|
|
static void _init_f_setButtons_2602 (qt_gsi::GenericMethod *decl)
|
|
{
|
|
static gsi::ArgSpecBase argspec_0 ("buttons");
|
|
decl->add_arg<QFlags<Qt::MouseButton> > (argspec_0);
|
|
decl->set_return<void > ();
|
|
}
|
|
|
|
static void _call_f_setButtons_2602 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
|
{
|
|
__SUPPRESS_UNUSED_WARNING(args);
|
|
tl::Heap heap;
|
|
QFlags<Qt::MouseButton> arg1 = args.read<QFlags<Qt::MouseButton> > (heap);
|
|
__SUPPRESS_UNUSED_WARNING(ret);
|
|
((QGraphicsSceneDragDropEvent *)cls)->setButtons (arg1);
|
|
}
|
|
|
|
|
|
// void QGraphicsSceneDragDropEvent::setDropAction(Qt::DropAction action)
|
|
|
|
|
|
static void _init_f_setDropAction_1760 (qt_gsi::GenericMethod *decl)
|
|
{
|
|
static gsi::ArgSpecBase argspec_0 ("action");
|
|
decl->add_arg<const qt_gsi::Converter<Qt::DropAction>::target_type & > (argspec_0);
|
|
decl->set_return<void > ();
|
|
}
|
|
|
|
static void _call_f_setDropAction_1760 (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::DropAction>::target_type & arg1 = args.read<const qt_gsi::Converter<Qt::DropAction>::target_type & > (heap);
|
|
__SUPPRESS_UNUSED_WARNING(ret);
|
|
((QGraphicsSceneDragDropEvent *)cls)->setDropAction (qt_gsi::QtToCppAdaptor<Qt::DropAction>(arg1).cref());
|
|
}
|
|
|
|
|
|
// void QGraphicsSceneDragDropEvent::setMimeData(const QMimeData *data)
|
|
|
|
|
|
static void _init_f_setMimeData_2168 (qt_gsi::GenericMethod *decl)
|
|
{
|
|
static gsi::ArgSpecBase argspec_0 ("data");
|
|
decl->add_arg<const QMimeData * > (argspec_0);
|
|
decl->set_return<void > ();
|
|
}
|
|
|
|
static void _call_f_setMimeData_2168 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
|
{
|
|
__SUPPRESS_UNUSED_WARNING(args);
|
|
tl::Heap heap;
|
|
const QMimeData *arg1 = args.read<const QMimeData * > (heap);
|
|
__SUPPRESS_UNUSED_WARNING(ret);
|
|
((QGraphicsSceneDragDropEvent *)cls)->setMimeData (arg1);
|
|
}
|
|
|
|
|
|
// void QGraphicsSceneDragDropEvent::setModifiers(QFlags<Qt::KeyboardModifier> modifiers)
|
|
|
|
|
|
static void _init_f_setModifiers_3077 (qt_gsi::GenericMethod *decl)
|
|
{
|
|
static gsi::ArgSpecBase argspec_0 ("modifiers");
|
|
decl->add_arg<QFlags<Qt::KeyboardModifier> > (argspec_0);
|
|
decl->set_return<void > ();
|
|
}
|
|
|
|
static void _call_f_setModifiers_3077 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
|
{
|
|
__SUPPRESS_UNUSED_WARNING(args);
|
|
tl::Heap heap;
|
|
QFlags<Qt::KeyboardModifier> arg1 = args.read<QFlags<Qt::KeyboardModifier> > (heap);
|
|
__SUPPRESS_UNUSED_WARNING(ret);
|
|
((QGraphicsSceneDragDropEvent *)cls)->setModifiers (arg1);
|
|
}
|
|
|
|
|
|
// void QGraphicsSceneDragDropEvent::setPos(const QPointF &pos)
|
|
|
|
|
|
static void _init_f_setPos_1986 (qt_gsi::GenericMethod *decl)
|
|
{
|
|
static gsi::ArgSpecBase argspec_0 ("pos");
|
|
decl->add_arg<const QPointF & > (argspec_0);
|
|
decl->set_return<void > ();
|
|
}
|
|
|
|
static void _call_f_setPos_1986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
|
{
|
|
__SUPPRESS_UNUSED_WARNING(args);
|
|
tl::Heap heap;
|
|
const QPointF &arg1 = args.read<const QPointF & > (heap);
|
|
__SUPPRESS_UNUSED_WARNING(ret);
|
|
((QGraphicsSceneDragDropEvent *)cls)->setPos (arg1);
|
|
}
|
|
|
|
|
|
// void QGraphicsSceneDragDropEvent::setPossibleActions(QFlags<Qt::DropAction> actions)
|
|
|
|
|
|
static void _init_f_setPossibleActions_2456 (qt_gsi::GenericMethod *decl)
|
|
{
|
|
static gsi::ArgSpecBase argspec_0 ("actions");
|
|
decl->add_arg<QFlags<Qt::DropAction> > (argspec_0);
|
|
decl->set_return<void > ();
|
|
}
|
|
|
|
static void _call_f_setPossibleActions_2456 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
|
{
|
|
__SUPPRESS_UNUSED_WARNING(args);
|
|
tl::Heap heap;
|
|
QFlags<Qt::DropAction> arg1 = args.read<QFlags<Qt::DropAction> > (heap);
|
|
__SUPPRESS_UNUSED_WARNING(ret);
|
|
((QGraphicsSceneDragDropEvent *)cls)->setPossibleActions (arg1);
|
|
}
|
|
|
|
|
|
// void QGraphicsSceneDragDropEvent::setProposedAction(Qt::DropAction action)
|
|
|
|
|
|
static void _init_f_setProposedAction_1760 (qt_gsi::GenericMethod *decl)
|
|
{
|
|
static gsi::ArgSpecBase argspec_0 ("action");
|
|
decl->add_arg<const qt_gsi::Converter<Qt::DropAction>::target_type & > (argspec_0);
|
|
decl->set_return<void > ();
|
|
}
|
|
|
|
static void _call_f_setProposedAction_1760 (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::DropAction>::target_type & arg1 = args.read<const qt_gsi::Converter<Qt::DropAction>::target_type & > (heap);
|
|
__SUPPRESS_UNUSED_WARNING(ret);
|
|
((QGraphicsSceneDragDropEvent *)cls)->setProposedAction (qt_gsi::QtToCppAdaptor<Qt::DropAction>(arg1).cref());
|
|
}
|
|
|
|
|
|
// void QGraphicsSceneDragDropEvent::setScenePos(const QPointF &pos)
|
|
|
|
|
|
static void _init_f_setScenePos_1986 (qt_gsi::GenericMethod *decl)
|
|
{
|
|
static gsi::ArgSpecBase argspec_0 ("pos");
|
|
decl->add_arg<const QPointF & > (argspec_0);
|
|
decl->set_return<void > ();
|
|
}
|
|
|
|
static void _call_f_setScenePos_1986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
|
{
|
|
__SUPPRESS_UNUSED_WARNING(args);
|
|
tl::Heap heap;
|
|
const QPointF &arg1 = args.read<const QPointF & > (heap);
|
|
__SUPPRESS_UNUSED_WARNING(ret);
|
|
((QGraphicsSceneDragDropEvent *)cls)->setScenePos (arg1);
|
|
}
|
|
|
|
|
|
// void QGraphicsSceneDragDropEvent::setScreenPos(const QPoint &pos)
|
|
|
|
|
|
static void _init_f_setScreenPos_1916 (qt_gsi::GenericMethod *decl)
|
|
{
|
|
static gsi::ArgSpecBase argspec_0 ("pos");
|
|
decl->add_arg<const QPoint & > (argspec_0);
|
|
decl->set_return<void > ();
|
|
}
|
|
|
|
static void _call_f_setScreenPos_1916 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
|
{
|
|
__SUPPRESS_UNUSED_WARNING(args);
|
|
tl::Heap heap;
|
|
const QPoint &arg1 = args.read<const QPoint & > (heap);
|
|
__SUPPRESS_UNUSED_WARNING(ret);
|
|
((QGraphicsSceneDragDropEvent *)cls)->setScreenPos (arg1);
|
|
}
|
|
|
|
|
|
// void QGraphicsSceneDragDropEvent::setSource(QWidget *source)
|
|
|
|
|
|
static void _init_f_setSource_1315 (qt_gsi::GenericMethod *decl)
|
|
{
|
|
static gsi::ArgSpecBase argspec_0 ("source");
|
|
decl->add_arg<QWidget * > (argspec_0);
|
|
decl->set_return<void > ();
|
|
}
|
|
|
|
static void _call_f_setSource_1315 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
|
{
|
|
__SUPPRESS_UNUSED_WARNING(args);
|
|
tl::Heap heap;
|
|
QWidget *arg1 = args.read<QWidget * > (heap);
|
|
__SUPPRESS_UNUSED_WARNING(ret);
|
|
((QGraphicsSceneDragDropEvent *)cls)->setSource (arg1);
|
|
}
|
|
|
|
|
|
// QWidget *QGraphicsSceneDragDropEvent::source()
|
|
|
|
|
|
static void _init_f_source_c0 (qt_gsi::GenericMethod *decl)
|
|
{
|
|
decl->set_return<QWidget * > ();
|
|
}
|
|
|
|
static void _call_f_source_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
|
{
|
|
__SUPPRESS_UNUSED_WARNING(args);
|
|
ret.write<QWidget * > ((QWidget *)((QGraphicsSceneDragDropEvent *)cls)->source ());
|
|
}
|
|
|
|
|
|
namespace gsi
|
|
{
|
|
|
|
static gsi::Methods methods_QGraphicsSceneDragDropEvent () {
|
|
gsi::Methods methods;
|
|
methods += new qt_gsi::GenericMethod ("acceptProposedAction", "@brief Method void QGraphicsSceneDragDropEvent::acceptProposedAction()\n", false, &_init_f_acceptProposedAction_0, &_call_f_acceptProposedAction_0);
|
|
methods += new qt_gsi::GenericMethod (":buttons", "@brief Method QFlags<Qt::MouseButton> QGraphicsSceneDragDropEvent::buttons()\n", true, &_init_f_buttons_c0, &_call_f_buttons_c0);
|
|
methods += new qt_gsi::GenericMethod (":dropAction", "@brief Method Qt::DropAction QGraphicsSceneDragDropEvent::dropAction()\n", true, &_init_f_dropAction_c0, &_call_f_dropAction_c0);
|
|
methods += new qt_gsi::GenericMethod (":mimeData", "@brief Method const QMimeData *QGraphicsSceneDragDropEvent::mimeData()\n", true, &_init_f_mimeData_c0, &_call_f_mimeData_c0);
|
|
methods += new qt_gsi::GenericMethod (":modifiers", "@brief Method QFlags<Qt::KeyboardModifier> QGraphicsSceneDragDropEvent::modifiers()\n", true, &_init_f_modifiers_c0, &_call_f_modifiers_c0);
|
|
methods += new qt_gsi::GenericMethod (":pos", "@brief Method QPointF QGraphicsSceneDragDropEvent::pos()\n", true, &_init_f_pos_c0, &_call_f_pos_c0);
|
|
methods += new qt_gsi::GenericMethod (":possibleActions", "@brief Method QFlags<Qt::DropAction> QGraphicsSceneDragDropEvent::possibleActions()\n", true, &_init_f_possibleActions_c0, &_call_f_possibleActions_c0);
|
|
methods += new qt_gsi::GenericMethod (":proposedAction", "@brief Method Qt::DropAction QGraphicsSceneDragDropEvent::proposedAction()\n", true, &_init_f_proposedAction_c0, &_call_f_proposedAction_c0);
|
|
methods += new qt_gsi::GenericMethod (":scenePos", "@brief Method QPointF QGraphicsSceneDragDropEvent::scenePos()\n", true, &_init_f_scenePos_c0, &_call_f_scenePos_c0);
|
|
methods += new qt_gsi::GenericMethod (":screenPos", "@brief Method QPoint QGraphicsSceneDragDropEvent::screenPos()\n", true, &_init_f_screenPos_c0, &_call_f_screenPos_c0);
|
|
methods += new qt_gsi::GenericMethod ("setButtons|buttons=", "@brief Method void QGraphicsSceneDragDropEvent::setButtons(QFlags<Qt::MouseButton> buttons)\n", false, &_init_f_setButtons_2602, &_call_f_setButtons_2602);
|
|
methods += new qt_gsi::GenericMethod ("setDropAction|dropAction=", "@brief Method void QGraphicsSceneDragDropEvent::setDropAction(Qt::DropAction action)\n", false, &_init_f_setDropAction_1760, &_call_f_setDropAction_1760);
|
|
methods += new qt_gsi::GenericMethod ("setMimeData|mimeData=", "@brief Method void QGraphicsSceneDragDropEvent::setMimeData(const QMimeData *data)\n", false, &_init_f_setMimeData_2168, &_call_f_setMimeData_2168);
|
|
methods += new qt_gsi::GenericMethod ("setModifiers|modifiers=", "@brief Method void QGraphicsSceneDragDropEvent::setModifiers(QFlags<Qt::KeyboardModifier> modifiers)\n", false, &_init_f_setModifiers_3077, &_call_f_setModifiers_3077);
|
|
methods += new qt_gsi::GenericMethod ("setPos|pos=", "@brief Method void QGraphicsSceneDragDropEvent::setPos(const QPointF &pos)\n", false, &_init_f_setPos_1986, &_call_f_setPos_1986);
|
|
methods += new qt_gsi::GenericMethod ("setPossibleActions|possibleActions=", "@brief Method void QGraphicsSceneDragDropEvent::setPossibleActions(QFlags<Qt::DropAction> actions)\n", false, &_init_f_setPossibleActions_2456, &_call_f_setPossibleActions_2456);
|
|
methods += new qt_gsi::GenericMethod ("setProposedAction|proposedAction=", "@brief Method void QGraphicsSceneDragDropEvent::setProposedAction(Qt::DropAction action)\n", false, &_init_f_setProposedAction_1760, &_call_f_setProposedAction_1760);
|
|
methods += new qt_gsi::GenericMethod ("setScenePos|scenePos=", "@brief Method void QGraphicsSceneDragDropEvent::setScenePos(const QPointF &pos)\n", false, &_init_f_setScenePos_1986, &_call_f_setScenePos_1986);
|
|
methods += new qt_gsi::GenericMethod ("setScreenPos|screenPos=", "@brief Method void QGraphicsSceneDragDropEvent::setScreenPos(const QPoint &pos)\n", false, &_init_f_setScreenPos_1916, &_call_f_setScreenPos_1916);
|
|
methods += new qt_gsi::GenericMethod ("setSource|source=", "@brief Method void QGraphicsSceneDragDropEvent::setSource(QWidget *source)\n", false, &_init_f_setSource_1315, &_call_f_setSource_1315);
|
|
methods += new qt_gsi::GenericMethod (":source", "@brief Method QWidget *QGraphicsSceneDragDropEvent::source()\n", true, &_init_f_source_c0, &_call_f_source_c0);
|
|
return methods;
|
|
}
|
|
|
|
gsi::Class<QGraphicsSceneEvent> &qtdecl_QGraphicsSceneEvent ();
|
|
|
|
gsi::Class<QGraphicsSceneDragDropEvent> decl_QGraphicsSceneDragDropEvent (qtdecl_QGraphicsSceneEvent (), "QGraphicsSceneDragDropEvent_Native",
|
|
methods_QGraphicsSceneDragDropEvent (),
|
|
"@hide\n@alias QGraphicsSceneDragDropEvent");
|
|
|
|
GSIQT_PUBLIC gsi::Class<QGraphicsSceneDragDropEvent> &qtdecl_QGraphicsSceneDragDropEvent () { return decl_QGraphicsSceneDragDropEvent; }
|
|
|
|
}
|
|
|
|
|
|
class QGraphicsSceneDragDropEvent_Adaptor : public QGraphicsSceneDragDropEvent, public qt_gsi::QtObjectBase
|
|
{
|
|
public:
|
|
|
|
virtual ~QGraphicsSceneDragDropEvent_Adaptor();
|
|
|
|
// [adaptor ctor] QGraphicsSceneDragDropEvent::QGraphicsSceneDragDropEvent(QEvent::Type type)
|
|
QGraphicsSceneDragDropEvent_Adaptor() : QGraphicsSceneDragDropEvent()
|
|
{
|
|
qt_gsi::QtObjectBase::init (this);
|
|
}
|
|
|
|
// [adaptor ctor] QGraphicsSceneDragDropEvent::QGraphicsSceneDragDropEvent(QEvent::Type type)
|
|
QGraphicsSceneDragDropEvent_Adaptor(QEvent::Type type) : QGraphicsSceneDragDropEvent(type)
|
|
{
|
|
qt_gsi::QtObjectBase::init (this);
|
|
}
|
|
|
|
|
|
};
|
|
|
|
QGraphicsSceneDragDropEvent_Adaptor::~QGraphicsSceneDragDropEvent_Adaptor() { }
|
|
|
|
// Constructor QGraphicsSceneDragDropEvent::QGraphicsSceneDragDropEvent(QEvent::Type type) (adaptor class)
|
|
|
|
static void _init_ctor_QGraphicsSceneDragDropEvent_Adaptor_1565 (qt_gsi::GenericStaticMethod *decl)
|
|
{
|
|
static gsi::ArgSpecBase argspec_0 ("type", true, "QEvent::None");
|
|
decl->add_arg<const qt_gsi::Converter<QEvent::Type>::target_type & > (argspec_0);
|
|
decl->set_return_new<QGraphicsSceneDragDropEvent_Adaptor> ();
|
|
}
|
|
|
|
static void _call_ctor_QGraphicsSceneDragDropEvent_Adaptor_1565 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
|
{
|
|
__SUPPRESS_UNUSED_WARNING(args);
|
|
tl::Heap heap;
|
|
const qt_gsi::Converter<QEvent::Type>::target_type & arg1 = args ? args.read<const qt_gsi::Converter<QEvent::Type>::target_type & > (heap) : (const qt_gsi::Converter<QEvent::Type>::target_type &)(qt_gsi::CppToQtReadAdaptor<QEvent::Type>(heap, QEvent::None));
|
|
ret.write<QGraphicsSceneDragDropEvent_Adaptor *> (new QGraphicsSceneDragDropEvent_Adaptor (qt_gsi::QtToCppAdaptor<QEvent::Type>(arg1).cref()));
|
|
}
|
|
|
|
|
|
namespace gsi
|
|
{
|
|
|
|
gsi::Class<QGraphicsSceneDragDropEvent> &qtdecl_QGraphicsSceneDragDropEvent ();
|
|
|
|
static gsi::Methods methods_QGraphicsSceneDragDropEvent_Adaptor () {
|
|
gsi::Methods methods;
|
|
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QGraphicsSceneDragDropEvent::QGraphicsSceneDragDropEvent(QEvent::Type type)\nThis method creates an object of class QGraphicsSceneDragDropEvent.", &_init_ctor_QGraphicsSceneDragDropEvent_Adaptor_1565, &_call_ctor_QGraphicsSceneDragDropEvent_Adaptor_1565);
|
|
return methods;
|
|
}
|
|
|
|
gsi::Class<QGraphicsSceneDragDropEvent_Adaptor> decl_QGraphicsSceneDragDropEvent_Adaptor (qtdecl_QGraphicsSceneDragDropEvent (), "QGraphicsSceneDragDropEvent",
|
|
methods_QGraphicsSceneDragDropEvent_Adaptor (),
|
|
"@qt\n@brief Binding of QGraphicsSceneDragDropEvent");
|
|
|
|
}
|
|
|