kspread

KSpread::CommentCommand Class Reference

Adds/Removes comments to/of a cell region. More...

#include <CommentCommand.h>

Inheritance diagram for KSpread::CommentCommand:

List of all members.

Public Member Functions

 CommentCommand (QUndoCommand *parent=0)
void setComment (const QString &comment)

Protected Member Functions

virtual bool mainProcessing ()
virtual bool process (Element *element)

Detailed Description

Adds/Removes comments to/of a cell region.

Definition at line 32 of file CommentCommand.h.


Constructor & Destructor Documentation

CommentCommand::CommentCommand ( QUndoCommand parent = 0  ) 

Definition at line 32 of file CommentCommand.cpp.


Member Function Documentation

bool CommentCommand::mainProcessing (  )  [protected, virtual]

Processes the region.

Calls process(Element*).

Reimplemented from KSpread::AbstractRegionCommand.

Definition at line 49 of file CommentCommand.cpp.

bool CommentCommand::process ( Element  )  [protected, virtual]

Processes element , a Region::Point or a Region::Range .

Invoked by mainProcessing() .

Reimplemented from KSpread::AbstractRegionCommand.

Definition at line 37 of file CommentCommand.cpp.

void CommentCommand::setComment ( const QString comment  ) 

Definition at line 60 of file CommentCommand.cpp.


The documentation for this class was generated from the following files: