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

ODateBookMonth Class Reference

#include </home/clem/local/src/opie/core/pim/datebook/modules/monthview/odatebookmonth.h>

Collaboration diagram for ODateBookMonth:

Collaboration graph
[legend]
List of all members.

Public Slots

void setDate (int y, int m)
void setDate (int y, int m, int d)
void setDate (QDate)
void redraw ()
void slotWeekChange (bool)

Signals

void dateClicked (int year, int month, int day)

Public Member Functions

 ODateBookMonth (QWidget *parent=0, const char *name=0, bool ac=FALSE, DateBookDBHoliday *data=0)
virtual ~ODateBookMonth ()
QDate selectedDate () const

Protected Slots

virtual void keyPressEvent (QKeyEvent *e)

Private Slots

void forwardDateClicked (int y, int m, int d)
void finalDate (int, int, int)

Private Attributes

DateBookMonthHeaderheader
ODateBookMonthTabletable
int year
int month
int day
bool autoClose
ODateBookMonthPrivate * d

Constructor & Destructor Documentation

ODateBookMonth::ODateBookMonth QWidget *  parent = 0,
const char *  name = 0,
bool  ac = FALSE,
DateBookDBHoliday data = 0
 

Definition at line 276 of file odatebookmonth.cpp.

References QDate::currentDate(), dateClicked(), day, finalDate(), header, month, qApp, setDate(), ODateBookMonthTable::setDate(), DateBookMonthHeader::setDate(), slotWeekChange(), table, and year.

ODateBookMonth::~ODateBookMonth  )  [virtual]
 

Definition at line 300 of file odatebookmonth.cpp.


Member Function Documentation

void ODateBookMonth::dateClicked int  year,
int  month,
int  day
[signal]
 

Referenced by finalDate(), forwardDateClicked(), keyPressEvent(), and ODateBookMonth().

void ODateBookMonth::finalDate int  ,
int  ,
int 
[private, slot]
 

Definition at line 329 of file odatebookmonth.cpp.

References autoClose, dateClicked(), and setDate().

Referenced by ODateBookMonth().

void ODateBookMonth::forwardDateClicked int  y,
int  m,
int  d
[inline, private, slot]
 

Definition at line 121 of file odatebookmonth.h.

References dateClicked().

void ODateBookMonth::keyPressEvent QKeyEvent *  e  )  [protected, virtual, slot]
 

Definition at line 365 of file odatebookmonth.cpp.

References autoClose, dateClicked(), day, month, qWarning(), setDate(), and year.

void ODateBookMonth::redraw  )  [slot]
 

Definition at line 345 of file odatebookmonth.cpp.

References day, month, ODateBookMonthTable::redraw(), ODateBookMonthTable::setDate(), table, and year.

QDate ODateBookMonth::selectedDate  )  const
 

Definition at line 351 of file odatebookmonth.cpp.

References QDate::currentDate(), d, ODateBookMonthTable::getDate(), table, and Opie::MM::y.

Referenced by DateBook::currentDate(), and DateBook::slotNewEventFromKey().

void ODateBookMonth::setDate QDate   )  [slot]
 

Definition at line 340 of file odatebookmonth.cpp.

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

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

Definition at line 319 of file odatebookmonth.cpp.

References day, header, month, ODateBookMonthTable::setDate(), DateBookMonthHeader::setDate(), table, and year.

void ODateBookMonth::setDate int  y,
int  m
[slot]
 

Definition at line 305 of file odatebookmonth.cpp.

References day, QDate::daysInMonth(), month, ODateBookMonthTable::setDate(), table, and year.

Referenced by finalDate(), keyPressEvent(), ODateBookMonth(), setDate(), and DateBook::view().

void ODateBookMonth::slotWeekChange bool   )  [slot]
 

Definition at line 360 of file odatebookmonth.cpp.

References ODateBookMonthTable::setWeekStart(), and table.

Referenced by ODateBookMonth().


Member Data Documentation

bool ODateBookMonth::autoClose [private]
 

Definition at line 128 of file odatebookmonth.h.

Referenced by finalDate(), and keyPressEvent().

class ODateBookMonthPrivate* ODateBookMonth::d [private]
 

Definition at line 129 of file odatebookmonth.h.

Referenced by selectedDate().

int ODateBookMonth::day [private]
 

Definition at line 127 of file odatebookmonth.h.

Referenced by keyPressEvent(), ODateBookMonth(), redraw(), and setDate().

DateBookMonthHeader* ODateBookMonth::header [private]
 

Definition at line 125 of file odatebookmonth.h.

Referenced by ODateBookMonth(), and setDate().

int ODateBookMonth::month [private]
 

Definition at line 127 of file odatebookmonth.h.

Referenced by keyPressEvent(), ODateBookMonth(), redraw(), and setDate().

ODateBookMonthTable* ODateBookMonth::table [private]
 

Definition at line 126 of file odatebookmonth.h.

Referenced by ODateBookMonth(), redraw(), selectedDate(), setDate(), and slotWeekChange().

int ODateBookMonth::year [private]
 

Definition at line 127 of file odatebookmonth.h.

Referenced by keyPressEvent(), ODateBookMonth(), redraw(), and setDate().


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