#include <kptmap.h>
Public Member Functions | |
DateMap () | |
virtual | ~DateMap () |
virtual bool | contains (QDate date) const |
void | insert (QString date, int state=Map::NonWorking) |
void | insert (QDate date, int state=Map::NonWorking) |
void | remove (QDate date) |
int | state (QString date) |
int | state (QDate date) |
bool | operator== (const DateMap &m) const |
bool | operator!= (const DateMap &m) const |
void | toggle (QString date, int state=Map::NonWorking) |
void | toggle (QDate date, int state=Map::NonWorking) |
void | toggleClear (QString date, int state=Map::NonWorking) |
void | toggleClear (QDate date, int state=Map::NonWorking) |
Definition at line 39 of file kptmap.h.
virtual bool KPlato::DateMap::contains | ( | QDate | date | ) | const [inline, virtual] |
Definition at line 45 of file kptmap.h.
Referenced by KPlato::DateTable::paintDay(), KPlato::DateTable::updateMarkedCells(), and KPlato::DateTable::updateSelectedCells().
void KPlato::DateMap::insert | ( | QString | date, | |
int | state = Map::NonWorking | |||
) | [inline] |
Definition at line 47 of file kptmap.h.
References KPlato::Map::None, and state().
Referenced by KPlato::DateTable::addMarkedDate(), insert(), KPlato::DateTable::markSelected(), and toggleClear().
void KPlato::DateMap::insert | ( | QDate | date, | |
int | state = Map::NonWorking | |||
) | [inline] |
int KPlato::DateMap::state | ( | QString | date | ) | [inline] |
Definition at line 61 of file kptmap.h.
Referenced by insert(), KPlato::DateTable::paintDay(), state(), toggle(), and toggleClear().
int KPlato::DateMap::state | ( | QDate | date | ) | [inline] |
bool KPlato::DateMap::operator== | ( | const DateMap & | m | ) | const [inline] |
bool KPlato::DateMap::operator!= | ( | const DateMap & | m | ) | const [inline] |
void KPlato::DateMap::toggle | ( | QString | date, | |
int | state = Map::NonWorking | |||
) | [inline] |
Definition at line 76 of file kptmap.h.
References state().
Referenced by KPlato::DateTable::contentsMousePressEvent(), and toggle().
void KPlato::DateMap::toggle | ( | QDate | date, | |
int | state = Map::NonWorking | |||
) | [inline] |
void KPlato::DateMap::toggleClear | ( | QString | date, | |
int | state = Map::NonWorking | |||
) | [inline] |
Definition at line 84 of file kptmap.h.
References insert(), and state().
Referenced by KPlato::DateTable::contentsMousePressEvent(), and toggleClear().
void KPlato::DateMap::toggleClear | ( | QDate | date, | |
int | state = Map::NonWorking | |||
) | [inline] |