##// END OF EJS Templates
readded some methods...
readded some methods git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@74 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r38:e64abeba22d9
Show More
PythonQtWrapper_QSqlField.h
51 lines | 2.3 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QSQLFIELD_H
#define PYTHONQTWRAPPER_QSQLFIELD_H
#include <qsqlfield.h>
#include <QObject>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 #include <PythonQt.h>
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include <QVariant>
#include <qsqlfield.h>
class PythonQtWrapper_QSqlField : public QObject
{ Q_OBJECT
public:
Q_ENUMS(RequiredStatus )
enum RequiredStatus{
Unknown = QSqlField::Unknown, Optional = QSqlField::Optional, Required = QSqlField::Required};
public slots:
QSqlField* new_QSqlField(const QSqlField& other);
QSqlField* new_QSqlField(const QString& fieldName = QString(), QVariant::Type type = QVariant::Invalid);
void delete_QSqlField(QSqlField* obj) { delete obj; }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void clear(QSqlField* theWrappedObject);
void setType(QSqlField* theWrappedObject, QVariant::Type type);
QVariant value(QSqlField* theWrappedObject) const;
bool isNull(QSqlField* theWrappedObject) const;
QVariant::Type type(QSqlField* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 QSqlField::RequiredStatus requiredStatus(QSqlField* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setRequired(QSqlField* theWrappedObject, bool required);
int typeID(QSqlField* theWrappedObject) const;
void setReadOnly(QSqlField* theWrappedObject, bool readOnly);
bool isGenerated(QSqlField* theWrappedObject) const;
void setName(QSqlField* theWrappedObject, const QString& name);
void setRequiredStatus(QSqlField* theWrappedObject, QSqlField::RequiredStatus status);
bool isAutoValue(QSqlField* theWrappedObject) const;
void setPrecision(QSqlField* theWrappedObject, int precision);
void setValue(QSqlField* theWrappedObject, const QVariant& value);
QVariant defaultValue(QSqlField* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void setAutoValue(QSqlField* theWrappedObject, bool autoVal);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool isReadOnly(QSqlField* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void setDefaultValue(QSqlField* theWrappedObject, const QVariant& value);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setSqlType(QSqlField* theWrappedObject, int type);
bool isValid(QSqlField* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void setGenerated(QSqlField* theWrappedObject, bool gen);
void setLength(QSqlField* theWrappedObject, int fieldLength);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 int length(QSqlField* theWrappedObject) const;
bool operator_equal(QSqlField* theWrappedObject, const QSqlField& other) const;
florianlink
upgraded wrappers to current generator version...
r28 QString name(QSqlField* theWrappedObject) const;
int precision(QSqlField* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QSQLFIELD_H