##// 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_QRunnable.cpp
19 lines | 424 B | text/x-c | CppLexer
#include "PythonQtWrapper_QRunnable.h"
#include <QVariant>
bool PythonQtWrapper_QRunnable::autoDelete(QRunnable* theWrappedObject) const
{
return theWrappedObject->autoDelete();
}
void PythonQtWrapper_QRunnable::run(QRunnable* theWrappedObject)
{
theWrappedObject->run();
}
void PythonQtWrapper_QRunnable::setAutoDelete(QRunnable* theWrappedObject, bool _autoDelete)
{
theWrappedObject->setAutoDelete(_autoDelete);
}