Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
#ifndef QWAYLANDXDGACTIVATIONV1_P_H
5
#define QWAYLANDXDGACTIVATIONV1_P_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#include <QObject>
19
#include "qwayland-xdg-activation-v1.h"
20
21
#include <QtWaylandClient/qtwaylandclientglobal.h>
22
23
QT_BEGIN_NAMESPACE
24
25
namespace
QtWaylandClient
{
26
27
class
QWaylandDisplay;
28
class
QWaylandSurface
;
29
30
class
Q_WAYLANDCLIENT_EXPORT
QWaylandXdgActivationTokenV1
31
:
public
QObject
,
32
public
QtWayland::xdg_activation_token_v1
33
{
34
Q_OBJECT
35
public
:
36
~QWaylandXdgActivationTokenV1
()
override
;
37
void
xdg_activation_token_v1_done
(
const
QString
&
token
)
override
{
Q_EMIT
done
(
token
); }
38
39
Q_SIGNALS
:
40
void
done
(
const
QString
&
token
);
41
};
42
43
class
Q_WAYLANDCLIENT_EXPORT
QWaylandXdgActivationV1
:
public
QtWayland::xdg_activation_v1
44
{
45
public
:
46
QWaylandXdgActivationV1
(struct ::wl_registry *registry, uint32_t
id
, uint32_t availableVersion);
47
~QWaylandXdgActivationV1
()
override
;
48
49
QWaylandXdgActivationTokenV1
*requestXdgActivationToken(
QWaylandDisplay
*
display
,
50
struct ::wl_surface *surface,
51
std::optional<uint32_t> serial,
52
const
QString
&app_id);
53
};
54
55
QT_END_NAMESPACE
56
57
}
58
59
#endif
// QWAYLANDXDGACTIVATIONV1_P_H
QObject
\inmodule QtCore
Definition
qobject.h:103
QString
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition
qstring.h:129
QWaylandSurface
\qmltype WaylandSurface \instantiates QWaylandSurface \inqmlmodule QtWayland.Compositor
Definition
qwaylandsurface.h:42
QtWaylandClient::QWaylandDisplay
Definition
qwaylanddisplay_p.h:97
QtWaylandClient::QWaylandXdgActivationTokenV1
Definition
qwaylandxdgactivationv1_p.h:33
QtWaylandClient::QWaylandXdgActivationTokenV1::xdg_activation_token_v1_done
void xdg_activation_token_v1_done(const QString &token) override
Definition
qwaylandxdgactivationv1_p.h:37
QtWaylandClient::QWaylandXdgActivationTokenV1::done
void done(const QString &token)
QtWaylandClient::QWaylandXdgActivationV1
Definition
qwaylandxdgactivationv1_p.h:44
token
Token token
Definition
keywords.cpp:444
display
struct wl_display * display
Definition
linuxdmabuf.h:41
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
QtWaylandClient
Definition
qwaylandclientextension.h:15
done
bool done
Definition
qfilesystemiterator_win.cpp:15
Q_OBJECT
#define Q_OBJECT
Definition
qtmetamacros.h:119
Q_EMIT
#define Q_EMIT
Definition
qtmetamacros.h:47
Q_SIGNALS
#define Q_SIGNALS
Definition
qtmetamacros.h:45
qtwayland
src
plugins
shellintegration
xdg-shell
qwaylandxdgactivationv1_p.h
Generated by
1.10.0