##// END OF EJS Templates
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well...
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@52 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r16:c68e0aff542c
Show More
PythonQtWrapper_QSql.h
24 lines | 850 B | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QSQL_H
#define PYTHONQTWRAPPER_QSQL_H
#include <qsql.h>
#include <QObject>
#include <QVariant>
class PythonQtWrapper_QSql : public QObject
{ Q_OBJECT
public:
Q_ENUMS(NumericalPrecisionPolicy Location ParamTypeFlag TableType )
enum NumericalPrecisionPolicy{
LowPrecisionInt32 = QSql::LowPrecisionInt32, LowPrecisionInt64 = QSql::LowPrecisionInt64, LowPrecisionDouble = QSql::LowPrecisionDouble, HighPrecision = QSql::HighPrecision};
enum Location{
BeforeFirstRow = QSql::BeforeFirstRow, AfterLastRow = QSql::AfterLastRow};
enum ParamTypeFlag{
In = QSql::In, Out = QSql::Out, InOut = QSql::InOut, Binary = QSql::Binary};
enum TableType{
Tables = QSql::Tables, SystemTables = QSql::SystemTables, Views = QSql::Views, AllTables = QSql::AllTables};
public slots:
};
#endif // PYTHONQTWRAPPER_QSQL_H