##// END OF EJS Templates
updated version number, next version will be 2.0 due to the wrapping generator addition...
updated version number, next version will be 2.0 due to the wrapping generator addition git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@69 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r33:1742cf875fd9
Show More
PythonQtWrapper_QRunnable.h
31 lines | 678 B | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QRUNNABLE_H
#define PYTHONQTWRAPPER_QRUNNABLE_H
#include <qrunnable.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
class PythonQtShell_QRunnable : public QRunnable
{
public:
PythonQtShell_QRunnable():QRunnable(),_wrapper(NULL) {};
virtual void run();
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QRunnable : public QObject
{ Q_OBJECT
public:
public slots:
QRunnable* new_QRunnable();
void delete_QRunnable(QRunnable* obj) { delete obj; }
bool autoDelete(QRunnable* theWrappedObject) const;
void setAutoDelete(QRunnable* theWrappedObject, bool _autoDelete);
};
#endif // PYTHONQTWRAPPER_QRUNNABLE_H