KWin
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
KWin::XdgShellInterfacePrivate Class Reference

#include <xdgshell_p.h>

Inheritance diagram for KWin::XdgShellInterfacePrivate:

Public Member Functions

 XdgShellInterfacePrivate (XdgShellInterface *shell)
 
Resource * resourceForXdgSurface (XdgSurfaceInterface *surface) const
 
void unregisterXdgSurface (XdgSurfaceInterface *surface)
 
void registerPing (quint32 serial)
 

Static Public Member Functions

static XdgShellInterfacePrivateget (XdgShellInterface *shell)
 

Public Attributes

XdgShellInterfaceq
 
Displaydisplay = nullptr
 
QMap< quint32, QTimer * > pings
 
std::chrono::milliseconds pingTimeout = std::chrono::milliseconds(1000)
 

Protected Member Functions

void xdg_wm_base_destroy_resource (Resource *resource) override
 
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, ::wl_resource *surface) override
 
void xdg_wm_base_pong (Resource *resource, uint32_t serial) override
 

Detailed Description

Definition at line 18 of file xdgshell_p.h.

Constructor & Destructor Documentation

◆ XdgShellInterfacePrivate()

KWin::XdgShellInterfacePrivate::XdgShellInterfacePrivate ( XdgShellInterface * shell)

Definition at line 22 of file xdgshell.cpp.

Member Function Documentation

◆ get()

XdgShellInterfacePrivate * KWin::XdgShellInterfacePrivate::get ( XdgShellInterface * shell)
static

Definition at line 59 of file xdgshell.cpp.

◆ registerPing()

void KWin::XdgShellInterfacePrivate::registerPing ( quint32 serial)
Todo
Whether the ping is delayed or has timed out is out of domain of the XdgShellInterface. Such matter must be handled somewhere else, e.g. XdgToplevelWindow, not here!

Definition at line 41 of file xdgshell.cpp.

◆ resourceForXdgSurface()

XdgShellInterfacePrivate::Resource * KWin::XdgShellInterfacePrivate::resourceForXdgSurface ( XdgSurfaceInterface * surface) const

Definition at line 27 of file xdgshell.cpp.

◆ unregisterXdgSurface()

void KWin::XdgShellInterfacePrivate::unregisterXdgSurface ( XdgSurfaceInterface * surface)

Definition at line 32 of file xdgshell.cpp.

◆ xdg_wm_base_create_positioner()

void KWin::XdgShellInterfacePrivate::xdg_wm_base_create_positioner ( Resource * resource,
uint32_t id )
overrideprotected

Definition at line 79 of file xdgshell.cpp.

◆ xdg_wm_base_destroy()

void KWin::XdgShellInterfacePrivate::xdg_wm_base_destroy ( Resource * resource)
overrideprotected

Definition at line 70 of file xdgshell.cpp.

◆ xdg_wm_base_destroy_resource()

void KWin::XdgShellInterfacePrivate::xdg_wm_base_destroy_resource ( Resource * resource)
overrideprotected

Definition at line 64 of file xdgshell.cpp.

◆ xdg_wm_base_get_xdg_surface()

void KWin::XdgShellInterfacePrivate::xdg_wm_base_get_xdg_surface ( Resource * resource,
uint32_t id,
::wl_resource * surface )
overrideprotected

Definition at line 85 of file xdgshell.cpp.

◆ xdg_wm_base_pong()

void KWin::XdgShellInterfacePrivate::xdg_wm_base_pong ( Resource * resource,
uint32_t serial )
overrideprotected

Definition at line 100 of file xdgshell.cpp.

Member Data Documentation

◆ display

Display* KWin::XdgShellInterfacePrivate::display = nullptr

Definition at line 32 of file xdgshell_p.h.

◆ pings

QMap<quint32, QTimer *> KWin::XdgShellInterfacePrivate::pings

Definition at line 33 of file xdgshell_p.h.

◆ pingTimeout

std::chrono::milliseconds KWin::XdgShellInterfacePrivate::pingTimeout = std::chrono::milliseconds(1000)

Definition at line 34 of file xdgshell_p.h.

◆ q

XdgShellInterface* KWin::XdgShellInterfacePrivate::q

Definition at line 31 of file xdgshell_p.h.


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