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

DateBookDayHeader Class Reference

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

Collaboration diagram for DateBookDayHeader:

Collaboration graph
[legend]
List of all members.

Public Slots

void goBack ()
void goForward ()
void goBackWeek ()
void goForwardWeek ()
void setDate (int, int, int)
void setDay (int)
void gotHide ()

Signals

void dateChanged (int y, int m, int d)

Public Member Functions

 DateBookDayHeader (bool bUseMonday, QWidget *parent=0, const char *name=0)
 ~DateBookDayHeader ()
void setStartOfWeek (bool onMonday)

Private Slots

void pickDate ()

Private Member Functions

void setupNames ()

Private Attributes

QDate currDate
bool bUseMonday

Constructor & Destructor Documentation

DateBookDayHeader::DateBookDayHeader bool  bUseMonday,
QWidget *  parent = 0,
const char *  name = 0
 

Definition at line 48 of file datebookdayheaderimpl.cpp.

References Opie::Core::OResource::loadPixmap(), pickDate(), and setupNames().

DateBookDayHeader::~DateBookDayHeader  ) 
 

Definition at line 69 of file datebookdayheaderimpl.cpp.


Member Function Documentation

void DateBookDayHeader::dateChanged int  y,
int  m,
int  d
[signal]
 

Referenced by setDate().

void DateBookDayHeader::goBack  )  [slot]
 

Definition at line 130 of file datebookdayheaderimpl.cpp.

References QDate::addDays(), currDate, QDate::day(), QDate::month(), setDate(), and QDate::year().

void DateBookDayHeader::goBackWeek  )  [slot]
 

Definition at line 146 of file datebookdayheaderimpl.cpp.

References QDate::addDays(), currDate, QDate::day(), QDate::month(), setDate(), and QDate::year().

void DateBookDayHeader::goForward  )  [slot]
 

Definition at line 138 of file datebookdayheaderimpl.cpp.

References QDate::addDays(), currDate, QDate::day(), QDate::month(), setDate(), and QDate::year().

void DateBookDayHeader::goForwardWeek  )  [slot]
 

Definition at line 154 of file datebookdayheaderimpl.cpp.

References QDate::addDays(), currDate, QDate::day(), QDate::month(), setDate(), and QDate::year().

void DateBookDayHeader::gotHide  )  [slot]
 

Definition at line 121 of file datebookdayheaderimpl.cpp.

Referenced by pickDate().

void DateBookDayHeader::pickDate  )  [private, slot]
 

Definition at line 103 of file datebookdayheaderimpl.cpp.

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

Referenced by DateBookDayHeader().

void DateBookDayHeader::setDate int  ,
int  ,
int 
[slot]
 

Definition at line 164 of file datebookdayheaderimpl.cpp.

References bUseMonday, currDate, dateChanged(), QDate::setYMD(), and TimeString::shortDate().

Referenced by DateBookDay::DateBookDay(), goBack(), goBackWeek(), goForward(), goForwardWeek(), pickDate(), DateBookDay::setDate(), setDay(), and setStartOfWeek().

void DateBookDayHeader::setDay int   )  [slot]
 

Definition at line 184 of file datebookdayheaderimpl.cpp.

References QDate::addDays(), bUseMonday, currDate, QDate::day(), QDate::dayOfWeek(), QDate::month(), setDate(), and QDate::year().

void DateBookDayHeader::setStartOfWeek bool  onMonday  ) 
 

Definition at line 74 of file datebookdayheaderimpl.cpp.

References bUseMonday, currDate, QDate::day(), QDate::month(), setDate(), setupNames(), and QDate::year().

Referenced by DateBookDay::slotWeekChanged().

void DateBookDayHeader::setupNames  )  [private]
 

Definition at line 81 of file datebookdayheaderimpl.cpp.

References bUseMonday, and tr.

Referenced by DateBookDayHeader(), and setStartOfWeek().


Member Data Documentation

bool DateBookDayHeader::bUseMonday [private]
 

Definition at line 65 of file datebookdayheaderimpl.h.

Referenced by setDate(), setDay(), setStartOfWeek(), and setupNames().

QDate DateBookDayHeader::currDate [private]
 

Definition at line 64 of file datebookdayheaderimpl.h.

Referenced by goBack(), goBackWeek(), goForward(), goForwardWeek(), pickDate(), setDate(), setDay(), and setStartOfWeek().


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