Qt
6.x
The Qt SDK
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
4
#ifndef QGENERICPLUGIN_H
5
#define QGENERICPLUGIN_H
6
7
#include <QtGui/qtguiglobal.h>
8
#include <QtCore/qplugin.h>
9
#include <QtCore/qfactoryinterface.h>
10
11
QT_BEGIN_NAMESPACE
12
13
#define QGenericPluginFactoryInterface_iid "org.qt-project.Qt.QGenericPluginFactoryInterface"
14
15
class
Q_GUI_EXPORT
QGenericPlugin
:
public
QObject
16
{
17
Q_OBJECT
18
public
:
19
explicit
QGenericPlugin
(
QObject
*
parent
=
nullptr
);
20
~QGenericPlugin
();
21
22
virtual
QObject
*
create
(
const
QString
&
name
,
const
QString
&spec) = 0;
23
};
24
25
QT_END_NAMESPACE
26
27
#endif
// QGENERICPLUGIN_H
QGenericPlugin
\inmodule QtGui
Definition
qgenericplugin.h:16
QGenericPlugin::create
virtual QObject * create(const QString &name, const QString &spec)=0
Implement this function to create a driver matching the type specified by the given key and specifica...
QObject
\inmodule QtCore
Definition
qobject.h:90
QString
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition
qstring.h:127
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1545
name
GLuint name
Definition
qopengles2ext.h:156
Q_OBJECT
#define Q_OBJECT
Definition
qtmetamacros.h:117
parent
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent
Definition
uiaclientinterfaces_p.h:209
qtbase
src
gui
kernel
qgenericplugin.h
Generated by
1.9.7