PythonQtWrapper_QSqlIndex.h
31 lines
| 1.1 KiB
| text/x-c
|
CLexer
|
r13 | #ifndef PYTHONQTWRAPPER_QSQLINDEX_H | ||
#define PYTHONQTWRAPPER_QSQLINDEX_H | ||||
#include <qsqlindex.h> | ||||
#include <QObject> | ||||
|
r24 | #include <PythonQt.h> | ||
|
r13 | #include <QVariant> | ||
#include <qsqlfield.h> | ||||
#include <qsqlindex.h> | ||||
#include <qsqlrecord.h> | ||||
class PythonQtWrapper_QSqlIndex : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QSqlIndex* new_QSqlIndex(const QSqlIndex& other); | ||||
QSqlIndex* new_QSqlIndex(const QString& cursorName = QString(), const QString& name = QString()); | ||||
void delete_QSqlIndex(QSqlIndex* obj) { delete obj; } | ||||
|
r28 | bool isDescending(QSqlIndex* theWrappedObject, int i) const; | ||
|
r73 | QString name(QSqlIndex* theWrappedObject) const; | ||
|
r13 | void append(QSqlIndex* theWrappedObject, const QSqlField& field, bool desc); | ||
|
r73 | void setDescending(QSqlIndex* theWrappedObject, int i, bool desc); | ||
|
r28 | void setName(QSqlIndex* theWrappedObject, const QString& name); | ||
|
r73 | QString cursorName(QSqlIndex* theWrappedObject) const; | ||
|
r13 | void setCursorName(QSqlIndex* theWrappedObject, const QString& cursorName); | ||
|
r73 | void append(QSqlIndex* theWrappedObject, const QSqlField& field); | ||
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QSQLINDEX_H | ||||