Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qsqldriverplugin.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
ifndef
QSQLDRIVERPLUGIN_H
6
#
define
QSQLDRIVERPLUGIN_H
7
8
#
include
<
QtSql
/
qtsqlglobal
.
h
>
9
#
include
<
QtCore
/
qplugin
.
h
>
10
#
include
<
QtCore
/
qfactoryinterface
.
h
>
11
12
QT_BEGIN_NAMESPACE
13
14
15
class
QSqlDriver;
16
17
#
define
QSqlDriverFactoryInterface_iid
"org.qt-project.Qt.QSqlDriverFactoryInterface"
18
19
class
Q_SQL_EXPORT
QSqlDriverPlugin
:
public
QObject
20
{
21
Q_OBJECT
22
public
:
23
explicit
QSqlDriverPlugin(QObject *parent =
nullptr
);
24
~QSqlDriverPlugin();
25
26
virtual
QSqlDriver *create(
const
QString &key) = 0;
27
28
};
29
30
QT_END_NAMESPACE
31
32
#
endif
// QSQLDRIVERPLUGIN_H
QDB2DriverPlugin
Definition
main.cpp:14
QDB2DriverPlugin::create
QSqlDriver * create(const QString &)
Creates and returns a QSqlDriver object for the driver called key.
Definition
main.cpp:29
QSqlDriverPlugin
The QSqlDriverPlugin class provides an abstract base for custom QSqlDriver plugins.
Definition
qsqldriverplugin.h:20
QPlatformGraphicsBufferHelper
\inmodule QtGui
qtbase
src
sql
kernel
qsqldriverplugin.h
Generated on
for Qt by
1.14.0