QSqlDriverCreator Class

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

头: #include <QSqlDriverCreator>
qmake: QT += sql
继承: QSqlDriverCreatorBase

重实现公共函数

virtual QSqlDriver * createObject () const

详细描述

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

QSqlDriverCreator <T> instantiates objects of type T, where T is a QSqlDriver 子类。

QSqlDatabase::registerSqlDriver () 了解细节。

成员函数文档编制

[虚拟] QSqlDriver *QSqlDriverCreator:: createObject () const

重实现自 QSqlDriverCreatorBase::createObject ().