Commit ff3a84e1 authored by pvuorela's avatar pvuorela

Merge branch 'jb52306' into 'master'

[nemo-qml-plugin-calendar] Update plugins.qmltypes. Contributes to JB#52306

See merge request !68
parents a232e1d7 ce8b26ba
......@@ -134,16 +134,34 @@ Module {
"RecurDaily": 1,
"RecurWeekly": 2,
"RecurBiweekly": 3,
"RecurMonthly": 4,
"RecurYearly": 5,
"RecurCustom": 6
"RecurWeeklyByDays": 4,
"RecurMonthly": 5,
"RecurMonthlyByDayOfWeek": 6,
"RecurMonthlyByLastDayOfWeek": 7,
"RecurYearly": 8,
"RecurCustom": 9
}
}
Enum {
name: "Days"
values: {
"NoDays": 0,
"Monday": 1,
"Tuesday": 2,
"Wednesday": 4,
"Thursday": 8,
"Friday": 16,
"Saturday": 32,
"Sunday": 64
}
}
Enum {
name: "TimeSpec"
values: {
"SpecLocalZone": 0,
"SpecClockTime": 1
"SpecClockTime": 1,
"SpecTimeZone": 2,
"SpecUtc": 3
}
}
Enum {
......@@ -163,14 +181,28 @@ Module {
"ResponseDecline": 3
}
}
Enum {
name: "SyncFailure"
values: {
"NoSyncFailure": 0,
"UploadFailure": 1,
"UpdateFailure": 2,
"DeleteFailure": 3
}
}
Property { name: "displayLabel"; type: "string"; isReadonly: true }
Property { name: "description"; type: "string"; isReadonly: true }
Property { name: "startTime"; type: "QDateTime"; isReadonly: true }
Property { name: "endTime"; type: "QDateTime"; isReadonly: true }
Property { name: "startTimeSpec"; type: "CalendarEvent::TimeSpec"; isReadonly: true }
Property { name: "endTimeSpec"; type: "CalendarEvent::TimeSpec"; isReadonly: true }
Property { name: "startTimeZone"; type: "string"; isReadonly: true }
Property { name: "endTimeZone"; type: "string"; isReadonly: true }
Property { name: "allDay"; type: "bool"; isReadonly: true }
Property { name: "recur"; type: "CalendarEvent::Recur"; isReadonly: true }
Property { name: "recurEndDate"; type: "QDateTime"; isReadonly: true }
Property { name: "hasRecurEndDate"; type: "bool"; isReadonly: true }
Property { name: "recurWeeklyDays"; type: "CalendarEvent::Days"; isReadonly: true }
Property { name: "reminder"; type: "int"; isReadonly: true }
Property { name: "uniqueId"; type: "string"; isReadonly: true }
Property { name: "recurrenceId"; type: "string"; isReadonly: true }
......@@ -179,6 +211,7 @@ Module {
Property { name: "calendarUid"; type: "string"; isReadonly: true }
Property { name: "location"; type: "string"; isReadonly: true }
Property { name: "secrecy"; type: "CalendarEvent::Secrecy"; isReadonly: true }
Property { name: "syncFailure"; type: "CalendarEvent::SyncFailure"; isReadonly: true }
Property { name: "ownerStatus"; type: "CalendarEvent::Response"; isReadonly: true }
Property { name: "rsvp"; type: "bool"; isReadonly: true }
Property { name: "externalInvitation"; type: "bool"; isReadonly: true }
......@@ -207,6 +240,7 @@ Module {
Property { name: "allDay"; type: "bool" }
Property { name: "recur"; type: "CalendarEvent::Recur" }
Property { name: "recurEndDate"; type: "QDateTime"; isReadonly: true }
Property { name: "recurWeeklyDays"; type: "CalendarEvent::Days" }
Property { name: "hasRecurEndDate"; type: "bool"; isReadonly: true }
Property { name: "recurrenceId"; type: "string"; isReadonly: true }
Property { name: "reminder"; type: "int" }
......@@ -216,6 +250,18 @@ Module {
name: "setStartTime"
Parameter { name: "startTime"; type: "QDateTime" }
Parameter { name: "spec"; type: "int" }
Parameter { name: "timezone"; type: "string" }
}
Method {
name: "setStartTime"
Parameter { name: "startTime"; type: "QDateTime" }
Parameter { name: "spec"; type: "int" }
}
Method {
name: "setEndTime"
Parameter { name: "endTime"; type: "QDateTime" }
Parameter { name: "spec"; type: "int" }
Parameter { name: "timezone"; type: "string" }
}
Method {
name: "setEndTime"
......@@ -250,6 +296,7 @@ Module {
Property { name: "event"; type: "QObject"; isReadonly: true; isPointer: true }
Property { name: "occurrence"; type: "QObject"; isReadonly: true; isPointer: true }
Property { name: "attendees"; type: "QList<QObject*>"; isReadonly: true }
Property { name: "eventError"; type: "bool"; isReadonly: true }
Signal { name: "recurrenceIdStringChanged" }
Signal {
name: "newUniqueId"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment