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
qwaylandquickcompositor.h
Go to the documentation of this file.
1// Copyright (C) 2017 Jolla Ltd, author: <giulio.camuffo@jollamobile.com>
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
5#ifndef QWAYLANDQUICKCOMPOSITOR_H
6#define QWAYLANDQUICKCOMPOSITOR_H
7
8#include <QtWaylandCompositor/qwaylandcompositor.h>
9#include <QtQml/QQmlParserStatus>
10
12
13QT_BEGIN_NAMESPACE
14
15class QQuickWindow;
17class QWaylandView;
18
19class Q_WAYLANDCOMPOSITOR_EXPORT QWaylandQuickCompositor : public QWaylandCompositor, public QQmlParserStatus
20{
21 Q_INTERFACES(QQmlParserStatus)
22 Q_OBJECT
23public:
24 QWaylandQuickCompositor(QObject *parent = nullptr);
25 void create() override;
26
27 void grabSurface(QWaylandSurfaceGrabber *grabber, const QWaylandBufferRef &buffer) override;
28
29protected:
30 void classBegin() override;
31 void componentComplete() override;
32};
33
34QT_END_NAMESPACE
35
36#endif
QWaylandSurface * createDefaultSurface() override
QWaylandQuickCompositorPrivate(QWaylandCompositor *compositor)
Combined button and popup list for selecting options.
QT_REQUIRE_CONFIG(liburing)