kate Library API Documentation

KateCommands::Character Class Reference

insert a unicode or ascii character base 9+1: 1234 hex: 0x1234 or x1234 octal: 01231 More...

#include <katecmds.h>

Inheritance diagram for KateCommands::Character:

Inheritance graph
[legend]
Collaboration diagram for KateCommands::Character:

Collaboration graph
[legend]
List of all members.

Public Member Functions

bool exec (class Kate::View *view, const QString &cmd, QString &errorMsg)
bool help (class Kate::View *, const QString &, QString &)
QStringList cmds ()

Detailed Description

insert a unicode or ascii character base 9+1: 1234 hex: 0x1234 or x1234 octal: 01231

prefixed with "char:"

Definition at line 126 of file katecmds.h.


Member Function Documentation

bool KateCommands::Character::exec class Kate::View view,
const QString cmd,
QString errorMsg
[virtual]
 

execute command

Parameters:
view view to use for execution
cmd cmd string
errorMsg error to return if no success
Returns:
success

Implements Kate::Command.

Definition at line 525 of file katecmds.cpp.

References QRegExp::cap(), Kate::View::insertText(), QString::left(), QString::replace(), QRegExp::search(), and QString::toUShort().

bool KateCommands::Character::help class Kate::View ,
const QString ,
QString
[inline, virtual]
 

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

Implements Kate::Command.

Definition at line 138 of file katecmds.h.

QStringList KateCommands::Character::cmds  )  [inline, virtual]
 

supported commands as prefixes

Returns:
prefix list

Implements Kate::Command.

Definition at line 144 of file katecmds.h.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kate Library Version 3.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Sep 15 11:23:51 2005 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003