Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
4#ifndef QWAYLANDQUICKCOMPOSITOR_H
5#define QWAYLANDQUICKCOMPOSITOR_H
6
7#include <QtWaylandCompositor/qwaylandcompositor.h>
8#include <QtQml/QQmlParserStatus>
9
10QT_REQUIRE_CONFIG(wayland_compositor_quick);
11
13
14class QQuickWindow;
16class QWaylandView;
17
18class Q_WAYLANDCOMPOSITOR_EXPORT QWaylandQuickCompositor : public QWaylandCompositor, public QQmlParserStatus
19{
22public:
23 QWaylandQuickCompositor(QObject *parent = nullptr);
24 void create() override;
25
26 void grabSurface(QWaylandSurfaceGrabber *grabber, const QWaylandBufferRef &buffer) override;
27
28protected:
29 void classBegin() override;
30 void componentComplete() override;
31};
32
34
35#endif
\inmodule QtCore
Definition qobject.h:103
The QQmlParserStatus class provides updates on the QML parser state.
\qmltype Window \instantiates QQuickWindow \inqmlmodule QtQuick
\inmodule QtWaylandCompositor
\qmltype WaylandCompositor \instantiates QWaylandCompositor \inqmlmodule QtWayland....
\inmodule QtWaylandCompositor
\qmltype WaylandView \instantiates QWaylandView \inqmlmodule QtWayland.Compositor
Combined button and popup list for selecting options.
GLenum GLuint buffer
#define QT_REQUIRE_CONFIG(feature)
#define Q_OBJECT
#define Q_INTERFACES(x)
view create()