##// 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.h
19 lines | 485 B | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QRUNNABLE_H
#define PYTHONQTWRAPPER_QRUNNABLE_H
#include <qrunnable.h>
#include <QObject>
#include <QVariant>
class PythonQtWrapper_QRunnable : public QObject
{ Q_OBJECT
public:
public slots:
void delete_QRunnable(QRunnable* obj) { delete obj; }
bool autoDelete(QRunnable* theWrappedObject) const;
void run(QRunnable* theWrappedObject);
void setAutoDelete(QRunnable* theWrappedObject, bool _autoDelete);
};
#endif // PYTHONQTWRAPPER_QRUNNABLE_H