Kate
katevikeymapper.cpp
Go to the documentation of this file.
27 KateViKeyMapper::KateViKeyMapper(KateViInputModeManager* kateViInputModeManager, KateDocument* doc, KateView *view )
46 const QString mappedKeypresses = KateGlobal::self()->viInputModeGlobal()->getMapping(KateViGlobal::mappingModeForCurrentViMode(m_view), m_fullMappingMatch);
47 if (!KateGlobal::self()->viInputModeGlobal()->isMappingRecursive(KateViGlobal::mappingModeForCurrentViMode(m_view), m_fullMappingMatch))
95 foreach ( const QString &mapping, KateGlobal::self()->viInputModeGlobal()->getMappings(KateViGlobal::mappingModeForCurrentViMode(m_view)) ) {
120 // We've been swallowing all the keypresses meant for m_keys for our mapping keys; now that we know
QString & append(QChar ch)
const QString getMapping(MappingMode mode, const QString &from, bool decode=false) const
Definition: kateviglobal.cpp:186
void setDoNotMapNextKeypress()
Definition: katevikeymapper.cpp:130
void setMappingTimeout(int timeoutMS)
Definition: katevikeymapper.cpp:68
bool isNull() const
void clear()
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
Definition: kateview.h:77
Definition: katedocument.h:74
void stop()
static MappingMode mappingModeForCurrentViMode(KateView *view)
Returns CommandModeMapping if the emulated command bar is active, else the mapping mode corresponding...
Definition: kateviglobal.cpp:218
void start(int msec)
bool isPlayingBackRejectedKeys()
Definition: katevikeymapper.cpp:140
void feedKeyPresses(const QString &keyPresses) const
feed key the given list of key presses to the key handling code, one by one
Definition: kateviinputmodemanager.cpp:172
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
KateViKeyMapper(KateViInputModeManager *kateViInputModeManager, KateDocument *doc, KateView *view)
Definition: katevikeymapper.cpp:27
void setSingleShot(bool singleShot)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.