45 #include <QtCore/qstring.h> 64 Connection = ConnectionError,
65 Statement = StatementError,
66 Transaction = TransactionError,
67 Unknown = UnknownError
74 QSqlError(
const QSqlError& other);
75 QSqlError& operator=(
const QSqlError& other);
79 void setDriverText(
const QString& driverText);
81 void setDatabaseText(
const QString& databaseText);
85 void setNumber(
int number);
96 #ifndef QT_NO_DEBUG_STREAM 104 #endif // QSQLERROR_H The QSqlError class provides SQL database error information.
The QDebug class provides an output stream for debugging information.
#define QT_END_NAMESPACE
This macro expands to.
The QString class provides a Unicode character string.
ErrorType
This enum type describes the context in which the error occurred, e.
#define QT_BEGIN_NAMESPACE
This macro expands to.
QDataStream & operator<<(QDataStream &out, const QUrl &url)
Writes url url to the stream out and returns a reference to the stream.