Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QtWaylandClient::QWaylandDisplay Class Reference

#include <qwaylanddisplay_p.h>

+ Inheritance diagram for QtWaylandClient::QWaylandDisplay:
+ Collaboration diagram for QtWaylandClient::QWaylandDisplay:

Classes

struct  RegistryGlobal
 

Public Slots

void blockingReadEvents ()
 
void flushRequests ()
 
- Public Slots inherited from QObject
void deleteLater ()
 \threadsafe
 

Signals

void reconnected ()
 
void globalAdded (const RegistryGlobal &global)
 
void globalRemoved (const RegistryGlobal &global)
 
- Signals inherited from QObject
void destroyed (QObject *=nullptr)
 This signal is emitted immediately before the object obj is destroyed, after any instances of QPointer have been notified, and cannot be blocked.
 
void objectNameChanged (const QString &objectName, QPrivateSignal)
 This signal is emitted after the object's name has been changed.
 

Public Member Functions

 QWaylandDisplay (QWaylandIntegration *waylandIntegration)
 
 ~QWaylandDisplay (void) override
 
bool initialize ()
 
QList< QWaylandScreen * > screens () const
 
QPlatformPlaceholderScreenplaceholderScreen () const
 
void ensureScreen ()
 
QWaylandScreenscreenForOutput (struct wl_output *output) const
 
void handleScreenInitialized (QWaylandScreen *screen)
 
struct wl_surface * createSurface (void *handle)
 
struct::wl_region * createRegion (const QRegion &qregion)
 
struct::wl_subsurface * createSubSurface (QWaylandWindow *window, QWaylandWindow *parent)
 
struct::wp_viewport * createViewport (QWaylandWindow *window)
 
QWaylandShellIntegrationshellIntegration () const
 
QWaylandClientBufferIntegrationclientBufferIntegration () const
 
QWaylandWindowManagerIntegrationwindowManagerIntegration () const
 
struct wl_display * wl_display () const
 
struct::wl_registry * wl_registry ()
 
const struct wl_compositor * wl_compositor () const
 
QtWayland::wl_compositor * compositor ()
 
QList< QWaylandInputDevice * > inputDevices () const
 
QWaylandInputDevicedefaultInputDevice () const
 
QWaylandInputDevicecurrentInputDevice () const
 
QtWayland::qt_surface_extension * windowExtension () const
 
QWaylandPointerGesturespointerGestures () const
 
QWaylandTouchExtensiontouchExtension () const
 
QtWayland::qt_text_input_method_manager_v1 * textInputMethodManager () const
 
QtWayland::zwp_text_input_manager_v1 * textInputManagerv1 () const
 
QtWayland::zwp_text_input_manager_v2 * textInputManagerv2 () const
 
QtWayland::zwp_text_input_manager_v4 * textInputManagerv4 () const
 
QWaylandHardwareIntegrationhardwareIntegration () const
 
QWaylandXdgOutputManagerV1xdgOutputManager () const
 
QtWayland::wp_fractional_scale_manager_v1 * fractionalScaleManager () const
 
QtWayland::wp_viewporter * viewporter () const
 
QtWayland::wp_cursor_shape_manager_v1 * cursorShapeManager () const
 
QtWayland::qt_toplevel_drag_manager_v1 * xdgToplevelDragManager () const
 
QList< RegistryGlobalglobals () const
 
bool hasRegistryGlobal (QStringView interfaceName) const
 
void addRegistryListener (RegistryListener listener, void *data)
 
void removeListener (RegistryListener listener, void *data)
 
QWaylandShmshm () const
 
void forceRoundTrip ()
 
bool supportsWindowDecoration () const
 
uint32_t lastInputSerial () const
 
QWaylandInputDevicelastInputDevice () const
 
QWaylandWindowlastInputWindow () const
 
void setLastInputDevice (QWaylandInputDevice *device, uint32_t serial, QWaylandWindow *window)
 
bool isWindowActivated (const QWaylandWindow *window)
 
void handleWindowActivated (QWaylandWindow *window)
 
void handleWindowDeactivated (QWaylandWindow *window)
 
void handleKeyboardFocusChanged (QWaylandInputDevice *inputDevice)
 
void handleWindowDestroyed (QWaylandWindow *window)
 
wl_event_queue * frameEventQueue ()
 
