KCalCore Library
Go to the documentation of this file.
31 #ifndef KCALCORE_TODO_H
32 #define KCALCORE_TODO_H
34 #include "kcalcore_export.h"
36 #include "supertrait.h"
106 void setDtDue(
const KDateTime &dtDue,
bool first =
false);
117 KDateTime dtDue(
bool first =
false)
const;
123 bool hasDueDate()
const;
130 KCALCORE_DEPRECATED
void setHasDueDate(
bool hasDueDate);
136 bool hasStartDate()
const;
143 KCALCORE_DEPRECATED
void setHasStartDate(
bool hasStartDate);
148 virtual KDateTime dtStart()
const;
160 KDateTime dtStart(
bool first)
const;
166 void setDtStart(
const KDateTime &dtStart);
175 bool isCompleted()
const;
185 void setCompleted(
bool completed);
192 int percentComplete()
const;
203 void setPercentComplete(
int percent);
211 KDateTime completed()
const;
219 void setCompleted(
const KDateTime &completeDate);
227 bool hasCompletedDate()
const;
241 bool isInProgress(
bool first)
const;
247 bool isOpenEnded()
const;
260 bool isNotStarted(
bool first)
const;
265 virtual void shiftTimes(
const KDateTime::Spec &oldSpec,
266 const KDateTime::Spec &newSpec);
271 void setAllDay(
bool allDay);
278 void setDtRecurrence(
const KDateTime &dt);
283 KDateTime dtRecurrence()
const;
294 virtual bool recursOn(
const QDate &date,
295 const KDateTime::Spec &timeSpec)
const;
302 bool isOverdue()
const;
312 void setDateTime(
const KDateTime &dateTime,
DateTimeRole role);
322 QLatin1String iconName(
const KDateTime &recurrenceId = KDateTime())
const;
344 virtual void virtual_hook(
int id,
void *data);
376 namespace KPIMUtils {
378 template <>
struct SuperClass<KCalCore::Todo> :
public SuperClassTrait<KCalCore::Incidence> {};
An abstract class that provides a common base for all calendar incidence classes. ...
This class provides the interface for a visitor of calendar components.
IncidenceType
The different types of incidences, per RFC2445.
DateTimeRole
The different types of incidence date/times roles.
QVector< Ptr > List
List of to-dos.
This file is part of the API for handling calendar data and defines the Incidence class...
Provides a To-do in the sense of RFC2445.
QSharedPointer< Todo > Ptr
A shared pointer to a Todo object.
Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:36:53 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.