Home · All Classes · Modules

QSqlDriverCreatorBase Class Reference
[QtSql module]

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

Methods


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.


Method Documentation

QSqlDriverCreatorBase.__init__ (self)

QSqlDriverCreatorBase.__init__ (self, QSqlDriverCreatorBase)

QSqlDriver QSqlDriverCreatorBase.createObject (self)

This method is abstract and should be reimplemented in any sub-class.

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


PyQt 4.9.4 for WindowsCopyright © Riverbank Computing Ltd and Nokia 2012Qt 4.8.2