• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • Contact Us
 

Kate

Public Member Functions

KateViReplaceMode Class Reference

Commands for the vi replace mode. More...

#include <katevireplacemode.h>

Inheritance diagram for KateViReplaceMode:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 KateViReplaceMode (KateViInputModeManager *viInputModeManager, KateView *view, KateViewInternal *viewInternal)
 ~KateViReplaceMode ()
void addMapping (const QString &from, const QString &to)
void backspace ()
bool commandInsertFromLine (int offset)
bool commandMoveOneWordLeft ()
bool commandMoveOneWordRight ()
const QString getMapping (const QString &from) const
const QStringList getMappings () const
bool handleKeypress (const QKeyEvent *e)
void overwrittenChar (const QChar &s)

Detailed Description

Commands for the vi replace mode.

Definition at line 35 of file katevireplacemode.h.


Constructor & Destructor Documentation

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

Definition at line 27 of file katevireplacemode.cpp.

KateViReplaceMode::~KateViReplaceMode ( )

Definition at line 35 of file katevireplacemode.cpp.


Member Function Documentation

void KateViReplaceMode::addMapping ( const QString &  from,
const QString &  to 
) [inline, virtual]

Implements KateViModeBase.

Definition at line 52 of file katevireplacemode.h.

void KateViReplaceMode::backspace ( )

Definition at line 157 of file katevireplacemode.cpp.

bool KateViReplaceMode::commandInsertFromLine ( int  offset)

Definition at line 39 of file katevireplacemode.cpp.

bool KateViReplaceMode::commandMoveOneWordLeft ( )

Definition at line 65 of file katevireplacemode.cpp.

bool KateViReplaceMode::commandMoveOneWordRight ( )

Definition at line 74 of file katevireplacemode.cpp.

const QString KateViReplaceMode::getMapping ( const QString &  from) const [inline, virtual]

Implements KateViModeBase.

Definition at line 53 of file katevireplacemode.h.

const QStringList KateViReplaceMode::getMappings ( ) const [inline, virtual]

Implements KateViModeBase.

Definition at line 54 of file katevireplacemode.h.

bool KateViReplaceMode::handleKeypress ( const QKeyEvent *  e)

checks if the key is a valid command

Returns:
true if a command was completed and executed, false otherwise

Definition at line 87 of file katevireplacemode.cpp.

void KateViReplaceMode::overwrittenChar ( const QChar &  s) [inline]

Definition at line 48 of file katevireplacemode.h.


The documentation for this class was generated from the following files:
  • katevireplacemode.h
  • katevireplacemode.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
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
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