KWayland::Client::Registry

Search for usage in LXR

KWayland::Client::Registry Class Reference

#include <registry.h>

Inheritance diagram for KWayland::Client::Registry:

Classes

struct  AnnouncedInterface
 

Public Types

enum  Interface {
  Interface::Unknown, Interface::Compositor, Interface::Shell, Interface::Seat,
  Interface::Shm, Interface::Output, Interface::FullscreenShell, Interface::SubCompositor,
  Interface::DataDeviceManager, Interface::PlasmaShell, Interface::PlasmaWindowManagement, Interface::Idle,
  Interface::FakeInput, Interface::Shadow, Interface::Blur, Interface::Contrast,
  Interface::Slide, Interface::Dpms, Interface::OutputManagement, Interface::OutputDevice,
  Interface::ServerSideDecorationManager, Interface::TextInputManagerUnstableV0, Interface::TextInputManagerUnstableV2, Interface::XdgShellUnstableV5,
  Interface::RelativePointerManagerUnstableV1, Interface::PointerGesturesUnstableV1, Interface::PointerConstraintsUnstableV1, Interface::XdgExporterUnstableV2,
  Interface::XdgImporterUnstableV2, Interface::XdgShellUnstableV6, Interface::IdleInhibitManagerUnstableV1, Interface::AppMenu,
  Interface::ServerSideDecorationPalette, Interface::RemoteAccessManager, Interface::PlasmaVirtualDesktopManagement, Interface::XdgOutputUnstableV1,
  Interface::XdgShellStable, Interface::XdgDecorationUnstableV1, Interface::Keystate, Interface::PlasmaActivationFeedback
}
 

Signals

void interfaceAnnounced (QByteArray interface, quint32 name, quint32 version)
 
void interfaceRemoved (quint32 name)
 
void interfacesAnnounced ()
 
void registryDestroyed ()
 
Interface announced signals.
void compositorAnnounced (quint32 name, quint32 version)
 
void shellAnnounced (quint32 name, quint32 version)
 
void seatAnnounced (quint32 name, quint32 version)
 
void shmAnnounced (quint32 name, quint32 version)
 
void subCompositorAnnounced (quint32 name, quint32 version)
 
void outputAnnounced (quint32 name, quint32 version)
 
void fullscreenShellAnnounced (quint32 name, quint32 version)
 
void dataDeviceManagerAnnounced (quint32 name, quint32 version)
 
void outputManagementAnnounced (quint32 name, quint32 version)
 
void outputDeviceAnnounced (quint32 name, quint32 version)
 
void plasmaShellAnnounced (quint32 name, quint32 version)
 
void plasmaActivationFeedbackAnnounced (quint32 name, quint32 version)
 
void plasmaVirtualDesktopManagementAnnounced (quint32 name, quint32 version)
 
void plasmaWindowManagementAnnounced (quint32 name, quint32 version)
 
void idleAnnounced (quint32 name, quint32 version)
 
void remoteAccessManagerAnnounced (quint32 name, quint32 version)
 
void fakeInputAnnounced (quint32 name, quint32 version)
 
void shadowAnnounced (quint32 name, quint32 version)
 
void blurAnnounced (quint32 name, quint32 version)
 
void contrastAnnounced (quint32 name, quint32 version)
 
void slideAnnounced (quint32 name, quint32 version)
 
void dpmsAnnounced (quint32 name, quint32 version)
 
void serverSideDecorationManagerAnnounced (quint32 name, quint32 version)
 
void textInputManagerUnstableV0Announced (quint32 name, quint32 version)
 
void textInputManagerUnstableV2Announced (quint32 name, quint32 version)
 
void xdgShellUnstableV5Announced (quint32 name, quint32 version)
 
void xdgShellUnstableV6Announced (quint32 name, quint32 version)
 
void relativePointerManagerUnstableV1Announced (quint32 name, quint32 version)
 
void pointerGesturesUnstableV1Announced (quint32 name, quint32 version)
 
void pointerConstraintsUnstableV1Announced (quint32 name, quint32 version)
 
void exporterUnstableV2Announced (quint32 name, quint32 version)
 
void importerUnstableV2Announced (quint32 name, quint32 version)
 
void idleInhibitManagerUnstableV1Announced (quint32 name, quint32 version)
 
void appMenuAnnounced (quint32 name, quint32 version)
 
void serverSideDecorationPaletteManagerAnnounced (quint32 name, quint32 version)
 
void xdgOutputAnnounced (quint32 name, quint32 version)
 
void xdgShellStableAnnounced (quint32 name, quint32 version)
 
void xdgDecorationAnnounced (quint32 name, quint32 version)
 
void keystateAnnounced (quint32 name, quint32 version)
 
Interface removed signals.
void compositorRemoved (quint32 name)
 
void shellRemoved (quint32 name)
 
void seatRemoved (quint32 name)
 
void shmRemoved (quint32 name)
 
void subCompositorRemoved (quint32 name)
 
void outputRemoved (quint32 name)
 
void fullscreenShellRemoved (quint32 name)
 
void dataDeviceManagerRemoved (quint32 name)
 
void outputManagementRemoved (quint32 name)
 
void outputDeviceRemoved (quint32 name)
 
void plasmaShellRemoved (quint32 name)
 
void plasmaActivationFeedbackRemoved (quint32 name)
 
void plasmaVirtualDesktopManagementRemoved (quint32 name)
 
void plasmaWindowManagementRemoved (quint32 name)
 
void idleRemoved (quint32 name)
 
void remoteAccessManagerRemoved (quint32 name)
 
void fakeInputRemoved (quint32 name)
 
void shadowRemoved (quint32 name)
 
void blurRemoved (quint32 name)
 
void contrastRemoved (quint32 name)
 
void slideRemoved (quint32 name)
 
void dpmsRemoved (quint32 name)
 
void serverSideDecorationManagerRemoved (quint32 name)
 
void textInputManagerUnstableV0Removed (quint32 name)
 
void textInputManagerUnstableV2Removed (quint32 name)
 
void xdgShellUnstableV5Removed (quint32 name)
 
void xdgShellUnstableV6Removed (quint32 name)
 
void relativePointerManagerUnstableV1Removed (quint32 name)
 
void pointerGesturesUnstableV1Removed (quint32 name)
 
void pointerConstraintsUnstableV1Removed (quint32 name)
 
void exporterUnstableV2Removed (quint32 name)
 
void importerUnstableV2Removed (quint32 name)
 
void idleInhibitManagerUnstableV1Removed (quint32 name)
 
void appMenuRemoved (quint32 name)
 
void serverSideDecorationPaletteManagerRemoved (quint32 name)
 
void xdgOutputRemoved (quint32 name)
 
void xdgShellStableRemoved (quint32 name)
 
void xdgDecorationRemoved (quint32 name)
 
void keystateRemoved (quint32 name)
 

Public Member Functions

 Registry (QObject *parent=nullptr)
 
void create (ConnectionThread *connection)
 
void create (wl_display *display)
 
void destroy ()
 
EventQueueeventQueue ()
 
bool hasInterface (Interface interface) const
 
AnnouncedInterface interface (Interface interface) const
 
QVector< AnnouncedInterfaceinterfaces (Interface interface) const
 
bool isValid () const
 
 operator wl_registry * ()
 
 operator wl_registry * () const
 
wl_registry * registry ()
 
void release ()
 
void setEventQueue (EventQueue *queue)
 
void setup ()
 
Low-level bind methods for global interfaces.
wl_compositor * bindCompositor (uint32_t name, uint32_t version) const
 
wl_shell * bindShell (uint32_t name, uint32_t version) const
 
wl_seat * bindSeat (uint32_t name, uint32_t version) const
 
wl_shm * bindShm (uint32_t name, uint32_t version) const
 
org_kde_kwin_outputmanagement * bindOutputManagement (uint32_t name, uint32_t version) const
 
wl_output * bindOutput (uint32_t name, uint32_t version) const
 
wl_subcompositor * bindSubCompositor (uint32_t name, uint32_t version) const
 
org_kde_kwin_outputdevice * bindOutputDevice (uint32_t name, uint32_t version) const
 
_wl_fullscreen_shell * bindFullscreenShell (uint32_t name, uint32_t version) const
 
wl_data_device_manager * bindDataDeviceManager (uint32_t name, uint32_t version) const
 
org_kde_plasma_shell * bindPlasmaShell (uint32_t name, uint32_t version) const
 
org_kde_plasma_activation_feedback * bindPlasmaActivationFeedback (uint32_t name, uint32_t version) const
 
org_kde_plasma_virtual_desktop_management * bindPlasmaVirtualDesktopManagement (uint32_t name, uint32_t version) const
 
org_kde_plasma_window_management * bindPlasmaWindowManagement (uint32_t name, uint32_t version) const
 
org_kde_kwin_idle * bindIdle (uint32_t name, uint32_t version) const
 
org_kde_kwin_keystate * bindKeystate (uint32_t name, uint32_t version) const
 
org_kde_kwin_remote_access_manager * bindRemoteAccessManager (uint32_t name, uint32_t version) const
 
org_kde_kwin_fake_input * bindFakeInput (uint32_t name, uint32_t version) const
 
org_kde_kwin_shadow_manager * bindShadowManager (uint32_t name, uint32_t version) const
 
org_kde_kwin_blur_manager * bindBlurManager (uint32_t name, uint32_t version) const
 
org_kde_kwin_contrast_manager * bindContrastManager (uint32_t name, uint32_t version) const
 
org_kde_kwin_slide_manager * bindSlideManager (uint32_t name, uint32_t version) const
 
org_kde_kwin_dpms_manager * bindDpmsManager (uint32_t name, uint32_t version) const
 
org_kde_kwin_server_decoration_manager * bindServerSideDecorationManager (uint32_t name, uint32_t version) const
 
wl_text_input_manager * bindTextInputManagerUnstableV0 (uint32_t name, uint32_t version) const
 
zwp_text_input_manager_v2 * bindTextInputManagerUnstableV2 (uint32_t name, uint32_t version) const
 
