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

DateBookWeekHeader Class Reference

#include </home/clem/local/src/opie/core/pim/datebook/datebookweekheaderimpl.h>

Collaboration diagram for DateBookWeekHeader:

Collaboration graph
[legend]
List of all members.

Public Slots

void pickDate ()
void nextMonth ()
void prevMonth ()
void nextWeek ()
void prevWeek ()
void setDate (int y, int m, int d)

Signals

void dateChanged (QDate &date)

Public Member Functions

 DateBookWeekHeader (bool startOnMonday, QWidget *parent=0, const char *name=0, WFlags fl=0)
 ~DateBookWeekHeader ()
void setDate (const QDate &d)
void setStartOfWeek (bool onMonday)

Protected Slots

void keyPressEvent (QKeyEvent *e)

Private Attributes

QDate date
bool bStartOnMonday

Constructor & Destructor Documentation

DateBookWeekHeader::DateBookWeekHeader bool  startOnMonday,
QWidget *  parent = 0,
const char *  name = 0,
WFlags  fl = 0
 

Definition at line 45 of file datebookweekheaderimpl.cpp.

References Opie::Core::OResource::loadPixmap(), and Opie::Core::OResource::SmallIcon.

DateBookWeekHeader::~DateBookWeekHeader  ) 
 

Definition at line 60 of file datebookweekheaderimpl.cpp.


Member Function Documentation

void DateBookWeekHeader::dateChanged QDate date  )  [signal]
 

Referenced by setDate().

void DateBookWeekHeader::keyPressEvent QKeyEvent *  e  )  [inline, protected, slot]
 

Definition at line 61 of file datebookweekheaderimpl.h.

void DateBookWeekHeader::nextMonth  )  [slot]
 

Definition at line 81 of file datebookweekheaderimpl.cpp.

References QDate::addDays(), date, oendl, owarn, and setDate().

void DateBookWeekHeader::nextWeek  )  [slot]
 

Definition at line 91 of file datebookweekheaderimpl.cpp.

References QDate::addDays(), date, oendl, owarn, and setDate().

void DateBookWeekHeader::pickDate  )  [slot]
 

Definition at line 65 of file datebookweekheaderimpl.cpp.

References date, QDate::day(), QDate::month(), DateBookMonth::setDate(), setDate(), TRUE, and QDate::year().

void DateBookWeekHeader::prevMonth  )  [slot]
 

Definition at line 86 of file datebookweekheaderimpl.cpp.

References QDate::addDays(), date, oendl, owarn, and setDate().

void DateBookWeekHeader::prevWeek  )  [slot]
 

Definition at line 96 of file datebookweekheaderimpl.cpp.

References QDate::addDays(), date, oendl, owarn, and setDate().

void DateBookWeekHeader::setDate int  y,
int  m,
int  d
[slot]
 

Definition at line 102 of file datebookweekheaderimpl.cpp.

References setDate().

void DateBookWeekHeader::setDate const QDate d  ) 
 

Definition at line 107 of file datebookweekheaderimpl.cpp.

References QDate::addDays(), bStartOnMonday, calcWeek(), date, dateChanged(), QDate::day(), QDate::dayOfWeek(), QDate::month(), Calendar::nameOfMonth(), QString::number(), start, tr, and week().

Referenced by nextMonth(), nextWeek(), pickDate(), prevMonth(), prevWeek(), setDate(), DateBookWeek::setDate(), and setStartOfWeek().

void DateBookWeekHeader::setStartOfWeek bool  onMonday  ) 
 

Definition at line 130 of file datebookweekheaderimpl.cpp.

References bStartOnMonday, date, and setDate().

Referenced by DateBookWeek::slotWeekChanged().


Member Data Documentation

bool DateBookWeekHeader::bStartOnMonday [private]
 

Definition at line 65 of file datebookweekheaderimpl.h.

Referenced by setDate(), and setStartOfWeek().

QDate DateBookWeekHeader::date [private]
 

Definition at line 64 of file datebookweekheaderimpl.h.

Referenced by nextMonth(), nextWeek(), pickDate(), prevMonth(), prevWeek(), setDate(), and setStartOfWeek().


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