lib

KoParagVisitor Class Reference

#include <KoTextDocument.h>

List of all members.


Detailed Description

Base class for "visitors".

Visitors are a well-designed way to apply a given operation to all the paragraphs in a selection, or in a document. The visitor needs to inherit KoParagVisitor, and implement visit().

Definition at line 591 of file KoTextDocument.h.


Public Member Functions

virtual bool visit (KoTextParag *parag, int start, int end)=0

Protected Member Functions

 KoParagVisitor ()
virtual ~KoParagVisitor ()

Constructor & Destructor Documentation

KoParagVisitor::KoParagVisitor (  )  [inline, protected]

protected since this is an abstract base class

Definition at line 595 of file KoTextDocument.h.


Member Function Documentation

virtual bool KoParagVisitor::visit ( KoTextParag parag,
int  start,
int  end 
) [pure virtual]

Visit the paragraph parag, from index start to index end.


The documentation for this class was generated from the following file:
KDE Home | KDE Accessibility Home | Description of Access Keys