xdg_shell * bindXdgShellUnstableV5 (uint32_t name, uint32_t version) const
 
zxdg_shell_v6 * bindXdgShellUnstableV6 (uint32_t name, uint32_t version) const
 
xdg_wm_base * bindXdgShellStable (uint32_t name, uint32_t version) const
 
zwp_relative_pointer_manager_v1 * bindRelativePointerManagerUnstableV1 (uint32_t name, uint32_t version) const
 
zwp_pointer_gestures_v1 * bindPointerGesturesUnstableV1 (uint32_t name, uint32_t version) const
 
zwp_pointer_constraints_v1 * bindPointerConstraintsUnstableV1 (uint32_t name, uint32_t version) const
 
zxdg_exporter_v2 * bindXdgExporterUnstableV2 (uint32_t name, uint32_t version) const
 
zxdg_importer_v2 * bindXdgImporterUnstableV2 (uint32_t name, uint32_t version) const
 
zwp_idle_inhibit_manager_v1 * bindIdleInhibitManagerUnstableV1 (uint32_t name, uint32_t version) const
 
org_kde_kwin_appmenu_manager * bindAppMenuManager (uint32_t name, uint32_t version) const
 
org_kde_kwin_server_decoration_palette_manager * bindServerSideDecorationPaletteManager (uint32_t name, uint32_t version) const
 
zxdg_output_manager_v1 * bindXdgOutputUnstableV1 (uint32_t name, uint32_t version) const
 
zxdg_decoration_manager_v1 * bindXdgDecorationUnstableV1 (uint32_t name, uint32_t version) const
 
Convenient factory methods for global objects.
CompositorcreateCompositor (quint32 name, quint32 version, QObject *parent=nullptr)
 
ShellcreateShell (quint32 name, quint32 version, QObject *parent=nullptr)
 
SeatcreateSeat (quint32 name, quint32 version, QObject *parent=nullptr)
 
ShmPoolcreateShmPool (quint32 name, quint32 version, QObject *parent=nullptr)
 
SubCompositorcreateSubCompositor (quint32 name, quint32 version, QObject *parent=nullptr)
 
OutputcreateOutput (quint32 name, quint32 version, QObject *parent=nullptr)
 
OutputManagementcreateOutputManagement (quint32 name, quint32 version, QObject *parent=nullptr)
 
OutputDevicecreateOutputDevice (quint32 name, quint32 version, QObject *parent=nullptr)
 
FullscreenShellcreateFullscreenShell (quint32 name, quint32 version, QObject *parent=nullptr)
 
DataDeviceManagercreateDataDeviceManager (quint32 name, quint32 version, QObject *parent=nullptr)
 
PlasmaShellcreatePlasmaShell (quint32 name, quint32 version, QObject *parent=nullptr)
 
PlasmaActivationFeedbackcreatePlasmaActivationFeedback (quint32 name, quint32 version, QObject *parent=nullptr)
 
PlasmaVirtualDesktopManagementcreatePlasmaVirtualDesktopManagement (quint32 name, quint32 version, QObject *parent=nullptr)
 
PlasmaWindowManagementcreatePlasmaWindowManagement (quint32 name, quint32 version, QObject *parent=nullptr)
 
IdlecreateIdle (quint32 name, quint32 version, QObject *parent=nullptr)
 
Keystate * createKeystate (quint32 name, quint32 version, QObject *parent=nullptr)
 
RemoteAccessManagercreateRemoteAccessManager (quint32 name, quint32 version, QObject *parent=nullptr)
 
FakeInputcreateFakeInput (quint32 name, quint32 version, QObject *parent=nullptr)
 
ShadowManagercreateShadowManager (quint32 name, quint32 version, QObject *parent=nullptr)
 
BlurManagercreateBlurManager (quint32 name, quint32 version, QObject *parent=nullptr)
 
ContrastManagercreateContrastManager (quint32 name, quint32 version, QObject *parent=nullptr)
 
SlideManagercreateSlideManager (quint32 name, quint32 version, QObject *parent=nullptr)
 
DpmsManagercreateDpmsManager (quint32 name, quint32 version, QObject *parent=nullptr)
 
ServerSideDecorationManagercreateServerSideDecorationManager (quint32 name, quint32 version, QObject *parent=nullptr)
 
TextInputManagercreateTextInputManager (quint32 name, quint32 version, QObject *parent=nullptr)
 
XdgShellcreateXdgShell (quint32 name, quint32 version, QObject *parent=nullptr)
 
RelativePointerManagercreateRelativePointerManager (quint32 name, quint32 version, QObject *parent=nullptr)
 
PointerGesturescreatePointerGestures (quint32 name, quint32 version, QObject *parent=nullptr)
 
PointerConstraintscreatePointerConstraints (quint32 name, quint32 version, QObject *parent=nullptr)
 
XdgExportercreateXdgExporter (quint32 name, quint32 version, QObject *parent=nullptr)
 
XdgImportercreateXdgImporter (quint32 name, quint32 version, QObject *parent=nullptr)
 
IdleInhibitManagercreateIdleInhibitManager (quint32 name, quint32 version, QObject *parent=nullptr)
 
AppMenuManagercreateAppMenuManager (quint32 name, quint32 version, QObject *parent=nullptr)
 
ServerSideDecorationPaletteManagercreateServerSideDecorationPaletteManager (quint32 name, quint32 version, QObject *parent=nullptr)
 
XdgOutputManagercreateXdgOutputManager (quint32 name, quint32 version, QObject *parent=nullptr)
 
XdgDecorationManagercreateXdgDecorationManager (quint32 name, quint32 version, QObject *parent=nullptr)
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
bool blockSignals (bool block)
 
const QObjectListchildren () const const
 
QMetaObject::Connection connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method) const const
 
bool disconnect (const QObject *receiver, const char *method) const const
 
void dumpObjectInfo ()
 
void dumpObjectInfo () const const
 
void dumpObjectTree ()
 
void dumpObjectTree () const const
 
QList< QByteArraydynamicPropertyNames () const const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
findChild (const QString &name, Qt::FindChildOptions options) const const
 
QList< T > findChildren (const QRegExp &regExp, Qt::FindChildOptions options) const const
 
QList< T > findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const const
 
QList< T > findChildren (const QString &name, Qt::FindChildOptions options) const const
 
bool inherits (const char *className) const const
 
void installEventFilter (QObject *filterObj)
 
bool isWidgetType () const const
 
bool isWindowType () const const
 
void killTimer (int id)
 
virtual const QMetaObjectmetaObject () const const
 
void moveToThread (QThread *targetThread)
 
QString objectName () const const
 
void objectNameChanged (const QString &objectName)
 
QObjectparent () const const
 
QVariant property (const char *name) const const
 
 Q_CLASSINFO (Name, Value)
 
 Q_DISABLE_COPY (Class)
 
 Q_DISABLE_COPY_MOVE (Class)
 
 Q_DISABLE_MOVE (Class)
 
 Q_EMIT Q_EMIT
 
 Q_ENUM (...)
 
 Q_ENUM_NS (...)
 
 Q_ENUMS (...)
 
 Q_FLAG (...)
 
 Q_FLAG_NS (...)
 
 Q_FLAGS (...)
 
 Q_GADGET Q_GADGET
 
 Q_INTERFACES (...)
 
 Q_INVOKABLE Q_INVOKABLE
 
 Q_NAMESPACE Q_NAMESPACE
 
 Q_NAMESPACE_EXPORT (EXPORT_MACRO)
 
 Q_OBJECT Q_OBJECT
 
 Q_PROPERTY (...)
 
 Q_REVISION Q_REVISION
 
 Q_SET_OBJECT_NAME (Object)
 
 Q_SIGNAL Q_SIGNAL
 
 Q_SIGNALS Q_SIGNALS
 
 Q_SLOT Q_SLOT
 
 Q_SLOTS Q_SLOTS
 
qFindChild (const QObject *obj, const QString &name)
 
QList< T > qFindChildren (const QObject *obj, const QRegExp &regExp)
 
QList< T > qFindChildren (const QObject *obj, const QString &name)
 
qobject_cast (const QObject *object)
 
qobject_cast (QObject *object)
 
 QT_NO_NARROWING_CONVERSIONS_IN_CONNECT QT_NO_NARROWING_CONVERSIONS_IN_CONNECT
 
void removeEventFilter (QObject *obj)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool signalsBlocked () const const
 
int startTimer (int interval, Qt::TimerType timerType)
 
int startTimer (std::chrono::milliseconds time, Qt::TimerType timerType)
 
QThreadthread () const const
 

Additional Inherited Members

- Properties inherited from QObject
 objectName
 
- Static Public Member Functions inherited from QObject
QMetaObject::Connection connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, Functor functor)
 
bool disconnect (const QMetaObject::Connection &connection)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
bool disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 
- Public Attributes inherited from QObject
typedef QObjectList
 
- Protected Member Functions inherited from QObject
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const QMetaMethod &signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const QMetaMethod &signal)
 
bool isSignalConnected (const QMetaMethod &signal) const const
 
int receivers (const char *signal) const const
 
QObjectsender () const const
 
int senderSignalIndex () const const
 
virtual void timerEvent (QTimerEvent *event)
 

Detailed Description

Wrapper for the wl_registry interface.

The purpose of this class is to manage the wl_registry interface. This class supports some well-known interfaces and can create a wrapper class for those.

The main purpose is to emit signals whenever a new interface is added or an existing interface is removed. For the well known interfaces dedicated signals are emitted allowing a user to connect directly to the signal announcing the interface it is interested in.

To create and setup the Registry one needs to call create with either a wl_display from an existing Wayland connection or a ConnectionThread instance:

ConnectionThread *connection; // existing connection
Registry registry;
registry.create(connection);
registry.setup();

The interfaces are announced in an asynchronous way by the Wayland server. To initiate the announcing of the interfaces one needs to call setup.

Definition at line 129 of file registry.h.

Member Enumeration Documentation

◆ Interface

The well-known interfaces this Registry supports.

