Changeset View
Changeset View
Standalone View
Standalone View
src/app/TimelineDelegate.qml
Show All 23 Lines | |||||
24 | 24 | | |||
25 | Kirigami.AbstractCard { | 25 | Kirigami.AbstractCard { | ||
26 | id: root | 26 | id: root | ||
27 | /** Reservation batch identifier (@see _reservationManager). */ | 27 | /** Reservation batch identifier (@see _reservationManager). */ | ||
28 | property var batchId | 28 | property var batchId | ||
29 | /** All reservations that are part of this patch. */ | 29 | /** All reservations that are part of this patch. */ | ||
30 | property var resIds: _reservationManager.reservationsForBatch(root.batchId) | 30 | property var resIds: _reservationManager.reservationsForBatch(root.batchId) | ||
31 | /** A random reservation object, in case there's more than one. | 31 | /** A random reservation object, in case there's more than one. | ||
32 | * Use this only for accessing properties that will be the same for all travlers. | 32 | * Use this only for accessing properties that will be the same for all travelers. | ||
33 | */ | 33 | */ | ||
34 | readonly property var reservation: _reservationManager.reservation(root.batchId); | 34 | readonly property var reservation: _reservationManager.reservation(root.batchId); | ||
35 | /** Reservation::reservationFor, unique for all travelers on a multi-traveler reservation set */ | 35 | /** Reservation::reservationFor, unique for all travelers on a multi-traveler reservation set */ | ||
36 | readonly property var reservationFor: reservation.reservationFor | 36 | readonly property var reservationFor: reservation.reservationFor | ||
37 | property var rangeType | 37 | property var rangeType | ||
38 | 38 | | |||
39 | property Item headerItem | 39 | property Item headerItem | ||
40 | property string headerIconSource | 40 | property string headerIconSource | ||
Show All 36 Lines |