KPlato::IntMap Class Reference

#include <kptmap.h>

Inherited by KPlato::WeekMap.

Inheritance diagram for KPlato::IntMap:

[legend]
List of all members.

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)

Detailed Description

Definition at line 96 of file kptmap.h.


Constructor & Destructor Documentation

KPlato::IntMap::IntMap (  )  [inline]

Definition at line 99 of file kptmap.h.

virtual KPlato::IntMap::~IntMap (  )  [inline, virtual]

Definition at line 100 of file kptmap.h.


Member Function Documentation

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]

Definition at line 114 of file kptmap.h.

bool KPlato::IntMap::operator!= ( const IntMap m  )  const [inline]

Definition at line 117 of file kptmap.h.

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().


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