lib

ElementIndex Class Reference

#include <kformuladefs.h>

List of all members.


Detailed Description

A type that describes an index.

You can get one of those for each index from an element that owns indexes.

This type is used to work on indexes in a generic way.

Definition at line 200 of file kformuladefs.h.


Public Member Functions

virtual ~ElementIndex ()
virtual void moveToIndex (FormulaCursor *, Direction)=0
virtual void setToIndex (FormulaCursor *)=0
virtual bool hasIndex () const =0
virtual BasicElementgetElement ()=0

Member Function Documentation

virtual BasicElement* ElementIndex::getElement  )  [pure virtual]
 

Tells to which element the index belongs.

virtual bool ElementIndex::hasIndex  )  const [pure virtual]
 

Tells whether we own those indexes.

virtual void ElementIndex::moveToIndex FormulaCursor ,
Direction 
[pure virtual]
 

Moves the cursor inside the index.

The index has to exist.

virtual void ElementIndex::setToIndex FormulaCursor  )  [pure virtual]
 

Sets the cursor to point to the place where the index normaly is.

These functions are only used if there is no such index and we want to insert them.


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