##// 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_QSqlQueryModel.h
51 lines | 2.3 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QSQLQUERYMODEL_H
#define PYTHONQTWRAPPER_QSQLQUERYMODEL_H
#include <qsqlquerymodel.h>
#include <QObject>
#include <QSize>
#include <QSqlError>
#include <QSqlQuery>
#include <QSqlRecord>
#include <QStringList>
#include <QVariant>
#include <qabstractitemmodel.h>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qdatastream.h>
#include <qlist.h>
#include <qmimedata.h>
#include <qobject.h>
#include <qsize.h>
#include <qsqldatabase.h>
#include <qsqlerror.h>
#include <qsqlquery.h>
#include <qsqlrecord.h>
#include <qstringlist.h>
class PythonQtWrapper_QSqlQueryModel : public QObject
{ Q_OBJECT
public:
public slots:
QSqlQueryModel* new_QSqlQueryModel(QObject* parent = 0);
void delete_QSqlQueryModel(QSqlQueryModel* obj) { delete obj; }
bool canFetchMore(QSqlQueryModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const;
void clear(QSqlQueryModel* theWrappedObject);
int columnCount(QSqlQueryModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const;
QVariant data(QSqlQueryModel* theWrappedObject, const QModelIndex& item, int role = Qt::DisplayRole) const;
void fetchMore(QSqlQueryModel* theWrappedObject, const QModelIndex& parent = QModelIndex());
QVariant headerData(QSqlQueryModel* theWrappedObject, int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const;
bool insertColumns(QSqlQueryModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex());
QSqlError lastError(QSqlQueryModel* theWrappedObject) const;
QSqlQuery query(QSqlQueryModel* theWrappedObject) const;
QSqlRecord record(QSqlQueryModel* theWrappedObject) const;
QSqlRecord record(QSqlQueryModel* theWrappedObject, int row) const;
bool removeColumns(QSqlQueryModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex());
int rowCount(QSqlQueryModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const;
bool setHeaderData(QSqlQueryModel* theWrappedObject, int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole);
void setQuery(QSqlQueryModel* theWrappedObject, const QSqlQuery& query);
void setQuery(QSqlQueryModel* theWrappedObject, const QString& query, const QSqlDatabase& db = QSqlDatabase());
};
#endif // PYTHONQTWRAPPER_QSQLQUERYMODEL_H