bool isKeyboardAvailable () const
 
bool isClientSideInputContextRequested () const
 
void initEventThread ()
 
- Public Member Functions inherited from QObject
Q_INVOKABLE QObject (QObject *parent=nullptr)
 Constructs an object with parent object parent.
 
virtual ~QObject ()
 Destroys the object, deleting all its child objects.
 
virtual bool event (QEvent *event)
 This virtual function receives events to an object and should return true if the event e was recognized and processed.
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 Filters events if this object has been installed as an event filter for the watched object.
 
QString objectName () const
 
Q_WEAK_OVERLOAD void setObjectName (const QString &name)
 Sets the object's name to name.
 
void setObjectName (QAnyStringView name)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
QBindable< QStringbindableObjectName ()
 
bool isWidgetType () const
 Returns true if the object is a widget; otherwise returns false.
 
bool isWindowType () const
 Returns true if the object is a window; otherwise returns false.
 
bool isQuickItemType () const
 Returns true if the object is a QQuickItem; otherwise returns false.
 
bool signalsBlocked () const noexcept
 Returns true if signals are blocked; otherwise returns false.
 
bool blockSignals (bool b) noexcept
 If block is true, signals emitted by this object are blocked (i.e., emitting a signal will not invoke anything connected to it).
 
QThreadthread () const
 Returns the thread in which the object lives.
 
void moveToThread (QThread *thread)
 Changes the thread affinity for this object and its children.
 
int startTimer (int interval, Qt::TimerType timerType=Qt::CoarseTimer)
 This is an overloaded function that will start a timer of type timerType and a timeout of interval milliseconds.
 
int startTimer (std::chrono::milliseconds time, Qt::TimerType timerType=Qt::CoarseTimer)
 
void killTimer (int id)
 Kills the timer with timer identifier, id.
 
template<typename T >
findChild (const QString &aName=QString(), Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 Returns the child of this object that can be cast into type T and that is called name, or \nullptr if there is no such object.
 
template<typename T >
QList< T > findChildren (const QString &aName, Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 Returns all children of this object with the given name that can be cast to type T, or an empty list if there are no such objects.
 
template<typename T >
QList< T > findChildren (Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
const QObjectListchildren () const
 Returns a list of child objects.
 
void setParent (QObject *parent)
 Makes the object a child of parent.
 
void installEventFilter (QObject *filterObj)
 Installs an event filter filterObj on this object.
 
void removeEventFilter (QObject *obj)
 Removes an event filter object obj from this object.
 
QMetaObject::Connection connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const
 
bool disconnect (const char *signal=nullptr, const QObject *receiver=nullptr, const char *member=nullptr) const
 
bool disconnect (const QObject *receiver, const char *member=nullptr) const
 
void dumpObjectTree () const
 Dumps a tree of children to the debug output.
 
void dumpObjectInfo () const
 Dumps information about signal connections, etc.
 
bool setProperty (const char *name, const QVariant &value)
 Sets the value of the object's name property to value.
 
bool setProperty (const char *name, QVariant &&value)
 
QVariant property (const char *name) const
 Returns the value of the object's name property.
 
QList< QByteArraydynamicPropertyNames () const
 
QBindingStoragebindingStorage ()
 
const QBindingStoragebindingStorage () const
 
QObjectparent () const
 Returns a pointer to the parent object.
 
bool inherits (const char *classname) const
 Returns true if this object is an instance of a class that inherits className or a QObject subclass that inherits className; otherwise returns false.
 

Static Public Member Functions

static uint32_t currentTimeMillisec ()
 
- Static Public Member Functions inherited from QObject
static QMetaObject::Connection connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
 \threadsafe
 
static QMetaObject::Connection connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1 , typename Func2 >
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::ContextTypeForFunctor< Func2 >::ContextType *context, Func2 &&slot, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1 , typename Func2 >
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, Func2 &&slot)
 
static bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member)
 \threadsafe
 
static bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member)
 
static bool disconnect (const QMetaObject::Connection &)
 Disconnect a connection.
 
template<typename Func1 , typename Func2 >
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiver, Func2 slot)
 
template<typename Func1 >
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *receiver, void **zero)
 

Private Member Functions

void registry_global (uint32_t id, const QString &interface, uint32_t version) override
 
void registry_global_remove (uint32_t id) override
 

Friends

