##// 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_QPaintEvent.cpp
24 lines | 609 B | text/x-c | CppLexer
#include "PythonQtWrapper_QPaintEvent.h"
#include <QVariant>
#include <qrect.h>
#include <qregion.h>
QPaintEvent* PythonQtWrapper_QPaintEvent::new_QPaintEvent(const QRect& paintRect)
{
return new QPaintEvent(paintRect); }
QPaintEvent* PythonQtWrapper_QPaintEvent::new_QPaintEvent(const QRegion& paintRegion)
{
return new QPaintEvent(paintRegion); }
const QRect& PythonQtWrapper_QPaintEvent::rect(QPaintEvent* theWrappedObject) const
{
return theWrappedObject->rect();
}
const QRegion& PythonQtWrapper_QPaintEvent::region(QPaintEvent* theWrappedObject) const
{
return theWrappedObject->region();
}