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
qwaylandxdgactivationv1_p.h
Go to the documentation of this file.
1
// Copyright (C) 2020 Aleix Pol Gonzalez <aleixpol@kde.org>
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
pragma
once
6
7
#
include
<
QObject
>
8
#
include
"qwayland-xdg-activation-v1.h"
9
10
#
include
<
QtWaylandClient
/
qtwaylandclientglobal
.
h
>
11
12
QT_BEGIN_NAMESPACE
13
14
namespace
QtWaylandClient
{
15
16
class
QWaylandDisplay;
17
class
QWaylandSurface
;
18
19
class
Q_WAYLANDCLIENT_EXPORT
QWaylandXdgActivationTokenV1
20
:
public
QObject
,
21
public
QtWayland
::
xdg_activation_token_v1
22
{
23
Q_OBJECT
24
public
:
25
~
QWaylandXdgActivationTokenV1
()
override
;
26
void
xdg_activation_token_v1_done
(
const
QString
&
token
)
override
{
Q_EMIT
done
(
token
); }
27
28
Q_SIGNALS
:
29
void
done
(
const
QString
&
token
);
30
};
31
32
class
Q_WAYLANDCLIENT_EXPORT
QWaylandXdgActivationV1
:
public
QtWayland
::
xdg_activation_v1
33
{
34
public
:
35
QWaylandXdgActivationV1
(
struct
::
wl_registry
*
registry
,
uint32_t
id
,
uint32_t
availableVersion
);
36
~
QWaylandXdgActivationV1
()
override
;
37
38
QWaylandXdgActivationTokenV1
*
requestXdgActivationToken
(
QWaylandDisplay
*
display
,
39
struct
::
wl_surface
*
surface
,
40
std
::
optional
<
uint32_t
>
serial
,
41
const
QString
&
app_id
);
42
};
43
44
}
// namespace QtWaylandClient
45
46
QT_END_NAMESPACE
QtWaylandClient::QWaylandSurface
Definition
qwaylandsurface_p.h:33
QtWaylandClient::QWaylandXdgActivationTokenV1
Definition
qwaylandxdgactivationv1_p.h:22
QtWaylandClient::QWaylandXdgActivationV1
Definition
qwaylandxdgactivationv1_p.h:33
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qrandomaccessasyncfile_darwin.mm:17
QtWaylandClient
Definition
qwaylandclientextension.h:16
qtbase
src
plugins
platforms
wayland
plugins
shellintegration
xdg-shell
qwaylandxdgactivationv1_p.h
Generated on
for Qt by
1.16.1