• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

Kate

KateViInputModeManager Class Reference

#include <kateviinputmodemanager.h>

List of all members.


Public Member Functions

void appendKeyEventToLog (const QKeyEvent &e)
void changeViMode (ViMode newMode)
void clearLog ()
void feedKeyPresses (const QString &keyPresses) const
ViMode getCurrentViMode () const
const QString getVerbatimKeys () const
KateViInsertMode * getViInsertMode ()
KateViNormalMode * getViNormalMode ()
KateViVisualMode * getViVisualMode ()
bool handleKeypress (const QKeyEvent *e)
bool isRunningMacro () const
 KateViInputModeManager (KateView *view, KateViewInternal *viewInternal)
void repeatLastChange ()
void storeChangeCommand ()
void viEnterInsertMode ()
void viEnterNormalMode ()
void viEnterVisualMode (bool visualLine=false)
 ~KateViInputModeManager ()

Detailed Description

Definition at line 44 of file kateviinputmodemanager.h.


Constructor & Destructor Documentation

KateViInputModeManager::KateViInputModeManager ( KateView *  view,
KateViewInternal *  viewInternal 
)

Definition at line 31 of file kateviinputmodemanager.cpp.

KateViInputModeManager::~KateViInputModeManager (  ) 

Definition at line 46 of file kateviinputmodemanager.cpp.


Member Function Documentation

void KateViInputModeManager::appendKeyEventToLog ( const QKeyEvent &  e  ) 

append a QKeyEvent to the key event log

Definition at line 154 of file kateviinputmodemanager.cpp.

void KateViInputModeManager::changeViMode ( ViMode  newMode  ) 

changes the current vi mode to the given mode

Definition at line 202 of file kateviinputmodemanager.cpp.

void KateViInputModeManager::clearLog (  )  [inline]

clear the key event log

Definition at line 117 of file kateviinputmodemanager.h.

void KateViInputModeManager::feedKeyPresses ( const QString &  keyPresses  )  const

feed key the given list of key presses to the key handling code, one by one

Definition at line 81 of file kateviinputmodemanager.cpp.

ViMode KateViInputModeManager::getCurrentViMode (  )  const

Returns:
The current vi mode

Definition at line 207 of file kateviinputmodemanager.cpp.

const QString KateViInputModeManager::getVerbatimKeys (  )  const

Definition at line 258 of file kateviinputmodemanager.cpp.

KateViInsertMode * KateViInputModeManager::getViInsertMode (  ) 

Returns:
the KateViInsertMode instance

Definition at line 248 of file kateviinputmodemanager.cpp.

KateViNormalMode * KateViInputModeManager::getViNormalMode (  ) 

Returns:
the KateViNormalMode instance

Definition at line 243 of file kateviinputmodemanager.cpp.

KateViVisualMode * KateViInputModeManager::getViVisualMode (  ) 

Returns:
the KateViVisualMode instance

Definition at line 253 of file kateviinputmodemanager.cpp.

bool KateViInputModeManager::handleKeypress ( const QKeyEvent *  e  ) 

feed key the given key press to the command parser

Returns:
true if keypress was is [part of a] command, false otherwise

Definition at line 53 of file kateviinputmodemanager.cpp.

bool KateViInputModeManager::isRunningMacro (  )  const [inline]

Returns:
true if running a macro

Definition at line 107 of file kateviinputmodemanager.h.

void KateViInputModeManager::repeatLastChange (  ) 

repeat last change by feeding the contents of m_lastChange to feedKeys()

Definition at line 195 of file kateviinputmodemanager.cpp.

void KateViInputModeManager::storeChangeCommand (  ) 

copy the contents of the key events log to m_lastChange so that it can be repeated

Definition at line 162 of file kateviinputmodemanager.cpp.

void KateViInputModeManager::viEnterInsertMode (  ) 

set insert mode to be the active vi mode and perform the needed setup work

Definition at line 224 of file kateviinputmodemanager.cpp.

void KateViInputModeManager::viEnterNormalMode (  ) 

set normal mode to be the active vi mode and perform the needed setup work

Definition at line 212 of file kateviinputmodemanager.cpp.

void KateViInputModeManager::viEnterVisualMode ( bool  visualLine = false  ) 

set visual mode to be the active vi mode and make the needed setup work if visualLine is true, visual linewise mode is started

Definition at line 230 of file kateviinputmodemanager.cpp.


The documentation for this class was generated from the following files:
  • kateviinputmodemanager.h
  • kateviinputmodemanager.cpp

Kate

Skip menu "Kate"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal