QWaylandCompositor Class
The QWaylandCompositor class manages the Wayland display server. More...
| Header: | #include <QWaylandCompositor> |
| qmake: | QT += waylandcompositor |
| Since: | Qt 5.8 |
| Inherits: | QWaylandObject |
Public Functions
| void | defaultOutputChanged() |
| void | defaultSeatChanged(QWaylandSeat *newDevice, QWaylandSeat *oldDevice) |
| void | outputAdded(class QWaylandOutput *output) |
| void | outputRemoved(class QWaylandOutput *output) |
| void | retainedSelectionChanged(bool retainedSelection) |
| void | socketNameChanged(const int &socketName) |
| void | subsurfaceChanged(QWaylandSurface *child, QWaylandSurface *parent) |
| void | surfaceAboutToBeDestroyed(QWaylandSurface *surface) |
| void | surfaceCreated(QWaylandSurface *surface) |
| void | surfaceRequested(QWaylandClient *client, int id, int version) |
| void | useHardwareIntegrationExtensionChanged() |
Protected Functions
| QWaylandCompositor(QWaylandCompositorPrivate &dptr, int *parent = nullptr) | |
| virtual QWaylandKeyboard * | createKeyboardDevice(QWaylandSeat *seat) |
| virtual QWaylandPointer * | createPointerDevice(QWaylandSeat *seat) |
| virtual QWaylandSeat * | createSeat() |
| virtual QWaylandTouch * | createTouchDevice(QWaylandSeat *seat) |
| virtual void | retainedSelectionReceived(QMimeData *mimeData) |
Detailed Description
The QWaylandCompositor class manages the Wayland display server.
The QWaylandCompositor manages the connections to the clients, as well as the different outputs and seats.
Normally, a compositor application will have a single WaylandCompositor instance, which can have several outputs as children.
Member Function Documentation
[protected] QWaylandCompositor::QWaylandCompositor(QWaylandCompositorPrivate &dptr, int *parent = nullptr)
Default constructs an instance of QWaylandCompositor.
[virtual protected] QWaylandKeyboard *QWaylandCompositor::createKeyboardDevice(QWaylandSeat *seat)
[virtual protected] QWaylandPointer *QWaylandCompositor::createPointerDevice(QWaylandSeat *seat)
[virtual protected] QWaylandSeat *QWaylandCompositor::createSeat()
[virtual protected] QWaylandTouch *QWaylandCompositor::createTouchDevice(QWaylandSeat *seat)
void QWaylandCompositor::defaultOutputChanged()
void QWaylandCompositor::defaultSeatChanged(QWaylandSeat *newDevice, QWaylandSeat *oldDevice)
void QWaylandCompositor::outputAdded(class QWaylandOutput *output)
void QWaylandCompositor::outputRemoved(class QWaylandOutput *output)
void QWaylandCompositor::retainedSelectionChanged(bool retainedSelection)
[virtual protected] void QWaylandCompositor::retainedSelectionReceived(QMimeData *mimeData)
void QWaylandCompositor::socketNameChanged(const int &socketName)
void QWaylandCompositor::subsurfaceChanged(QWaylandSurface *child, QWaylandSurface *parent)
void QWaylandCompositor::surfaceAboutToBeDestroyed(QWaylandSurface *surface)
void QWaylandCompositor::surfaceCreated(QWaylandSurface *surface)
This signal is emitted when a new QWaylandSurface instance has been created.