#include <dependencies.h>
Public Member Functions | |
| DependencyManager (Sheet *s) | |
| ~DependencyManager () | |
| void | reset () |
| void | cellChanged (const Point &cell) |
| void | rangeChanged (const Range &range) |
| void | rangeListChanged (const RangeList &rangeList) |
| void | areaModified (const TQString &name) |
| RangeList | getDependencies (const Point &cell) |
| TQValueList< Point > | getDependants (const Point &cell) |
Protected Attributes | |
| DependencyList * | deps |
Friends | |
| class | DependencyList |
Detailed Description
This class manages dependencies.
No need to inherit from DocBase here, at least not yet. TODO: describe how it works and why there are two types of dependencies
Definition at line 49 of file dependencies.h.
Constructor & Destructor Documentation
◆ DependencyManager()
| DependencyManager::DependencyManager | ( | Sheet * | s | ) |
constructor
Definition at line 151 of file dependencies.cpp.
◆ ~DependencyManager()
| DependencyManager::~DependencyManager | ( | ) |
destructor
Definition at line 156 of file dependencies.cpp.
Member Function Documentation
◆ areaModified()
| void DependencyManager::areaModified | ( | const TQString & | name | ) |
a named area was somehow modified
Definition at line 184 of file dependencies.cpp.
◆ cellChanged()
| void DependencyManager::cellChanged | ( | const Point & | cell | ) |
handle the fact that cell's contents have changed
Definition at line 167 of file dependencies.cpp.
◆ getDependants()
get cells depending on this cell, either through normal or range dependency
Definition at line 194 of file dependencies.cpp.
◆ getDependencies()
get dependencies of a cell
Definition at line 189 of file dependencies.cpp.
◆ rangeChanged()
| void DependencyManager::rangeChanged | ( | const Range & | range | ) |
handle the fact that a range has been changed
Definition at line 172 of file dependencies.cpp.
◆ rangeListChanged()
| void DependencyManager::rangeListChanged | ( | const RangeList & | rangeList | ) |
handle the fact that a range list has been changed
Definition at line 178 of file dependencies.cpp.
◆ reset()
| void DependencyManager::reset | ( | ) |
clear all data
Definition at line 162 of file dependencies.cpp.
Friends And Related Symbol Documentation
◆ DependencyList
|
friend |
Definition at line 77 of file dependencies.h.
Member Data Documentation
◆ deps
|
protected |
local d-pointer
Definition at line 76 of file dependencies.h.
The documentation for this class was generated from the following files:
