##// END OF EJS Templates
- added hasOwner method to manage ownership more nicely...
- added hasOwner method to manage ownership more nicely - added force flag to make delete() work - added check for hasOwner git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@51 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r15:ae998290bf19
Show More
PythonQtWrapper_QContextMenuEvent.cpp
52 lines | 1.6 KiB | text/x-c | CppLexer
/ generated_cpp / com_trolltech_qt_gui / PythonQtWrapper_QContextMenuEvent.cpp
#include "PythonQtWrapper_QContextMenuEvent.h"
#include <QVariant>
#include <qpoint.h>
QContextMenuEvent* PythonQtWrapper_QContextMenuEvent::new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos)
{
return new QContextMenuEvent(reason, pos); }
QContextMenuEvent* PythonQtWrapper_QContextMenuEvent::new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos)
{
return new QContextMenuEvent(reason, pos, globalPos); }
QContextMenuEvent* PythonQtWrapper_QContextMenuEvent::new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos, Qt::KeyboardModifiers modifiers)
{
return new QContextMenuEvent(reason, pos, globalPos, modifiers); }
const QPoint& PythonQtWrapper_QContextMenuEvent::globalPos(QContextMenuEvent* theWrappedObject) const
{
return theWrappedObject->globalPos();
}
int PythonQtWrapper_QContextMenuEvent::globalX(QContextMenuEvent* theWrappedObject) const
{
return theWrappedObject->globalX();
}
int PythonQtWrapper_QContextMenuEvent::globalY(QContextMenuEvent* theWrappedObject) const
{
return theWrappedObject->globalY();
}
const QPoint& PythonQtWrapper_QContextMenuEvent::pos(QContextMenuEvent* theWrappedObject) const
{
return theWrappedObject->pos();
}
QContextMenuEvent::Reason PythonQtWrapper_QContextMenuEvent::reason(QContextMenuEvent* theWrappedObject) const
{
return theWrappedObject->reason();
}
int PythonQtWrapper_QContextMenuEvent::x(QContextMenuEvent* theWrappedObject) const
{
return theWrappedObject->x();
}
int PythonQtWrapper_QContextMenuEvent::y(QContextMenuEvent* theWrappedObject) const
{
return theWrappedObject->y();
}