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

#include <keyboard_p.h>

Inheritance diagram for KWin::KeyboardInterfacePrivate:

Classes

struct  Modifiers
 

Public Member Functions

 KeyboardInterfacePrivate (SeatInterface *s)
 
void sendKeymap (Resource *resource)
 
void sendModifiers (SurfaceInterface *surface)
 
void sendModifiers (SurfaceInterface *surface, quint32 depressed, quint32 latched, quint32 locked, quint32 group, quint32 serial)
 
QList< Resource * > keyboardsForClient (ClientConnection *client) const
 
void sendLeave (SurfaceInterface *surface, quint32 serial)
 
void sendEnter (SurfaceInterface *surface, quint32 serial)
 
bool updateKey (quint32 key, KeyboardKeyState state)
 
QList< quint32 > pressedKeys () const
 

Static Public Member Functions

static KeyboardInterfacePrivateget (KeyboardInterface *keyboard)
 

Public Attributes

SeatInterfaceseat
 
SurfaceInterfacefocusedSurface = nullptr
 
QMetaObject::Connection destroyConnection
 
QPointer< SurfaceInterfacemodifierFocusSurface
 
QByteArray keymap
 
RamFile sharedKeymapFile
 
struct { 
 
   qint32   charactersPerSecond = 0 
 
   qint32   delay = 0 
 
keyRepeat 
 
Modifiers modifiers
 
QHash< quint32, KeyboardKeyStatestates
 

Protected Member Functions

void keyboard_release (Resource *resource) override
 
void keyboard_bind_resource (Resource *resource) override
 

Detailed Description

Definition at line 20 of file keyboard_p.h.

Constructor & Destructor Documentation

◆ KeyboardInterfacePrivate()

KWin::KeyboardInterfacePrivate::KeyboardInterfacePrivate ( SeatInterface * s)

Definition at line 20 of file keyboard.cpp.

Member Function Documentation

◆ get()

static KeyboardInterfacePrivate * KWin::KeyboardInterfacePrivate::get ( KeyboardInterface * keyboard)
inlinestatic

Definition at line 33 of file keyboard_p.h.

◆ keyboard_bind_resource()

void KWin::KeyboardInterfacePrivate::keyboard_bind_resource ( Resource * resource)
overrideprotected

Definition at line 30 of file keyboard.cpp.

◆ keyboard_release()

void KWin::KeyboardInterfacePrivate::keyboard_release ( Resource * resource)
overrideprotected

Definition at line 25 of file keyboard.cpp.

◆ keyboardsForClient()

QList< KeyboardInterfacePrivate::Resource * > KWin::KeyboardInterfacePrivate::keyboardsForClient ( ClientConnection * client) const

Definition at line 51 of file keyboard.cpp.

◆ pressedKeys()

QList< quint32 > KWin::KeyboardInterfacePrivate::pressedKeys ( ) const

Definition at line 174 of file keyboard.cpp.

◆ sendEnter()

void KWin::KeyboardInterfacePrivate::sendEnter ( SurfaceInterface * surface,
quint32 serial )

Definition at line 64 of file keyboard.cpp.

◆ sendKeymap()

void KWin::KeyboardInterfacePrivate::sendKeymap ( Resource * resource)

Definition at line 75 of file keyboard.cpp.

◆ sendLeave()

void KWin::KeyboardInterfacePrivate::sendLeave ( SurfaceInterface * surface,
quint32 serial )

Definition at line 56 of file keyboard.cpp.

◆ sendModifiers() [1/2]

void KWin::KeyboardInterfacePrivate::sendModifiers ( SurfaceInterface * surface)

Definition at line 133 of file keyboard.cpp.

◆ sendModifiers() [2/2]

void KWin::KeyboardInterfacePrivate::sendModifiers ( SurfaceInterface * surface,
quint32 depressed,
quint32 latched,
quint32 locked,
quint32 group,
quint32 serial )

Definition at line 104 of file keyboard.cpp.

◆ updateKey()

bool KWin::KeyboardInterfacePrivate::updateKey ( quint32 key,
KeyboardKeyState state )

Definition at line 112 of file keyboard.cpp.

Member Data Documentation

◆ charactersPerSecond

qint32 KWin::KeyboardInterfacePrivate::charactersPerSecond = 0

Definition at line 47 of file keyboard_p.h.

◆ delay

qint32 KWin::KeyboardInterfacePrivate::delay = 0

Definition at line 48 of file keyboard_p.h.

◆ destroyConnection

QMetaObject::Connection KWin::KeyboardInterfacePrivate::destroyConnection

Definition at line 40 of file keyboard_p.h.

◆ focusedSurface

SurfaceInterface* KWin::KeyboardInterfacePrivate::focusedSurface = nullptr

Definition at line 39 of file keyboard_p.h.

◆ keymap

QByteArray KWin::KeyboardInterfacePrivate::keymap

Definition at line 42 of file keyboard_p.h.

◆ [struct]

struct { ... } KWin::KeyboardInterfacePrivate::keyRepeat

◆ modifierFocusSurface

QPointer<SurfaceInterface> KWin::KeyboardInterfacePrivate::modifierFocusSurface

Definition at line 41 of file keyboard_p.h.

◆ modifiers

Modifiers KWin::KeyboardInterfacePrivate::modifiers

Definition at line 59 of file keyboard_p.h.

◆ seat

SeatInterface* KWin::KeyboardInterfacePrivate::seat

Definition at line 38 of file keyboard_p.h.

◆ sharedKeymapFile

RamFile KWin::KeyboardInterfacePrivate::sharedKeymapFile

Definition at line 43 of file keyboard_p.h.

◆ states

QHash<quint32, KeyboardKeyState> KWin::KeyboardInterfacePrivate::states

Definition at line 61 of file keyboard_p.h.


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