Qt Reference Documentation

Qt 3 Support Members for QSqlDriver

The following class members are part of the Qt 3 support layer. They are provided to help you port old code to Qt 4. We advise against using them in new code.

Public Functions

QString formatValue ( const QSqlField * field, bool trimStrings = false ) const
QString nullText () const
QSqlRecord record ( const QSqlQuery & query ) const
QSqlRecord recordInfo ( const QString & tablename ) const
QSqlRecord recordInfo ( const QSqlQuery & query ) const
  • 8 public functions inherited from QObject

Member Function Documentation

QString QSqlDriver::formatValue ( const QSqlField * field, bool trimStrings = false ) const

Use the other formatValue() overload instead.

QString QSqlDriver::nullText () const

sqlStatement() is now used to generate SQL. Use tr("NULL") for example, instead.

QSqlRecord QSqlDriver::record ( const QSqlQuery & query ) const

Use query.record() instead.

QSqlRecord QSqlDriver::recordInfo ( const QString & tablename ) const

Use record() instead.

QSqlRecord QSqlDriver::recordInfo ( const QSqlQuery & query ) const

Use query.record() instead.

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.

[0]; s.parentNode.insertBefore(ga, s); })();