KWin
Loading...
Searching...
No Matches
Public Member Functions | List of all members
KWin::KeyEvent Class Reference

#include <input_event.h>

Inheritance diagram for KWin::KeyEvent:

Public Member Functions

 KeyEvent (QEvent::Type type, Qt::Key key, Qt::KeyboardModifiers modifiers, quint32 code, quint32 keysym, const QString &text, bool autorepeat, std::chrono::microseconds timestamp, InputDevice *device)
 
InputDevicedevice () const
 
Qt::KeyboardModifiers modifiersRelevantForGlobalShortcuts () const
 
void setModifiersRelevantForGlobalShortcuts (const Qt::KeyboardModifiers &mods)
 
std::chrono::microseconds timestamp () const
 

Detailed Description

Definition at line 132 of file input_event.h.

Constructor & Destructor Documentation

◆ KeyEvent()

KWin::KeyEvent::KeyEvent ( QEvent::Type type,
Qt::Key key,
Qt::KeyboardModifiers modifiers,
quint32 code,
quint32 keysym,
const QString & text,
bool autorepeat,
std::chrono::microseconds timestamp,
InputDevice * device )
explicit

Definition at line 46 of file input_event.cpp.

Member Function Documentation

◆ device()

InputDevice * KWin::KeyEvent::device ( ) const
inline

Definition at line 138 of file input_event.h.

◆ modifiersRelevantForGlobalShortcuts()

Qt::KeyboardModifiers KWin::KeyEvent::modifiersRelevantForGlobalShortcuts ( ) const
inline

Definition at line 143 of file input_event.h.

◆ setModifiersRelevantForGlobalShortcuts()

void KWin::KeyEvent::setModifiersRelevantForGlobalShortcuts ( const Qt::KeyboardModifiers & mods)
inline

Definition at line 148 of file input_event.h.

◆ timestamp()

std::chrono::microseconds KWin::KeyEvent::timestamp ( ) const

Definition at line 55 of file input_event.cpp.


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