#include <kptmap.h>
Inherits KPlato::IntMap.
Inheritance diagram for KPlato::WeekMap:
Public Member Functions | |
bool | contains (int week, int year) |
bool | contains (QPair< int, int > week) |
void | insert (int week, int year, int state=Map::NonWorking) |
void | insert (QPair< int, int > week, int state=Map::NonWorking) |
void | insert (WeekMap::iterator it, int state) |
void | remove (QPair< int, int > week) |
int | state (QPair< int, int > week) |
int | state (int week, int year) |
void | toggle (QPair< int, int > week, int state=Map::NonWorking) |
void | toggleClear (QPair< int, int > week, int state=Map::NonWorking) |
Static Public Member Functions | |
static QPair< int, int > | week (int key) |
Definition at line 135 of file kptmap.h.
bool KPlato::WeekMap::contains | ( | int | week, | |
int | year | |||
) | [inline] |
bool KPlato::WeekMap::contains | ( | QPair< int, int > | week | ) | [inline] |
void KPlato::WeekMap::insert | ( | int | week, | |
int | year, | |||
int | state = Map::NonWorking | |||
) | [inline] |
Definition at line 141 of file kptmap.h.
References KPlato::IntMap::insert(), and state().
Referenced by insert().
void KPlato::WeekMap::insert | ( | QPair< int, int > | week, | |
int | state = Map::NonWorking | |||
) | [inline] |
void KPlato::WeekMap::insert | ( | WeekMap::iterator | it, | |
int | state | |||
) | [inline] |
void KPlato::WeekMap::remove | ( | QPair< int, int > | week | ) | [inline] |
static QPair<int, int> KPlato::WeekMap::week | ( | int | key | ) | [inline, static] |
int KPlato::WeekMap::state | ( | QPair< int, int > | week | ) | [inline] |
Definition at line 153 of file kptmap.h.
References KPlato::IntMap::state().
Referenced by insert(), state(), toggle(), and toggleClear().
int KPlato::WeekMap::state | ( | int | week, | |
int | year | |||
) | [inline] |
void KPlato::WeekMap::toggle | ( | QPair< int, int > | week, | |
int | state = Map::NonWorking | |||
) | [inline] |
void KPlato::WeekMap::toggleClear | ( | QPair< int, int > | week, | |
int | state = Map::NonWorking | |||
) | [inline] |