PythonQtWrapper_QSqlDriverCreatorBase.h
31 lines
| 767 B
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QSQLDRIVERCREATORBASE_H | ||
#define PYTHONQTWRAPPER_QSQLDRIVERCREATORBASE_H | ||||
#include <qsqldatabase.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QSqlDriver> | ||
#include <QVariant> | ||||
#include <qsqldriver.h> | ||||
florianlink
|
r24 | class PythonQtShell_QSqlDriverCreatorBase : public QSqlDriverCreatorBase | ||
{ | ||||
public: | ||||
PythonQtShell_QSqlDriverCreatorBase():QSqlDriverCreatorBase(),_wrapper(NULL) {}; | ||||
virtual QSqlDriver* createObject() const; | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r13 | class PythonQtWrapper_QSqlDriverCreatorBase : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
florianlink
|
r24 | QSqlDriverCreatorBase* new_QSqlDriverCreatorBase(); | ||
florianlink
|
r13 | void delete_QSqlDriverCreatorBase(QSqlDriverCreatorBase* obj) { delete obj; } | ||
}; | ||||
#endif // PYTHONQTWRAPPER_QSQLDRIVERCREATORBASE_H | ||||