lib
ElementIndex Class Reference
#include <kformuladefs.h>
Inherited by IndexElement::IndexElementIndex, RootElement::RootElementIndex, and SymbolElement::SymbolElementIndex.
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 251 of file kformuladefs.h.
Public Member Functions | |
| virtual void | moveToIndex (FormulaCursor *, Direction)=0 |
| virtual void | setToIndex (FormulaCursor *)=0 |
| virtual bool | hasIndex () const =0 |
| virtual BasicElement * | getElement ()=0 |
Member Function Documentation
| 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.
| virtual bool ElementIndex::hasIndex | ( | ) | const [pure virtual] |
Tells whether we own those indexes.
| virtual BasicElement* ElementIndex::getElement | ( | ) | [pure virtual] |
Tells to which element the index belongs.
The documentation for this class was generated from the following file:

