KWin
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
KWin::TabletToolV2InterfacePrivate Class Reference
Inheritance diagram for KWin::TabletToolV2InterfacePrivate:

Public Member Functions

 TabletToolV2InterfacePrivate (TabletToolV2Interface *q, Display *display, TabletToolV2Interface::Type type, uint32_t hsh, uint32_t hsl, uint32_t hih, uint32_t hil, const QList< TabletToolV2Interface::Capability > &capabilities)
 
std::ranges::subrange< QMultiMap< struct ::wl_client *, Resource * >::const_iterator > targetResources () const
 
quint64 hardwareId () const
 
quint64 hardwareSerial () const
 
void zwp_tablet_tool_v2_bind_resource (QtWaylandServer::zwp_tablet_tool_v2::Resource *resource) override
 
void zwp_tablet_tool_v2_set_cursor (Resource *resource, uint32_t serial, struct ::wl_resource *_surface, int32_t hotspot_x, int32_t hotspot_y) override
 
void zwp_tablet_tool_v2_destroy_resource (Resource *resource) override
 
void zwp_tablet_tool_v2_destroy (Resource *resource) override
 

Public Attributes

Display *const m_display
 
quint32 m_proximitySerial = 0
 
std::optional< quint32 > m_downSerial
 
bool m_cleanup = false
 
bool m_removed = false
 
QPointer< SurfaceInterfacem_surface
 
QPointer< TabletV2Interfacem_lastTablet
 
const uint32_t m_type
 
const uint32_t m_hardwareSerialHigh
 
const uint32_t m_hardwareSerialLow
 
const uint32_t m_hardwareIdHigh
 
const uint32_t m_hardwareIdLow
 
const QList< TabletToolV2Interface::Capabilitym_capabilities
 
QHash< wl_client *, TabletSurfaceCursorV2 * > m_cursors
 
TabletToolV2Interface *const q
 

Detailed Description

Definition at line 126 of file tablet_v2.cpp.

Constructor & Destructor Documentation

◆ TabletToolV2InterfacePrivate()

KWin::TabletToolV2InterfacePrivate::TabletToolV2InterfacePrivate ( TabletToolV2Interface * q,
Display * display,
TabletToolV2Interface::Type type,
uint32_t hsh,
uint32_t hsl,
uint32_t hih,
uint32_t hil,
const QList< TabletToolV2Interface::Capability > & capabilities )
inline

Definition at line 129 of file tablet_v2.cpp.

Member Function Documentation

◆ hardwareId()

quint64 KWin::TabletToolV2InterfacePrivate::hardwareId ( ) const
inline

Definition at line 159 of file tablet_v2.cpp.

◆ hardwareSerial()

quint64 KWin::TabletToolV2InterfacePrivate::hardwareSerial ( ) const
inline

Definition at line 163 of file tablet_v2.cpp.

◆ targetResources()

std::ranges::subrange< QMultiMap< struct ::wl_client *, Resource * >::const_iterator > KWin::TabletToolV2InterfacePrivate::targetResources ( ) const
inline

Definition at line 149 of file tablet_v2.cpp.

◆ zwp_tablet_tool_v2_bind_resource()

void KWin::TabletToolV2InterfacePrivate::zwp_tablet_tool_v2_bind_resource ( QtWaylandServer::zwp_tablet_tool_v2::Resource * resource)
inlineoverride

Definition at line 168 of file tablet_v2.cpp.

◆ zwp_tablet_tool_v2_destroy()

void KWin::TabletToolV2InterfacePrivate::zwp_tablet_tool_v2_destroy ( Resource * resource)
inlineoverride

Definition at line 211 of file tablet_v2.cpp.

◆ zwp_tablet_tool_v2_destroy_resource()

void KWin::TabletToolV2InterfacePrivate::zwp_tablet_tool_v2_destroy_resource ( Resource * resource)
inlineoverride

Definition at line 201 of file tablet_v2.cpp.

◆ zwp_tablet_tool_v2_set_cursor()

void KWin::TabletToolV2InterfacePrivate::zwp_tablet_tool_v2_set_cursor ( Resource * resource,
uint32_t serial,
struct ::wl_resource * _surface,
int32_t hotspot_x,
int32_t hotspot_y )
inlineoverride

Definition at line 175 of file tablet_v2.cpp.

Member Data Documentation

◆ m_capabilities

const QList<TabletToolV2Interface::Capability> KWin::TabletToolV2InterfacePrivate::m_capabilities

Definition at line 226 of file tablet_v2.cpp.

◆ m_cleanup

bool KWin::TabletToolV2InterfacePrivate::m_cleanup = false

Definition at line 219 of file tablet_v2.cpp.

◆ m_cursors

QHash<wl_client *, TabletSurfaceCursorV2 *> KWin::TabletToolV2InterfacePrivate::m_cursors

Definition at line 227 of file tablet_v2.cpp.

◆ m_display

Display* const KWin::TabletToolV2InterfacePrivate::m_display

Definition at line 216 of file tablet_v2.cpp.

◆ m_downSerial

std::optional<quint32> KWin::TabletToolV2InterfacePrivate::m_downSerial

Definition at line 218 of file tablet_v2.cpp.

◆ m_hardwareIdHigh

const uint32_t KWin::TabletToolV2InterfacePrivate::m_hardwareIdHigh

Definition at line 225 of file tablet_v2.cpp.

◆ m_hardwareIdLow

const uint32_t KWin::TabletToolV2InterfacePrivate::m_hardwareIdLow

Definition at line 225 of file tablet_v2.cpp.

◆ m_hardwareSerialHigh

const uint32_t KWin::TabletToolV2InterfacePrivate::m_hardwareSerialHigh

Definition at line 224 of file tablet_v2.cpp.

◆ m_hardwareSerialLow

const uint32_t KWin::TabletToolV2InterfacePrivate::m_hardwareSerialLow

Definition at line 224 of file tablet_v2.cpp.

◆ m_lastTablet

QPointer<TabletV2Interface> KWin::TabletToolV2InterfacePrivate::m_lastTablet

Definition at line 222 of file tablet_v2.cpp.

◆ m_proximitySerial

quint32 KWin::TabletToolV2InterfacePrivate::m_proximitySerial = 0

Definition at line 217 of file tablet_v2.cpp.

◆ m_removed

bool KWin::TabletToolV2InterfacePrivate::m_removed = false

Definition at line 220 of file tablet_v2.cpp.

◆ m_surface

QPointer<SurfaceInterface> KWin::TabletToolV2InterfacePrivate::m_surface

Definition at line 221 of file tablet_v2.cpp.

◆ m_type

const uint32_t KWin::TabletToolV2InterfacePrivate::m_type

Definition at line 223 of file tablet_v2.cpp.

◆ q

TabletToolV2Interface* const KWin::TabletToolV2InterfacePrivate::q

Definition at line 228 of file tablet_v2.cpp.


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