KateVi::KeyParser

Search for usage in LXR

#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)
 
KeyParseroperator= (const KeyParser &)=delete
 
QString qt2vi (int key) const
 
KTEXTEDITOR_EXPORT int vi2qt (const QString &keypress) const
 

Static Public Member Functions

static KTEXTEDITOR_EXPORT KeyParserself ()
 

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()

KateVi::KeyParser::~KeyParser ( )
inline

Definition at line 34 of file keyparser.h.

Member Function Documentation

◆ decodeKeySequence()

const QString KeyParser::decodeKeySequence ( const QString & keys) const

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()

const QString KeyParser::encodeKeySequence ( const QString & keys) const

Definition at line 517 of file keyparser.cpp.

◆ KeyEventToQChar() [1/2]

const QChar KeyParser::KeyEventToQChar ( const KeyEvent & keyEvent)

Definition at line 670 of file keyparser.cpp.

◆ KeyEventToQChar() [2/2]

const QChar KeyParser::KeyEventToQChar ( const QKeyEvent & keyEvent)

Definition at line 665 of file keyparser.cpp.

◆ qt2vi()

QString KeyParser::qt2vi ( int key) const

Definition at line 486 of file keyparser.cpp.

◆ self()

KeyParser * KeyParser::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 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.