For each of the enum values the Registry is able to create a Wrapper object.

Enumerator
Unknown 

Refers to an Unknown interface.

Compositor 

Refers to the wl_compositor interface.

Shell 

Refers to the wl_shell interface.

Seat 

Refers to the wl_seat interface.

Shm 

Refers to the wl_shm interface.

Output 

Refers to the wl_output interface.

FullscreenShell 

Refers to the _wl_fullscreen_shell interface.

SubCompositor 

Refers to the wl_subcompositor interface;.

DataDeviceManager 

Refers to the wl_data_device_manager interface.

PlasmaShell 

Refers to org_kde_plasma_shell interface.

PlasmaWindowManagement 

Refers to org_kde_plasma_window_management interface.

Idle 

Refers to org_kde_kwin_idle_interface interface.

FakeInput 

Refers to org_kde_kwin_fake_input interface.

Shadow 

Refers to org_kde_kwin_shadow_manager interface.

Blur 

refers to org_kde_kwin_blur_manager interface

Contrast 

refers to org_kde_kwin_contrast_manager interface

Slide 

refers to org_kde_kwin_slide_manager

Dpms 

Refers to org_kde_kwin_dpms_manager interface.

OutputManagement 

Refers to the wl_data_device_manager interface.

OutputDevice 

Refers to the org_kde_kwin_outputdevice interface.

ServerSideDecorationManager 

Refers to org_kde_kwin_server_decoration_manager.

TextInputManagerUnstableV0 

Refers to wl_text_input_manager.

Since
5.23
TextInputManagerUnstableV2 

Refers to zwp_text_input_manager_v2.

Since
5.23
XdgShellUnstableV5 

Refers to xdg_shell (unstable version 5)

Since
5.25
RelativePointerManagerUnstableV1 

Refers to zwp_relative_pointer_manager_v1.

Since
5.28
PointerGesturesUnstableV1 

Refers to zwp_pointer_gestures_v1.

Since
5.29
PointerConstraintsUnstableV1 

Refers to zwp_pointer_constraints_v1.

Since
5.29
XdgExporterUnstableV2 

refers to zxdg_exporter_v2

Since
5.40
XdgImporterUnstableV2 

refers to zxdg_importer_v2

Since
5.40
XdgShellUnstableV6 

Refers to zxdg_shell_v6 (unstable version 6)

Since
5.39
IdleInhibitManagerUnstableV1 

Refers to zwp_idle_inhibit_manager_v1 (unstable version 1)

Since
5.41
AppMenu 

Refers to org_kde_kwin_appmenu.

Since
5.42
ServerSideDecorationPalette 

Refers to org_kde_kwin_server_decoration_palette_manager.

Since
5.42
RemoteAccessManager 

Refers to org_kde_kwin_remote_access_manager interface.

Since
5.45
PlasmaVirtualDesktopManagement 

Refers to org_kde_plasma_virtual_desktop_management interface.

Since
5.52
XdgOutputUnstableV1 

refers to zxdg_output_v1

Since
5.47
XdgShellStable 

refers to xdg_wm_base

Since
5.48
XdgDecorationUnstableV1 

refers to zxdg_decoration_manager_v1

Since
5.54
Keystate 

refers to org_kwin_keystate

Since
5.60
PlasmaActivationFeedback 

Refers to org_kde_plasma_activation_feedback interface,.

Since
5.83

Definition at line 138 of file registry.h.

Member Function Documentation

◆ appMenuAnnounced

void KWayland::Client::Registry::appMenuAnnounced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a org_kde_kwin_appmenu_manager interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface
Since
5.42

◆ appMenuRemoved

void KWayland::Client::Registry::appMenuRemoved ( quint32  name)
signal

Emitted whenever a org_kde_kwin_appmenu_manager gets removed.

Parameters
nameThe name of the removed interface
Since
5.42

◆ bindAppMenuManager()

org_kde_kwin_appmenu_manager* KWayland::Client::Registry::bindAppMenuManager ( uint32_t  name,
uint32_t  version 
) const

Binds the org_kde_kwin_appmenu_manager with name and version.

If the name does not exist or is not for the appmenu manager interface, null will be returned.

Prefer using createAppMenuManager instead.

See also
createAppMenuManager
Since
5.42

◆ bindBlurManager()

org_kde_kwin_blur_manager* KWayland::Client::Registry::bindBlurManager ( uint32_t  name,
uint32_t  version 
) const

Binds the org_kde_kwin_blur_manager with name and version.

If the name does not exist or is not for the blur manager interface, null will be returned.

Prefer using createBlurManager instead.

See also
createBlurManager
Since
5.5

◆ bindCompositor()

wl_compositor* KWayland::Client::Registry::bindCompositor ( uint32_t  name,
uint32_t  version 
) const

Binds the wl_compositor with name and version.

If the name does not exist or is not for the compositor interface, null will be returned.

Prefer using createCompositor instead.

See also
createCompositor

◆ bindContrastManager()

org_kde_kwin_contrast_manager* KWayland::Client::Registry::bindContrastManager ( uint32_t  name,
uint32_t  version 
) const

Binds the org_kde_kwin_contrast_manager with name and version.

If the name does not exist or is not for the contrast manager interface, null will be returned.

Prefer using createContrastManager instead.

See also
createContrastManager
Since
5.5

◆ bindDataDeviceManager()

wl_data_device_manager* KWayland::Client::Registry::bindDataDeviceManager ( uint32_t  name,
uint32_t  version 
) const

Binds the wl_data_device_manager with name and version.

If the name does not exist or is not for the data device manager interface, null will be returned.

Prefer using createDataDeviceManager instead.

See also
createDataDeviceManager

◆ bindDpmsManager()

org_kde_kwin_dpms_manager* KWayland::Client::Registry::bindDpmsManager ( uint32_t  name,
uint32_t  version 
) const

Binds the org_kde_kwin_dpms_manager with name and version.

If the name does not exist or is not for the dpms manager interface, null will be returned.

Prefer using createDpmsManager instead.

See also
createDpmsManager
Since
5.5

◆ bindFakeInput()

org_kde_kwin_fake_input* KWayland::Client::Registry::bindFakeInput ( uint32_t  name,
uint32_t  version 
) const

Binds the org_kde_kwin_fake_input with name and version.

If the name does not exist or is not for the fake input interface, null will be returned.

Prefer using createFakeInput instead.

See also
createFakeInput
Since
5.4

◆ bindFullscreenShell()

_wl_fullscreen_shell* KWayland::Client::Registry::bindFullscreenShell ( uint32_t  name,
uint32_t  version 
) const

Binds the _wl_fullscreen_shell with name and version.

If the name does not exist or is not for the fullscreen shell interface, null will be returned.

Prefer using createFullscreenShell instead.

See also
createFullscreenShell

◆ bindIdle()

org_kde_kwin_idle* KWayland::Client::Registry::bindIdle ( uint32_t  name,
uint32_t  version 
) const

Binds the org_kde_kwin_idle with name and version.

If the name does not exist or is not for the idle interface, null will be returned.

Prefer using createIdle instead.

See also
createIdle
Since
5.4

◆ bindIdleInhibitManagerUnstableV1()

zwp_idle_inhibit_manager_v1* KWayland::Client::Registry::bindIdleInhibitManagerUnstableV1 ( uint32_t  name,
uint32_t  version 
) const

Binds the zwp_idle_inhibit_manager_v1 with name and version.

If the name does not exists or is not for the idle inhibit manager in unstable version 1, null will be returned.

Prefer using createIdleInhibitManager

Since
5.41

◆ bindKeystate()

org_kde_kwin_keystate* KWayland::Client::Registry::bindKeystate ( uint32_t  name,
uint32_t  version 
) const

Binds the org_kde_kwin_keystate with name and version.

If the name does not exist or is not for the keystate interface, null will be returned.

Prefer using createKeystate instead.

See also
createKeystate
Since
5.60

◆ bindOutput()

wl_output* KWayland::Client::Registry::bindOutput ( uint32_t  name,
uint32_t  version 
) const

Binds the org_kde_kwin_outputdevice with name and version.

If the name does not exist or is not for the outputdevice interface, null will be returned.

Prefer using createOutputDevice instead.

See also
createOutputDevice

◆ bindOutputDevice()

org_kde_kwin_outputdevice* KWayland::Client::Registry::bindOutputDevice ( uint32_t  name,
uint32_t  version 
) const

Binds the wl_output with name and version.

If the name does not exist or is not for the output interface, null will be returned.

Prefer using createOutput instead.

See also
createOutput
Since
5.5

◆ bindOutputManagement()

org_kde_kwin_outputmanagement* KWayland::Client::Registry::bindOutputManagement ( uint32_t  name,
uint32_t  version 
) const

Binds the org_kde_kwin_outputmanagement with name and version.

If the name does not exist or is not for the outputmanagement interface, null will be returned.

Prefer using createOutputManagement instead.

See also
createOutputManagement

◆ bindPlasmaActivationFeedback()

org_kde_plasma_activation_feedback* KWayland::Client::Registry::bindPlasmaActivationFeedback ( uint32_t  name,
uint32_t  version 
) const

Binds the org_kde_plasma_activation_feedback with name and version.

If the name does not exist or is not for the Plasma activation manager interface, null will be returned.

Prefer using createPlasmaActivationFeedback instead.

See also
createPlasmaActivationFeedback
Since
5.83

◆ bindPlasmaShell()

org_kde_plasma_shell* KWayland::Client::Registry::bindPlasmaShell ( uint32_t  name,
uint32_t  version 
) const

Binds the org_kde_plasma_shell with name and version.

If the name does not exist or is not for the Plasma shell interface, null will be returned.

Prefer using createPlasmaShell instead.

See also
createPlasmaShell
Since
5.4

◆ bindPlasmaVirtualDesktopManagement()

org_kde_plasma_virtual_desktop_management* KWayland::Client::Registry::bindPlasmaVirtualDesktopManagement ( uint32_t  name,
uint32_t  version 
) const

Binds the org_kde_plasma_virtual_desktop_management with name and version.

