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

QString QSqlError::text (  )  const

This is a convenience function that returns databaseText() and driverText() concatenated into a single string.

See also:
driverText() databaseText()

Definition at line 211 of file qsqlerror.cpp.

References QString::endsWith().

    QString result = databaseError;
    if (!databaseError.endsWith(QLatin1String("\n")))
        result += QLatin1Char(' ');
    result += driverError;
    return result;

Generated by  Doxygen 1.6.0   Back to index