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

Kate

KateCommands::CoreCommands

KateCommands::CoreCommands Class Reference

#include <katecmds.h>

Inheritance diagram for KateCommands::CoreCommands:

Inheritance graph
[legend]

List of all members.


Detailed Description

This KTextEditor::Command provides access to a lot of the core functionality of kate part, settings, utilities, navigation etc.

it needs to get a kateview pointer, it will cast the kate::view pointer hard to kateview

Definition at line 44 of file katecmds.h.


Public Member Functions

const QStringList & cmds ()
KCompletion * completionObject (KTextEditor::View *, const QString &)
bool exec (class KTextEditor::View *view, const QString &cmd, QString &errorMsg)
virtual void flagCompletions (QStringList &)
bool help (class KTextEditor::View *, const QString &, QString &)
virtual void processText (KTextEditor::View *, const QString &)
virtual bool wantsToProcessText (const QString &)

Member Function Documentation

const QStringList & KateCommands::CoreCommands::cmds (  )  [virtual]

supported commands as prefixes

Returns:
prefix list

Implements KTextEditor::Command.

Definition at line 70 of file katecmds.cpp.

KCompletion * KateCommands::CoreCommands::completionObject ( KTextEditor::View *  view,
const QString &  cmd 
) [virtual]

override completionObject from interfaces/document.h .

Implements KTextEditor::CommandExtension.

Definition at line 262 of file katecmds.cpp.

bool KateCommands::CoreCommands::exec ( class KTextEditor::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 KTextEditor::Command.

Definition at line 90 of file katecmds.cpp.

virtual void KateCommands::CoreCommands::flagCompletions ( QStringList &   )  [inline, virtual]

Implements KTextEditor::CommandExtension.

Definition at line 70 of file katecmds.h.

bool KateCommands::CoreCommands::help ( class KTextEditor::View *  ,
const QString &  ,
QString &   
) [inline, virtual]

This command does not have help.

See also:
KTextEditor::Command::help

Implements KTextEditor::Command.

Definition at line 57 of file katecmds.h.

virtual void KateCommands::CoreCommands::processText ( KTextEditor::View *  ,
const QString &   
) [inline, virtual]

Implements KTextEditor::CommandExtension.

Definition at line 72 of file katecmds.h.

virtual bool KateCommands::CoreCommands::wantsToProcessText ( const QString &   )  [inline, virtual]

Implements KTextEditor::CommandExtension.

Definition at line 71 of file katecmds.h.


The documentation for this class was generated from the following files:
  • katecmds.h
  • katecmds.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
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
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