Home · All Namespaces · All Classes · Main Classes · Grouped Classes · Modules · Functions

QSqlDriverCreatorBase Class Reference
[QtSql module]

The QSqlDriverCreatorBase class is the base class for SQL driver factories. More...

 #include <QSqlDriverCreatorBase>

Inherited by QSqlDriverCreator.

Public Functions


Detailed Description

The QSqlDriverCreatorBase class is the base class for SQL driver factories.

Reimplement createObject() to return an instance of the specific QSqlDriver subclass that you want to provide.

See QSqlDatabase::registerSqlDriver() for details.

See also QSqlDriverCreator.


Member Function Documentation

QSqlDriverCreatorBase::~QSqlDriverCreatorBase ()   [virtual]

Destroys the SQL driver creator object.

QSqlDriver * QSqlDriverCreatorBase::createObject () const   [pure virtual]

Reimplement this function to returns a new instance of a QSqlDriver subclass.


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