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.cpp
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
5
7
8QPlatformIntegrationPlugin::QPlatformIntegrationPlugin(QObject *parent)
9 : QObject(parent)
10{
11}
12
13QPlatformIntegrationPlugin::~QPlatformIntegrationPlugin()
14{
15}
16
17QPlatformIntegration *QPlatformIntegrationPlugin::create(const QString &key, const QStringList &paramList)
18{
19 Q_UNUSED(key);
20 Q_UNUSED(paramList);
21 return nullptr;
22}
23
24QPlatformIntegration *QPlatformIntegrationPlugin::create(const QString &key, const QStringList &paramList, 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
31QT_END_NAMESPACE
32
33#include "moc_qplatformintegrationplugin.cpp"