##// 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_QSqlError.h
35 lines | 1.5 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QSQLERROR_H
#define PYTHONQTWRAPPER_QSQLERROR_H
#include <qsqlerror.h>
#include <QObject>
#include <PythonQt.h>
#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; }
QString text(QSqlError* theWrappedObject) const;
QString databaseText(QSqlError* theWrappedObject) const;
int number(QSqlError* theWrappedObject) const;
void setDriverText(QSqlError* theWrappedObject, const QString& driverText);
QSqlError::ErrorType type(QSqlError* theWrappedObject) const;
bool isValid(QSqlError* theWrappedObject) const;
void setType(QSqlError* theWrappedObject, QSqlError::ErrorType type);
QString driverText(QSqlError* theWrappedObject) const;
void setNumber(QSqlError* theWrappedObject, int number);
void setDatabaseText(QSqlError* theWrappedObject, const QString& databaseText);
QString toString(QSqlError*);
};
#endif // PYTHONQTWRAPPER_QSQLERROR_H