Qt 4.8
Public Functions | List of all members
QSqlDriverCreator< T > Class Template Reference

The QSqlDriverCreator class is a template class that provides a SQL driver factory for a specific driver type. More...

#include <qsqldatabase.h>

Inheritance diagram for QSqlDriverCreator< T >:
QSqlDriverCreatorBase

Public Functions

QSqlDrivercreateObject () const
 Reimplemented Function More...
 
- Public Functions inherited from QSqlDriverCreatorBase
virtual ~QSqlDriverCreatorBase ()
 Destroys the SQL driver creator object. More...
 

Detailed Description

template<class T>
class QSqlDriverCreator< T >

The QSqlDriverCreator class is a template class that provides a SQL driver factory for a specific driver type.

Attention
Module: QtSql

QSqlDriverCreator<T> instantiates objects of type T, where T is a QSqlDriver subclass.

See QSqlDatabase::registerSqlDriver() for details.

Definition at line 72 of file qsqldatabase.h.

Functions

◆ createObject()

template<class T >
QSqlDriver * QSqlDriverCreator< T >::createObject ( ) const
inlinevirtual

Reimplemented Function

Implements QSqlDriverCreatorBase.

Definition at line 75 of file qsqldatabase.h.

75 { return new T; }

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