KCalendarCore
Go to the documentation of this file.
18 #ifndef KCALCORE_TODO_H
19 #define KCALCORE_TODO_H
22 #include "kcalendarcore_export.h"
83 Q_REQUIRED_RESULT
QByteArray typeStr()
const override;
89 Todo *clone()
const override;
100 void setDtDue(
const QDateTime &dtDue,
bool first =
false);
111 Q_REQUIRED_RESULT
QDateTime dtDue(
bool first =
false)
const;
117 Q_REQUIRED_RESULT
bool hasDueDate()
const;
123 Q_REQUIRED_RESULT
bool hasStartDate()
const;
128 Q_REQUIRED_RESULT
QDateTime dtStart()
const override;
140 Q_REQUIRED_RESULT
QDateTime dtStart(
bool first)
const;
150 Q_REQUIRED_RESULT
bool isCompleted()
const;
163 void setCompleted(
bool completed);
170 Q_REQUIRED_RESULT
int percentComplete()
const;
183 void setPercentComplete(
int percent);
191 Q_REQUIRED_RESULT
QDateTime completed()
const;
209 void setCompleted(
const QDateTime &completeDate);
217 bool hasCompletedDate()
const;
231 Q_REQUIRED_RESULT
bool isInProgress(
bool first)
const;
237 Q_REQUIRED_RESULT
bool isOpenEnded()
const;
250 Q_REQUIRED_RESULT
bool isNotStarted(
bool first)
const;
260 void setAllDay(
bool allDay)
override;
269 void setDtRecurrence(
const QDateTime &dt);
279 Q_REQUIRED_RESULT
QDateTime dtRecurrence()
const;
290 bool recursOn(
const QDate &date,
const QTimeZone &timeZone)
const override;
297 bool isOverdue()
const;
323 bool supportsGroupwareCommunication()
const override;
345 void virtual_hook(VirtualHook
id,
void *data)
override;
366 Q_DECLARE_PRIVATE(
Todo)
367 #if KCALENDARCORE_BUILD_DEPRECATED_SINCE(5, 91)
368 KCALENDARCORE_DEPRECATED_VERSION(5, 91,
"Do not use")
369 TodoPrivate *const _ =
nullptr;
DateTimeRole
The different types of incidence date/times roles.
Namespace for all KCalendarCore types.
Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...
An abstract class that provides a common base for all calendar incidence classes.
Provides a To-do in the sense of RFC2445.
QSharedPointer< Todo > Ptr
A shared pointer to a Todo object.
This class provides the interface for a visitor of calendar components.
IncidenceType
The different types of incidences, per RFC2445.
QVector< Ptr > List
List of to-dos.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Oct 1 2023 03:58:00 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.