##// 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_QMouseEvent.cpp
72 lines | 2.3 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QMouseEvent.h"
#include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.h>
#include <QVariant>
#include <qevent.h>
#include <qpoint.h>
QMouseEvent* PythonQtWrapper_QMouseEvent::new_QMouseEvent(QEvent::Type type, const QPoint& pos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers)
{
return new PythonQtShell_QMouseEvent(type, pos, button, buttons, modifiers); }
QMouseEvent* PythonQtWrapper_QMouseEvent::new_QMouseEvent(QEvent::Type type, const QPoint& pos, const QPoint& globalPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers)
{
return new PythonQtShell_QMouseEvent(type, pos, globalPos, button, buttons, modifiers); }
int PythonQtWrapper_QMouseEvent::globalX(QMouseEvent* theWrappedObject) const
{
return ( theWrappedObject->globalX());
}
Qt::MouseButton PythonQtWrapper_QMouseEvent::button(QMouseEvent* theWrappedObject) const
{
return ( theWrappedObject->button());
}
int PythonQtWrapper_QMouseEvent::globalY(QMouseEvent* theWrappedObject) const
{
return ( theWrappedObject->globalY());
}
Qt::MouseButtons PythonQtWrapper_QMouseEvent::buttons(QMouseEvent* theWrappedObject) const
{
return ( theWrappedObject->buttons());
}
QMouseEvent* PythonQtWrapper_QMouseEvent::static_QMouseEvent_createExtendedMouseEvent(QEvent::Type type, const QPointF& pos, const QPoint& globalPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers)
{
return (QMouseEvent::createExtendedMouseEvent(type, pos, globalPos, button, buttons, modifiers));
}
const QPoint* PythonQtWrapper_QMouseEvent::pos(QMouseEvent* theWrappedObject) const
{
return &( theWrappedObject->pos());
}
QPointF PythonQtWrapper_QMouseEvent::posF(QMouseEvent* theWrappedObject) const
{
return ( theWrappedObject->posF());
}
int PythonQtWrapper_QMouseEvent::x(QMouseEvent* theWrappedObject) const
{
return ( theWrappedObject->x());
}
bool PythonQtWrapper_QMouseEvent::hasExtendedInfo(QMouseEvent* theWrappedObject) const
{
return ( theWrappedObject->hasExtendedInfo());
}
const QPoint* PythonQtWrapper_QMouseEvent::globalPos(QMouseEvent* theWrappedObject) const
{
return &( theWrappedObject->globalPos());
}
int PythonQtWrapper_QMouseEvent::y(QMouseEvent* theWrappedObject) const
{
return ( theWrappedObject->y());
}