class QWaylandIntegration
 

Additional Inherited Members

- Protected Member Functions inherited from QObject
QObjectsender () const
 Returns a pointer to the object that sent the signal, if called in a slot activated by a signal; otherwise it returns \nullptr.
 
int senderSignalIndex () const
 
int receivers (const char *signal) const
 Returns the number of receivers connected to the signal.
 
bool isSignalConnected (const QMetaMethod &signal) const
 
virtual void timerEvent (QTimerEvent *event)
 This event handler can be reimplemented in a subclass to receive timer events for the object.
 
virtual void childEvent (QChildEvent *event)
 This event handler can be reimplemented in a subclass to receive child events.
 
virtual void customEvent (QEvent *event)
 This event handler can be reimplemented in a subclass to receive custom events.
 
virtual void connectNotify (const QMetaMethod &signal)
 
virtual void disconnectNotify (const QMetaMethod &signal)
 
 QObject (QObjectPrivate &dd, QObject *parent=nullptr)
 
- Protected Attributes inherited from QObject
QScopedPointer< QObjectDatad_ptr
 
- Properties inherited from QObject
QString objectName
 the name of this object
 

Detailed Description

Definition at line 95 of file qwaylanddisplay_p.h.

Constructor & Destructor Documentation

◆ QWaylandDisplay()

QtWaylandClient::QWaylandDisplay::QWaylandDisplay ( QWaylandIntegration waylandIntegration)

Definition at line 320 of file qwaylanddisplay.cpp.

References qEnvironmentVariableIsSet(), and qErrnoWarning().

+ Here is the call graph for this function:

◆ ~QWaylandDisplay()

QtWaylandClient::QWaylandDisplay::~QWaylandDisplay ( void  )
override

Definition at line 351 of file qwaylanddisplay.cpp.

References QWindowSystemInterface::handleScreenRemoved(), qDeleteAll(), and screen.

+ Here is the call graph for this function:

Member Function Documentation

◆ addRegistryListener()

void QtWaylandClient::QWaylandDisplay::addRegistryListener ( RegistryListener  listener,
void data 
)

Definition at line 844 of file qwaylanddisplay.cpp.

References QList< T >::append(), and i.

Referenced by QtWaylandClient::QWaylandWindowManagerIntegration::QWaylandWindowManagerIntegration(), and QtWaylandClient::QWaylandBrcmEglIntegration::initialize().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ blockingReadEvents

void QtWaylandClient::QWaylandDisplay::blockingReadEvents ( )
slot

Definition at line 543 of file qwaylanddisplay.cpp.

References qWarning.

Referenced by QtWaylandClient::QWaylandShmBackingStore::resize().

+ Here is the caller graph for this function:

◆ clientBufferIntegration()

QWaylandClientBufferIntegration * QtWaylandClient::QWaylandDisplay::clientBufferIntegration ( ) const

Definition at line 310 of file qwaylanddisplay.cpp.

References QtWaylandClient::QWaylandIntegration::clientBufferIntegration().

Referenced by QtWaylandClient::QWaylandEglWindow::QWaylandEglWindow(), and supportsWindowDecoration().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compositor()

QtWayland::wl_compositor * QtWaylandClient::QWaylandDisplay::compositor ( )
inline

Definition at line 132 of file qwaylanddisplay_p.h.

◆ createRegion()

struct::wl_region * QtWaylandClient::QWaylandDisplay::createRegion ( const QRegion qregion)

Definition at line 270 of file qwaylanddisplay.cpp.

References rect.

◆ createSubSurface()

wl_subsurface * QtWaylandClient::QWaylandDisplay::createSubSurface ( QWaylandWindow window,
QWaylandWindow parent 
)

Definition at line 280 of file qwaylanddisplay.cpp.

References QObject::parent(), Q_ASSERT, qCWarning, and window().

+ Here is the call graph for this function:

◆ createSurface()

struct wl_surface * QtWaylandClient::QWaylandDisplay::createSurface ( void handle)

Definition at line 263 of file qwaylanddisplay.cpp.

Referenced by QtWaylandClient::QWaylandGLContext::createTemporaryOffscreenSurface().

+ Here is the caller graph for this function:

◆ createViewport()

wp_viewport * QtWaylandClient::QWaylandDisplay::createViewport ( QWaylandWindow window)

