Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

DayItemMonth Class Reference

#include </home/clem/local/src/opie/library/datebookmonth.h>

Collaboration diagram for DayItemMonth:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DayItemMonth (QTable *table, EditType et, const QString &t)
 ~DayItemMonth ()
void paint (QPainter *p, const QColorGroup &cg, const QRect &cr, bool selected)
void setDay (int d)
void setEvents (const QValueList< Event > &events)
void setEvents (const QValueList< EffectiveEvent > &effEvents)
void clearEvents ()
void clearEffEvents ()
int day () const
void setType (Calendar::Day::Type t)
Calendar::Day::Type type () const

Private Attributes

QBrush back
QColor forg
int dy
Calendar::Day::Type typ
QValueList< EventdaysEvents
DayItemMonthPrivated

Constructor & Destructor Documentation

DayItemMonth::DayItemMonth QTable table,
EditType  et,
const QString t
 

Definition at line 511 of file datebookmonth.cpp.

References d.

DayItemMonth::~DayItemMonth  ) 
 

Definition at line 517 of file datebookmonth.cpp.

References QValueList< T >::clear(), d, and daysEvents.


Member Function Documentation

void DayItemMonth::clearEffEvents  ) 
 

Definition at line 528 of file datebookmonth.cpp.

References QValueList< T >::clear(), d, and DayItemMonthPrivate::mDayEvents.

Referenced by DateBookMonthTable::setupTable(), and ODateBookMonthTable::setupTable().

void DayItemMonth::clearEvents  )  [inline]
 

Definition at line 85 of file datebookmonth.h.

References QValueList< T >::clear(), and daysEvents.

int DayItemMonth::day  )  const [inline]
 

Definition at line 87 of file datebookmonth.h.

References dy.

Referenced by DateBookMonthTable::changeDaySelection(), ODateBookMonthTable::changeDaySelection(), paint(), DateBookMonthTable::setupTable(), and ODateBookMonthTable::setupTable().

void DayItemMonth::paint QPainter *  p,
const QColorGroup &  cg,
const QRect &  cr,
bool  selected
 

Definition at line 533 of file datebookmonth.cpp.

References back, QValueList< T >::begin(), colorNormal, colorRepeat, colorRepeatLight, QValueList< T >::count(), d, day(), QValueList< T >::end(), f, FALSE, forg, g, Event::hasRepeat(), Event::isAllDay(), Qtopia::Record::isValidUid(), DayItemMonthPrivate::mDayEvents, QString::number(), QValueStack< T >::pop(), QValueStack< T >::push(), qApp, s_colorHolidayLight, s_colorNormalLight, s_colorRepeatLight, t, TRUE, and Opie::MM::y.

void DayItemMonth::setDay int  d  )  [inline]
 

Definition at line 82 of file datebookmonth.h.

References dy.

Referenced by DateBookMonthTable::setupTable(), and ODateBookMonthTable::setupTable().

void DayItemMonth::setEvents const QValueList< EffectiveEvent > &  effEvents  ) 
 

Definition at line 523 of file datebookmonth.cpp.

References d, and DayItemMonthPrivate::mDayEvents.

void DayItemMonth::setEvents const QValueList< Event > &  events  )  [inline]
 

Definition at line 83 of file datebookmonth.h.

References daysEvents.

Referenced by DateBookMonthTable::getEvents(), and ODateBookMonthTable::getEvents().

void DayItemMonth::setType Calendar::Day::Type  t  ) 
 

Definition at line 681 of file datebookmonth.cpp.

References back, forg, Calendar::Day::NextMonth, Calendar::Day::PrevMonth, Calendar::Day::ThisMonth, and typ.

Referenced by DateBookMonthTable::setupTable(), and ODateBookMonthTable::setupTable().

Calendar::Day::Type DayItemMonth::type  )  const [inline]
 

Definition at line 89 of file datebookmonth.h.

References typ.

Referenced by DateBookMonthTable::changeDaySelection(), and ODateBookMonthTable::changeDaySelection().


Member Data Documentation

QBrush DayItemMonth::back [private]
 

Definition at line 92 of file datebookmonth.h.

Referenced by paint(), and setType().

DayItemMonthPrivate* DayItemMonth::d [private]
 

Definition at line 97 of file datebookmonth.h.

Referenced by clearEffEvents(), DayItemMonth(), paint(), setEvents(), and ~DayItemMonth().

QValueList<Event> DayItemMonth::daysEvents [private]
 

Definition at line 96 of file datebookmonth.h.

Referenced by clearEvents(), setEvents(), and ~DayItemMonth().

int DayItemMonth::dy [private]
 

Definition at line 94 of file datebookmonth.h.

Referenced by day(), and setDay().

QColor DayItemMonth::forg [private]
 

Definition at line 93 of file datebookmonth.h.

Referenced by paint(), and setType().

Calendar::Day::Type DayItemMonth::typ [private]
 

Definition at line 95 of file datebookmonth.h.

Referenced by setType(), and type().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:30:43 2005 for OPIE by  doxygen 1.4.2