Logo Search packages:      
Sourcecode: taskjuggler version File versions  Download package

void Project::setWorkingHours ( int  day,
QPtrList< Interval > *  l 
) [inline]

Set the working hours of the specified weekday.

Parameters:
day The day of the week. Independently of the weekStartsMonday setting TaskJuggler uses 0 for Sunday, 1 for Monday and so on.
l The list of working intervals. The interval use seconds since midnight. As with all TaskJuggler intervals, the specified end value is not part of the interval. The interval ends one seconds earlier.

Definition at line 237 of file Project.h.

    {
        if (day < 0 || day > 6)
            qFatal("day out of range");
        delete workingHours[day];
        workingHours[day] = l;
    }


Generated by  Doxygen 1.6.0   Back to index