#ifndef PYTHONQTWRAPPER_QSQLINDEX_H #define PYTHONQTWRAPPER_QSQLINDEX_H #include #include #include #include #include #include #include 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; } bool isDescending(QSqlIndex* theWrappedObject, int i) const; QString name(QSqlIndex* theWrappedObject) const; void append(QSqlIndex* theWrappedObject, const QSqlField& field, bool desc); void setDescending(QSqlIndex* theWrappedObject, int i, bool desc); void setName(QSqlIndex* theWrappedObject, const QString& name); QString cursorName(QSqlIndex* theWrappedObject) const; void setCursorName(QSqlIndex* theWrappedObject, const QString& cursorName); void append(QSqlIndex* theWrappedObject, const QSqlField& field); }; #endif // PYTHONQTWRAPPER_QSQLINDEX_H