| 1 | // Copyright (C) 2019 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com> | 
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only | 
| 3 |  | 
| 4 | #ifndef QWAYLANDQUICKXDGOUTPUT_V1 | 
| 5 | #define QWAYLANDQUICKXDGOUTPUT_V1 | 
| 6 |  | 
| 7 | #include <QtQml/QQmlListProperty> | 
| 8 | #include <QtQml/QQmlParserStatus> | 
| 9 | #include <QtWaylandCompositor/QWaylandXdgOutputV1> | 
| 10 |  | 
| 11 | QT_REQUIRE_CONFIG(wayland_compositor_quick); | 
| 12 |  | 
| 13 | QT_BEGIN_NAMESPACE | 
| 14 |  | 
| 15 | class Q_WAYLANDCOMPOSITOR_EXPORT QWaylandQuickXdgOutputV1 | 
| 16 |         : public QWaylandXdgOutputV1 | 
| 17 |         , public QQmlParserStatus | 
| 18 | { | 
| 19 |     Q_OBJECT | 
| 20 |     Q_INTERFACES(QQmlParserStatus) | 
| 21 | public: | 
| 22 |     explicit QWaylandQuickXdgOutputV1(); | 
| 23 |  | 
| 24 | protected: | 
| 25 |     void classBegin() override {} | 
| 26 |     void componentComplete() override; | 
| 27 | }; | 
| 28 |  | 
| 29 | QT_END_NAMESPACE | 
| 30 |  | 
| 31 | #endif // QWAYLANDQUICKXDGOUTPUT_V1 | 
| 32 |  |