##// END OF EJS Templates
- added hasOwner method to manage ownership more nicely...
- added hasOwner method to manage ownership more nicely - added force flag to make delete() work - added check for hasOwner git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@51 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r15:ae998290bf19
Show More
PythonQtWrapper_QSqlIndex.h
29 lines | 1.1 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QSQLINDEX_H
#define PYTHONQTWRAPPER_QSQLINDEX_H
#include <qsqlindex.h>
#include <QObject>
#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; }
void append(QSqlIndex* theWrappedObject, const QSqlField& field);
void append(QSqlIndex* theWrappedObject, const QSqlField& field, bool desc);
QString cursorName(QSqlIndex* theWrappedObject) const;
bool isDescending(QSqlIndex* theWrappedObject, int i) const;
QString name(QSqlIndex* theWrappedObject) const;
void setCursorName(QSqlIndex* theWrappedObject, const QString& cursorName);
void setDescending(QSqlIndex* theWrappedObject, int i, bool desc);
void setName(QSqlIndex* theWrappedObject, const QString& name);
};
#endif // PYTHONQTWRAPPER_QSQLINDEX_H