##// END OF EJS Templates
fixed bad reference counting and borrowed references...
fixed bad reference counting and borrowed references git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@55 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r19:4f416979f8bf
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();
}