Home · All Classes · All Functions · Overviews

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

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.


Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt 4.6.0