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
qgenericpluginfactory.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 QGENERICPLUGINFACTORY_H
6#define QGENERICPLUGINFACTORY_H
7
8#include <QtGui/qtguiglobal.h>
9#include <QtCore/qstringlist.h>
10
11QT_BEGIN_NAMESPACE
12
13
14class QString;
15class QObject;
16
17class Q_GUI_EXPORT QGenericPluginFactory
18{
19public:
20 static QStringList keys();
21 static QObject *create(const QString&, const QString &);
22};
23
24QT_END_NAMESPACE
25
26#endif // QGENERICPLUGINFACTORY_H
Combined button and popup list for selecting options.
#define QGenericPluginFactoryInterface_iid
Q_GLOBAL_STATIC_WITH_ARGS(PermissionStatusHash, g_permissionStatusHash,({ { qMetaTypeId< QCameraPermission >(), Qt::PermissionStatus::Undetermined }, { qMetaTypeId< QMicrophonePermission >(), Qt::PermissionStatus::Undetermined }, { qMetaTypeId< QBluetoothPermission >(), Qt::PermissionStatus::Undetermined }, { qMetaTypeId< QContactsPermission >(), Qt::PermissionStatus::Undetermined }, { qMetaTypeId< QCalendarPermission >(), Qt::PermissionStatus::Undetermined }, { qMetaTypeId< QLocationPermission >(), Qt::PermissionStatus::Undetermined } }))