PythonQtWrapper_QContextMenuEvent.cpp
55 lines
| 1.8 KiB
| text/x-c
|
CppLexer
florianlink
|
r13 | #include "PythonQtWrapper_QContextMenuEvent.h" | ||
florianlink
|
r24 | #include <PythonQtSignalReceiver.h> | ||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtConversion.h> | ||||
florianlink
|
r13 | #include <QVariant> | ||
#include <qpoint.h> | ||||
QContextMenuEvent* PythonQtWrapper_QContextMenuEvent::new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos) | ||||
{ | ||||
florianlink
|
r24 | return new PythonQtShell_QContextMenuEvent(reason, pos); } | ||
florianlink
|
r13 | |||
QContextMenuEvent* PythonQtWrapper_QContextMenuEvent::new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos) | ||||
{ | ||||
florianlink
|
r24 | return new PythonQtShell_QContextMenuEvent(reason, pos, globalPos); } | ||
florianlink
|
r13 | |||
QContextMenuEvent* PythonQtWrapper_QContextMenuEvent::new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos, Qt::KeyboardModifiers modifiers) | ||||
{ | ||||
florianlink
|
r24 | return new PythonQtShell_QContextMenuEvent(reason, pos, globalPos, modifiers); } | ||
florianlink
|
r13 | |||
const QPoint& PythonQtWrapper_QContextMenuEvent::globalPos(QContextMenuEvent* theWrappedObject) const | ||||
{ | ||||
florianlink
|
r28 | return theWrappedObject->globalPos(); | ||
florianlink
|
r13 | } | ||
int PythonQtWrapper_QContextMenuEvent::globalX(QContextMenuEvent* theWrappedObject) const | ||||
{ | ||||
florianlink
|
r28 | return theWrappedObject->globalX(); | ||
florianlink
|
r13 | } | ||
int PythonQtWrapper_QContextMenuEvent::globalY(QContextMenuEvent* theWrappedObject) const | ||||
{ | ||||
florianlink
|
r28 | return theWrappedObject->globalY(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r24 | int PythonQtWrapper_QContextMenuEvent::y(QContextMenuEvent* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->y(); | ||
florianlink
|
r13 | } | ||
QContextMenuEvent::Reason PythonQtWrapper_QContextMenuEvent::reason(QContextMenuEvent* theWrappedObject) const | ||||
{ | ||||
florianlink
|
r28 | return theWrappedObject->reason(); | ||
florianlink
|
r13 | } | ||
int PythonQtWrapper_QContextMenuEvent::x(QContextMenuEvent* theWrappedObject) const | ||||
{ | ||||
florianlink
|
r28 | return theWrappedObject->x(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r24 | const QPoint& PythonQtWrapper_QContextMenuEvent::pos(QContextMenuEvent* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->pos(); | ||
florianlink
|
r13 | } | ||