24 #include "incidence.h" 40 bool operator==( const Todo& ) const; 42 TQCString type() const { return "Todo"; } 56 void setDtDue( const TQDateTime &dtDue, bool first = false); 65 TQDateTime dtDue( bool first = false ) const; 71 KDE_DEPRECATED TQString dtDueTimeStr() const; 81 KDE_DEPRECATED TQString dtDueDateStr( bool shortfmt = true ) const; 88 KDE_DEPRECATED TQString dtDueStr() const; 93 bool hasDueDate() const; 99 void setHasDueDate( bool hasDueDate ); 104 bool hasStartDate() const; 110 void setHasStartDate( bool hasStartDate ); 119 TQDateTime dtStart( bool first = false ) const; 124 void setDtStart( const TQDateTime &dtStart ); 133 TQString dtStartTimeStr( bool first = false ) const; 143 TQString dtStartDateStr( bool shortfmt = true, bool first = false ) const; 151 TQString dtStartStr( bool first = false ) const; 156 bool isCompleted() const; 163 void setCompleted( bool completed ); 169 int percentComplete() const; 174 void setPercentComplete( int ); 179 TQDateTime completed() const; 184 TQString completedStr() const; 188 void setCompleted( const TQDateTime &completed ); 194 bool hasCompletedDate() const; 199 void setDtRecurrence( const TQDateTime &dt ); 204 TQDateTime dtRecurrence() const; 212 virtual bool recursOn( const TQDate &date ) const; 218 bool isOverdue() const; 238 TQDateTime mDtRecurrence; 243 TQDateTime mCompleted; 244 bool mHasCompletedDate; 246 int mPercentComplete; This class provides a Todo in the sense of RFC2445.
This class provides the interface for a visitor of calendar components.
This class provides the base class common to all calendar components.
virtual TQDateTime endDateRecurrenceBase() const Return the end date/time of the base incidence.
Namespace KCal is for global classes, objects and/or functions in libkcal.
virtual bool visit(Event *) Reimplement this function in your concrete subclass of IncidenceBase::Visitor to perform actions on a...
|