If the name does not exist or is not for the Plasma Virtual desktop interface, null will be returned.

Prefer using createPlasmaShell instead.

See also
createPlasmaShell
Since
5.52

◆ bindPlasmaWindowManagement()

org_kde_plasma_window_management* KWayland::Client::Registry::bindPlasmaWindowManagement ( uint32_t  name,
uint32_t  version 
) const

Binds the org_kde_plasma_window_management with name and version.

If the name does not exist or is not for the Plasma window management interface, null will be returned.

Prefer using createPlasmaWindowManagement instead.

See also
createPlasmaWindowManagement
Since
5.46

◆ bindPointerConstraintsUnstableV1()

zwp_pointer_constraints_v1* KWayland::Client::Registry::bindPointerConstraintsUnstableV1 ( uint32_t  name,
uint32_t  version 
) const

Binds the zwp_pointer_constraints_v1 with name and version.

If the name does not exist or is not for the pointer constraints interface in unstable version 1, null will be returned.

Prefer using createPointerConstraints instead.

See also
createPointerConstraints
Since
5.29

◆ bindPointerGesturesUnstableV1()

zwp_pointer_gestures_v1* KWayland::Client::Registry::bindPointerGesturesUnstableV1 ( uint32_t  name,
uint32_t  version 
) const

Binds the zwp_pointer_gestures_v1 with name and version.

If the name does not exist or is not for the pointer gestures interface in unstable version 1, null will be returned.

Prefer using createPointerGestures instead.

See also
createPointerGestures
Since
5.29

◆ bindRelativePointerManagerUnstableV1()

zwp_relative_pointer_manager_v1* KWayland::Client::Registry::bindRelativePointerManagerUnstableV1 ( uint32_t  name,
uint32_t  version 
) const

Binds the zwp_relative_pointer_manager_v1 with name and version.

If the name does not exist or is not for the relative pointer interface in unstable version 1, null will be returned.

Prefer using createRelativePointerManager instead.

See also
createRelativePointerManager
Since
5.28

◆ bindRemoteAccessManager()

org_kde_kwin_remote_access_manager* KWayland::Client::Registry::bindRemoteAccessManager ( uint32_t  name,
uint32_t  version 
) const

Binds the org_kde_kwin_remote_access_manager with name and version.

If the name does not exist or is not for the idle interface, null will be returned.

Prefer using createRemoteAccessManager instead.

See also
createRemoteAccessManager
Since
5.45

◆ bindSeat()

wl_seat* KWayland::Client::Registry::bindSeat ( uint32_t  name,
uint32_t  version 
) const

Binds the wl_seat with name and version.

If the name does not exist or is not for the seat interface, null will be returned.

Prefer using createSeat instead.

See also
createSeat

◆ bindServerSideDecorationManager()

org_kde_kwin_server_decoration_manager* KWayland::Client::Registry::bindServerSideDecorationManager ( uint32_t  name,
uint32_t  version 
) const

Binds the org_kde_kwin_server_decoration_manager with name and version.

If the name does not exist or is not for the server side decoration manager interface, null will be returned.

Prefer using createServerSideDecorationManager instead.

See also
createServerSideDecorationManager
Since
5.6

◆ bindServerSideDecorationPaletteManager()

org_kde_kwin_server_decoration_palette_manager* KWayland::Client::Registry::bindServerSideDecorationPaletteManager ( uint32_t  name,
uint32_t  version 
) const

Binds the org_kde_kwin_server_decoration_palette_manager with name and version.

If the name does not exist or is not for the server side decoration palette manager interface, null will be returned.

Prefer using createServerSideDecorationPaletteManager instead.

See also
createServerSideDecorationPaletteManager
Since
5.42

◆ bindShadowManager()

org_kde_kwin_shadow_manager* KWayland::Client::Registry::bindShadowManager ( uint32_t  name,
uint32_t  version 
) const

Binds the org_kde_kwin_shadow_manager with name and version.

If the name does not exist or is not for the shadow manager interface, null will be returned.

Prefer using createShadowManager instead.

See also
createShadowManager
Since
5.4

◆ bindShell()

wl_shell* KWayland::Client::Registry::bindShell ( uint32_t  name,
uint32_t  version 
) const

Binds the wl_shell with name and version.

If the name does not exist or is not for the shell interface, null will be returned.

Prefer using createShell instead.

See also
createShell

◆ bindShm()

wl_shm* KWayland::Client::Registry::bindShm ( uint32_t  name,
uint32_t  version 
) const

Binds the wl_shm with name and version.

If the name does not exist or is not for the shm interface, null will be returned.

Prefer using createShmPool instead.

See also
createShmPool

◆ bindSlideManager()

org_kde_kwin_slide_manager* KWayland::Client::Registry::bindSlideManager ( uint32_t  name,
uint32_t  version 
) const

Binds the org_kde_kwin_slide_manager with name and version.

If the name does not exist or is not for the slide manager interface, null will be returned.

Prefer using createSlideManager instead.

See also
createSlideManager
Since
5.5

◆ bindSubCompositor()

wl_subcompositor* KWayland::Client::Registry::bindSubCompositor ( uint32_t  name,
uint32_t  version 
) const

Binds the wl_subcompositor with name and version.

If the name does not exist or is not for the subcompositor interface, null will be returned.

Prefer using createSubCompositor instead.

See also
createSubCompositor

◆ bindTextInputManagerUnstableV0()

wl_text_input_manager* KWayland::Client::Registry::bindTextInputManagerUnstableV0 ( uint32_t  name,
uint32_t  version 
) const

Binds the wl_text_input_manager with name and version.

If the name does not exist or is not for the text input interface in unstable version 0, null will be returned.

Prefer using createTextInputManager instead.

See also
createTextInputManager
Since
5.23

◆ bindTextInputManagerUnstableV2()

zwp_text_input_manager_v2* KWayland::Client::Registry::bindTextInputManagerUnstableV2 ( uint32_t  name,
uint32_t  version 
) const

Binds the zwp_text_input_manager_v2 with name and version.

If the name does not exist or is not for the text input interface in unstable version 2, null will be returned.

Prefer using createTextInputManager instead.

See also
createTextInputManager
Since
5.23

◆ bindXdgDecorationUnstableV1()

zxdg_decoration_manager_v1* KWayland::Client::Registry::bindXdgDecorationUnstableV1 ( uint32_t  name,
uint32_t  version 
) const

Binds the zxdg_decoration_manager_v1 with name and version.

If the name does not exist, null will be returned.

Prefer using createXdgDecorationManager instead.

See also
createXdgDecorationManager
Since
5.54

◆ bindXdgExporterUnstableV2()

zxdg_exporter_v2* KWayland::Client::Registry::bindXdgExporterUnstableV2 ( uint32_t  name,
uint32_t  version 
) const

Binds the zxdg_exporter_v2 with name and version.

If the name does not exists or isnot for the exporter extension in unstable version 1, null will be returned.

Prefer using createXdgExporter

Since
5.40

◆ bindXdgImporterUnstableV2()

zxdg_importer_v2* KWayland::Client::Registry::bindXdgImporterUnstableV2 ( uint32_t  name,
uint32_t  version 
) const

Binds the zxdg_importer_v2 with name and version.

If the name does not exists or isnot for the importer extension in unstable version 1, null will be returned.

Prefer using createXdgImporter

Since
5.40

◆ bindXdgOutputUnstableV1()

zxdg_output_manager_v1* KWayland::Client::Registry::bindXdgOutputUnstableV1 ( uint32_t  name,
uint32_t  version 
) const

Binds the zxdg_output_v1 with name and version.

If the name does not exist, null will be returned.

Prefer using createXdgOutputManager instead.

See also
createXdgOutputManager
Since
5.47

◆ bindXdgShellStable()

xdg_wm_base* KWayland::Client::Registry::bindXdgShellStable ( uint32_t  name,
uint32_t  version 
) const

Binds the zxdg_shell_v6 (unstable version 6) with name and version.

If the name does not exist or is not for the xdg shell interface in unstable version 5, null will be returned.

Prefer using createXdgShell instead.

See also
createXdgShell
Since
5.39

◆ bindXdgShellUnstableV5()

xdg_shell* KWayland::Client::Registry::bindXdgShellUnstableV5 ( uint32_t  name,
uint32_t  version 
) const

Binds the xdg_shell (unstable version 5) with name and version.

If the name does not exist or is not for the xdg shell interface in unstable version 5, null will be returned.

Prefer using createXdgShell instead.

See also
createXdgShell
Since
5.25

◆ bindXdgShellUnstableV6()

zxdg_shell_v6* KWayland::Client::Registry::bindXdgShellUnstableV6 ( uint32_t  name,
uint32_t  version 
) const

Binds the zxdg_shell_v6 (unstable version 6) with name and version.

If the name does not exist or is not for the xdg shell interface in unstable version 5, null will be returned.

Prefer using createXdgShell instead.

See also
createXdgShell
Since
5.39

◆ blurAnnounced

void KWayland::Client::Registry::blurAnnounced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a org_kde_kwin_blur_manager interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface
Since
5.5

◆ blurRemoved

void KWayland::Client::Registry::blurRemoved ( quint32  name)
signal

Emitted whenever a org_kde_kwin_blur_manager interface gets removed.

Parameters
nameThe name for the removed interface
Since
5.5

◆ compositorAnnounced

void KWayland::Client::Registry::compositorAnnounced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a wl_compositor interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface

◆ compositorRemoved

void KWayland::Client::Registry::compositorRemoved ( quint32  name)
signal

Emitted whenever a wl_compositor interface gets removed.

Parameters
nameThe name for the removed interface

◆ contrastAnnounced

void KWayland::Client::Registry::contrastAnnounced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a org_kde_kwin_contrast_manager interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface
Since
5.5

◆ contrastRemoved

void KWayland::Client::Registry::contrastRemoved ( quint32  name)
signal

Emitted whenever a org_kde_kwin_contrast_manager interface gets removed.

Parameters
nameThe name for the removed interface
Since
5.5

◆ create() [1/2]

void KWayland::Client::Registry::create ( ConnectionThread connection)

Gets the registry from the connection.

Definition at line 503 of file registry.cpp.

◆ create() [2/2]

void KWayland::Client::Registry::create ( wl_display *  display)

Gets the registry from the display.

Definition at line 491 of file registry.cpp.

◆ createAppMenuManager()

AppMenuManager* KWayland::Client::Registry::createAppMenuManager ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates a AppMenuManager and sets it up to manage the interface identified by name and version.

Note: in case name is invalid or isn't for the org_kde_kwin_appmenu_manager interface, the returned AppMenuManager will not be valid. Therefore it's recommended to call isValid on the created instance.

Parameters
nameThe name of the org_kde_kwin_appmenu_manager interface to bind
versionThe version or the org_kde_kwin_appmenu_manager interface to use
parentThe parent for AppMenuManager
Returns
The created AppMenuManager.
Since
5.42

◆ createBlurManager()

BlurManager* KWayland::Client::Registry::createBlurManager ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates a BlurManager and sets it up to manage the interface identified by name and version.

Note: in case name is invalid or isn't for the org_kde_kwin_blur_manager interface, the returned BlurManager will not be valid. Therefore it's recommended to call isValid on the created instance.

Parameters
nameThe name of the org_kde_kwin_blur_manager interface to bind
versionThe version or the org_kde_kwin_blur_manager interface to use
parentThe parent for BlurManager
Returns
The created BlurManager.
Since
5.5

◆ createCompositor()

Compositor* KWayland::Client::Registry::createCompositor ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates a Compositor and sets it up to manage the interface identified by name and version.

Note: in case name is invalid or isn't for the wl_compositor interface, the returned Compositor will not be valid. Therefore it's recommended to call isValid on the created instance.

Parameters
nameThe name of the wl_compositor interface to bind
versionThe version or the wl_compositor interface to use
parentThe parent for Compositor
Returns
The created Compositor.

◆ createContrastManager()

ContrastManager* KWayland::Client::Registry::createContrastManager ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates a ContrastManager and sets it up to manage the interface identified by name and version.

Note: in case name is invalid or isn't for the org_kde_kwin_contrast_manager interface, the returned ContrastManager will not be valid. Therefore it's recommended to call isValid on the created instance.

Parameters
nameThe name of the org_kde_kwin_contrast_manager interface to bind
versionThe version or the org_kde_kwin_contrast_manager interface to use
parentThe parent for ContrastManager
Returns
The created ContrastManager.
Since
5.5

◆ createDataDeviceManager()

DataDeviceManager* KWayland::Client::Registry::createDataDeviceManager ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates a DataDeviceManager and sets it up to manage the interface identified by name and version.

Note: in case name is invalid or isn't for the wl_data_device_manager interface, the returned DataDeviceManager will not be valid. Therefore it's recommended to call isValid on the created instance.

Parameters
nameThe name of the wl_data_device_manager interface to bind
versionThe version or the wl_data_device_manager interface to use
parentThe parent for DataDeviceManager
Returns
The created DataDeviceManager.

◆ createDpmsManager()

DpmsManager* KWayland::Client::Registry::createDpmsManager ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates a DpmsManager and sets it up to manage the interface identified by name and version.

Note: in case name is invalid or isn't for the org_kde_kwin_dpms_manager interface, the returned DpmsManager will not be valid. Therefore it's recommended to call isValid on the created instance.

Parameters
nameThe name of the org_kde_kwin_dpms_manager interface to bind
versionThe version or the org_kde_kwin_dpms_manager interface to use
parentThe parent for DpmsManager
Returns
The created DpmsManager.
Since
5.5

◆ createFakeInput()

FakeInput* KWayland::Client::Registry::createFakeInput ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates a FakeInput and sets it up to manage the interface identified by name and version.

Note: in case name is invalid or isn't for the org_kde_kwin_fake_input interface, the returned FakeInput will not be valid. Therefore it's recommended to call isValid on the created instance.

Parameters
nameThe name of the org_kde_kwin_fake_input interface to bind
versionThe version or the org_kde_kwin_fake_input interface to use
parentThe parent for FakeInput
Returns
The created FakeInput.
Since
5.4

◆ createFullscreenShell()

FullscreenShell* KWayland::Client::Registry::createFullscreenShell ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates a FullscreenShell and sets it up to manage the interface identified by name and version.

Note: in case name is invalid or isn't for the _wl_fullscreen_shell interface, the returned FullscreenShell will not be valid. Therefore it's recommended to call isValid on the created instance.

Parameters
nameThe name of the _wl_fullscreen_shell interface to bind
versionThe version or the _wl_fullscreen_shell interface to use
parentThe parent for FullscreenShell
Returns
The created FullscreenShell.
Since
5.5

◆ createIdle()

Idle* KWayland::Client::Registry::createIdle ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates an Idle and sets it up to manage the interface identified by name and version.

Note: in case name is invalid or isn't for the org_kde_kwin_idle interface, the returned Idle will not be valid. Therefore it's recommended to call isValid on the created instance.

Parameters
nameThe name of the org_kde_kwin_idle interface to bind
versionThe version or the org_kde_kwin_idle interface to use
parentThe parent for Idle
Returns
The created Idle.
Since
5.4

◆ createIdleInhibitManager()

IdleInhibitManager * KWayland::Client::Registry::createIdleInhibitManager ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates an IdleInhibitManager and sets it up to manage the interface identified by name and version.

This factory method supports the following interfaces:

  • zwp_idle_inhibit_manager_v1

If name is for one of the supported interfaces the corresponding manager will be created, otherwise null will be returned.

Returns
The created IdleInhibitManager
Since
5.41

Definition at line 844 of file registry.cpp.

◆ createKeystate()

Keystate* KWayland::Client::Registry::createKeystate ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates a Keystate and sets it up to manage the interface identified by name and version.

Note: in case name is invalid or isn't for the org_kde_kwin_keystate interface, the returned Keystate will not be valid. Therefore it's recommended to call isValid on the created instance.

Parameters
nameThe name of the org_kde_kwin_keystate interface to bind
versionThe version or the org_kde_kwin_keystate interface to use
parentThe parent for Keystate
Returns
The created Keystate.
Since
5.60

◆ createOutput()

Output* KWayland::Client::Registry::createOutput ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates an Output and sets it up to manage the interface identified by name and version.

Note: in case name is invalid or isn't for the wl_output interface, the returned Output will not be valid. Therefore it's recommended to call isValid on the created instance.

Parameters
nameThe name of the wl_output interface to bind
versionThe version or the wl_output interface to use
parentThe parent for Output
Returns
The created Output.

◆ createOutputDevice()

OutputDevice* KWayland::Client::Registry::createOutputDevice ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates an OutputDevice and sets it up to manage the interface identified by name and version.

Note: in case name is invalid or isn't for the org_kde_kwin_outputdevice interface, the returned OutputDevice will not be valid. Therefore it's recommended to call isValid on the created instance.

Parameters
nameThe name of the org_kde_kwin_outputdevice interface to bind
versionThe version or the org_kde_kwin_outputdevice interface to use
parentThe parent for OutputDevice
Returns
The created Output.
Since
5.5

◆ createOutputManagement()

OutputManagement* KWayland::Client::Registry::createOutputManagement ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates an KWinOutputManagement and sets it up to manage the interface identified by name and version.

Note: in case name is invalid or isn't for the wl_output interface, the returned KWinConnectors will not be valid. Therefore it's recommended to call isValid on the created instance.

Parameters
nameThe name of the org_kde_kwin_outputmanagement interface to bind
versionThe version or the org_kde_kwin_outputmanagement interface to use
parentThe parent for KWinOutputManagement
Returns
The created KWinOutputManagement.
Since
5.5

◆ createPlasmaActivationFeedback()

PlasmaActivationFeedback* KWayland::Client::Registry::createPlasmaActivationFeedback ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates a PlasmaActivationFeedback and sets it up to manage the interface identified by name and version.

Note: in case name is invalid or isn't for the org_kde_plasma_activation_feedback interface, the returned PlasmaActivationFeedback will not be valid. Therefore it's recommended to call isValid on the created instance.

Parameters
nameThe name of the org_kde_plasma_activation_feedback interface to bind
versionThe version or the org_kde_plasma_activation_feedback interface to use
parentThe parent for PlasmaActivationFeedback
Returns
The created PlasmaActivationFeedback.
Since
5.83

◆ createPlasmaShell()

PlasmaShell* KWayland::Client::Registry::createPlasmaShell ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates a PlasmaShell and sets it up to manage the interface identified by name and version.

Note: in case name is invalid or isn't for the org_kde_plasma_shell interface, the returned PlasmaShell will not be valid. Therefore it's recommended to call isValid on the created instance.

Parameters
nameThe name of the org_kde_plasma_shell interface to bind
versionThe version or the org_kde_plasma_shell interface to use
parentThe parent for PlasmaShell
Returns
The created PlasmaShell.
Since
5.4

◆ createPlasmaVirtualDesktopManagement()

PlasmaVirtualDesktopManagement* KWayland::Client::Registry::createPlasmaVirtualDesktopManagement ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates a PlasmaVirtualDesktopManagement and sets it up to manage the interface identified by name and version.

Note: in case name is invalid or isn't for the org_kde_plasma_virtual_desktop_management interface, the returned VirtualDesktop will not be valid. Therefore it's recommended to call isValid on the created instance.

Parameters
nameThe name of the org_kde_plasma_virtual_desktop_management interface to bind
versionThe version or the org_kde_plasma_virtual_desktop_management interface to use
parentThe parent for PlasmaShell
Returns
The created PlasmaShell.
Since
5.52

◆ createPlasmaWindowManagement()

PlasmaWindowManagement* KWayland::Client::Registry::createPlasmaWindowManagement ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates a PlasmaWindowManagement and sets it up to manage the interface identified by name and version.

