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

DateButton Class Reference

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

Collaboration diagram for DateButton:

Collaboration graph
[legend]
List of all members.

Public Slots

void setDate (int y, int m, int d)
void setDate (QDate)
void setWeekStartsMonday (int)
void setDateFormat (DateFormat)

Signals

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

Public Member Functions

 DateButton (bool longDate, QWidget *parent, const char *name=0)
QDate date () const
bool customWhatsThis () const

Private Slots

void pickDate ()
void gotHide ()

Private Attributes

bool longFormat
bool weekStartsMonday
QDate currDate
DateFormat df

Constructor & Destructor Documentation

DateButton::DateButton bool  longDate,
QWidget *  parent,
const char *  name = 0
 

Definition at line 699 of file datebookmonth.cpp.

References QDate::currentDate(), DateFormat, df, longFormat, DateFormat::MonthDayYear, pickDate(), and setDate().


Member Function Documentation

bool DateButton::customWhatsThis  )  const
 

Definition at line 767 of file datebookmonth.cpp.

References TRUE.

QDate DateButton::date  )  const [inline]
 

Definition at line 191 of file datebookmonth.h.

References currDate.

Referenced by TimeTabWidget::saveSettings(), and TimeTabWidget::slotTZChanged().

void DateButton::dateSelected int  year,
int  month,
int  day
[signal]
 

Referenced by pickDate().

void DateButton::gotHide  )  [private, slot]
 

Definition at line 734 of file datebookmonth.cpp.

Referenced by pickDate().

void DateButton::pickDate  )  [private, slot]
 

Definition at line 712 of file datebookmonth.cpp.

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

Referenced by DateButton().

void DateButton::setDate QDate   )  [slot]
 

Definition at line 753 of file datebookmonth.cpp.

References currDate, df, TimeString::longDateString(), longFormat, and TimeString::shortDate().

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

Definition at line 748 of file datebookmonth.cpp.

Referenced by DateButton(), pickDate(), setDateFormat(), and TimeTabWidget::setDateTime().

void DateButton::setDateFormat DateFormat   )  [slot]
 

Definition at line 761 of file datebookmonth.cpp.

References currDate, df, and setDate().

Referenced by TimeTabWidget::slotDateFormatChanged().

void DateButton::setWeekStartsMonday int   )  [slot]
 

Definition at line 743 of file datebookmonth.cpp.

References weekStartsMonday.

Referenced by TimeTabWidget::slotWeekStartChanged().


Member Data Documentation

QDate DateButton::currDate [private]
 

Definition at line 211 of file datebookmonth.h.

Referenced by date(), pickDate(), setDate(), and setDateFormat().

DateFormat DateButton::df [private]
 

Definition at line 212 of file datebookmonth.h.

Referenced by DateButton(), setDate(), and setDateFormat().

bool DateButton::longFormat [private]
 

Definition at line 209 of file datebookmonth.h.

Referenced by DateButton(), and setDate().

bool DateButton::weekStartsMonday [private]
 

Definition at line 210 of file datebookmonth.h.

Referenced by pickDate(), and setWeekStartsMonday().


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