From 455809b0e5d6e80406867aa8f5a74aa10a39bf35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Nicole?= Date: Tue, 15 May 2018 12:01:09 +0200 Subject: 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 --- tests/teststore.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') 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 calcoreEvent->setDtStart(startTime); calcoreEvent->setDtEnd(endTime); + if (object.contains("allDay")) { + calcoreEvent->setAllDay(object["allDay"].toBool()); + } + auto ical = KCalCore::ICalFormat().toICalString(calcoreEvent); sinkEvent.setIcal(ical.toUtf8()); -- cgit v1.2.3