Note: in case name is invalid or isn't for the org_kde_plasma_window_management interface, the returned PlasmaWindowManagement will not be valid. Therefore it's recommended to call isValid on the created instance.

Parameters
nameThe name of the org_kde_plasma_window_management interface to bind
versionThe version or the org_kde_plasma_window_management interface to use
parentThe parent for PlasmaWindowManagement
Returns
The created PlasmaWindowManagement.
Since
5.4

◆ createPointerConstraints()

PointerConstraints * KWayland::Client::Registry::createPointerConstraints ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates a PointerConstraints and sets it up to manage the interface identified by name and version.

This factory method supports the following interfaces:

  • zwp_pointer_constraints_v1

If name is for one of the supported interfaces the corresponding manager will be created, otherwise null will be returned.

Parameters
nameThe name of the interface to bind
versionThe version of the interface to use
parentThe parent for the PointerConstraints
Returns
The created PointerConstraints
Since
5.29

Definition at line 834 of file registry.cpp.

◆ createPointerGestures()

PointerGestures * KWayland::Client::Registry::createPointerGestures ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates a PointerGestures and sets it up to manage the interface identified by name and version.

This factory method supports the following interfaces:

  • zwp_pointer_gestures_v1

If name is for one of the supported interfaces the corresponding manager will be created, otherwise null will be returned.

Parameters
nameThe name of the interface to bind
versionThe version of the interface to use
parentThe parent for the PointerGestures
Returns
The created PointerGestures
Since
5.29

Definition at line 824 of file registry.cpp.

◆ createRelativePointerManager()

RelativePointerManager * KWayland::Client::Registry::createRelativePointerManager ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates a RelativePointerManager and sets it up to manage the interface identified by name and version.

This factory method supports the following interfaces:

  • zwp_relative_pointer_manager_v1

If name is for one of the supported interfaces the corresponding manager will be created, otherwise null will be returned.

Parameters
nameThe name of the interface to bind
versionThe version of the interface to use
parentThe parent for the RelativePointerManager
Returns
The created RelativePointerManager
Since
5.28

Definition at line 814 of file registry.cpp.

◆ createRemoteAccessManager()

RemoteAccessManager* KWayland::Client::Registry::createRemoteAccessManager ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates a RemoteAccessManager and sets it up to manage the interface identified by name and version.

Note: in case name is invalid or isn't for the org_kde_kwin_remote_access_manager interface, the returned RemoteAccessManager will not be valid. Therefore it's recommended to call isValid on the created instance.

Parameters
nameThe name of the org_kde_kwin_remote_access_manager interface to bind
versionThe version or the org_kde_kwin_remote_access_manager interface to use
parentThe parent for RemoteAccessManager
Returns
The created RemoteAccessManager.
Since
5.45

◆ createSeat()

Seat* KWayland::Client::Registry::createSeat ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates a Compositor and sets it up to manage the interface identified by name and version.

Note: in case name is invalid or isn't for the wl_compositor interface, the returned Compositor will not be valid. Therefore it's recommended to call isValid on the created instance.

Parameters
nameThe name of the wl_compositor interface to bind
versionThe version or the wl_compositor interface to use
parentThe parent for Compositor
Returns
The created Compositor.

◆ createServerSideDecorationManager()

ServerSideDecorationManager* KWayland::Client::Registry::createServerSideDecorationManager ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates a ServerSideDecorationManager and sets it up to manage the interface identified by name and version.

Note: in case name is invalid or isn't for the org_kde_kwin_server_decoration_manager interface, the returned ServerSideDecorationManager will not be valid. Therefore it's recommended to call isValid on the created instance.

Parameters
nameThe name of the org_kde_kwin_server_decoration_manager interface to bind
versionThe version or the org_kde_kwin_server_decoration_manager interface to use
parentThe parent for ServerSideDecorationManager
Returns
The created ServerSideDecorationManager.
Since
5.6

◆ createServerSideDecorationPaletteManager()

ServerSideDecorationPaletteManager* KWayland::Client::Registry::createServerSideDecorationPaletteManager ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates a ServerSideDecorationPaletteManager and sets it up to manage the interface identified by name and version.

Note: in case name is invalid or isn't for the org_kde_kwin_appmenu_manager interface, the returned ServerSideDecorationPaletteManager will not be valid. Therefore it's recommended to call isValid on the created instance.

Parameters
nameThe name of the org_kde_kwin_server_decoration_palette_manager interface to bind
versionThe version or the org_kde_kwin_server_decoration_palette_manager interface to use
parentThe parent for ServerSideDecorationPaletteManager
Returns
The created ServerSideDecorationPaletteManager.
Since
5.42

◆ createShadowManager()

ShadowManager* KWayland::Client::Registry::createShadowManager ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates a ShadowManager and sets it up to manage the interface identified by name and version.

Note: in case name is invalid or isn't for the org_kde_kwin_shadow_manager interface, the returned ShadowManager will not be valid. Therefore it's recommended to call isValid on the created instance.

Parameters
nameThe name of the org_kde_kwin_shadow_manager interface to bind
versionThe version or the org_kde_kwin_shadow_manager interface to use
parentThe parent for ShadowManager
Returns
The created ShadowManager.
Since
5.4

◆ createShell()

Shell* KWayland::Client::Registry::createShell ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates a Seat and sets it up to manage the interface identified by name and version.

Note: in case name is invalid or isn't for the wl_seat interface, the returned Seat will not be valid. Therefore it's recommended to call isValid on the created instance.

Parameters
nameThe name of the wl_seat interface to bind
versionThe version or the wl_seat interface to use
parentThe parent for Seat
Returns
The created Seat.

◆ createShmPool()

ShmPool* KWayland::Client::Registry::createShmPool ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates a ShmPool and sets it up to manage the interface identified by name and version.

Note: in case name is invalid or isn't for the wl_shm interface, the returned ShmPool will not be valid. Therefore it's recommended to call isValid on the created instance.

Parameters
nameThe name of the wl_shm interface to bind
versionThe version or the wl_shm interface to use
parentThe parent for ShmPool
Returns
The created ShmPool.

◆ createSlideManager()

SlideManager* KWayland::Client::Registry::createSlideManager ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates a SlideManager and sets it up to manage the interface identified by name and version.

Note: in case name is invalid or isn't for the org_kde_kwin_slide_manager interface, the returned SlideManager will not be valid. Therefore it's recommended to call isValid on the created instance.

Parameters
nameThe name of the org_kde_kwin_slide_manager interface to bind
versionThe version or the org_kde_kwin_slide_manager interface to use
parentThe parent for SlideManager
Returns
The created SlideManager.
Since
5.5

◆ createSubCompositor()

SubCompositor* KWayland::Client::Registry::createSubCompositor ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates a SubCompositor and sets it up to manage the interface identified by name and version.

Note: in case name is invalid or isn't for the wl_subcompositor interface, the returned SubCompositor will not be valid. Therefore it's recommended to call isValid on the created instance.

Parameters
nameThe name of the wl_subcompositor interface to bind
versionThe version or the wl_subcompositor interface to use
parentThe parent for SubCompositor
Returns
The created SubCompositor.

◆ createTextInputManager()

TextInputManager * KWayland::Client::Registry::createTextInputManager ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates a TextInputManager and sets it up to manage the interface identified by name and version.

This factory method supports the following interfaces:

  • wl_text_input_manager
  • zwp_text_input_manager_v2

If name is for one of the supported interfaces the corresponding manager will be created, otherwise null will be returned.

Parameters
nameThe name of the interface to bind
versionThe version of the interface to use
parentThe parent for the TextInputManager
Returns
The created TextInputManager
Since
5.23

Definition at line 788 of file registry.cpp.

◆ createXdgDecorationManager()

XdgDecorationManager * KWayland::Client::Registry::createXdgDecorationManager ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates an XdgDecorationManager and sets it up to manage the interface identified by name and version.

Note: in case name is invalid or isn't for the zxdg_decoration_manager_v1 interface, the returned XdgDecorationManager will not be valid. Therefore it's recommended to call isValid on the created instance.

Parameters
nameThe name of the zxdg_decoration_manager_v1 interface to bind
versionThe version or the zxdg_decoration_manager_v1 interface to use
parentThe parent for XdgDecorationManager
Returns
The created XdgDecorationManager.
Since
5.54

Definition at line 864 of file registry.cpp.

◆ createXdgExporter()

XdgExporter * KWayland::Client::Registry::createXdgExporter ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates an XdgExporter and sets it up to manage the interface identified by name and version.

This factory method supports the following interfaces:

  • zxdg_exporter_v2

If name is for one of the supported interfaces the corresponding manager will be created, otherwise null will be returned.

Returns
The created XdgExporter
Since
5.40

Definition at line 776 of file registry.cpp.

◆ createXdgImporter()

XdgImporter * KWayland::Client::Registry::createXdgImporter ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates an XdgImporter and sets it up to manage the interface identified by name and version.

This factory method supports the following interfaces:

  • zxdg_importer_v2

If name is for one of the supported interfaces the corresponding manager will be created, otherwise null will be returned.

Returns
The created XdgImporter
Since
5.40

Definition at line 782 of file registry.cpp.

◆ createXdgOutputManager()

XdgOutputManager * KWayland::Client::Registry::createXdgOutputManager ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates an XdgOutputManager and sets it up to manage the interface identified by name and version.

Note: in case name is invalid or isn't for the zxdg_output_manager_v1 interface, the returned XdgOutputManager will not be valid. Therefore it's recommended to call isValid on the created instance.

Parameters
nameThe name of the zxdg_output_manager_v1 interface to bind
versionThe version or the zxdg_output_manager_v1 interface to use
parentThe parent for XdgOuptutManager
Returns
The created XdgOuptutManager.
Since
5.47

Definition at line 854 of file registry.cpp.

◆ createXdgShell()

XdgShell * KWayland::Client::Registry::createXdgShell ( quint32  name,
quint32  version,
QObject parent = nullptr 
)

Creates an XdgShell and sets it up to manage the interface identified by name and version.

