summaryrefslogtreecommitdiffstats
path: root/tests/teststore.cpp
diff options
context:
space:
mode:
authorMinijackson <minijackson@riseup.net>2018-05-14 16:19:43 +0200
committerMinijackson <minijackson@riseup.net>2018-05-15 11:36:32 +0200
commitb234c6c74ba76e8d58ab9a55ab1054eb761697e1 (patch)
tree116d2ec96bb51919ae7c1c274b31178f1faf059b /tests/teststore.cpp
parentd353ec997f06891455dce9b51333687da670a03e (diff)
downloadkube-b234c6c74ba76e8d58ab9a55ab1054eb761697e1.tar.gz
kube-b234c6c74ba76e8d58ab9a55ab1054eb761697e1.zip
Implement DayLongEventModel and integrate it to calendar
Diffstat (limited to 'tests/teststore.cpp')
-rw-r--r--tests/teststore.cpp4
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