KWayland
display.cpp
106 QObject::connect(QThread::currentThread()->eventDispatcher(), &QAbstractEventDispatcher::aboutToBlock, q, [this] {
421 ServerSideDecorationManagerInterface *Display::createServerSideDecorationManager(QObject *parent)
430 TextInputManagerInterface *Display::createTextInputManager(const TextInputInterfaceVersion &version, QObject *parent)
449 XdgShellInterface *Display::createXdgShell(const XdgShellInterfaceVersion &version, QObject *parent)
469 RelativePointerManagerInterface *Display::createRelativePointerManager(const RelativePointerInterfaceVersion &version, QObject *parent)
483 PointerGesturesInterface *Display::createPointerGestures(const PointerGesturesInterfaceVersion &version, QObject *parent)
497 PointerConstraintsInterface *Display::createPointerConstraints(const PointerConstraintsInterfaceVersion &version, QObject *parent)
520 IdleInhibitManagerInterface *Display::createIdleInhibitManager(const IdleInhibitManagerInterfaceVersion &version, QObject *parent)
543 ServerSideDecorationPaletteManagerInterface *Display::createServerSideDecorationPaletteManager(QObject *parent)
561 PlasmaVirtualDesktopManagementInterface *Display::createPlasmaVirtualDesktopManagement(QObject *parent)
579 XdgDecorationManagerInterface *Display::createXdgDecorationManager(XdgShellInterface *shellInterface, QObject *parent)
676 auto it = std::find_if(d->clients.constBegin(), d->clients.constEnd(), [client](ClientConnection *c) {
@ UnstableV0
wl_text_input as the non-standardized version
ClientConnection * getConnection(wl_client *client)
Gets the ClientConnection for the given client.
Definition: display.cpp:673
void setSocketName(const QString &name)
Sets the basename of the socket to name.
Definition: display.cpp:144
@ UnstableV2
zwp_text_input_v2 as used by Qt 5.7
LinuxDmabufUnstableV1Interface * createLinuxDmabufInterface(QObject *parent=nullptr)
Creates the LinuxDmabufUnstableV1Interface in interface version.
Definition: display.cpp:552
Wrapper for the org_kde_plasma_virtual_desktop_management interface.
Definition: plasmavirtualdesktop_interface.h:27
XdgShellInterfaceVersion
Enum describing the different InterfaceVersion encapsulated in this implementation.
Definition: xdgshell_interface.h:33
@ UnstableV1
zwp_pointer_constraints_v1
RelativePointerManagerInterface * createRelativePointerManager(const RelativePointerInterfaceVersion &version, QObject *parent=nullptr)
Creates the RelativePointerManagerInterface in interface version.
Definition: display.cpp:469
RelativePointerInterfaceVersion
Definition: relativepointer_interface.h:18
The XdgDecorationManagerInterface class.
Definition: xdgdecoration_interface.h:27
XdgDecorationManagerInterface * createXdgDecorationManager(XdgShellInterface *shellInterface, QObject *parent=nullptr)
Creates the XdgDecorationManagerInterface.
Definition: display.cpp:579
QString fromUtf8(const char *str, int size)
Q_EMITQ_EMIT
IdleInhibitManagerInterface * createIdleInhibitManager(const IdleInhibitManagerInterfaceVersion &version, QObject *parent=nullptr)
Creates the IdleInhibitManagerInterface in interface version.
Definition: display.cpp:520
TextInputManagerInterface * createTextInputManager(const TextInputInterfaceVersion &version, QObject *parent=nullptr)
Create the text input manager in interface version.
Definition: display.cpp:430
void setAutomaticSocketNaming(bool automaticSocketNaming)
If automaticSocketNaming is true, the manually set socketName is ignored and it will use wl_display_a...
Definition: display.cpp:158
ClientConnection * createClient(int fd)
Create a client for the given file descriptor.
Definition: display.cpp:701
@ UnstableV1
zwp_idle_inhibit_manager_v1
Provides the DBus service name and object path to a AppMenu DBus interface.
Definition: appmenu_interface.h:29
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
@ UnstableV1
zwp_relative_pointer_manager_v1 and zwp_relative_pointer_v1
Manager object for the PointerGestures.
Definition: pointergestures_interface.h:38
IdleInhibitManagerInterfaceVersion
Enum describing the interface versions the IdleInhibitManagerInterface can support.
Definition: idleinhibit_interface.h:24
Manager object to create relative pointer interfaces.
Definition: relativepointer_interface.h:35
void destroyed(QObject *obj)
Global manager for XdgOutputs.
Definition: xdgoutput_interface.h:32
void dispatchEvents(int msecTimeout=-1)
Dispatches pending events in a blocking way.
Definition: display.cpp:207
PlasmaVirtualDesktopManagementInterface * createPlasmaVirtualDesktopManagement(QObject *parent=nullptr)
Creates the PlasmaVirtualDesktopManagementInterface in interface version.
Definition: display.cpp:561
TabletManagerInterface * createTabletManagerInterface(QObject *parent=nullptr)
Creates the entry point to support wacom-like tablets and pens.
Definition: display.cpp:606
ServerSideDecorationManagerInterface * createServerSideDecorationManager(QObject *parent=nullptr)
Definition: display.cpp:421
void disconnected(KWayland::Server::ClientConnection *)
Signal emitted when the ClientConnection got disconnected from the server.
QThread * currentThread()
The IdleInhibitorManagerInterface is used by clients to inhibit idle on a SurfaceInterface.
Definition: idleinhibit_interface.h:38
Allows a client to specify a preferred palette to use for server-side window decorations.
Definition: server_decoration_palette_interface.h:29
Represent the Global for the interface.
Definition: textinput_interface.h:53
void setEglDisplay(void *display)
Set the EGL display for this Wayland display.
Definition: display.cpp:712
This class encapsulates the server side logic of the XdgForeign protocol.
Definition: xdgforeign_interface.h:33
Manager to create ServerSideDecorationInterface.
Definition: server_decoration_interface.h:27
@ UnstableV1
zwp_pointer_gestures_v1, zwp_pointer_gesture_swipe_v1 and zwp_pointer_gesture_pinch_v1
PointerConstraintsInterfaceVersion
Enum describing the interface versions the PointerConstraintsInterface can support.
Definition: pointerconstraints_interface.h:28
Convenient Class which represents a wl_client.
Definition: clientconnection.h:34
KeyStateInterface * createKeyStateInterface(QObject *parent=nullptr)
Definition: display.cpp:597
QTextStream & flush(QTextStream &stream)
EglStreamControllerInterface * createEglStreamControllerInterface(QObject *parent=nullptr)
Creates the EglStreamControllerInterface.
Definition: display.cpp:588
XdgShellInterface * createXdgShell(const XdgShellInterfaceVersion &version, QObject *parent=nullptr)
Creates the XdgShell in interface version.
Definition: display.cpp:449
unsigned int version()
XdgOutputManagerInterface * createXdgOutputManager(QObject *parent=nullptr)
Creates the XdgOutputManagerInterface.
Definition: display.cpp:570
Manager object to create pointer constraints.
Definition: pointerconstraints_interface.h:45
PointerConstraintsInterface * createPointerConstraints(const PointerConstraintsInterfaceVersion &version, QObject *parent=nullptr)
Creates the PointerConstraintsInterface in interface version.
Definition: display.cpp:497
AppMenuManagerInterface * createAppMenuManagerInterface(QObject *parent=nullptr)
Creates the AppMenuManagerInterface in interface version.
Definition: display.cpp:534
TextInputInterfaceVersion
Enum describing the different InterfaceVersion encapsulated in this implementation.
Definition: textinput_interface.h:28
PointerGesturesInterface * createPointerGestures(const PointerGesturesInterfaceVersion &version, QObject *parent=nullptr)
Creates the PointerGesturesInterface in interface version.
Definition: display.cpp:483
Represents the global zpw_linux_dmabuf_v1 interface.
Definition: linuxdmabuf_v1_interface.h:78
Represents the Global for the wl_eglstream_controller interface.
Definition: eglstream_controller_interface.h:30
PointerGesturesInterfaceVersion
Enum describing the interface versions the PointerGesturesInterface can support.
Definition: pointergestures_interface.h:22
QObject * parent() const const
void activated(QSocketDescriptor socket, QSocketNotifier::Type type)
XdgForeignInterface * createXdgForeignInterface(QObject *parent=nullptr)
Creates the XdgForeignInterface in interface version.
Definition: display.cpp:511
ServerSideDecorationPaletteManagerInterface * createServerSideDecorationPaletteManager(QObject *parent=nullptr)
Creates the ServerSideDecorationPaletteManagerInterface in interface version.
Definition: display.cpp:543
void aboutToBlock()
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Feb 7 2023 03:56:21 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Feb 7 2023 03:56:21 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.