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
qplatformintegrationplugin.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 QPLATFORMINTEGRATIONPLUGIN_H
6#define QPLATFORMINTEGRATIONPLUGIN_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is part of the QPA API and is not meant to be used
13// in applications. Usage of this API may make your code
14// source and binary incompatible with future versions of Qt.
15//
16
17#include <QtGui/qtguiglobal.h>
18#include <QtCore/qplugin.h>
19#include <QtCore/qfactoryinterface.h>
20
21QT_BEGIN_NAMESPACE
22
23
24class QPlatformIntegration;
25
26#define QPlatformIntegrationFactoryInterface_iid "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3"
27
28class Q_GUI_EXPORT QPlatformIntegrationPlugin : public QObject
29{
30 Q_OBJECT
31public:
32 explicit QPlatformIntegrationPlugin(QObject *parent = nullptr);
33 ~QPlatformIntegrationPlugin();
34
35 virtual QPlatformIntegration *create(const QString &key, const QStringList &paramList);
36 virtual QPlatformIntegration *create(const QString &key, const QStringList &paramList, int &argc, char **argv);
37};
38
39QT_END_NAMESPACE
40
41#endif // QPLATFORMINTEGRATIONPLUGIN_H
Combined button and popup list for selecting options.