diff options
author | Rémi Nicole <nicole@kolabsystems.com> | 2018-05-15 12:01:09 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-05-15 12:01:42 +0200 |
commit | 455809b0e5d6e80406867aa8f5a74aa10a39bf35 (patch) | |
tree | bc50d0dfaca7f12695c959ac87c797293f49a3f3 /tests/teststore.cpp | |
parent | d353ec997f06891455dce9b51333687da670a03e (diff) | |
download | kube-455809b0e5d6e80406867aa8f5a74aa10a39bf35.tar.gz kube-455809b0e5d6e80406867aa8f5a74aa10a39bf35.zip |
Implement DayLongEventModel and integrate it to the calendar
Summary: Fixes T8697
Reviewers: cmollekopf
Reviewed By: cmollekopf
Tags: #kube
Maniphest Tasks: T8697
Differential Revision: https://phabricator.kde.org/D12875
Diffstat (limited to 'tests/teststore.cpp')
-rw-r--r-- | tests/teststore.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/teststore.cpp b/tests/teststore.cpp index 3a60676d..73e34101 100644 --- a/tests/teststore.cpp +++ b/tests/teststore.cpp | |||
@@ -160,6 +160,10 @@ static void createEvent(const QVariantMap &object, const QByteArray &calendarId | |||
160 | calcoreEvent->setDtStart(startTime); | 160 | calcoreEvent->setDtStart(startTime); |
161 | calcoreEvent->setDtEnd(endTime); | 161 | calcoreEvent->setDtEnd(endTime); |
162 | 162 | ||
163 | if (object.contains("allDay")) { | ||
164 | calcoreEvent->setAllDay(object["allDay"].toBool()); | ||
165 | } | ||
166 | |||
163 | auto ical = KCalCore::ICalFormat().toICalString(calcoreEvent); | 167 | auto ical = KCalCore::ICalFormat().toICalString(calcoreEvent); |
164 | sinkEvent.setIcal(ical.toUtf8()); | 168 | sinkEvent.setIcal(ical.toUtf8()); |
165 | 169 | ||