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
qwaylanddestroylistener.h
Go to the documentation of this file.
1// Copyright (C) 2017 Jolla Ltd, author: <giulio.camuffo@jollamobile.com>
2// Copyright (C) 2017 The Qt Company Ltd.
3// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
4// Qt-Security score:significant reason:default
5
6#ifndef QWAYLANDDESTROYLISTENER_H
7#define QWAYLANDDESTROYLISTENER_H
8
9#include <QtCore/QObject>
10#include <QtWaylandCompositor/qtwaylandcompositorglobal.h>
11
12struct wl_resource;
13
14QT_BEGIN_NAMESPACE
15
16class QWaylandDestroyListenerPrivate;
17
18class Q_WAYLANDCOMPOSITOR_EXPORT QWaylandDestroyListener : public QObject
19{
20 Q_OBJECT
21 Q_DECLARE_PRIVATE(QWaylandDestroyListener)
22public:
23 QWaylandDestroyListener(QObject *parent = nullptr);
24 void listenForDestruction(struct wl_resource *resource);
25 void reset();
26
27Q_SIGNALS:
28 void fired(void *data);
29
30};
31
32QT_END_NAMESPACE
33
34#endif /*QWAYLANDDESTROYLISTENER_H*/
Combined button and popup list for selecting options.