#include <kptstandardworktimedialog.h>
Signals | |
| void | obligatedFieldsFilled (bool yes) |
| void | enableButtonOk (bool) |
Public Member Functions | |
| StandardWorktimeDialogImpl (StandardWorktime *std, QWidget *parent) | |
| StandardWorktime * | standardWorktime () |
| double | inYear () const |
| double | inMonth () const |
| double | inWeek () const |
| double | inDay () const |
Private Slots | |
| void | slotCheckAllFieldsFilled () |
| void | slotEnableButtonOk (bool on) |
| void | slotYearChanged (double) |
| void | slotMonthChanged (double) |
| void | slotWeekChanged (double) |
| void | slotDayChanged (double) |
| void | slotIntervalChanged () |
| void | slotApplyClicked () |
| void | slotEnableButtonApply (bool) |
| void | slotWeekdaySelected () |
| void | slotStateChanged (int) |
Private Attributes | |
| StandardWorktime * | m_std |
| double | m_year |
| double | m_month |
| double | m_week |
| double | m_day |
| IntervalEditImpl * | m_intervalEdit |
Definition at line 41 of file kptstandardworktimedialog.h.
| KPlato::StandardWorktimeDialogImpl::StandardWorktimeDialogImpl | ( | StandardWorktime * | std, | |
| QWidget * | parent | |||
| ) |
Definition at line 147 of file kptstandardworktimedialog.cc.
References KPlato::StandardWorktime::calendar(), KPlato::StandardWorktime::day(), m_day, m_intervalEdit, m_month, m_std, m_week, m_year, KPlato::StandardWorktime::month(), slotApplyClicked(), slotDayChanged(), slotIntervalChanged(), slotMonthChanged(), slotStateChanged(), slotWeekChanged(), slotWeekdaySelected(), slotYearChanged(), KPlato::StandardWorktime::week(), KPlato::Calendar::weekday(), and KPlato::StandardWorktime::year().
| StandardWorktime* KPlato::StandardWorktimeDialogImpl::standardWorktime | ( | ) | [inline] |
| double KPlato::StandardWorktimeDialogImpl::inYear | ( | ) | const [inline] |
Definition at line 47 of file kptstandardworktimedialog.h.
References m_year.
Referenced by KPlato::StandardWorktimeDialog::buildCommand().
| double KPlato::StandardWorktimeDialogImpl::inMonth | ( | ) | const [inline] |
Definition at line 48 of file kptstandardworktimedialog.h.
References m_month.
Referenced by KPlato::StandardWorktimeDialog::buildCommand().
| double KPlato::StandardWorktimeDialogImpl::inWeek | ( | ) | const [inline] |
Definition at line 49 of file kptstandardworktimedialog.h.
References m_week.
Referenced by KPlato::StandardWorktimeDialog::buildCommand().
| double KPlato::StandardWorktimeDialogImpl::inDay | ( | ) | const [inline] |
Definition at line 50 of file kptstandardworktimedialog.h.
References m_day.
Referenced by KPlato::StandardWorktimeDialog::buildCommand().
| void KPlato::StandardWorktimeDialogImpl::slotCheckAllFieldsFilled | ( | ) | [private, slot] |
| void KPlato::StandardWorktimeDialogImpl::slotEnableButtonOk | ( | bool | on | ) | [private, slot] |
Definition at line 214 of file kptstandardworktimedialog.cc.
References enableButtonOk().
Referenced by slotApplyClicked(), slotDayChanged(), slotMonthChanged(), slotWeekChanged(), and slotYearChanged().
| void KPlato::StandardWorktimeDialogImpl::slotYearChanged | ( | double | ) | [private, slot] |
Definition at line 222 of file kptstandardworktimedialog.cc.
References m_year, and slotEnableButtonOk().
Referenced by StandardWorktimeDialogImpl().
| void KPlato::StandardWorktimeDialogImpl::slotMonthChanged | ( | double | ) | [private, slot] |
Definition at line 230 of file kptstandardworktimedialog.cc.
References m_month, and slotEnableButtonOk().
Referenced by StandardWorktimeDialogImpl().
| void KPlato::StandardWorktimeDialogImpl::slotWeekChanged | ( | double | ) | [private, slot] |
Definition at line 239 of file kptstandardworktimedialog.cc.
References m_week, and slotEnableButtonOk().
Referenced by StandardWorktimeDialogImpl().
| void KPlato::StandardWorktimeDialogImpl::slotDayChanged | ( | double | ) | [private, slot] |
Definition at line 248 of file kptstandardworktimedialog.cc.
References m_day, and slotEnableButtonOk().
Referenced by StandardWorktimeDialogImpl().
| void KPlato::StandardWorktimeDialogImpl::slotIntervalChanged | ( | ) | [private, slot] |
Definition at line 255 of file kptstandardworktimedialog.cc.
References slotEnableButtonApply().
Referenced by StandardWorktimeDialogImpl().
| void KPlato::StandardWorktimeDialogImpl::slotApplyClicked | ( | ) | [private, slot] |
Definition at line 260 of file kptstandardworktimedialog.cc.
References KPlato::IntervalEditImpl::intervals(), m_intervalEdit, and slotEnableButtonOk().
Referenced by StandardWorktimeDialogImpl().
| void KPlato::StandardWorktimeDialogImpl::slotEnableButtonApply | ( | bool | ) | [private, slot] |
Definition at line 210 of file kptstandardworktimedialog.cc.
Referenced by slotIntervalChanged(), and slotStateChanged().
| void KPlato::StandardWorktimeDialogImpl::slotWeekdaySelected | ( | ) | [private, slot] |
Definition at line 279 of file kptstandardworktimedialog.cc.
References KPlato::WeekdayListItem::day, m_intervalEdit, KPlato::IntervalEditImpl::setIntervals(), slotStateChanged(), KPlato::CalendarDay::state(), and KPlato::CalendarDay::workingIntervals().
Referenced by StandardWorktimeDialogImpl().
| void KPlato::StandardWorktimeDialogImpl::slotStateChanged | ( | int | ) | [private, slot] |
Definition at line 295 of file kptstandardworktimedialog.cc.
References slotEnableButtonApply().
Referenced by slotWeekdaySelected(), and StandardWorktimeDialogImpl().
| void KPlato::StandardWorktimeDialogImpl::obligatedFieldsFilled | ( | bool | yes | ) | [signal] |
Referenced by slotCheckAllFieldsFilled().
| void KPlato::StandardWorktimeDialogImpl::enableButtonOk | ( | bool | ) | [signal] |
Referenced by slotEnableButtonOk().
Definition at line 70 of file kptstandardworktimedialog.h.
Referenced by standardWorktime(), and StandardWorktimeDialogImpl().
double KPlato::StandardWorktimeDialogImpl::m_year [private] |
Definition at line 71 of file kptstandardworktimedialog.h.
Referenced by inYear(), slotYearChanged(), and StandardWorktimeDialogImpl().
double KPlato::StandardWorktimeDialogImpl::m_month [private] |
Definition at line 72 of file kptstandardworktimedialog.h.
Referenced by inMonth(), slotMonthChanged(), and StandardWorktimeDialogImpl().
double KPlato::StandardWorktimeDialogImpl::m_week [private] |
Definition at line 73 of file kptstandardworktimedialog.h.
Referenced by inWeek(), slotWeekChanged(), and StandardWorktimeDialogImpl().
double KPlato::StandardWorktimeDialogImpl::m_day [private] |
Definition at line 74 of file kptstandardworktimedialog.h.
Referenced by inDay(), slotDayChanged(), and StandardWorktimeDialogImpl().
Definition at line 75 of file kptstandardworktimedialog.h.
Referenced by slotApplyClicked(), slotWeekdaySelected(), and StandardWorktimeDialogImpl().
1.5.1-p1