Definition at line 294 of file qwaylanddisplay.cpp.

References Q_ASSERT, qCWarning, and window().

+ Here is the call graph for this function:

◆ currentInputDevice()

QWaylandInputDevice * QtWaylandClient::QWaylandDisplay::currentInputDevice ( ) const
inline

Definition at line 136 of file qwaylanddisplay_p.h.

Referenced by QtWaylandClient::QWaylandClipboard::mimeData(), QtWaylandClient::QWaylandClipboard::ownsMode(), QtWaylandClient::QWaylandClipboard::setMimeData(), and QtWaylandClient::QWaylandClipboard::supportsMode().

+ Here is the caller graph for this function:

◆ currentTimeMillisec()

uint32_t QtWaylandClient::QWaylandDisplay::currentTimeMillisec ( )
static

Definition at line 861 of file qwaylanddisplay.cpp.

References ret.

◆ cursorShapeManager()

QtWayland::wp_cursor_shape_manager_v1 * QtWaylandClient::QWaylandDisplay::cursorShapeManager ( ) const
inline

Definition at line 199 of file qwaylanddisplay_p.h.

◆ defaultInputDevice()

QWaylandInputDevice * QtWaylandClient::QWaylandDisplay::defaultInputDevice ( ) const

Definition at line 996 of file qwaylanddisplay.cpp.

References nullptr.

Referenced by QtWaylandClient::QWaylandNativeInterface::nativeResourceForIntegration().

+ Here is the caller graph for this function:

◆ ensureScreen()

void QtWaylandClient::QWaylandDisplay::ensureScreen ( )

Definition at line 401 of file qwaylanddisplay.cpp.

References QWindowSystemInterface::handleScreenAdded(), Q_ASSERT, qCInfo, and QGuiApplication::screens().

Referenced by registry_global_remove().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ flushRequests

void QtWaylandClient::QWaylandDisplay::flushRequests ( )
slot

Definition at line 503 of file qwaylanddisplay.cpp.

Referenced by initEventThread().

+ Here is the caller graph for this function:

◆ forceRoundTrip()

void QtWaylandClient::QWaylandDisplay::forceRoundTrip ( )

Definition at line 871 of file qwaylanddisplay.cpp.

Referenced by QtWaylandClient::QWaylandScreen::QWaylandScreen(), QtWaylandClient::QWaylandInputMethodContext::commit(), QtWaylandClient::QWaylandXdgSurface::externWindowHandle(), initialize(), and registry_global().

+ Here is the caller graph for this function:

◆ fractionalScaleManager()

QtWayland::wp_fractional_scale_manager_v1 * QtWaylandClient::QWaylandDisplay::fractionalScaleManager ( ) const
inline

Definition at line 191 of file qwaylanddisplay_p.h.

◆ frameEventQueue()

wl_event_queue * QtWaylandClient::QWaylandDisplay::frameEventQueue ( )
inline

Definition at line 246 of file qwaylanddisplay_p.h.

◆ globalAdded

void QtWaylandClient::QWaylandDisplay::globalAdded ( const RegistryGlobal global)
signal

Referenced by QWaylandClientExtension::QWaylandClientExtension(), and registry_global().

+ Here is the caller graph for this function:

◆ globalRemoved

void QtWaylandClient::QWaylandDisplay::globalRemoved ( const RegistryGlobal global)
signal

Referenced by QWaylandClientExtension::QWaylandClientExtension(), and registry_global_remove().

+ Here is the caller graph for this function:

◆ globals()

QList< RegistryGlobal > QtWaylandClient::QWaylandDisplay::globals ( ) const
inline

Definition at line 216 of file qwaylanddisplay_p.h.

◆ handleKeyboardFocusChanged()

void QtWaylandClient::QWaylandDisplay::handleKeyboardFocusChanged ( QWaylandInputDevice inputDevice)

Definition at line 933 of file qwaylanddisplay.cpp.

References handleWindowActivated(), handleWindowDeactivated(), and QtWaylandClient::QWaylandInputDevice::keyboardFocus().

+ Here is the call graph for this function:

◆ handleScreenInitialized()

void QtWaylandClient::QWaylandDisplay::handleScreenInitialized ( QWaylandScreen screen)

Definition at line 596 of file qwaylanddisplay.cpp.

References QWindowSystemInterface::handleScreenAdded(), QWindowSystemInterface::handleScreenRemoved(), and screen.

Referenced by QtWaylandClient::QWaylandScreen::maybeInitialize().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ handleWindowActivated()

void QtWaylandClient::QWaylandDisplay::handleWindowActivated ( QWaylandWindow window)

Definition at line 905 of file qwaylanddisplay.cpp.

References decoration, and window().

Referenced by QtWaylandClient::QWaylandShellSurface::handleActivationChanged(), and handleKeyboardFocusChanged().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ handleWindowDeactivated()

void QtWaylandClient::QWaylandDisplay::handleWindowDeactivated ( QWaylandWindow window)

Definition at line 917 of file qwaylanddisplay.cpp.

References QCoreApplication::closingDown(), decoration, Q_ASSERT, and window().

Referenced by QtWaylandClient::QWaylandShellSurface::handleActivationChanged(), handleKeyboardFocusChanged(), and handleWindowDestroyed().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ handleWindowDestroyed()

void QtWaylandClient::QWaylandDisplay::handleWindowDestroyed ( QWaylandWindow window)

Definition at line 948 of file qwaylanddisplay.cpp.

References handleWindowDeactivated(), and window().

+ Here is the call graph for this function:

◆ hardwareIntegration()

QWaylandHardwareIntegration * QtWaylandClient::QWaylandDisplay::hardwareIntegration ( ) const
inline

Definition at line 183 of file qwaylanddisplay_p.h.

◆ hasRegistryGlobal()

bool QtWaylandClient::QWaylandDisplay::hasRegistryGlobal ( QStringView  interfaceName) const

Definition at line 835 of file qwaylanddisplay.cpp.

References global.

◆ initEventThread()

void QtWaylandClient::QWaylandDisplay::initEventThread ( )

Definition at line 511 of file qwaylanddisplay.cpp.

References QObject::connect(), QtWaylandClient::EventThread::EmitToDispatch, flushRequests(), QtWaylandClient::EventThread::needReadAndDispatch(), Qt::QueuedConnection, QtWaylandClient::EventThread::SelfDispatch, and QtWaylandClient::EventThread::waylandError().

+ Here is the call graph for this function:

◆ initialize()

bool QtWaylandClient::QWaylandDisplay::initialize ( )

Definition at line 384 of file qwaylanddisplay.cpp.

References forceRoundTrip(), qEnvironmentVariableIntValue(), and shellIntegration().

+ Here is the call graph for this function:

◆ inputDevices()

QList< QWaylandInputDevice * > QtWaylandClient::QWaylandDisplay::inputDevices ( ) const
inline

Definition at line 134 of file qwaylanddisplay_p.h.

Referenced by QtWaylandClient::QWaylandDataDeviceManager::QWaylandDataDeviceManager(), QtWaylandClient::QWaylandTouchExtension::touch_extension_touch(), and QtWaylandClient::QWaylandQtKeyExtension::zqt_key_v1_key().

+ Here is the caller graph for this function:

◆ isClientSideInputContextRequested()

bool QtWaylandClient::QWaylandDisplay::isClientSideInputContextRequested ( ) const

Definition at line 1008 of file qwaylanddisplay.cpp.

◆ isKeyboardAvailable()

bool QtWaylandClient::QWaylandDisplay::isKeyboardAvailable ( ) const

Definition at line 1001 of file qwaylanddisplay.cpp.

References device.

◆ isWindowActivated()

bool QtWaylandClient::QWaylandDisplay::isWindowActivated ( const QWaylandWindow window)

Definition at line 900 of file qwaylanddisplay.cpp.

References window().

+ Here is the call graph for this function:

◆ lastInputDevice()

QWaylandInputDevice * QtWaylandClient::QWaylandDisplay::lastInputDevice ( ) const
inline

Definition at line 236 of file qwaylanddisplay_p.h.

Referenced by QtWaylandClient::QWaylandWlShellSurface::QWaylandWlShellSurface().

+ Here is the caller graph for this function:

◆ lastInputSerial()

uint32_t QtWaylandClient::QWaylandDisplay::lastInputSerial ( ) const
inline

Definition at line 235 of file qwaylanddisplay_p.h.

Referenced by QtWaylandClient::QWaylandWlShellSurface::QWaylandWlShellSurface().

+ Here is the caller graph for this function:

◆ lastInputWindow()

QWaylandWindow * QtWaylandClient::QWaylandDisplay::lastInputWindow ( ) const

Definition at line 888 of file qwaylanddisplay.cpp.

◆ placeholderScreen()

QPlatformPlaceholderScreen * QtWaylandClient::QWaylandDisplay::placeholderScreen ( ) const
inline

Definition at line 109 of file qwaylanddisplay_p.h.

Referenced by QtWaylandClient::QWaylandScreen::virtualSiblings().

+ Here is the caller graph for this function:

◆ pointerGestures()

QWaylandPointerGestures * QtWaylandClient::QWaylandDisplay::pointerGestures ( ) const
inline

Definition at line 159 of file qwaylanddisplay_p.h.

Referenced by QtWaylandClient::QWaylandInputDevice::seat_capabilities().

+ Here is the caller graph for this function:

◆ reconnected

void QtWaylandClient::QWaylandDisplay::reconnected ( )
signal

Referenced by QtWaylandClient::QWaylandEglWindow::QWaylandEglWindow(), QtWaylandClient::QWaylandGLContext::QWaylandGLContext(), and QtWaylandClient::QWaylandShmBackingStore::QWaylandShmBackingStore().

+ Here is the caller graph for this function:

◆ registry_global()

void QtWaylandClient::QWaylandDisplay::registry_global ( uint32_t  id,
const QString interface,
uint32_t  version 
)
overrideprivate

◆ registry_global_remove()

void QtWaylandClient::QWaylandDisplay::registry_global_remove ( uint32_t  id)
overrideprivate

Definition at line 772 of file qwaylanddisplay.cpp.

References emit, ensureScreen(), global, globalRemoved(), QWindowSystemInterface::handleScreenRemoved(), i, QtWaylandClient::QWaylandIntegration::reconfigureInputContext(), and screen.

+ Here is the call graph for this function:

◆ removeListener()

void QtWaylandClient::QWaylandDisplay::removeListener ( RegistryListener  listener,
void data 
)

Definition at line 853 of file qwaylanddisplay.cpp.

References QList< T >::begin(), QList< T >::end(), QList< T >::erase(), and iter.

Referenced by QtWaylandClient::QWaylandXdgShell::~QWaylandXdgShell().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ screenForOutput()

QWaylandScreen * QtWaylandClient::QWaylandDisplay::screenForOutput ( struct wl_output *  output) const

Definition at line 587 of file qwaylanddisplay.cpp.

References output, and screen.

◆ screens()

QList< QWaylandScreen * > QtWaylandClient::QWaylandDisplay::screens ( ) const
inline

Definition at line 108 of file qwaylanddisplay_p.h.

Referenced by QtWaylandClient::QWaylandScreen::virtualSiblings().

+ Here is the caller graph for this function:

◆ setLastInputDevice()

void QtWaylandClient::QWaylandDisplay::setLastInputDevice ( QWaylandInputDevice device,
uint32_t  serial,
QWaylandWindow window 
)

Definition at line 893 of file qwaylanddisplay.cpp.

References device, and win.

Referenced by QtWaylandClient::QWaylandTabletToolV2::zwp_tablet_tool_v2_down().

+ Here is the caller graph for this function:

◆ shellIntegration()

QWaylandShellIntegration * QtWaylandClient::QWaylandDisplay::shellIntegration ( ) const

Definition at line 305 of file qwaylanddisplay.cpp.

References QtWaylandClient::QWaylandIntegration::shellIntegration().

Referenced by initialize().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ shm()

QWaylandShm * QtWaylandClient::QWaylandDisplay::shm ( ) const
inline

Definition at line 227 of file qwaylanddisplay_p.h.

◆ supportsWindowDecoration()

bool QtWaylandClient::QWaylandDisplay::supportsWindowDecoration ( ) const

Definition at line 876 of file qwaylanddisplay.cpp.

References clientBufferIntegration(), disabled, qgetenv(), QtWaylandClient::QWaylandClientBufferIntegration::supportsWindowDecoration(), and QByteArray::toInt().

Referenced by QtWaylandClient::QWaylandEglClientBufferIntegration::createPlatformOpenGLContext(), and QtWaylandClient::QWaylandEglWindow::updateSurface().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ textInputManagerv1()

