1// Copyright (C) 2024 David Redondo <kde@david-redondo.de>
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 QWAYLANDAPPMENU_H
5#define QWAYLANDAPPMENU_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 <QtCore/QObject>
19
20#include <QtWaylandClient/qtwaylandclientglobal.h>
21#include <QtWaylandClient/private/qwayland-appmenu.h>
22
23QT_BEGIN_NAMESPACE
24
25namespace QtWaylandClient {
26
27class QWaylandAppMenu : public QObject, public QtWayland::org_kde_kwin_appmenu
28{
29public:
30 QWaylandAppMenu();
31 ~QWaylandAppMenu();
32};
33
34class QWaylandAppMenuManager : public QtWayland::org_kde_kwin_appmenu_manager
35{
36public:
37 QWaylandAppMenuManager(wl_registry *registry, quint32 id, int version);
38 ~QWaylandAppMenuManager();
39};
40
41} // namespace QtWaylandClient
42QT_END_NAMESPACE
43
44#endif
45

source code of qtbase/src/plugins/platforms/wayland/qwaylandappmenu_p.h