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 | #include "qplatformintegrationplugin.h" |
5 | |
6 | QT_BEGIN_NAMESPACE |
7 | |
8 | QPlatformIntegrationPlugin::QPlatformIntegrationPlugin(QObject *parent) |
9 | : QObject(parent) |
10 | { |
11 | } |
12 | |
13 | QPlatformIntegrationPlugin::~QPlatformIntegrationPlugin() |
14 | { |
15 | } |
16 | |
17 | QPlatformIntegration *QPlatformIntegrationPlugin::create(const QString &key, const QStringList ¶mList) |
18 | { |
19 | Q_UNUSED(key); |
20 | Q_UNUSED(paramList); |
21 | return nullptr; |
22 | } |
23 | |
24 | QPlatformIntegration *QPlatformIntegrationPlugin::create(const QString &key, const QStringList ¶mList, int &argc, char **argv) |
25 | { |
26 | Q_UNUSED(argc); |
27 | Q_UNUSED(argv); |
28 | return create(key, paramList); // Fallback for platform plugins that do not implement the argc/argv version. |
29 | } |
30 | |
31 | QT_END_NAMESPACE |
32 | |
33 | #include "moc_qplatformintegrationplugin.cpp" |
34 |