![]() |
Qt 6.x
The Qt SDK
|
#include <qwaylandxdgshell_p.h>
Static Public Member Functions | |
static QWaylandXdgShellPrivate * | get (QWaylandXdgShell *xdgShell) |
![]() | |
static QWaylandCompositorExtensionPrivate * | get (QWaylandCompositorExtension *extension) |
![]() | |
static bool | removeConnection (Connection *c) |
static QObjectPrivate * | get (QObject *o) |
static const QObjectPrivate * | get (const QObject *o) |
template<typename Func1 , typename Func2 > | |
static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
template<typename Func1 , typename Func2 > | |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot) |
static QMetaObject::Connection | connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static bool | disconnect (const QObject *sender, int signal_index, void **slot) |
static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot) |
Protected Member Functions | |
void | xdg_wm_base_destroy (Resource *resource) override |
void | xdg_wm_base_create_positioner (Resource *resource, uint32_t id) override |
void | xdg_wm_base_get_xdg_surface (Resource *resource, uint32_t id, struct ::wl_resource *surface) override |
void | xdg_wm_base_pong (Resource *resource, uint32_t serial) override |
Additional Inherited Members | |
![]() | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
using | ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData > |
Definition at line 43 of file qwaylandxdgshell_p.h.
QT_BEGIN_NAMESPACE QWaylandXdgShellPrivate::QWaylandXdgShellPrivate | ( | ) |
Definition at line 24 of file qwaylandxdgshell.cpp.
|
inlinestatic |
Definition at line 53 of file qwaylandxdgshell_p.h.
Referenced by QWaylandXdgSurfacePrivate::xdg_surface_destroy_resource().
void QWaylandXdgShellPrivate::ping | ( | Resource * | resource, |
uint32_t | serial | ||
) |
Definition at line 28 of file qwaylandxdgshell.cpp.
References QSet< T >::insert(), and m_pings.
void QWaylandXdgShellPrivate::registerXdgSurface | ( | QWaylandXdgSurface * | xdgSurface | ) |
Definition at line 34 of file qwaylandxdgshell.cpp.
References QWaylandClient::client(), QWaylandSurface::client, QMultiMap< Key, T >::insert(), m_xdgSurfaces, and QWaylandXdgSurface::surface.
Referenced by xdg_wm_base_get_xdg_surface().
void QWaylandXdgShellPrivate::unregisterXdgSurface | ( | QWaylandXdgSurface * | xdgSurface | ) |
Definition at line 39 of file qwaylandxdgshell.cpp.
References QWaylandXdgSurfacePrivate::get(), m_xdgSurfaces, Q_FUNC_INFO, qWarning, and QMultiMap< Key, T >::remove().
Referenced by QWaylandXdgSurfacePrivate::xdg_surface_destroy_resource().
|
overrideprotected |
Definition at line 64 of file qwaylandxdgshell.cpp.
|
overrideprotected |
Definition at line 55 of file qwaylandxdgshell.cpp.
References m_xdgSurfaces, and QMultiMap< Key, T >::values().
|
overrideprotected |
Definition at line 72 of file qwaylandxdgshell.cpp.
References QByteArray::constData(), emit, QWaylandSurface::fromResource(), QWaylandSurface::hasContent, QWaylandSurfaceRole::name(), qWarning, registerXdgSurface(), QWaylandSurface::resource(), and QWaylandSurface::role().
|
overrideprotected |
Definition at line 99 of file qwaylandxdgshell.cpp.
References emit, m_pings, Q_UNUSED, qWarning, and QSet< T >::remove().
QWaylandXdgSurface * QWaylandXdgShellPrivate::xdgSurfaceFromSurface | ( | QWaylandSurface * | surface | ) |
Definition at line 46 of file qwaylandxdgshell.cpp.
References m_xdgSurfaces.
QSet<uint32_t> QWaylandXdgShellPrivate::m_pings |
Definition at line 55 of file qwaylandxdgshell_p.h.
Referenced by ping(), and xdg_wm_base_pong().
QMultiMap<struct wl_client *, QWaylandXdgSurface *> QWaylandXdgShellPrivate::m_xdgSurfaces |
Definition at line 56 of file qwaylandxdgshell_p.h.
Referenced by registerXdgSurface(), unregisterXdgSurface(), xdg_wm_base_destroy(), and xdgSurfaceFromSurface().