Qt 4.8
Public Functions | List of all members
QSqlDriverCreatorBase Class Referenceabstract

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

#include <qsqldatabase.h>

Inheritance diagram for QSqlDriverCreatorBase:
QSqlDriverCreator< T >

Public Functions

virtual QSqlDrivercreateObject () const =0
 Reimplement this function to returns a new instance of a QSqlDriver subclass. More...
 
virtual ~QSqlDriverCreatorBase ()
 Destroys the SQL driver creator object. More...
 

Detailed Description

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

Attention
Module: QtSql

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

See QSqlDatabase::registerSqlDriver() for details.

See also
QSqlDriverCreator

Definition at line 64 of file qsqldatabase.h.

Constructors and Destructors

◆ ~QSqlDriverCreatorBase()

QSqlDriverCreatorBase::~QSqlDriverCreatorBase ( )
inlinevirtual

Destroys the SQL driver creator object.

Definition at line 67 of file qsqldatabase.h.

67 {}

Functions

◆ createObject()

QSqlDriver * QSqlDriverCreatorBase::createObject ( ) const
pure virtual

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

Implemented in QSqlDriverCreator< T >.


The documentation for this class was generated from the following files: