kspread
KSpread::Database Class Reference
OpenDocument, 8.6.1 Database Range. More...
#include <Database.h>
Public Member Functions | |
| Database (const Database &other) | |
| Database (const QString &name) | |
| Database () | |
| ~Database () | |
| bool | containsHeader () const |
| bool | displayFilterButtons () const |
| void | dump () const |
| const Filter & | filter () const |
| bool | isEmpty () const |
| bool | loadOdf (const KoXmlElement &element, const Map *map) |
| const QString & | name () const |
| bool | operator< (const Database &other) const |
| void | operator= (const Database &other) |
| bool | operator== (const Database &other) const |
| Qt::Orientation | orientation () const |
| const Region & | range () const |
| void | saveOdf (KoXmlWriter &xmlWriter) const |
| void | setContainsHeader (bool enable) |
| void | setDisplayFilterButtons (bool enable) |
| void | setFilter (const Filter &filter) |
| void | setName (const QString &name) |
| void | setRange (const Region ®ion) |
| void | showPopup (QWidget *parent, const Cell &cell, const QRect &cellRect) |
Detailed Description
OpenDocument, 8.6.1 Database Range.
Definition at line 42 of file Database.h.
Constructor & Destructor Documentation
| Database::Database | ( | ) |
| Database::Database | ( | const QString & | name | ) |
| Database::Database | ( | const Database & | other | ) |
Copy Constructor.
Definition at line 114 of file Database.cpp.
| Database::~Database | ( | ) |
Destructor.
Definition at line 119 of file Database.cpp.
Member Function Documentation
| bool Database::containsHeader | ( | ) | const |
- Returns:
trueif the range contains a header column/row
Definition at line 143 of file Database.cpp.
| bool Database::displayFilterButtons | ( | ) | const |
- Returns:
trueif filter buttons should be displayed
Definition at line 153 of file Database.cpp.
| void Database::dump | ( | ) | const |
Definition at line 380 of file Database.cpp.
| const Filter & Database::filter | ( | ) | const |
Definition at line 182 of file Database.cpp.
| bool Database::isEmpty | ( | ) | const |
- Returns:
trueif this is the default/empty database
Definition at line 123 of file Database.cpp.
| bool Database::loadOdf | ( | const KoXmlElement & | element, | |
| const Map * | map | |||
| ) |
Definition at line 195 of file Database.cpp.
| const QString & Database::name | ( | ) | const |
- Returns:
- the database's name
Definition at line 128 of file Database.cpp.
| bool Database::operator< | ( | const Database & | other | ) | const |
Definition at line 375 of file Database.cpp.
| void Database::operator= | ( | const Database & | other | ) |
Definition at line 338 of file Database.cpp.
| bool Database::operator== | ( | const Database & | other | ) | const |
Definition at line 343 of file Database.cpp.
| Qt::Orientation Database::orientation | ( | ) | const |
- Returns:
- the database's orientation
Definition at line 138 of file Database.cpp.
| const KSpread::Region & Database::range | ( | ) | const |
- Returns:
- the actual database cell range
Definition at line 163 of file Database.cpp.
| void Database::saveOdf | ( | KoXmlWriter & | xmlWriter | ) | const |
Definition at line 302 of file Database.cpp.
| void Database::setContainsHeader | ( | bool | enable | ) |
Sets whether the range contains a header column/row.
Definition at line 148 of file Database.cpp.
| void Database::setDisplayFilterButtons | ( | bool | enable | ) |
Sets whether filter buttons should be displayed.
Definition at line 158 of file Database.cpp.
| void Database::setFilter | ( | const Filter & | filter | ) |
Definition at line 187 of file Database.cpp.
| void Database::setName | ( | const QString & | name | ) |
Sets the database's name.
Definition at line 133 of file Database.cpp.
| void Database::setRange | ( | const Region & | region | ) |
Sets the actual database cell range.
region has to be contiguous.
Definition at line 168 of file Database.cpp.
Shows the associated popup menu.
Definition at line 174 of file Database.cpp.
The documentation for this class was generated from the following files:
