summaryrefslogtreecommitdiffstats
path: root/views/calendar/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'views/calendar/main.qml')
-rw-r--r--views/calendar/main.qml41
1 files changed, 33 insertions, 8 deletions
diff --git a/views/calendar/main.qml b/views/calendar/main.qml
index 3cce9adf..672e3e21 100644
--- a/views/calendar/main.qml
+++ b/views/calendar/main.qml
@@ -32,15 +32,40 @@ ApplicationWindow {
32 Component.onCompleted: { 32 Component.onCompleted: {
33 var initialState = { 33 var initialState = {
34 accounts: [{ 34 accounts: [{
35 id: "account1", 35 id: "account1",
36 name: "Test Account" 36 name: "Test Account"
37 }], 37 }],
38 identities: [{ 38 identities: [{
39 account: "account1", 39 account: "account1",
40 name: "Test Identity", 40 name: "Test Identity",
41 address: "identity@example.org" 41 address: "identity@example.org"
42 }], 42 }],
43 resources: [] 43 resources: [{
44 id: "caldavresource",
45 account: "account1",
46 type: "caldav",
47 }],
48 calendars: [{
49 id: "calendar1",
50 resource: "caldavresource",
51 name: "Test Calendar",
52 events: [
53 {
54 resource: "caldavresource",
55 summary: "Test Event1",
56 description: "This is test event #1",
57 starts: "2018-04-10T14:03:00",
58 ends: "2018-04-10T17:03:00",
59 },
60 {
61 resource: "caldavresource",
62 summary: "Test Event2",
63 description: "This is test event #2",
64 starts: "2018-04-11T09:03:00",
65 ends: "2018-04-11T14:03:00",
66 },
67 ],
68 }],
44 } 69 }
45 TestStore.setup(initialState) 70 TestStore.setup(initialState)
46 } 71 }