• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • applications API Reference
  • KDE Home
  • Contact Us
 

Kate

  • KateCommands
  • Date
Public Member Functions | Static Public Member Functions | List of all members
KateCommands::Date Class Reference

#include <katecmds.h>

Inherits Command.

Public Member Functions

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

Static Public Member Functions

static Date * self ()
 

Detailed Description

insert the current date/time in the given format

Definition at line 354 of file katecmds.h.

Constructor & Destructor Documentation

KateCommands::Date::~Date ( )
inline

Definition at line 360 of file katecmds.h.

Member Function Documentation

const QStringList& KateCommands::Date::cmds ( )
inline

supported commands as prefixes

Returns
prefix list

Definition at line 378 of file katecmds.h.

bool KateCommands::Date::exec ( class KTextEditor::View *  view,
const QString &  cmd,
QString &  errorMsg 
)

execute command

Parameters
viewview to use for execution
cmdcmd string
errorMsgerror to return if no success
Returns
success

Definition at line 1252 of file katecmds.cpp.

bool KateCommands::Date::help ( class KTextEditor::View *  ,
const QString &  cmd,
QString &  msg 
)

This command does not have help.

See also
KTextEditor::Command::help

Definition at line 1220 of file katecmds.cpp.

static Date* KateCommands::Date::self ( )
inlinestatic

Definition at line 380 of file katecmds.h.


The documentation for this class was generated from the following files:
  • katecmds.h
  • katecmds.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:57:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Kate

Skip menu "Kate"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

applications API Reference

Skip menu "applications API Reference"
  •   kate
  •       kate
  •   KTextEditor
  •   Kate
  • Konsole

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal