Qt
6.x
The Qt SDK
Loading...
Searching...
No Matches
main.cpp
Go to the documentation of this file.
1
// Copyright (C) 2018 The Qt Company Ltd.
2
// Copyright (C) 2017 ITAGE Corporation, author: <yusuke.binsaki@itage.co.jp>
3
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4
5
#include "
qwaylandwlshellintegration_p.h
"
6
7
#include <QtWaylandClient/private/qwaylandshellintegrationplugin_p.h>
8
9
QT_BEGIN_NAMESPACE
10
11
namespace
QtWaylandClient
{
12
13
class
QWaylandWlShellIntegrationPlugin
:
public
QWaylandShellIntegrationPlugin
14
{
15
Q_OBJECT
16
Q_PLUGIN_METADATA
(
IID
QWaylandShellIntegrationFactoryInterface_iid
FILE
"wl-shell.json"
)
17
18
public
:
19
QWaylandShellIntegration
*
create
(
const
QString
&
key
,
const
QStringList
¶mList)
override
;
20
};
21
22
QWaylandShellIntegration
*
QWaylandWlShellIntegrationPlugin::create
(
const
QString
&
key
,
const
QStringList
¶mList)
23
{
24
Q_UNUSED
(
key
);
25
Q_UNUSED
(paramList);
26
return
new
QWaylandWlShellIntegration
();
27
}
28
29
}
30
31
QT_END_NAMESPACE
32
33
#include "main.moc"
QStringList
\inmodule QtCore
QString
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition
qstring.h:127
QtWaylandClient::QWaylandShellIntegrationPlugin
Definition
qwaylandshellintegrationplugin_p.h:34
QtWaylandClient::QWaylandShellIntegration
Definition
qwaylandshellintegration_p.h:40
QtWaylandClient::QWaylandWlShellIntegrationPlugin
Definition
main.cpp:14
QtWaylandClient::QWaylandWlShellIntegrationPlugin::create
QWaylandShellIntegration * create(const QString &key, const QStringList ¶mList) override
Definition
main.cpp:22
QtWaylandClient::QWaylandWlShellIntegration
Definition
qwaylandwlshellintegration_p.h:29
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1545
QtWaylandClient
Definition
qwaylandclientextension.h:15
qwaylandwlshellintegration_p.h
key
GLuint64 key
Definition
qopengles2ext.h:2268
QtPluginMetaDataKeys::IID
@ IID
Q_OBJECT
#define Q_OBJECT
Definition
qtmetamacros.h:117
Q_PLUGIN_METADATA
#define Q_PLUGIN_METADATA(x)
Definition
qtmetamacros.h:54
Q_UNUSED
#define Q_UNUSED(x)
Definition
qtpreprocessorsupport.h:20
QWaylandShellIntegrationFactoryInterface_iid
#define QWaylandShellIntegrationFactoryInterface_iid
Definition
qwaylandshellintegrationplugin_p.h:31
create
view create()
qtwayland
src
plugins
shellintegration
wl-shell
main.cpp
Generated by
1.9.7