kspread
KSpread::Conditions Class Reference
Manages a set of conditions for a cell. More...
#include <Condition.h>
Public Member Functions | |
| Conditions (const Conditions &other) | |
| Conditions () | |
| ~Conditions () | |
| QLinkedList< Conditional > | conditionList () const |
| bool | isEmpty () const |
| void | loadConditions (const StyleManager *styleManager, const KoXmlElement &element) |
| void | loadOdfConditions (const StyleManager *styleManager, const KoXmlElement &element) |
| bool | operator!= (const Conditions &other) const |
| bool | operator< (const Conditions &) const |
| void | operator= (const Conditions &other) |
| bool | operator== (const Conditions &other) const |
| QDomElement | saveConditions (QDomDocument &doc) const |
| void | saveOdfConditions (KoGenStyle ¤tCellStyle) const |
| void | setConditionList (const QLinkedList< Conditional > &list) |
| Style * | testConditions (const Cell &cell) const |
Detailed Description
Manages a set of conditions for a cell.
Definition at line 78 of file Condition.h.
Constructor & Destructor Documentation
| Conditions::Conditions | ( | ) |
Constructor.
Definition at line 132 of file Condition.cpp.
| Conditions::Conditions | ( | const Conditions & | other | ) |
Copy Constructor.
Definition at line 137 of file Condition.cpp.
| Conditions::~Conditions | ( | ) |
Destructor.
Definition at line 142 of file Condition.cpp.
Member Function Documentation
| QLinkedList< Conditional > Conditions::conditionList | ( | ) | const |
Retrieve the current list of conditions we're checking.
Definition at line 297 of file Condition.cpp.
| bool Conditions::isEmpty | ( | ) | const |
- Returns:
trueif there are no conditions defined
Definition at line 146 of file Condition.cpp.
| bool KSpread::Conditions::operator!= | ( | const Conditions & | other | ) | const [inline] |
Definition at line 146 of file Condition.h.
| bool KSpread::Conditions::operator< | ( | const Conditions & | ) | const [inline] |
- Note:
- fake implementation to make QMap happy
Definition at line 143 of file Condition.h.
| void Conditions::operator= | ( | const Conditions & | other | ) |
Definition at line 683 of file Condition.cpp.
| bool Conditions::operator== | ( | const Conditions & | other | ) | const |
Definition at line 688 of file Condition.cpp.
| void Conditions::setConditionList | ( | const QLinkedList< Conditional > & | list | ) |
Replace the current list of conditions with this new one.
Definition at line 302 of file Condition.cpp.
- Returns:
- the style that matches first (or 0 if no condition matches)
Definition at line 151 of file Condition.cpp.
The documentation for this class was generated from the following files:
