##// 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.h
22 lines | 603 B | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QPAINTEVENT_H
#define PYTHONQTWRAPPER_QPAINTEVENT_H
#include <qevent.h>
#include <QObject>
#include <QVariant>
#include <qrect.h>
#include <qregion.h>
class PythonQtWrapper_QPaintEvent : public QObject
{ Q_OBJECT
public:
public slots:
QPaintEvent* new_QPaintEvent(const QRect& paintRect);
QPaintEvent* new_QPaintEvent(const QRegion& paintRegion);
void delete_QPaintEvent(QPaintEvent* obj) { delete obj; }
const QRect& rect(QPaintEvent* theWrappedObject) const;
const QRegion& region(QPaintEvent* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QPAINTEVENT_H