QtWayland::zwp_text_input_manager_v1 * QtWaylandClient::QWaylandDisplay::textInputManagerv1 ( ) const
inline

Definition at line 171 of file qwaylanddisplay_p.h.

Referenced by QtWaylandClient::QWaylandInputDevice::QWaylandInputDevice(), and QtWaylandClient::QWaylandInputContext::isValid().

+ Here is the caller graph for this function:

◆ textInputManagerv2()

QtWayland::zwp_text_input_manager_v2 * QtWaylandClient::QWaylandDisplay::textInputManagerv2 ( ) const
inline

Definition at line 175 of file qwaylanddisplay_p.h.

Referenced by QtWaylandClient::QWaylandInputDevice::QWaylandInputDevice(), and QtWaylandClient::QWaylandInputContext::isValid().

+ Here is the caller graph for this function:

◆ textInputManagerv4()

QtWayland::zwp_text_input_manager_v4 * QtWaylandClient::QWaylandDisplay::textInputManagerv4 ( ) const
inline

Definition at line 179 of file qwaylanddisplay_p.h.

Referenced by QtWaylandClient::QWaylandInputDevice::QWaylandInputDevice(), and QtWaylandClient::QWaylandInputContext::isValid().

+ Here is the caller graph for this function:

◆ textInputMethodManager()

QtWayland::qt_text_input_method_manager_v1 * QtWaylandClient::QWaylandDisplay::textInputMethodManager ( ) const
inline

Definition at line 167 of file qwaylanddisplay_p.h.

Referenced by QtWaylandClient::QWaylandInputDevice::QWaylandInputDevice(), and QtWaylandClient::QWaylandInputMethodContext::isValid().

+ Here is the caller graph for this function:

◆ touchExtension()

QWaylandTouchExtension * QtWaylandClient::QWaylandDisplay::touchExtension ( ) const
inline

Definition at line 163 of file qwaylanddisplay_p.h.

◆ viewporter()

QtWayland::wp_viewporter * QtWaylandClient::QWaylandDisplay::viewporter ( ) const
inline

Definition at line 195 of file qwaylanddisplay_p.h.

◆ windowExtension()

QtWayland::qt_surface_extension * QtWaylandClient::QWaylandDisplay::windowExtension ( ) const
inline

Definition at line 149 of file qwaylanddisplay_p.h.

Referenced by QtWaylandClient::QWaylandWlShellSurface::QWaylandWlShellSurface().

+ Here is the caller graph for this function:

◆ windowManagerIntegration()

QWaylandWindowManagerIntegration * QtWaylandClient::QWaylandDisplay::windowManagerIntegration ( ) const

Definition at line 315 of file qwaylanddisplay.cpp.

◆ wl_compositor()

const struct wl_compositor * QtWaylandClient::QWaylandDisplay::wl_compositor ( ) const
inline

Definition at line 131 of file qwaylanddisplay_p.h.

Referenced by QtWaylandClient::QWaylandNativeInterface::nativeResourceForIntegration(), and QtWaylandClient::QWaylandNativeInterface::nativeResourceForWindow().

+ Here is the caller graph for this function:

◆ wl_display()

◆ wl_registry()

struct::wl_registry * QtWaylandClient::QWaylandDisplay::wl_registry ( )
inline

Definition at line 129 of file qwaylanddisplay_p.h.

◆ xdgOutputManager()

QWaylandXdgOutputManagerV1 * QtWaylandClient::QWaylandDisplay::xdgOutputManager ( ) const
inline

Definition at line 187 of file qwaylanddisplay_p.h.

Referenced by QtWaylandClient::QWaylandScreen::QWaylandScreen(), registry_global(), QtWaylandClient::QWaylandScreen::requiredEvents(), and QtWaylandClient::QWaylandScreen::zxdg_output_v1_done().

+ Here is the caller graph for this function:

◆ xdgToplevelDragManager()

QtWayland::qt_toplevel_drag_manager_v1 * QtWaylandClient::QWaylandDisplay::xdgToplevelDragManager ( ) const
inline

Definition at line 203 of file qwaylanddisplay_p.h.

Friends And Related Symbol Documentation

◆ QWaylandIntegration

friend class QWaylandIntegration
friend

Definition at line 369 of file qwaylanddisplay_p.h.


The documentation for this class was generated from the following files: