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
qwlhardwarelayerintegrationfactory.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
// Qt-Security score:significant reason:default
4
5
#
include
"qwlhardwarelayerintegrationfactory_p.h"
6
#
include
"qwlhardwarelayerintegrationplugin_p.h"
7
#
include
"qwlhardwarelayerintegration_p.h"
8
9
#
include
<
QtCore
/
private
/
qfactoryloader_p
.
h
>
10
#
include
<
QtCore
/
QCoreApplication
>
11
#
include
<
QtCore
/
QDir
>
12
13
QT_BEGIN_NAMESPACE
14
15
namespace
QtWayland
{
16
17
Q_GLOBAL_STATIC_WITH_ARGS
(
QFactoryLoader
,
qwhlifLoader
,
18
(
QtWaylandHardwareLayerIntegrationFactoryInterface_iid
,
QLatin1String
(
"/wayland-hardware-layer-integration"
),
Qt
::
CaseInsensitive
))
19
20
QStringList
HardwareLayerIntegrationFactory
::
keys
()
21
{
22
return
qwhlifLoader
->
keyMap
().
values
();
23
}
24
25
HardwareLayerIntegration
*
HardwareLayerIntegrationFactory
::
create
(
const
QString
&
name
,
const
QStringList
&
args
)
26
{
27
return
qLoadPlugin
<
HardwareLayerIntegration
,
HardwareLayerIntegrationPlugin
>(
qwhlifLoader
(),
name
,
args
);
28
}
29
30
}
31
32
QT_END_NAMESPACE
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
QtWayland
Definition
qwaylanddisplay_p.h:54
QtWayland::Q_GLOBAL_STATIC_WITH_ARGS
Q_GLOBAL_STATIC_WITH_ARGS(QFactoryLoader, qwbifiLoader,(QtWaylandClientBufferIntegrationFactoryInterface_iid, QLatin1String("/wayland-graphics-integration-server"), Qt::CaseInsensitive)) QStringList ClientBufferIntegrationFactory
Definition
qwlclientbufferintegrationfactory.cpp:16
QtWaylandHardwareLayerIntegrationFactoryInterface_iid
#define QtWaylandHardwareLayerIntegrationFactoryInterface_iid
Definition
qwlhardwarelayerintegrationplugin_p.h:31
qtwayland
src
compositor
hardware_integration
qwlhardwarelayerintegrationfactory.cpp
Generated on
for Qt by
1.16.1