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 Functions Index

QSqlError (const QString &driverText=QString(), const QString &databaseText=QString(), ErrorType type=NoError, int number=-1)
QSqlError (const QSqlError &other)
~QSqlError ()
QStringdatabaseText () const
QStringdriverText () const
boolisValid () const
intnumber () const
QSqlError &operator= (const QSqlError &other)
voidsetDatabaseText (const QString &databaseText)
voidsetDriverText (const QString &driverText)
voidsetNumber (int number)
voidsetType (ErrorType type)
QStringtext () const
ErrorTypetype () const

Public Types

ErrorType

NoError
ConnectionError
StatementError
TransactionError
UnknownError

Public Functions

QSqlError (
  • const QString &driverText,
  • const QString &databaseText,
  • ErrorTypetype,
  • intnumber )

QSqlError (

~QSqlError ()

Destructor.

QString databaseText ()

QString driverText ()

bool isValid ()

int number ()

QSqlError & operator= (

void setDatabaseText (

void setDriverText (

void setNumber (
  • intnumber)

void setType (
  • ErrorTypetype)

QString text ()

ErrorType type ()

Last modified: 2015-07-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus