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

#include <seat_p.h>

Inheritance diagram for KWin::SeatInterfacePrivate:

Classes

struct  Drag
 
struct  Keyboard
 
struct  Pointer
 
struct  Touch
 

Public Member Functions

 SeatInterfacePrivate (SeatInterface *q, Display *display)
 
void sendCapabilities ()
 
QList< DataDeviceInterface * > dataDevicesForSurface (SurfaceInterface *surface) const
 
void registerPrimarySelectionDevice (PrimarySelectionDeviceV1Interface *primarySelectionDevice)
 
void registerDataDevice (DataDeviceInterface *dataDevice)
 
void registerDataControlDevice (DataControlDeviceV1Interface *dataDevice)
 
void endDrag ()
 
void cancelDrag ()
 
bool dragInhibitsPointer (SurfaceInterface *surface) const
 
void updatePointerButtonSerial (quint32 button, quint32 serial)
 
void updatePointerButtonState (quint32 button, Pointer::State state)
 

Static Public Member Functions

static KWIN_EXPORT SeatInterfacePrivateget (SeatInterface *seat)
 

Public Attributes

SeatInterfaceq
 
QPointer< Displaydisplay
 
QString name
 
std::chrono::milliseconds timestamp = std::chrono::milliseconds::zero()
 
quint32 capabilities = 0
 
std::unique_ptr< KeyboardInterfacekeyboard
 
std::unique_ptr< PointerInterfacepointer
 
std::unique_ptr< TouchInterfacetouch
 
QList< DataDeviceInterface * > dataDevices
 
QList< PrimarySelectionDeviceV1Interface * > primarySelectionDevices
 
QList< DataControlDeviceV1Interface * > dataControlDevices
 
QPointer< TextInputV1InterfacetextInputV1
 
QPointer< TextInputV2InterfacetextInputV2
 
QPointer< TextInputV3InterfacetextInputV3
 
SurfaceInterfacefocusedTextInputSurface = nullptr
 
QMetaObject::Connection focusedSurfaceDestroyConnection
 
AbstractDataSourcecurrentSelection = nullptr
 
AbstractDataSourcecurrentPrimarySelection = nullptr
 
Pointer globalPointer
 
Keyboard globalKeyboard
 
Touch globalTouch
 
Drag drag
 

Protected Member Functions

void seat_bind_resource (Resource *resource) override
 
void seat_get_pointer (Resource *resource, uint32_t id) override
 
void seat_get_keyboard (Resource *resource, uint32_t id) override
 
void seat_get_touch (Resource *resource, uint32_t id) override
 
void seat_release (Resource *resource) override
 

Detailed Description

Definition at line 33 of file seat_p.h.

Constructor & Destructor Documentation

◆ SeatInterfacePrivate()

KWin::SeatInterfacePrivate::SeatInterfacePrivate ( SeatInterface * q,
Display * display )

Definition at line 49 of file seat.cpp.

Member Function Documentation

◆ cancelDrag()

void KWin::SeatInterfacePrivate::cancelDrag ( )

Definition at line 256 of file seat.cpp.

◆ dataDevicesForSurface()

QList< DataDeviceInterface * > KWin::SeatInterfacePrivate::dataDevicesForSurface ( SurfaceInterface * surface) const

Definition at line 130 of file seat.cpp.

◆ dragInhibitsPointer()

bool KWin::SeatInterfacePrivate::dragInhibitsPointer ( SurfaceInterface * surface) const

Definition at line 271 of file seat.cpp.

◆ endDrag()

void KWin::SeatInterfacePrivate::endDrag ( )

Definition at line 280 of file seat.cpp.

◆ get()

SeatInterfacePrivate * KWin::SeatInterfacePrivate::get ( SeatInterface * seat)
static

Definition at line 44 of file seat.cpp.

◆ registerDataControlDevice()

void KWin::SeatInterfacePrivate::registerDataControlDevice ( DataControlDeviceV1Interface * dataDevice)

Definition at line 191 of file seat.cpp.

◆ registerDataDevice()

void KWin::SeatInterfacePrivate::registerDataDevice ( DataDeviceInterface * dataDevice)

Definition at line 144 of file seat.cpp.

◆ registerPrimarySelectionDevice()

void KWin::SeatInterfacePrivate::registerPrimarySelectionDevice ( PrimarySelectionDeviceV1Interface * primarySelectionDevice)

Definition at line 231 of file seat.cpp.

◆ seat_bind_resource()

void KWin::SeatInterfacePrivate::seat_bind_resource ( Resource * resource)
overrideprotected

Definition at line 62 of file seat.cpp.

◆ seat_get_keyboard()

