kate Library API Documentation

Kate::Command Class Reference

Kate Commands. More...

#include <document.h>

Inheritance diagram for Kate::Command:

KateCommands::Character KateCommands::SedReplace List of all members.

Public Methods

 Command ()
virtual ~Command ()
virtual QStringList cmds ()=0
virtual bool exec (View *view, const QString &cmd, QString &msg)=0
virtual bool help (View *view, const QString &cmd, QString &msg)=0

Detailed Description

Kate Commands.

Definition at line 87 of file document.h.


Member Function Documentation

virtual QStringList Kate::Command::cmds   [pure virtual]
 

Pure text start part of the commands which can be handled by this object which means i.e.

for s/sdl/sdf/g => s or for char:1212 => char

Implemented in KateCommands::SedReplace, and KateCommands::Character.

virtual bool Kate::Command::exec View   view,
const QString   cmd,
QString   msg
[pure virtual]
 

Execute this command for the given view and cmd string, return a bool about success, msg for status.

Implemented in KateCommands::SedReplace, and KateCommands::Character.

virtual bool Kate::Command::help View   view,
const QString   cmd,
QString   msg
[pure virtual]
 

Shows help for the given view and cmd string, return a bool about success, msg for status.

Implemented in KateCommands::SedReplace, and KateCommands::Character.


The documentation for this class was generated from the following file:
KDE Logo
This file is part of the documentation for kate Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sun May 16 22:07:12 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003