Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qwaylandxdgdialogv1_p.h
Go to the documentation of this file.
1
// Copyright (C) 2024 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
// Qt-Security score:critical reason:network-protocol
4
5
#
ifndef
QWAYLANDXDGDIALOGV1_P_H
6
#
define
QWAYLANDXDGDIALOGV1_P_H
7
#
include
"qwaylandxdgshell.h"
8
#
include
<
QtWaylandCompositor
/
QWaylandCompositorExtensionTemplate
>
9
#
include
<
QtWaylandCompositor
/
private
/
qwaylandcompositorextension_p
.
h
>
10
#
include
<
QtWaylandCompositor
/
private
/
qwayland
-
server
-
xdg
-
dialog
-
v1
.
h
>
11
12
//
13
// W A R N I N G
14
// -------------
15
//
16
// This file is not part of the Qt API. It exists purely as an
17
// implementation detail. This header file may change from version to
18
// version without notice, or even be removed.
19
//
20
// We mean it.
21
//
22
23
QT_BEGIN_NAMESPACE
24
25
class
Q_WAYLANDCOMPOSITOR_EXPORT
QWaylandXdgDialogV1Global
26
:
public
QWaylandCompositorExtensionTemplate<QWaylandXdgDialogV1Global>
27
,
public
QtWaylandServer::xdg_wm_dialog_v1
28
{
29
Q_OBJECT
30
public
:
31
QWaylandXdgDialogV1Global(QWaylandCompositor *parent =
nullptr
);
32
33
void
initialize() override;
34
35
protected
:
36
void
xdg_wm_dialog_v1_get_xdg_dialog(Resource *resource, uint32_t id, wl_resource *toplevelResource) override;
37
};
38
39
class
Q_WAYLANDCOMPOSITOR_EXPORT
QWaylandXdgDialogV1
40
:
public
QtWaylandServer::xdg_dialog_v1
41
{
42
public
:
43
QWaylandXdgDialogV1(QWaylandXdgToplevel *toplevel, wl_client *client,
int
id);
44
45
protected
:
46
void
xdg_dialog_v1_destroy_resource(Resource *resource) override;
47
void
xdg_dialog_v1_destroy(Resource *resource) override;
48
49
void
xdg_dialog_v1_set_modal(Resource *resource) override;
50
void
xdg_dialog_v1_unset_modal(Resource *resource) override;
51
52
private
:
53
QPointer<QWaylandXdgToplevel> m_topLevel;
54
};
55
56
QT_END_NAMESPACE
57
58
#
endif
QWaylandCompositor
\qmltype WaylandCompositor \nativetype QWaylandCompositor \inqmlmodule QtWayland.Compositor
Definition
qwaylandcompositor.h:44
QWaylandXdgDialogV1Global
Definition
qwaylandxdgdialogv1_p.h:28
QWaylandXdgDialogV1
Definition
qwaylandxdgdialogv1_p.h:41
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qLcWaylandCompositorTextInput
const QLoggingCategory & qLcWaylandCompositorTextInput()
qLcWaylandCompositorInputMethods
const QLoggingCategory & qLcWaylandCompositorInputMethods()
qtwayland
src
compositor
extensions
qwaylandxdgdialogv1_p.h
Generated on
for Qt by
1.18.0