Kate
KateCommands::CoreCommands Class Reference
#include <katecmds.h>
Inheritance diagram for KateCommands::CoreCommands:

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