##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r34:5daedfb035c8
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