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
qgenericplugin.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
QGENERICPLUGIN_H
6
#
define
QGENERICPLUGIN_H
7
8
#
include
<
QtGui
/
qtguiglobal
.
h
>
9
#
include
<
QtCore
/
qplugin
.
h
>
10
#
include
<
QtCore
/
qfactoryinterface
.
h
>
11
12
QT_BEGIN_NAMESPACE
13
14
#
define
QGenericPluginFactoryInterface_iid
"org.qt-project.Qt.QGenericPluginFactoryInterface"
15
16
class
Q_GUI_EXPORT
QGenericPlugin
:
public
QObject
17
{
18
Q_OBJECT
19
public
:
20
explicit
QGenericPlugin(QObject *parent =
nullptr
);
21
~QGenericPlugin();
22
23
virtual
QObject* create(
const
QString& name,
const
QString &spec) = 0;
24
};
25
26
QT_END_NAMESPACE
27
28
#
endif
// QGENERICPLUGIN_H
QGenericPlugin
\inmodule QtGui
Definition
qgenericplugin.h:17
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qrandomaccessasyncfile_darwin.mm:17
qtbase
src
gui
kernel
qgenericplugin.h
Generated on
for Qt by
1.16.1