kate Library API Documentation

KateCommands::Date Class Reference

insert the current date/time in the given format More...

#include <katecmds.h>

Inheritance diagram for KateCommands::Date:

Kate::Command 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 the current date/time in the given format

Definition at line 150 of file katecmds.h.


Member Function Documentation

bool KateCommands::Date::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 567 of file katecmds.cpp.

References QDateTime::currentDateTime(), Kate::View::insertText(), QString::left(), QString::length(), and QString::mid().

bool KateCommands::Date::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 162 of file katecmds.h.

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

supported commands as prefixes

Returns:
prefix list

Implements Kate::Command.

Definition at line 168 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.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Nov 1 10:36:29 2005 by doxygen 1.4.3 written by Dimitri van Heesch, © 1997-2003