Definition at line 53 of file qsqlerror.h.
#include <qsqlerror.h>
Public Types |
|
| enum | ErrorType
{ NoError, ConnectionError, StatementError, TransactionError, UnknownError } |
Public Member Functions |
|
| QSqlError (const QString &driverText=QString(), const QString &databaseText=QString(), ErrorType type=NoError, int number=-1) | |
| QSqlError (const QSqlError &other) | |
| QSqlError & | operator= (const QSqlError &other) |
| ~QSqlError () | |
| QString | driverText () const |
| void | setDriverText (const QString &driverText) |
| QString | databaseText () const |
| void | setDatabaseText (const QString &databaseText) |
| ErrorType | type () const |
| void | setType (ErrorType type) |
| int | number () const |
| void | setNumber (int number) |
| QString | text () const |
| bool | isValid () const |
| enum ErrorType |
Definition at line 56 of file qsqlerror.h.
{
NoError,
ConnectionError,
StatementError,
TransactionError,
UnknownError
#ifdef QT3_SUPPORT
, None = NoError,
Connection = ConnectionError,
Statement = StatementError,
Transaction = TransactionError,
Unknown = UnknownError
#endif
};
| ~QSqlError | ( | ) |
| QString driverText | ( | ) | const |
| void setDriverText | ( | const QString & | driverText | ) |
| QString databaseText | ( | ) | const |
| void setDatabaseText | ( | const QString & | databaseText | ) |
| ErrorType type | ( | ) | const |
| void setType | ( | ErrorType | type | ) |
| int number | ( | ) | const |
| void setNumber | ( | int | number | ) |
| QString text | ( | ) | const |
| bool isValid | ( | ) | const |