QSqlError
#include <QtSql/QSqlError>
More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QSqlError
Overview
Public Types Index
enum ErrorTypeNoError, ConnectionError, StatementError, TransactionError, UnknownError |
Public Functions Index
QSqlError (const QString &driverText=QString(), const QString &databaseText=QString(), ErrorType type=NoError, int number=-1) | |
QSqlError (const QSqlError &other) | |
~QSqlError () | |
QString | databaseText () const |
QString | driverText () const |
bool | isValid () const |
int | number () const |
QSqlError & | operator= (const QSqlError &other) |
void | setDatabaseText (const QString &databaseText) |
void | setDriverText (const QString &driverText) |
void | setNumber (int number) |
void | setType (ErrorType type) |
QString | text () const |
ErrorType | type () const |
Public Types
- NoError
- ConnectionError
- StatementError
- TransactionError
- UnknownError
Public Functions
© 2013 Digia Plc and/or its subsidiaries. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Documentation sources may be obtained from www.qt-project.org.
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. Privacy Policy