Detailed Description
The Schedule class provided information on timed auto-activation of a profile.
Qt Extended profiles may be automatically activated on certain times and dates. The QPhoneProfile::Schedule class represents the times at which the profile should be activated. A profile's schedule can be read through the QPhoneProfile::schedule() method, and set through a QPhoneProfile::setSchedule() call.
See also QPhoneProfile.
Member Function Documentation
Schedule::Schedule ()
Constructs a new, empty schedule.
Schedule::Schedule ( const Schedule & other )
Constructs a copy of other.
void Schedule::clearScheduledDays ()
Clears all scheduled days for auto activation for this schedule.
bool Schedule::isActive () const
Returns true if the schedule is active. Inactive schedules will be ignored by the auto activation system.
bool Schedule::scheduledOnDay ( Qt::DayOfWeek day ) const
Returns true the activation is scheduled on day for this schedule.
QList<Qt::DayOfWeek> Schedule::scheduledOnDays () const
Returns the list of days on which the auto activation is scheduled.
void Schedule::setActive ( bool active )
Sets whether this schedule is enabled to active.
See also isActive().
void Schedule::setScheduledDay ( Qt::DayOfWeek day )
Schedules the auto activation on day. If other days are set they will not be affected.
void Schedule::setTime ( const QTime & time )
Sets the activation time of day for this schedule.
See also time().
QTime Schedule::time () const
Returns the activation time of day for this schedule.
See also setTime().
void Schedule::unsetScheduledDay ( Qt::DayOfWeek day )
Removes the auto activation scheduled on day.
bool Schedule::operator!= ( const Schedule & other ) const
Returns true if this schedule is not equal to other; otherwise returns false.
Schedule & Schedule::operator= ( const Schedule & other )
Assigns other to this schedule and returns a reference to this schedule.
bool Schedule::operator== ( const Schedule & other ) const
Returns true if this schedule is equal to other; otherwise returns false.