Public Member Functions | |
WeekdayListItem (Calendar *cal, int wd, QTreeWidget *parent, QString name, QTreeWidgetItem *after) | |
~WeekdayListItem () | |
void | setHours () |
void | setIntervals (QList< TimeInterval * > intervals) |
void | setState (int st) |
KCommand * | save (Part *part) |
Public Attributes | |
CalendarDay * | day |
CalendarDay * | original |
Calendar * | calendar |
int | weekday |
Definition at line 45 of file kptstandardworktimedialog.cc.
KPlato::WeekdayListItem::WeekdayListItem | ( | Calendar * | cal, | |
int | wd, | |||
QTreeWidget * | parent, | |||
QString | name, | |||
QTreeWidgetItem * | after | |||
) | [inline] |
Definition at line 48 of file kptstandardworktimedialog.cc.
References day, KPlato::CalendarDay::duration(), KPlato::Map::NonWorking, original, setHours(), KPlato::CalendarDay::state(), KPlato::Duration::toDouble(), and KPlato::Duration::Unit_h.
KPlato::WeekdayListItem::~WeekdayListItem | ( | ) | [inline] |
void KPlato::WeekdayListItem::setHours | ( | ) | [inline] |
Definition at line 65 of file kptstandardworktimedialog.cc.
References KPlato::CalendarDay::clearIntervals(), and day.
Referenced by WeekdayListItem().
void KPlato::WeekdayListItem::setIntervals | ( | QList< TimeInterval * > | intervals | ) | [inline] |
Definition at line 69 of file kptstandardworktimedialog.cc.
References day, KPlato::CalendarDay::duration(), KPlato::CalendarDay::setIntervals(), KPlato::Duration::toDouble(), and KPlato::Duration::Unit_h.
void KPlato::WeekdayListItem::setState | ( | int | st | ) | [inline] |
Definition at line 73 of file kptstandardworktimedialog.cc.
References day, and KPlato::CalendarDay::setState().
KCommand* KPlato::WeekdayListItem::save | ( | Part * | part | ) | [inline] |
Definition at line 85 of file kptstandardworktimedialog.cc.
Referenced by save(), setHours(), setIntervals(), setState(), KPlato::StandardWorktimeDialogImpl::slotWeekdaySelected(), WeekdayListItem(), and ~WeekdayListItem().
Definition at line 86 of file kptstandardworktimedialog.cc.
Referenced by save(), and WeekdayListItem().