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
4
#
pragma
once
5
6
#
include
<
QObject
>
7
#
include
"qwayland-xdg-activation-v1.h"
8
9
#
include
<
QtWaylandClient
/
qtwaylandclientglobal
.
h
>
10
11
QT_BEGIN_NAMESPACE
12
13
namespace
QtWaylandClient
{
14
15
class
QWaylandDisplay;
16
class
QWaylandSurface
;
17
18
class
Q_WAYLANDCLIENT_EXPORT
QWaylandXdgActivationTokenV1
19
:
public
QObject
,
20
public
QtWayland
::
xdg_activation_token_v1
21
{
22
Q_OBJECT
23
public
:
24
~
QWaylandXdgActivationTokenV1
()
override
;
25
void
xdg_activation_token_v1_done
(
const
QString
&
token
)
override
{
Q_EMIT
done
(
token
); }
26
27
Q_SIGNALS
:
28
void
done
(
const
QString
&
token
);
29
};
30
31
class
Q_WAYLANDCLIENT_EXPORT
QWaylandXdgActivationV1
:
public
QtWayland
::
xdg_activation_v1
32
{
33
public
:
34
QWaylandXdgActivationV1
(
struct
::
wl_registry
*
registry
,
uint32_t
id
,
uint32_t
availableVersion
);
35
~
QWaylandXdgActivationV1
()
override
;
36
37
QWaylandXdgActivationTokenV1
*
requestXdgActivationToken
(
QWaylandDisplay
*
display
,
38
struct
::
wl_surface
*
surface
,
39
std
::
optional
<
uint32_t
>
serial
,
40
const
QString
&
app_id
);
41
};
42
43
}
// namespace QtWaylandClient
44
45
QT_END_NAMESPACE
QtWaylandClient::QWaylandSurface
Definition
qwaylandsurface_p.h:32
QtWaylandClient::QWaylandXdgActivationTokenV1
Definition
qwaylandxdgactivationv1_p.h:21
QtWaylandClient::QWaylandXdgActivationV1
Definition
qwaylandxdgactivationv1_p.h:32
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qrandomaccessasyncfile_darwin.mm:17
QtWaylandClient
Definition
qwaylandclientextension.h:15
qtbase
src
plugins
platforms
wayland
plugins
shellintegration
xdg-shell
qwaylandxdgactivationv1_p.h
Generated on
for Qt by
1.16.1