##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r34:5daedfb035c8
Show More
PythonQtWrapper_QSqlRecord.h
49 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 isNull(QSqlRecord* theWrappedObject, int i) const;
bool isGenerated(QSqlRecord* theWrappedObject, const QString& name) const;
void setValue(QSqlRecord* theWrappedObject, int i, const QVariant& val);
void clear(QSqlRecord* theWrappedObject);
bool isGenerated(QSqlRecord* theWrappedObject, int i) const;
QSqlField field(QSqlRecord* theWrappedObject, int i) const;
bool isEmpty(QSqlRecord* theWrappedObject) const;
void setGenerated(QSqlRecord* theWrappedObject, int i, bool generated);
void setNull(QSqlRecord* theWrappedObject, int i);
void setValue(QSqlRecord* theWrappedObject, const QString& name, const QVariant& val);
void remove(QSqlRecord* theWrappedObject, int pos);
int indexOf(QSqlRecord* theWrappedObject, const QString& name) const;
void setGenerated(QSqlRecord* theWrappedObject, const QString& name, bool generated);
void replace(QSqlRecord* theWrappedObject, int pos, const QSqlField& field);
void append(QSqlRecord* theWrappedObject, const QSqlField& field);
int count(QSqlRecord* theWrappedObject) const;
QVariant value(QSqlRecord* theWrappedObject, const QString& name) const;
void setNull(QSqlRecord* theWrappedObject, const QString& name);
void clearValues(QSqlRecord* theWrappedObject);
QVariant value(QSqlRecord* theWrappedObject, int i) const;
bool contains(QSqlRecord* theWrappedObject, const QString& name) const;
QSqlField field(QSqlRecord* theWrappedObject, const QString& name) const;
bool operator_equal(QSqlRecord* theWrappedObject, const QSqlRecord& other) const;
void insert(QSqlRecord* theWrappedObject, int pos, const QSqlField& field);
QString fieldName(QSqlRecord* theWrappedObject, int i) const;
bool isNull(QSqlRecord* theWrappedObject, const QString& name) const;
};
#endif // PYTHONQTWRAPPER_QSQLRECORD_H