Qt 6.x
The Qt SDK
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:
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:90
The QQmlParserStatus class provides updates on the QML parser state.
virtual void classBegin()=0
Invoked after class creation, but before any properties have been set.
virtual void componentComplete()=0
Invoked after the root component that caused this instantiation has completed construction.
\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()
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent