summaryrefslogtreecommitdiff
path: root/src/containers/kolabtodo.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <mollekopf@kolabsys.com>2013-01-14 16:01:25 (GMT)
committerChristian Mollekopf <mollekopf@kolabsys.com>2013-01-14 16:01:25 (GMT)
commit933250ca15b39b5ac78dd6812c0f65391c773df4 (patch)
treec9b0a68a01e47d6aba2fbcd20c77d7c6a020b6ce /src/containers/kolabtodo.cpp
parent0fdb8fa489bba1a5f1112f4bd7d792412dd38896 (diff)
downloadlibkolabxml-933250ca15b39b5ac78dd6812c0f65391c773df4.tar.gz
Support for recurrence exceptions.
Diffstat (limited to 'src/containers/kolabtodo.cpp')
-rw-r--r--src/containers/kolabtodo.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/containers/kolabtodo.cpp b/src/containers/kolabtodo.cpp
index ceefcf9..2286d25 100644
--- a/src/containers/kolabtodo.cpp
+++ b/src/containers/kolabtodo.cpp
@@ -29,6 +29,7 @@ struct Todo::Private: public PrivateIncidence
cDateTime due;
int percentComplete;
+ std::vector< Todo > exceptions;
};
Todo::Todo()
@@ -314,6 +315,16 @@ std::vector< CustomProperty > Todo::customProperties() const
return d->customProperties;
}
+void Todo::setExceptions(const std::vector< Todo > &exceptions)
+{
+ d->exceptions = exceptions;
+}
+
+std::vector< Todo > Todo::exceptions() const
+{
+ return d->exceptions;
+}
+
void Todo::setAlarms(const std::vector< Alarm > &alarms)
{
d->alarms = alarms;