Logo Search packages:      
Sourcecode: qt4-x11 version File versions

QSqlError QSqlQuery::lastError (  )  const

Returns error information about the last error (if any) that occurred with this query.

See also:
QSqlError, QSqlDatabase::lastError()

Definition at line 747 of file qsqlquery.cpp.

Referenced by Q3DataBrowser::deleteCurrent(), Q3DataBrowser::insertCurrent(), QSqlQueryModel::setQuery(), and Q3DataBrowser::updateCurrent().

    return d->sqlResult->lastError();

Generated by  Doxygen 1.6.0   Back to index