This factory method supports the following interfaces:

  • xdg_shell (Unstable version 5)

If name is for one of the supported interfaces the corresponding shell will be created, otherwise null will be returned.

Parameters
nameThe name of the interface to bind
versionThe version of the interface to use
parentThe parent for the XdgShell
Returns
The created XdgShell
Since
5.25

Definition at line 800 of file registry.cpp.

◆ dataDeviceManagerAnnounced

void KWayland::Client::Registry::dataDeviceManagerAnnounced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a wl_data_device_manager interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface

◆ dataDeviceManagerRemoved

void KWayland::Client::Registry::dataDeviceManagerRemoved ( quint32  name)
signal

Emitted whenever a wl_data_device_manager interface gets removed.

Parameters
nameThe name for the removed interface

◆ destroy()

void KWayland::Client::Registry::destroy ( )

Destroys the data held by this Registry.

This method is supposed to be used when the connection to the Wayland server goes away. If the connection is not valid anymore, it's not possible to call release anymore as that calls into the Wayland connection and the call would fail. This method cleans up the data, so that the instance can be deleted or set up to a new wl_registry interface once there is a new connection available.

It is suggested to connect this method to ConnectionThread::connectionDied:

See also
release

Definition at line 484 of file registry.cpp.

◆ dpmsAnnounced

void KWayland::Client::Registry::dpmsAnnounced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a org_kde_kwin_dpms_manager interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface
Since
5.5

◆ dpmsRemoved

void KWayland::Client::Registry::dpmsRemoved ( quint32  name)
signal

Emitted whenever a org_kde_kwin_dpms_manager interface gets removed.

Parameters
nameThe name for the removed interface
Since
5.5

◆ eventQueue()

EventQueue * KWayland::Client::Registry::eventQueue ( )
Returns
The EventQueue used by this Registry

Definition at line 529 of file registry.cpp.

◆ exporterUnstableV2Announced

void KWayland::Client::Registry::exporterUnstableV2Announced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a zxdg_exporter_v2 interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface
Since
5.40

◆ exporterUnstableV2Removed

void KWayland::Client::Registry::exporterUnstableV2Removed ( quint32  name)
signal

Emitted whenever a zxdg_exporter_v2 interface gets removed.

Parameters
nameThe name for the removed interface
Since
5.40

◆ fakeInputAnnounced

void KWayland::Client::Registry::fakeInputAnnounced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a org_kde_kwin_fake_input interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface
Since
5.4

◆ fakeInputRemoved

void KWayland::Client::Registry::fakeInputRemoved ( quint32  name)
signal

Emitted whenever a org_kde_kwin_fake_input interface gets removed.

Parameters
nameThe name for the removed interface
Since
5.4

◆ fullscreenShellAnnounced

void KWayland::Client::Registry::fullscreenShellAnnounced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a _wl_fullscreen_shell interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface

◆ fullscreenShellRemoved

void KWayland::Client::Registry::fullscreenShellRemoved ( quint32  name)
signal

Emitted whenever a _wl_fullscreen_shell interface gets removed.

Parameters
nameThe name for the removed interface

◆ hasInterface()

bool KWayland::Client::Registry::hasInterface ( Registry::Interface  interface) const
Returns
true if the Registry has an interface.

Definition at line 653 of file registry.cpp.

◆ idleAnnounced

void KWayland::Client::Registry::idleAnnounced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a org_kde_kwin_idle interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface
Since
5.4

◆ idleInhibitManagerUnstableV1Announced

void KWayland::Client::Registry::idleInhibitManagerUnstableV1Announced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a zwp_idle_inhibit_manager_v1 interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface
Since
5.41

◆ idleInhibitManagerUnstableV1Removed

void KWayland::Client::Registry::idleInhibitManagerUnstableV1Removed ( quint32  name)
signal

Emitted whenever a zwp_idle_inhibit_manager_v1 interface gets removed.

Parameters
nameThe name of the removed interface
Since
5.41

◆ idleRemoved

void KWayland::Client::Registry::idleRemoved ( quint32  name)
signal

Emitted whenever a org_kde_kwin_idle interface gets removed.

Parameters
nameThe name for the removed interface
Since
5.4

◆ importerUnstableV2Announced

void KWayland::Client::Registry::importerUnstableV2Announced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a zxdg_importer_v2 interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface
Since
5.40

◆ importerUnstableV2Removed

void KWayland::Client::Registry::importerUnstableV2Removed ( quint32  name)
signal

Emitted whenever a zxdg_importer_v2 interface gets removed.

Parameters
nameThe name for the removed interface
Since
5.40

◆ interface()

Registry::AnnouncedInterface KWayland::Client::Registry::interface ( Interface  interface) const

Provides name and version for the interface.

The first value of the returned pair is the "name", the second value is the "version". If the interface has not been announced, both values are set to 0. If there interface has been announced multiple times, the last announced is returned. In case one is interested in all announced interfaces, one should prefer interfaces(Interface).

The returned information can be passed into the bind or create methods.

Parameters
interfaceThe well-known interface for which the name and version should be retrieved
Returns
name and version of the given interface
Since
5.5

Definition at line 663 of file registry.cpp.

◆ interfaceAnnounced

void KWayland::Client::Registry::interfaceAnnounced ( QByteArray  interface,
quint32  name,
quint32  version 
)
signal

Generic announced signal which gets emitted whenever an interface gets announced.

This signal is emitted before the dedicated signals are handled. If one wants to know about one of the well-known interfaces use the dedicated signals instead. Especially the bind methods might fail before the dedicated signals are emitted.

Parameters
interfaceThe interface (e.g. wl_compositor) which is announced
nameThe name for the announced interface
versionThe maximum supported version of the announced interface

◆ interfaceRemoved

void KWayland::Client::Registry::interfaceRemoved ( quint32  name)
signal

Generic removal signal which gets emitted whenever an interface gets removed.

This signal is emitted after the dedicated signals are handled.

Parameters
nameThe name for the removed interface

◆ interfaces()

QVector< Registry::AnnouncedInterface > KWayland::Client::Registry::interfaces ( Interface  interface) const

Provides all pairs of name and version for the well-known interface.

If the interface has not been announced, an empty vector is returned.

The returned information can be passed into the bind or create methods.

Parameters
interfaceThe well-known interface for which the name and version should be retrieved
Returns
All pairs of name and version of the given interface
Since
5.5

Definition at line 658 of file registry.cpp.

◆ interfacesAnnounced

void KWayland::Client::Registry::interfacesAnnounced ( )
signal

Emitted when the Wayland display is done flushing the initial interface callbacks, announcing wl_display properties.

This can be used to compress events. Note that this signal is emitted only after announcing interfaces, such as outputs, but not after receiving callbacks of interface properties, such as the output's geometry, modes, etc.. This signal is emitted from the wl_display_sync callback.

◆ isValid()

bool KWayland::Client::Registry::isValid ( ) const
Returns
true if managing a wl_registry.

Definition at line 903 of file registry.cpp.

◆ keystateAnnounced

void KWayland::Client::Registry::keystateAnnounced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a org_kde_kwin_keystate interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface
Since
5.60

◆ keystateRemoved

void KWayland::Client::Registry::keystateRemoved ( quint32  name)
signal

Emitted whenever a org_kde_kwin_keystate gets removed.

Parameters
nameThe name of the removed interface
Since
5.60

◆ operator wl_registry *() [1/2]

KWayland::Client::Registry::operator wl_registry * ( )

cast operator to the low-level Wayland wl_registry

Definition at line 913 of file registry.cpp.

◆ operator wl_registry *() [2/2]

KWayland::Client::Registry::operator wl_registry * ( ) const

cast operator to the low-level Wayland wl_registry

◆ outputAnnounced

void KWayland::Client::Registry::outputAnnounced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a wl_output interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface

◆ outputDeviceAnnounced

void KWayland::Client::Registry::outputDeviceAnnounced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a org_kde_kwin_outputdevice interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface
Since
5.5

◆ outputDeviceRemoved

void KWayland::Client::Registry::outputDeviceRemoved ( quint32  name)
signal

Emitted whenever a org_kde_kwin_outputdevice interface gets removed.

Parameters
nameThe name for the removed interface
Since
5.5

◆ outputManagementRemoved

void KWayland::Client::Registry::outputManagementRemoved ( quint32  name)
signal

Emitted whenever a org_kde_kwin_outputmanagement interface gets removed.

Parameters
nameThe name for the removed interface
Since
5.5

◆ outputRemoved

void KWayland::Client::Registry::outputRemoved ( quint32  name)
signal

Emitted whenever a wl_output interface gets removed.

Parameters
nameThe name for the removed interface

◆ plasmaActivationFeedbackAnnounced

void KWayland::Client::Registry::plasmaActivationFeedbackAnnounced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a org_kde_plasma_activation_feedback interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface
Since
5.83

◆ plasmaActivationFeedbackRemoved

void KWayland::Client::Registry::plasmaActivationFeedbackRemoved ( quint32  name)
signal

Emitted whenever a org_kde_plasma_activation_feedback interface gets removed.

Parameters
nameThe name for the removed interface
Since
5.83

◆ plasmaShellAnnounced

void KWayland::Client::Registry::plasmaShellAnnounced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a org_kde_plasma_shell interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface
Since
5.4

◆ plasmaShellRemoved

void KWayland::Client::Registry::plasmaShellRemoved ( quint32  name)
signal

Emitted whenever a org_kde_plasma_shell interface gets removed.

Parameters
nameThe name for the removed interface
Since
5.4

◆ plasmaVirtualDesktopManagementAnnounced

void KWayland::Client::Registry::plasmaVirtualDesktopManagementAnnounced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a org_kde_plasma_virtual_desktop_management interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface
Since
5.52

◆ plasmaVirtualDesktopManagementRemoved

void KWayland::Client::Registry::plasmaVirtualDesktopManagementRemoved ( quint32  name)
signal

Emitted whenever a org_kde_plasma_virtual_desktop_management interface gets removed.

Parameters
nameThe name for the removed interface
Since
5.52

◆ plasmaWindowManagementAnnounced

void KWayland::Client::Registry::plasmaWindowManagementAnnounced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a org_kde_plasma_window_management interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface
Since
5.4

◆ plasmaWindowManagementRemoved

void KWayland::Client::Registry::plasmaWindowManagementRemoved ( quint32  name)
signal

Emitted whenever a org_kde_plasma_window_management interface gets removed.

Parameters
nameThe name for the removed interface
Since
5.4

◆ pointerConstraintsUnstableV1Announced

void KWayland::Client::Registry::pointerConstraintsUnstableV1Announced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a zwp_pointer_constraints_v1 interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface
Since
5.29

◆ pointerConstraintsUnstableV1Removed

void KWayland::Client::Registry::pointerConstraintsUnstableV1Removed ( quint32  name)
signal

Emitted whenever a zwp_pointer_constraints_v1 interface gets removed.

Parameters
nameThe name for the removed interface
Since
5.29

◆ pointerGesturesUnstableV1Announced

void KWayland::Client::Registry::pointerGesturesUnstableV1Announced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a zwp_pointer_gestures_v1 interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface
Since
5.29

◆ pointerGesturesUnstableV1Removed

void KWayland::Client::Registry::pointerGesturesUnstableV1Removed ( quint32  name)
signal

Emitted whenever a zwp_pointer_gestures_v1 interface gets removed.

Parameters
nameThe name for the removed interface
Since
5.29

◆ registry()

wl_registry * KWayland::Client::Registry::registry ( )
Returns
access to the low-level Wayland wl_registry

Definition at line 908 of file registry.cpp.

◆ relativePointerManagerUnstableV1Announced

void KWayland::Client::Registry::relativePointerManagerUnstableV1Announced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a zwp_relative_pointer_manager_v1 interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface
Since
5.28

◆ relativePointerManagerUnstableV1Removed

void KWayland::Client::Registry::relativePointerManagerUnstableV1Removed ( quint32  name)
signal

Emitted whenever a zwp_relative_pointer_manager_v1 interface gets removed.

Parameters
nameThe name for the removed interface
Since
5.28

◆ release()

void KWayland::Client::Registry::release ( )

Releases the wl_registry interface.

After the interface has been released the Registry instance is no longer valid and can be setup with another wl_registry interface.

Definition at line 478 of file registry.cpp.

◆ remoteAccessManagerAnnounced

void KWayland::Client::Registry::remoteAccessManagerAnnounced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a org_kde_kwin_remote_access_manager interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface
Since
5.45

◆ remoteAccessManagerRemoved

void KWayland::Client::Registry::remoteAccessManagerRemoved ( quint32  name)
signal

Emitted whenever a org_kde_kwin_remote_access_manager interface gets removed.

Parameters
nameThe name for the removed interface
Since
5.45

◆ seatAnnounced

void KWayland::Client::Registry::seatAnnounced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a wl_seat interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface

◆ seatRemoved

void KWayland::Client::Registry::seatRemoved ( quint32  name)
signal

Emitted whenever a wl_seat interface gets removed.

Parameters
nameThe name for the removed interface

◆ serverSideDecorationManagerAnnounced

void KWayland::Client::Registry::serverSideDecorationManagerAnnounced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a org_kde_kwin_server_decoration_manager interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface
Since
5.6

◆ serverSideDecorationManagerRemoved

void KWayland::Client::Registry::serverSideDecorationManagerRemoved ( quint32  name)
signal

Emitted whenever a org_kde_kwin_server_decoration_manager interface gets removed.

Parameters
nameThe name for the removed interface
Since
5.6

◆ serverSideDecorationPaletteManagerAnnounced

void KWayland::Client::Registry::serverSideDecorationPaletteManagerAnnounced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a org_kde_kwin_server_decoration_palette_manager interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface
Since
5.42

◆ serverSideDecorationPaletteManagerRemoved

void KWayland::Client::Registry::serverSideDecorationPaletteManagerRemoved ( quint32  name)
signal

Emitted whenever a org_kde_kwin_server_decoration_palette_manager gets removed.

Parameters
nameThe name of the removed interface
Since
5.42

◆ setEventQueue()

void KWayland::Client::Registry::setEventQueue ( EventQueue queue)

Sets the queue to use for this Registry.

The EventQueue should be set before the Registry gets setup. The EventQueue gets automatically added to all interfaces created by this Registry. So that all objects are in the same EventQueue.

Parameters
queueThe event queue to use for this Registry.

Definition at line 515 of file registry.cpp.

◆ setup()

void KWayland::Client::Registry::setup ( )

Finalizes the setup of the Registry.

After calling this method the interfaces will be announced in an asynchronous way. The Registry must have been created when calling this method.

See also
create

Definition at line 509 of file registry.cpp.

◆ shadowAnnounced

void KWayland::Client::Registry::shadowAnnounced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a org_kde_kwin_shadow_manager interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface
Since
5.4

◆ shadowRemoved

void KWayland::Client::Registry::shadowRemoved ( quint32  name)
signal

Emitted whenever a org_kde_kwin_shadow_manager interface gets removed.

Parameters
nameThe name for the removed interface
Since
5.4

◆ shellAnnounced

void KWayland::Client::Registry::shellAnnounced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a wl_shell interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface

◆ shellRemoved

void KWayland::Client::Registry::shellRemoved ( quint32  name)
signal

Emitted whenever a wl_shell interface gets removed.

Parameters
nameThe name for the removed interface

◆ shmAnnounced

void KWayland::Client::Registry::shmAnnounced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a wl_shm interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface

◆ shmRemoved

void KWayland::Client::Registry::shmRemoved ( quint32  name)
signal

Emitted whenever a wl_shm interface gets removed.

Parameters
nameThe name for the removed interface

◆ slideAnnounced

void KWayland::Client::Registry::slideAnnounced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a org_kde_kwin_slide_manager interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface
Since
5.5

◆ slideRemoved

void KWayland::Client::Registry::slideRemoved ( quint32  name)
signal

Emitted whenever a org_kde_kwin_slide_manager interface gets removed.

Parameters
nameThe name for the removed interface
Since
5.5

◆ subCompositorAnnounced

void KWayland::Client::Registry::subCompositorAnnounced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a wl_subcompositor interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface

◆ subCompositorRemoved

void KWayland::Client::Registry::subCompositorRemoved ( quint32  name)
signal

Emitted whenever a wl_subcompositor interface gets removed.

Parameters
nameThe name for the removed interface

◆ textInputManagerUnstableV0Announced

void KWayland::Client::Registry::textInputManagerUnstableV0Announced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a wl_text_input_manager interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface
Since
5.23

◆ textInputManagerUnstableV0Removed

void KWayland::Client::Registry::textInputManagerUnstableV0Removed ( quint32  name)
signal

Emitted whenever a wl_text_input_manager interface gets removed.

Parameters
nameThe name for the removed interface
Since
5.23

◆ textInputManagerUnstableV2Announced

void KWayland::Client::Registry::textInputManagerUnstableV2Announced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a zwp_text_input_manager_v2 interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface
Since
5.23

◆ textInputManagerUnstableV2Removed

void KWayland::Client::Registry::textInputManagerUnstableV2Removed ( quint32  name)
signal

Emitted whenever a zwp_text_input_manager_v2 interface gets removed.

Parameters
nameThe name for the removed interface
Since
5.23

◆ xdgDecorationAnnounced

void KWayland::Client::Registry::xdgDecorationAnnounced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a zxdg_decoration_manager_v1 interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface
Since
5.54

◆ xdgDecorationRemoved

void KWayland::Client::Registry::xdgDecorationRemoved ( quint32  name)
signal

Emitted whenever a zxdg_decoration_manager_v1 gets removed.

Parameters
nameThe name of the removed interface
Since
5.54

◆ xdgOutputAnnounced

void KWayland::Client::Registry::xdgOutputAnnounced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a zxdg_output_v1 interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface
Since
5.47

◆ xdgOutputRemoved

void KWayland::Client::Registry::xdgOutputRemoved ( quint32  name)
signal

Emitted whenever a zxdg_output_v1 gets removed.

Parameters
nameThe name of the removed interface
Since
5.47

◆ xdgShellStableAnnounced

void KWayland::Client::Registry::xdgShellStableAnnounced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a xdg_wm_base (stable xdg shell) interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface
Since
5.48

◆ xdgShellStableRemoved

void KWayland::Client::Registry::xdgShellStableRemoved ( quint32  name)
signal

Emitted whenever an xdg_wm_base (stable xdgshell) interface gets removed.

Parameters
nameThe name for the removed interface
Since
5.48

◆ xdgShellUnstableV5Announced

void KWayland::Client::Registry::xdgShellUnstableV5Announced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a xdg_shell (unstable version 5) interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface
Since
5.25

◆ xdgShellUnstableV5Removed

void KWayland::Client::Registry::xdgShellUnstableV5Removed ( quint32  name)
signal

Emitted whenever an xdg_shell (unstable version 5) interface gets removed.

Parameters
nameThe name for the removed interface
Since
5.25

◆ xdgShellUnstableV6Announced

void KWayland::Client::Registry::xdgShellUnstableV6Announced ( quint32  name,
quint32  version 
)
signal

Emitted whenever a zxdg_shell_v6 (unstable version 6) interface gets announced.

Parameters
nameThe name for the announced interface
versionThe maximum supported version of the announced interface
Since
5.25

◆ xdgShellUnstableV6Removed

void KWayland::Client::Registry::xdgShellUnstableV6Removed ( quint32  name)
signal

Emitted whenever an xdg_shell (unstable version 5) interface gets removed.

Parameters
nameThe name for the removed interface
Since
5.25

The documentation for this class was generated from the following files:
void destroy()
Destroys the data held by this Registry.
Definition: registry.cpp:484
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void connectionDied()
Emitted if the Wayland server connection dies.
wl_registry * registry()
Definition: registry.cpp:908
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Mar 21 2023 03:54:24 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.