#include <kptmap.h>
Inherited by KPlato::WeekMap.
Inheritance diagram for KPlato::IntMap:
Public Member Functions | |
IntMap () | |
virtual | ~IntMap () |
void | insert (int key, int state=Map::NonWorking) |
virtual int | state (int key) |
bool | operator== (const IntMap &m) const |
bool | operator!= (const IntMap &m) const |
void | toggle (int key, int state=Map::NonWorking) |
void | toggleClear (int key, int state=Map::NonWorking) |
Definition at line 96 of file kptmap.h.
void KPlato::IntMap::insert | ( | int | key, | |
int | state = Map::NonWorking | |||
) | [inline] |
Definition at line 102 of file kptmap.h.
References KPlato::Map::None, and state().
Referenced by KPlato::WeekMap::insert(), KPlato::CalendarWeekdays::map(), KPlato::DateTable::markSelected(), KPlato::DateTable::setMarkedWeekday(), toggle(), and toggleClear().
virtual int KPlato::IntMap::state | ( | int | key | ) | [inline, virtual] |
Definition at line 108 of file kptmap.h.
Referenced by insert(), KPlato::DateTable::paintDay(), KPlato::DateTable::paintWeekday(), KPlato::WeekMap::state(), toggle(), and toggleClear().
bool KPlato::IntMap::operator== | ( | const IntMap & | m | ) | const [inline] |
bool KPlato::IntMap::operator!= | ( | const IntMap & | m | ) | const [inline] |
void KPlato::IntMap::toggle | ( | int | key, | |
int | state = Map::NonWorking | |||
) | [inline] |
Definition at line 122 of file kptmap.h.
References insert(), and state().
Referenced by KPlato::DateTable::contentsMousePressEvent(), and KPlato::WeekMap::toggle().
void KPlato::IntMap::toggleClear | ( | int | key, | |
int | state = Map::NonWorking | |||
) | [inline] |
Definition at line 128 of file kptmap.h.
References insert(), and state().
Referenced by KPlato::DateTable::contentsMousePressEvent(), and KPlato::WeekMap::toggleClear().