Home · All Classes · All Functions · Overviews

[Previous: QtScript Module] [All Qt Modules] [Next: QtSvg Module]

QtSql Module


QSqlContains miscellaneous identifiers used throughout the Qt SQL library


QSqlDatabaseRepresents a connection to a database
QSqlDriverAbstract base class for accessing specific SQL databases
QSqlDriverCreatorTemplate class that provides a SQL driver factory for a specific driver type
QSqlDriverCreatorBaseThe base class for SQL driver factories
QSqlDriverPluginAbstract base for custom QSqlDriver plugins
QSqlErrorSQL database error information
QSqlFieldManipulates the fields in SQL database tables and views
QSqlIndexFunctions to manipulate and describe database indexes
QSqlQueryMeans of executing and manipulating SQL statements
QSqlQueryModelRead-only data model for SQL result sets
QSqlRecordEncapsulates a database record
QSqlRelationStores information about an SQL foreign key
QSqlRelationalDelegateDelegate that is used to display and edit data from a QSqlRelationalTableModel
QSqlRelationalTableModelEditable data model for a single database table, with foreign key support
QSqlResultAbstract interface for accessing data from specific SQL databases
QSqlTableModelEditable data model for a single database table

To include the definitions of the module's classes, use the following directive:

 #include <QtSql>

To link against the module, add this line to your qmake .pro file:

 QT += sql

The QtSql module is part of the Qt Full Framework Edition and the Open Source Versions of Qt.

See the SQL Programming guide for information about using this module in your applications.

[Previous: QtScript Module] [All Qt Modules] [Next: QtSvg Module]

Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt 4.6.3