##// END OF EJS Templates
added builtin support for variants etc., this will replace the direct includes in PythonQt...
added builtin support for variants etc., this will replace the direct includes in PythonQt git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@129 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r93:7b53f64eae84
Show More
PythonQtWrapper_QWheelEvent.cpp
61 lines | 1.8 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QWheelEvent.h"
#include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.h>
#include <QVariant>
#include <qpoint.h>
QWheelEvent* PythonQtWrapper_QWheelEvent::new_QWheelEvent(const QPoint& pos, const QPoint& globalPos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient)
{
return new PythonQtShell_QWheelEvent(pos, globalPos, delta, buttons, modifiers, orient); }
QWheelEvent* PythonQtWrapper_QWheelEvent::new_QWheelEvent(const QPoint& pos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient)
{
return new PythonQtShell_QWheelEvent(pos, delta, buttons, modifiers, orient); }
int PythonQtWrapper_QWheelEvent::globalY(QWheelEvent* theWrappedObject) const
{
return ( theWrappedObject->globalY());
}
const QPoint* PythonQtWrapper_QWheelEvent::pos(QWheelEvent* theWrappedObject) const
{
return &( theWrappedObject->pos());
}
int PythonQtWrapper_QWheelEvent::x(QWheelEvent* theWrappedObject) const
{
return ( theWrappedObject->x());
}
const QPoint* PythonQtWrapper_QWheelEvent::globalPos(QWheelEvent* theWrappedObject) const
{
return &( theWrappedObject->globalPos());
}
Qt::Orientation PythonQtWrapper_QWheelEvent::orientation(QWheelEvent* theWrappedObject) const
{
return ( theWrappedObject->orientation());
}
int PythonQtWrapper_QWheelEvent::y(QWheelEvent* theWrappedObject) const
{
return ( theWrappedObject->y());
}
Qt::MouseButtons PythonQtWrapper_QWheelEvent::buttons(QWheelEvent* theWrappedObject) const
{
return ( theWrappedObject->buttons());
}
int PythonQtWrapper_QWheelEvent::globalX(QWheelEvent* theWrappedObject) const
{
return ( theWrappedObject->globalX());
}
int PythonQtWrapper_QWheelEvent::delta(QWheelEvent* theWrappedObject) const
{
return ( theWrappedObject->delta());
}