##// END OF EJS Templates
added alphabetic sorting...
added alphabetic sorting git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@132 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r96:3170eb771a99
Show More
PythonQtWrapper_QSqlRecord.h
50 lines | 2.3 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QSQLRECORD_H
#define PYTHONQTWRAPPER_QSQLRECORD_H
#include <qsqlrecord.h>
#include <QObject>
#include <PythonQt.h>
#include <QSqlField>
#include <QVariant>
#include <qsqlfield.h>
#include <qsqlrecord.h>
class PythonQtWrapper_QSqlRecord : public QObject
{ Q_OBJECT
public:
public slots:
QSqlRecord* new_QSqlRecord();
QSqlRecord* new_QSqlRecord(const QSqlRecord& other);
void delete_QSqlRecord(QSqlRecord* obj) { delete obj; }
bool isGenerated(QSqlRecord* theWrappedObject, const QString& name) const;
void setNull(QSqlRecord* theWrappedObject, const QString& name);
void append(QSqlRecord* theWrappedObject, const QSqlField& field);
void setValue(QSqlRecord* theWrappedObject, int i, const QVariant& val);
bool isNull(QSqlRecord* theWrappedObject, int i) const;
bool contains(QSqlRecord* theWrappedObject, const QString& name) const;
void setGenerated(QSqlRecord* theWrappedObject, const QString& name, bool generated);
QVariant value(QSqlRecord* theWrappedObject, int i) const;
bool isGenerated(QSqlRecord* theWrappedObject, int i) const;
void remove(QSqlRecord* theWrappedObject, int pos);
void setGenerated(QSqlRecord* theWrappedObject, int i, bool generated);
void replace(QSqlRecord* theWrappedObject, int pos, const QSqlField& field);
QSqlField field(QSqlRecord* theWrappedObject, int i) const;
void insert(QSqlRecord* theWrappedObject, int pos, const QSqlField& field);
bool isNull(QSqlRecord* theWrappedObject, const QString& name) const;
bool operator_equal(QSqlRecord* theWrappedObject, const QSqlRecord& other) const;
QString fieldName(QSqlRecord* theWrappedObject, int i) const;
void clearValues(QSqlRecord* theWrappedObject);
QSqlField field(QSqlRecord* theWrappedObject, const QString& name) const;
int indexOf(QSqlRecord* theWrappedObject, const QString& name) const;
void clear(QSqlRecord* theWrappedObject);
int count(QSqlRecord* theWrappedObject) const;
bool isEmpty(QSqlRecord* theWrappedObject) const;
void setNull(QSqlRecord* theWrappedObject, int i);
void setValue(QSqlRecord* theWrappedObject, const QString& name, const QVariant& val);
QVariant value(QSqlRecord* theWrappedObject, const QString& name) const;
QString toString(QSqlRecord*);
};
#endif // PYTHONQTWRAPPER_QSQLRECORD_H