KateVi::KeyParser
KateVi::KeyParser Class Reference
#include <keyparser.h>
Public Member Functions | |
KeyParser (const KeyParser &)=delete | |
KTEXTEDITOR_EXPORT const QString | decodeKeySequence (const QString &keys) const |
int | encoded2qt (const QString &keypress) const |
KTEXTEDITOR_EXPORT const QString | encodeKeySequence (const QString &keys) const |
const QChar | KeyEventToQChar (const KeyEvent &keyEvent) |
KTEXTEDITOR_EXPORT const QChar | KeyEventToQChar (const QKeyEvent &keyEvent) |
KeyParser & | operator= (const KeyParser &)=delete |
QString | qt2vi (int key) const |
KTEXTEDITOR_EXPORT int | vi2qt (const QString &keypress) const |
Static Public Member Functions | |
static KTEXTEDITOR_EXPORT KeyParser * | self () |
Detailed Description
for encoding keypresses w/ modifiers into an internal QChar representation and back again to a descriptive text string
Definition at line 27 of file keyparser.h.
Constructor & Destructor Documentation
◆ ~KeyParser()
|
inline |
Definition at line 34 of file keyparser.h.
Member Function Documentation
◆ decodeKeySequence()
Definition at line 622 of file keyparser.cpp.
◆ encoded2qt()
int KeyParser::encoded2qt | ( | const QString & | keypress | ) | const |
Definition at line 504 of file keyparser.cpp.
◆ encodeKeySequence()
Definition at line 517 of file keyparser.cpp.
◆ KeyEventToQChar() [1/2]
Definition at line 670 of file keyparser.cpp.
◆ KeyEventToQChar() [2/2]
Definition at line 665 of file keyparser.cpp.
◆ qt2vi()
QString KeyParser::qt2vi | ( | int | key | ) | const |
Definition at line 486 of file keyparser.cpp.
◆ self()
|
static |
Definition at line 23 of file keyparser.cpp.
◆ vi2qt()
int KeyParser::vi2qt | ( | const QString & | keypress | ) | const |
Definition at line 495 of file keyparser.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 Sat Dec 21 2024 17:01:56 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:56 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.