Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
main.cpp
Go to the documentation of this file.
1
// Copyright (C) 2018 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4
#include <QtWaylandCompositor/private/qwlhardwarelayerintegrationplugin_p.h>
5
#include "
vsp2hardwarelayerintegration.h
"
6
7
QT_BEGIN_NAMESPACE
8
9
class
Vsp2HardwareLayerIntegrationPlugin
:
public
QtWayland::HardwareLayerIntegrationPlugin
10
{
11
Q_OBJECT
12
Q_PLUGIN_METADATA
(
IID
QtWaylandHardwareLayerIntegrationFactoryInterface_iid
FILE
"vsp2.json"
)
13
public
:
14
QtWayland::HardwareLayerIntegration
*
create
(
const
QString
&,
const
QStringList
&)
override
;
15
};
16
17
QtWayland::HardwareLayerIntegration
*
Vsp2HardwareLayerIntegrationPlugin::create
(
const
QString
& system,
const
QStringList
& paramList)
18
{
19
Q_UNUSED
(paramList);
20
Q_UNUSED
(system);
21
return
new
Vsp2HardwareLayerIntegration
();
22
}
23
24
QT_END_NAMESPACE
25
26
#include "main.moc"
QStringList
\inmodule QtCore
QString
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition
qstring.h:129
QtWayland::HardwareLayerIntegrationPlugin
Definition
qwlhardwarelayerintegrationplugin_p.h:33
QtWayland::HardwareLayerIntegration
Definition
qwlhardwarelayerintegration_p.h:32
Vsp2HardwareLayerIntegrationPlugin
Definition
main.cpp:10
Vsp2HardwareLayerIntegrationPlugin::create
QtWayland::HardwareLayerIntegration * create(const QString &, const QStringList &) override
Definition
main.cpp:17
Vsp2HardwareLayerIntegration
Definition
vsp2hardwarelayerintegration.h:28
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
QtPluginMetaDataKeys::IID
@ IID
Q_OBJECT
#define Q_OBJECT
Definition
qtmetamacros.h:119
Q_PLUGIN_METADATA
#define Q_PLUGIN_METADATA(x)
Definition
qtmetamacros.h:54
Q_UNUSED
#define Q_UNUSED(x)
Definition
qtpreprocessorsupport.h:20
QtWaylandHardwareLayerIntegrationFactoryInterface_iid
#define QtWaylandHardwareLayerIntegrationFactoryInterface_iid
Definition
qwlhardwarelayerintegrationplugin_p.h:30
create
view create()
vsp2hardwarelayerintegration.h
qtwayland
src
plugins
hardwareintegration
compositor
hardwarelayer
vsp2
main.cpp
Generated by
1.10.0