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

Kate

Public Member Functions | Protected Attributes

KateViCommand Class Reference

#include <katevicommand.h>

Inheritance diagram for KateViCommand:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 KateViCommand (KateViNormalMode *parent, QString pattern, bool(KateViNormalMode::*pt2Func)(), unsigned int flags=0)
 ~KateViCommand ()
bool execute () const
bool isChange () const
bool isRegexPattern () const
bool matches (const QString &pattern) const
bool matchesExact (const QString &pattern) const
bool needsMotion () const
const QString pattern () const
bool shouldReset () const

Protected Attributes

unsigned int m_flags
KateViKeyParser * m_keyParser
KateViNormalMode * m_parent
QString m_pattern
bool(KateViNormalMode::* m_ptr2commandMethod )()

Detailed Description

Definition at line 36 of file katevicommand.h.


Constructor & Destructor Documentation

KateViCommand::KateViCommand ( KateViNormalMode *  parent,
QString  pattern,
bool(KateViNormalMode::*)()  pt2Func,
unsigned int  flags = 0 
)

Definition at line 23 of file katevicommand.cpp.

KateViCommand::~KateViCommand ( )

Definition at line 32 of file katevicommand.cpp.


Member Function Documentation

bool KateViCommand::execute ( ) const

Reimplemented in KateViMotion.

Definition at line 36 of file katevicommand.cpp.

bool KateViCommand::isChange ( ) const [inline]

Definition at line 49 of file katevicommand.h.

bool KateViCommand::isRegexPattern ( ) const [inline]

Definition at line 46 of file katevicommand.h.

bool KateViCommand::matches ( const QString &  pattern) const

Definition at line 41 of file katevicommand.cpp.

bool KateViCommand::matchesExact ( const QString &  pattern) const

Definition at line 52 of file katevicommand.cpp.

bool KateViCommand::needsMotion ( ) const [inline]

Definition at line 47 of file katevicommand.h.

const QString KateViCommand::pattern ( ) const [inline]

Definition at line 45 of file katevicommand.h.

bool KateViCommand::shouldReset ( ) const [inline]

Definition at line 48 of file katevicommand.h.


Member Data Documentation

unsigned int KateViCommand::m_flags [protected]

Definition at line 54 of file katevicommand.h.

KateViKeyParser* KateViCommand::m_keyParser [protected]

Definition at line 56 of file katevicommand.h.

KateViNormalMode* KateViCommand::m_parent [protected]

Definition at line 52 of file katevicommand.h.

QString KateViCommand::m_pattern [protected]

Definition at line 53 of file katevicommand.h.

bool( KateViNormalMode::* KateViCommand::m_ptr2commandMethod)() [protected]

Reimplemented in KateViMotion.

Definition at line 55 of file katevicommand.h.


The documentation for this class was generated from the following files:
  • katevicommand.h
  • katevicommand.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