##// END OF EJS Templates
fixed builtin package name...
fixed builtin package name git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@130 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r94:f55700c8b936
Show More
PythonQtWrapper_QSqlQuery.h
72 lines | 3.4 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QSQLQUERY_H
#define PYTHONQTWRAPPER_QSQLQUERY_H
#include <qsqlquery.h>
#include <QObject>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 #include <PythonQt.h>
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include <QSize>
#include <QSqlError>
#include <QSqlRecord>
#include <QStringList>
#include <QVariant>
#include <qsqldatabase.h>
#include <qsqldriver.h>
#include <qsqlerror.h>
#include <qsqlquery.h>
#include <qsqlrecord.h>
#include <qsqlresult.h>
class PythonQtWrapper_QSqlQuery : public QObject
{ Q_OBJECT
public:
Q_ENUMS(BatchExecutionMode )
enum BatchExecutionMode{
ValuesAsRows = QSqlQuery::ValuesAsRows, ValuesAsColumns = QSqlQuery::ValuesAsColumns};
public slots:
QSqlQuery* new_QSqlQuery(QSqlDatabase db);
QSqlQuery* new_QSqlQuery(QSqlResult* r);
QSqlQuery* new_QSqlQuery(const QSqlQuery& other);
QSqlQuery* new_QSqlQuery(const QString& query = QString(), QSqlDatabase db = QSqlDatabase());
void delete_QSqlQuery(QSqlQuery* obj) { delete obj; }
florianlink
recreated wrappers to match current python qt version...
r73 QSqlRecord record(QSqlQuery* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 bool exec(QSqlQuery* theWrappedObject);
florianlink
recreated wrappers to match current python qt version...
r73 QVariant lastInsertId(QSqlQuery* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 bool nextResult(QSqlQuery* theWrappedObject);
florianlink
recreated wrappers to match current python qt version...
r73 void addBindValue(QSqlQuery* theWrappedObject, const QVariant& val, QSql::ParamType type = QSql::In);
florianlink
upgraded wrappers to current generator version...
r28 QVariant boundValue(QSqlQuery* theWrappedObject, const QString& placeholder) const;
florianlink
recreated wrappers to match current python qt version...
r73 void bindValue(QSqlQuery* theWrappedObject, int pos, const QVariant& val, QSql::ParamType type = QSql::In);
bool isActive(QSqlQuery* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 bool isNull(QSqlQuery* theWrappedObject, int field) const;
florianlink
recreated wrappers to match current python qt version...
r73 int at(QSqlQuery* theWrappedObject) const;
void bindValue(QSqlQuery* theWrappedObject, const QString& placeholder, const QVariant& val, QSql::ParamType type = QSql::In);
bool previous(QSqlQuery* theWrappedObject);
const QSqlDriver* driver(QSqlQuery* theWrappedObject) const;
bool execBatch(QSqlQuery* theWrappedObject, QSqlQuery::BatchExecutionMode mode = QSqlQuery::ValuesAsRows);
void finish(QSqlQuery* theWrappedObject);
bool isValid(QSqlQuery* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 const QSqlResult* result(QSqlQuery* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 QVariant boundValue(QSqlQuery* theWrappedObject, int pos) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 QSqlError lastError(QSqlQuery* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 QSql::NumericalPrecisionPolicy numericalPrecisionPolicy(QSqlQuery* theWrappedObject) const;
QMap<QString , QVariant > boundValues(QSqlQuery* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool next(QSqlQuery* theWrappedObject);
florianlink
recreated wrappers to match current python qt version...
r73 void setNumericalPrecisionPolicy(QSqlQuery* theWrappedObject, QSql::NumericalPrecisionPolicy precisionPolicy);
florianlink
upgraded wrappers to current generator version...
r28 bool exec(QSqlQuery* theWrappedObject, const QString& query);
QString lastQuery(QSqlQuery* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 int numRowsAffected(QSqlQuery* theWrappedObject) const;
QVariant value(QSqlQuery* theWrappedObject, int i) const;
void clear(QSqlQuery* theWrappedObject);
florianlink
upgraded wrappers to current generator version...
r28 bool first(QSqlQuery* theWrappedObject);
void setForwardOnly(QSqlQuery* theWrappedObject, bool forward);
florianlink
recreated wrappers to match current python qt version...
r73 bool isForwardOnly(QSqlQuery* theWrappedObject) const;
bool prepare(QSqlQuery* theWrappedObject, const QString& query);
florianlink
upgraded wrappers to current generator version...
r28 bool isSelect(QSqlQuery* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 bool seek(QSqlQuery* theWrappedObject, int i, bool relative = false);
QString executedQuery(QSqlQuery* theWrappedObject) const;
int size(QSqlQuery* theWrappedObject) const;
bool last(QSqlQuery* theWrappedObject);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QSQLQUERY_H