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
main.cpp
Go to the documentation of this file.
1
// Copyright (C) 2021 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
<
QtWaylandClient
/
private
/
qwaylandshellintegrationplugin_p
.
h
>
5
#
include
"qwaylandqtshellintegration.h"
6
7
QT_BEGIN_NAMESPACE
8
9
namespace
QtWaylandClient
{
10
11
class
QWaylandQtShellIntegrationPlugin
:
public
QWaylandShellIntegrationPlugin
12
{
13
Q_OBJECT
14
Q_PLUGIN_METADATA(IID QWaylandShellIntegrationFactoryInterface_iid FILE
"qt-shell.json"
)
15
16
public
:
17
QWaylandShellIntegration
*
create
(
const
QString
&
key
,
const
QStringList
&
paramList
)
override
;
18
};
19
20
QWaylandShellIntegration *
QWaylandQtShellIntegrationPlugin
::create(
const
QString &key,
const
QStringList ¶mList)
21
{
22
Q_UNUSED(key);
23
Q_UNUSED(paramList);
24
return
new
QWaylandQtShellIntegration();
25
}
26
27
}
28
29
QT_END_NAMESPACE
30
31
#
include
"main.moc"
QtWaylandClient::QWaylandQtShellIntegrationPlugin
Definition
main.cpp:12
QPlatformGraphicsBufferHelper
\inmodule QtGui
QtWaylandClient
Definition
qwaylandclientextension.h:15
qtwayland
src
plugins
shellintegration
qt-shell
main.cpp
Generated on
for Qt by
1.14.0