lib Library API Documentation

KoParagVisitor Class Reference

Base class for "visitors". More...

#include <kotextdocument.h>

List of all members.

Public Member Functions

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

Protected Member Functions

 KoParagVisitor ()


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 589 of file kotextdocument.h.


Constructor & Destructor Documentation

KoParagVisitor::KoParagVisitor  )  [inline, protected]
 

protected since this is an abstract base class

Definition at line 593 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 Logo
This file is part of the documentation for lib Library Version 1.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Feb 13 09:41:14 2006 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003