##// 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_QStyleOption.cpp
19 lines | 501 B | text/x-c | CppLexer
#include "PythonQtWrapper_QStyleOption.h"
#include <QVariant>
#include <qstyleoption.h>
#include <qwidget.h>
QStyleOption* PythonQtWrapper_QStyleOption::new_QStyleOption(const QStyleOption& other)
{
return new QStyleOption(other); }
QStyleOption* PythonQtWrapper_QStyleOption::new_QStyleOption(int version, int type)
{
return new QStyleOption(version, type); }
void PythonQtWrapper_QStyleOption::initFrom(QStyleOption* theWrappedObject, const QWidget* w)
{
theWrappedObject->initFrom(w);
}