KPlato::WeekMap Class Reference

#include <kptmap.h>

Inherits KPlato::IntMap.

Inheritance diagram for KPlato::WeekMap:

[legend]
List of all members.

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)

Detailed Description

Definition at line 135 of file kptmap.h.


Member Function Documentation

bool KPlato::WeekMap::contains ( int  week,
int  year 
) [inline]

Definition at line 138 of file kptmap.h.

Referenced by contains().

bool KPlato::WeekMap::contains ( QPair< int, int >  week  )  [inline]

Definition at line 139 of file kptmap.h.

References contains().

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]

Definition at line 145 of file kptmap.h.

References insert(), and state().

void KPlato::WeekMap::insert ( WeekMap::iterator  it,
int  state 
) [inline]

Definition at line 147 of file kptmap.h.

References insert(), and week().

void KPlato::WeekMap::remove ( QPair< int, int >  week  )  [inline]

Definition at line 149 of file kptmap.h.

static QPair<int, int> KPlato::WeekMap::week ( int  key  )  [inline, static]

Definition at line 151 of file kptmap.h.

Referenced by insert().

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]

Definition at line 154 of file kptmap.h.

References state().

void KPlato::WeekMap::toggle ( QPair< int, int >  week,
int  state = Map::NonWorking 
) [inline]

Definition at line 156 of file kptmap.h.

References state(), and KPlato::IntMap::toggle().

void KPlato::WeekMap::toggleClear ( QPair< int, int >  week,
int  state = Map::NonWorking 
) [inline]

Definition at line 160 of file kptmap.h.

References state(), and KPlato::IntMap::toggleClear().


The documentation for this class was generated from the following file:
Generated on Wed Nov 22 23:21:49 2006 for KPlato by  doxygen 1.5.1-p1