##// 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_QChildEvent.cpp
29 lines | 704 B | text/x-c | CppLexer
#include "PythonQtWrapper_QChildEvent.h"
#include <QVariant>
#include <qobject.h>
QChildEvent* PythonQtWrapper_QChildEvent::new_QChildEvent(QEvent::Type type, QObject* child)
{
return new QChildEvent(type, child); }
bool PythonQtWrapper_QChildEvent::added(QChildEvent* theWrappedObject) const
{
return theWrappedObject->added();
}
QObject* PythonQtWrapper_QChildEvent::child(QChildEvent* theWrappedObject) const
{
return theWrappedObject->child();
}
bool PythonQtWrapper_QChildEvent::polished(QChildEvent* theWrappedObject) const
{
return theWrappedObject->polished();
}
bool PythonQtWrapper_QChildEvent::removed(QChildEvent* theWrappedObject) const
{
return theWrappedObject->removed();
}