Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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 connected ()
 
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 ()
 
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_v3 * textInputManagerv3 () 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::xdg_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 isWaylandInputContextRequested () 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.
 
bool moveToThread (QThread *thread QT6_DECL_NEW_OVERLOAD_TAIL)
 Changes the thread affinity for this object and its children and returns true on success.
 
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::nanoseconds time, Qt::TimerType timerType=Qt::CoarseTimer)
 
void killTimer (int id)
 Kills the timer with timer identifier, id.
 
void killTimer (Qt::TimerId id)
 
template<typename T >
findChild (QAnyStringView aName, 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 (QAnyStringView 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 >
findChild (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.
 
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.
 

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

- 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)
 
- 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 97 of file qwaylanddisplay_p.h.

Constructor & Destructor Documentation

◆ QWaylandDisplay()

QtWaylandClient::QWaylandDisplay::QWaylandDisplay ( QWaylandIntegration * waylandIntegration)

Definition at line 318 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 347 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 864 of file qwaylanddisplay.cpp.

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

+ Here is the call graph for this function:

◆ blockingReadEvents

void QtWaylandClient::QWaylandDisplay::blockingReadEvents ( )
slot

Definition at line 543 of file qwaylanddisplay.cpp.

References qWarning.

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

+ Here is the caller graph for this function:

◆ clientBufferIntegration()

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

Definition at line 308 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 136 of file qwaylanddisplay_p.h.

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

+ Here is the caller graph for this function:

◆ connected

void QtWaylandClient::QWaylandDisplay::connected ( )
signal

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

+ Here is the caller graph for this function:

◆ createRegion()

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

Definition at line 268 of file qwaylanddisplay.cpp.

References rect.

◆ createSubSurface()

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

Definition at line 278 of file qwaylanddisplay.cpp.

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

Referenced by QtWaylandClient::QWaylandWindow::setParent().

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

◆ createSurface()

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

Definition at line 261 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 292 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 143 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:

◆ cursorShapeManager()

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

Definition at line 206 of file qwaylanddisplay_p.h.

◆ defaultInputDevice()

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

Definition at line 1011 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 403 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 881 of file qwaylanddisplay.cpp.

Referenced by QtWaylandClient::QWaylandScreen::QWaylandScreen(), QtWaylandClient::QWaylandInputMethodContext::commit(), 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 198 of file qwaylanddisplay_p.h.

◆ frameEventQueue()

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

Definition at line 255 of file qwaylanddisplay_p.h.

Referenced by QtWaylandClient::QWaylandWindow::handleUpdate().

+ Here is the caller graph for this function:

◆ 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 224 of file qwaylanddisplay_p.h.

Referenced by QWaylandClientExtension::initialize().

+ Here is the caller graph for this function:

◆ handleKeyboardFocusChanged()

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

Definition at line 948 of file qwaylanddisplay.cpp.

References handleWindowActivated(), and handleWindowDeactivated().

+ Here is the call graph for this function:

◆ handleScreenInitialized()

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

Definition at line 598 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 920 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 932 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 963 of file qwaylanddisplay.cpp.

References handleWindowDeactivated(), and window().

Referenced by QtWaylandClient::QWaylandWindow::reset().

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

◆ hardwareIntegration()

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

Definition at line 190 of file qwaylanddisplay_p.h.

◆ hasRegistryGlobal()

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

Definition at line 855 of file qwaylanddisplay.cpp.

References global, and interfaceName().

+ Here is the call graph for this function:

◆ 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 connected(), emit, forceRoundTrip(), qEnvironmentVariableIntValue(), and shellIntegration().

+ Here is the call graph for this function:

◆ inputDevices()

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

Definition at line 141 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:

◆ isKeyboardAvailable()

bool QtWaylandClient::QWaylandDisplay::isKeyboardAvailable ( ) const

Definition at line 1016 of file qwaylanddisplay.cpp.

References device.

◆ isWaylandInputContextRequested()

bool QtWaylandClient::QWaylandDisplay::isWaylandInputContextRequested ( ) const

Definition at line 1023 of file qwaylanddisplay.cpp.

◆ isWindowActivated()

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

Definition at line 915 of file qwaylanddisplay.cpp.

References window().

Referenced by QtWaylandClient::QWaylandWindow::isActive().

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

◆ lastInputDevice()

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

Definition at line 245 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 244 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 903 of file qwaylanddisplay.cpp.

◆ placeholderScreen()

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

Definition at line 111 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 166 of file qwaylanddisplay_p.h.

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

+ 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 794 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 873 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 589 of file qwaylanddisplay.cpp.

References output, and screen.

◆ screens()

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

Definition at line 110 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 908 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 303 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 235 of file qwaylanddisplay_p.h.

◆ supportsWindowDecoration()

bool QtWaylandClient::QWaylandDisplay::supportsWindowDecoration ( ) const

Definition at line 886 of file qwaylanddisplay.cpp.

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

Referenced by QtWaylandClient::QWaylandWindow::createDecoration(), 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 178 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 182 of file qwaylanddisplay_p.h.

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

+ Here is the caller graph for this function:

◆ textInputManagerv3()

QtWayland::zwp_text_input_manager_v3 * QtWaylandClient::QWaylandDisplay::textInputManagerv3 ( ) const
inline

Definition at line 186 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 174 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 170 of file qwaylanddisplay_p.h.

◆ viewporter()

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

Definition at line 202 of file qwaylanddisplay_p.h.

◆ windowExtension()

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

Definition at line 156 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 313 of file qwaylanddisplay.cpp.

Referenced by QtWaylandClient::QWaylandPlatformServices::openDocument(), and QtWaylandClient::QWaylandPlatformServices::openUrl().

+ Here is the caller graph for this function:

◆ wl_display()

◆ wl_registry()

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

Definition at line 134 of file qwaylanddisplay_p.h.

◆ xdgOutputManager()

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

Definition at line 194 of file qwaylanddisplay_p.h.

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

+ Here is the caller graph for this function:

◆ xdgToplevelDragManager()

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

Definition at line 210 of file qwaylanddisplay_p.h.

Friends And Related Symbol Documentation

◆ QWaylandIntegration

friend class QWaylandIntegration
friend

Definition at line 375 of file qwaylanddisplay_p.h.


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