void KWin::SeatInterfacePrivate::seat_get_keyboard ( Resource * resource,
uint32_t id )
overrideprotected

Definition at line 77 of file seat.cpp.

◆ seat_get_pointer()

void KWin::SeatInterfacePrivate::seat_get_pointer ( Resource * resource,
uint32_t id )
overrideprotected

Definition at line 71 of file seat.cpp.

◆ seat_get_touch()

void KWin::SeatInterfacePrivate::seat_get_touch ( Resource * resource,
uint32_t id )
overrideprotected

Definition at line 83 of file seat.cpp.

◆ seat_release()

void KWin::SeatInterfacePrivate::seat_release ( Resource * resource)
overrideprotected

Definition at line 89 of file seat.cpp.

◆ sendCapabilities()

void KWin::SeatInterfacePrivate::sendCapabilities ( )

Definition at line 334 of file seat.cpp.

◆ updatePointerButtonSerial()

void KWin::SeatInterfacePrivate::updatePointerButtonSerial ( quint32 button,
quint32 serial )

Definition at line 110 of file seat.cpp.

◆ updatePointerButtonState()

void KWin::SeatInterfacePrivate::updatePointerButtonState ( quint32 button,
Pointer::State state )

Definition at line 120 of file seat.cpp.

Member Data Documentation

◆ capabilities

quint32 KWin::SeatInterfacePrivate::capabilities = 0

Definition at line 53 of file seat_p.h.

◆ currentPrimarySelection

AbstractDataSource* KWin::SeatInterfacePrivate::currentPrimarySelection = nullptr

Definition at line 71 of file seat_p.h.

◆ currentSelection

AbstractDataSource* KWin::SeatInterfacePrivate::currentSelection = nullptr

Definition at line 70 of file seat_p.h.

◆ dataControlDevices

QList<DataControlDeviceV1Interface *> KWin::SeatInterfacePrivate::dataControlDevices

Definition at line 59 of file seat_p.h.

◆ dataDevices

QList<DataDeviceInterface *> KWin::SeatInterfacePrivate::dataDevices

Definition at line 57 of file seat_p.h.

◆ display

QPointer<Display> KWin::SeatInterfacePrivate::display

Definition at line 50 of file seat_p.h.

◆ drag

Drag KWin::SeatInterfacePrivate::drag

Definition at line 144 of file seat_p.h.

◆ focusedSurfaceDestroyConnection

QMetaObject::Connection KWin::SeatInterfacePrivate::focusedSurfaceDestroyConnection

Definition at line 67 of file seat_p.h.

◆ focusedTextInputSurface

SurfaceInterface* KWin::SeatInterfacePrivate::focusedTextInputSurface = nullptr

Definition at line 66 of file seat_p.h.

◆ globalKeyboard

Keyboard KWin::SeatInterfacePrivate::globalKeyboard

Definition at line 110 of file seat_p.h.

◆ globalPointer

Pointer KWin::SeatInterfacePrivate::globalPointer

Definition at line 93 of file seat_p.h.

◆ globalTouch

Touch KWin::SeatInterfacePrivate::globalTouch

Definition at line 126 of file seat_p.h.

◆ keyboard

std::unique_ptr<KeyboardInterface> KWin::SeatInterfacePrivate::keyboard

Definition at line 54 of file seat_p.h.

◆ name

QString KWin::SeatInterfacePrivate::name

Definition at line 51 of file seat_p.h.

◆ pointer

std::unique_ptr<PointerInterface> KWin::SeatInterfacePrivate::pointer

Definition at line 55 of file seat_p.h.

◆ primarySelectionDevices

QList<PrimarySelectionDeviceV1Interface *> KWin::SeatInterfacePrivate::primarySelectionDevices

Definition at line 58 of file seat_p.h.

◆ q

SeatInterface* KWin::SeatInterfacePrivate::q

Definition at line 49 of file seat_p.h.

◆ textInputV1

QPointer<TextInputV1Interface> KWin::SeatInterfacePrivate::textInputV1

Definition at line 61 of file seat_p.h.

◆ textInputV2

QPointer<TextInputV2Interface> KWin::SeatInterfacePrivate::textInputV2

Definition at line 63 of file seat_p.h.

◆ textInputV3

QPointer<TextInputV3Interface> KWin::SeatInterfacePrivate::textInputV3

Definition at line 64 of file seat_p.h.

◆ timestamp

std::chrono::milliseconds KWin::SeatInterfacePrivate::timestamp = std::chrono::milliseconds::zero()

Definition at line 52 of file seat_p.h.

◆ touch

std::unique_ptr<TouchInterface> KWin::SeatInterfacePrivate::touch

Definition at line 56 of file seat_p.h.


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