KPlato::DateMap Class Reference

#include <kptmap.h>

List of all members.

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)


Detailed Description

Definition at line 39 of file kptmap.h.


Constructor & Destructor Documentation

KPlato::DateMap::DateMap (  )  [inline]

Definition at line 42 of file kptmap.h.

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

Definition at line 43 of file kptmap.h.


Member Function Documentation

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]

Definition at line 54 of file kptmap.h.

References insert(), and state().

void KPlato::DateMap::remove ( QDate  date  )  [inline]

Definition at line 56 of file kptmap.h.

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]

Definition at line 66 of file kptmap.h.

References state().

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

Definition at line 68 of file kptmap.h.

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

Definition at line 71 of file kptmap.h.

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]

Definition at line 83 of file kptmap.h.

References state(), and toggle().

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]

Definition at line 90 of file kptmap.h.

References state(), and 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