KateVi::KeyEvent
KateVi::KeyEvent Class Reference
#include <keyevent.h>
Public Member Functions | |
int | key () const |
Qt::KeyboardModifiers | modifiers () const |
QString | text () const |
QEvent::Type | type () const |
Static Public Member Functions | |
static KeyEvent | fromQKeyEvent (const QKeyEvent &e) |
Detailed Description
QEvent wrapper for copying/storing key events.
With Qt6 QEvent itself is no longer copyable/movable and therefore cannot be held inside containers.
Definition at line 18 of file keyevent.h.
Member Function Documentation
◆ fromQKeyEvent()
Definition at line 30 of file keyevent.cpp.
◆ key()
int KeyEvent::key | ( | ) | const |
Definition at line 20 of file keyevent.cpp.
◆ modifiers()
Qt::KeyboardModifiers KeyEvent::modifiers | ( | ) | const |
Definition at line 15 of file keyevent.cpp.
◆ text()
QString KeyEvent::text | ( | ) | const |
Definition at line 25 of file keyevent.cpp.
◆ type()
QEvent::Type KeyEvent::type | ( | ) | const |
Definition at line 10 of file keyevent.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:11:28 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:11:28 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.