Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

QSqlDriverCreatorBase Class

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

Header: #include <QSqlDriverCreatorBase>
qmake: QT += sql
Inherited By:

QSqlDriverCreator

Public Functions

virtual ~QSqlDriverCreatorBase()
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

[virtual] QSqlDriverCreatorBase::~QSqlDriverCreatorBase()

Destroys the SQL driver creator object.

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

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

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded