Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions |

# QSqlDriverCreatorBase Class Reference

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

    #include <QSqlDriverCreatorBase>

Inherited by QSqlDriverCreator.

- List of all members, including inherited members

### Public Functions

- virtual QSqlDriver * createObject () const = 0

## 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

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

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