##// END OF EJS Templates
added alphabetic sorting...
added alphabetic sorting git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@132 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r96:3170eb771a99
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