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" 
   50     typedef QSharedPointer<Todo> 
Ptr;
 
   81     QByteArray typeStr() 
const;
 
   98     void setDtDue(
const KDateTime &dtDue, 
bool first = 
false);
 
  109     KDateTime dtDue(
bool first = 
false) 
const;
 
  115     bool hasDueDate() 
const;
 
  122     KCALCORE_DEPRECATED 
void setHasDueDate(
bool hasDueDate);
 
  128     bool hasStartDate() 
const;
 
  135     KCALCORE_DEPRECATED 
void setHasStartDate(
bool hasStartDate);
 
  140     virtual KDateTime dtStart() 
const;
 
  152     KDateTime dtStart(
bool first) 
const;
 
  158     void setDtStart(
const KDateTime &dtStart);
 
  167     bool isCompleted() 
const;
 
  177     void setCompleted(
bool completed);
 
  184     int percentComplete() 
const;
 
  195     void setPercentComplete(
int percent);
 
  203     KDateTime completed() 
const;
 
  211     void setCompleted(
const KDateTime &completeDate);
 
  219     bool hasCompletedDate() 
const;
 
  233     bool isInProgress(
bool first) 
const;
 
  239     bool isOpenEnded() 
const;
 
  252     bool isNotStarted(
bool first) 
const;
 
  257     virtual void shiftTimes(
const KDateTime::Spec &oldSpec,
 
  258                             const KDateTime::Spec &newSpec);
 
  263     void setAllDay(
bool allDay);
 
  270     void setDtRecurrence(
const KDateTime &dt);
 
  275     KDateTime dtRecurrence() 
const;
 
  286     virtual bool recursOn(
const QDate &date,
 
  287                           const KDateTime::Spec &timeSpec) 
const;
 
  294     bool isOverdue() 
const;
 
  304     void setDateTime(
const KDateTime &dateTime, 
DateTimeRole role);
 
  309     QLatin1String mimeType() 
const;
 
  314     QLatin1String iconName(
const KDateTime &recurrenceId = KDateTime()) 
const;
 
  319     static QLatin1String todoMimeType();
 
  336     virtual void virtual_hook(
int id, 
void *data);
 
  353     void serialize(QDataStream &out);
 
  354     void deserialize(QDataStream &in);
 
  368 namespace KPIMUtils {
 
  370 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. 
 
QSharedPointer< IncidenceBase > Ptr
A shared pointer to an IncidenceBase. 
 
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-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:59:57 by
doxygen 1.8.7 written
by 
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.