Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'jb52306' into 'master'
[nemo-qml-plugin-calendar] Update plugins.qmltypes. Contributes to JB#52306

See merge request mer-core/nemo-qml-plugin-calendar!68
  • Loading branch information
pvuorela committed Dec 16, 2020
2 parents a232e1d + ce8b26b commit ff3a84e
Showing 1 changed file with 51 additions and 4 deletions.
55 changes: 51 additions & 4 deletions src/plugins.qmltypes
Expand Up @@ -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 {
Expand All @@ -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 }
Expand All @@ -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 }
Expand Down Expand Up @@ -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" }
Expand All @@ -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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit ff3a84e

Please sign in to comment.