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

DateBookMonth Class Reference

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

Collaboration diagram for DateBookMonth:

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

 DateBookMonth (QWidget *parent=0, const char *name=0, bool ac=FALSE, DateBookDB *data=0)
 ~DateBookMonth ()
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
DateBookMonthTabletable
int year
int month
int day
bool autoClose
DateBookMonthPrivate * d

Constructor & Destructor Documentation

DateBookMonth::DateBookMonth QWidget *  parent = 0,
const char *  name = 0,
bool  ac = FALSE,
DateBookDB data = 0
 

Definition at line 385 of file datebookmonth.cpp.

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

DateBookMonth::~DateBookMonth  ) 
 

Definition at line 409 of file datebookmonth.cpp.


Member Function Documentation

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

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

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

Definition at line 438 of file datebookmonth.cpp.

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

Referenced by DateBookMonth().

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

Definition at line 174 of file datebookmonth.h.

References dateClicked().

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

Definition at line 474 of file datebookmonth.cpp.

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

void DateBookMonth::redraw  )  [slot]
 

Definition at line 454 of file datebookmonth.cpp.

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

QDate DateBookMonth::selectedDate  )  const
 

Definition at line 460 of file datebookmonth.cpp.

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

Referenced by Transaction::accept(), DateEdit::date(), DateEdit::DateEdit(), TaskEditorAlarms::inlineSetDate(), and DateEdit::subValueChanged().

void DateBookMonth::setDate QDate   )  [slot]
 

Definition at line 449 of file datebookmonth.cpp.

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

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

Definition at line 428 of file datebookmonth.cpp.

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

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

Definition at line 414 of file datebookmonth.cpp.

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

Referenced by DateEdit::clear(), DateBookMonth(), ORecurranceWidget::endDateChanged(), OPimRecurrenceWidget::endDateChanged(), RepeatEntry::endDateChanged(), DateEntry::endDateChanged(), finalDate(), FindWidget::FindWidget(), Transaction::initFromInfo(), TaskEditorAlarms::inlineSetDate(), keyPressEvent(), DateButton::pickDate(), DateBookWeekLstHeader::pickDate(), DateBookWeekHeader::pickDate(), DateBookDayHeader::pickDate(), DateEdit::setDate(), setDate(), FindWidget::slotDateChanged(), DateEntry::startDateChanged(), and ContactEditor::updateDatePicker().

void DateBookMonth::slotWeekChange bool   )  [slot]
 

Definition at line 469 of file datebookmonth.cpp.

References DateBookMonthTable::setWeekStart(), and table.

Referenced by DateBookMonth(), and DateButton::pickDate().


Member Data Documentation

bool DateBookMonth::autoClose [private]
 

Definition at line 181 of file datebookmonth.h.

Referenced by finalDate(), and keyPressEvent().

class DateBookMonthPrivate* DateBookMonth::d [private]
 

Definition at line 182 of file datebookmonth.h.

Referenced by selectedDate().

int DateBookMonth::day [private]
 

Definition at line 180 of file datebookmonth.h.

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

DateBookMonthHeader* DateBookMonth::header [private]
 

Definition at line 178 of file datebookmonth.h.

Referenced by DateBookMonth(), and setDate().

int DateBookMonth::month [private]
 

Definition at line 180 of file datebookmonth.h.

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

DateBookMonthTable* DateBookMonth::table [private]
 

Definition at line 179 of file datebookmonth.h.

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

int DateBookMonth::year [private]
 

Definition at line 180 of file datebookmonth.h.

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


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