##// END OF EJS Templates
added support for setattr to allow derived classes to add own attributes...
added support for setattr to allow derived classes to add own attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@66 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r30:a523f73e74c6
Show More
PythonQtWrapper_QSqlError.h
34 lines | 1.5 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QSQLERROR_H
#define PYTHONQTWRAPPER_QSQLERROR_H
#include <qsqlerror.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 <qsqlerror.h>
class PythonQtWrapper_QSqlError : public QObject
{ Q_OBJECT
public:
Q_ENUMS(ErrorType )
enum ErrorType{
NoError = QSqlError::NoError, ConnectionError = QSqlError::ConnectionError, StatementError = QSqlError::StatementError, TransactionError = QSqlError::TransactionError, UnknownError = QSqlError::UnknownError};
public slots:
QSqlError* new_QSqlError(const QSqlError& other);
QSqlError* new_QSqlError(const QString& driverText = QString(), const QString& databaseText = QString(), QSqlError::ErrorType type = QSqlError::NoError, int number = -1);
void delete_QSqlError(QSqlError* obj) { delete obj; }
florianlink
upgraded wrappers to current generator version...
r28 int number(QSqlError* theWrappedObject) const;
void setDriverText(QSqlError* theWrappedObject, const QString& driverText);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QString text(QSqlError* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 bool isValid(QSqlError* theWrappedObject) const;
void setDatabaseText(QSqlError* theWrappedObject, const QString& databaseText);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QSqlError::ErrorType type(QSqlError* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void setType(QSqlError* theWrappedObject, QSqlError::ErrorType type);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 QString databaseText(QSqlError* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setNumber(QSqlError* theWrappedObject, int number);
QString driverText(QSqlError* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QSQLERROR_H