kplato

KPlato::StandardWorktime Class Reference

List of all members.

Detailed Description

Definition at line 334 of file kptcalendar.h.


Public Member Functions

 StandardWorktime ()
 StandardWorktime (StandardWorktime *worktime)
 ~StandardWorktime ()
Duration durationYear () const
double year () const
void setYear (const Duration year)
void setYear (double hours)
Duration durationMonth () const
double month () const
void setMonth (const Duration month)
void setMonth (double hours)
Duration durationWeek () const
double week () const
void setWeek (const Duration week)
void setWeek (double hours)
Duration durationDay () const
double day () const
void setDay (const Duration day)
void setDay (double hours)
bool load (QDomElement &element)
void save (QDomElement &element) const
Calendarcalendar () const
void printDebug (QCString indent="")

Protected Member Functions

void init ()

Member Function Documentation

Duration KPlato::StandardWorktime::durationYear (  )  const [inline]

The work time of a normal year.

Definition at line 342 of file kptcalendar.h.

double KPlato::StandardWorktime::year (  )  const [inline]

The work time of a normal year.

Definition at line 344 of file kptcalendar.h.

void KPlato::StandardWorktime::setYear ( const Duration  year  )  [inline]

Set the work time of a normal year.

Definition at line 346 of file kptcalendar.h.

void KPlato::StandardWorktime::setYear ( double  hours  )  [inline]

Set the work time of a normal year.

Definition at line 348 of file kptcalendar.h.

Duration KPlato::StandardWorktime::durationMonth (  )  const [inline]

The work time of a normal month.

Definition at line 351 of file kptcalendar.h.

double KPlato::StandardWorktime::month (  )  const [inline]

The work time of a normal month.

Definition at line 353 of file kptcalendar.h.

void KPlato::StandardWorktime::setMonth ( const Duration  month  )  [inline]

Set the work time of a normal month.

Definition at line 355 of file kptcalendar.h.

void KPlato::StandardWorktime::setMonth ( double  hours  )  [inline]

Set the work time of a normal month.

Definition at line 357 of file kptcalendar.h.

Duration KPlato::StandardWorktime::durationWeek (  )  const [inline]

The work time of a normal week.

Definition at line 360 of file kptcalendar.h.

double KPlato::StandardWorktime::week (  )  const [inline]

The work time of a normal week.

Definition at line 362 of file kptcalendar.h.

void KPlato::StandardWorktime::setWeek ( const Duration  week  )  [inline]

Set the work time of a normal week.

Definition at line 364 of file kptcalendar.h.

void KPlato::StandardWorktime::setWeek ( double  hours  )  [inline]

Set the work time of a normal week.

Definition at line 366 of file kptcalendar.h.

Duration KPlato::StandardWorktime::durationDay (  )  const [inline]

The work time of a normal day.

Definition at line 369 of file kptcalendar.h.

double KPlato::StandardWorktime::day (  )  const [inline]

The work time of a normal day.

Definition at line 371 of file kptcalendar.h.

void KPlato::StandardWorktime::setDay ( const Duration  day  )  [inline]

Set the work time of a normal day.

Definition at line 373 of file kptcalendar.h.

void KPlato::StandardWorktime::setDay ( double  hours  )  [inline]

Set the work time of a normal day.

Definition at line 375 of file kptcalendar.h.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys