Implement fill event
ClosedPublic

Authored by mlaurent on Aug 10 2018, 5:57 AM.

Details

Summary

We need to implement ReservationFor<RentalCar> too (but I don't have idea how :) )

Diff Detail

Repository
R1003 KItinerary: Travel Reservation handling library
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
mlaurent created this revision.Aug 10 2018, 5:57 AM
Restricted Application added a project: KDE PIM. · View Herald TranscriptAug 10 2018, 5:57 AM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
mlaurent requested review of this revision.Aug 10 2018, 5:57 AM
mlaurent edited the summary of this revision. (Show Details)Aug 10 2018, 5:58 AM
mlaurent added a reviewer: vkrause.
mlaurent updated this revision to Diff 39379.Aug 10 2018, 6:13 AM
  • Add rentalcar element
vkrause accepted this revision.Aug 10 2018, 6:21 AM

Looks good. I think we still need to register RentalCar in JsonLdDocument for deserialization to work though. With that line added this can go in.

This revision is now accepted and ready to land.Aug 10 2018, 6:21 AM
vkrause added inline comments.Aug 10 2018, 6:23 AM
src/calendarhandler.cpp
385

this should just be reservation.reservationFor().value<RentalCar>(), no?

mlaurent updated this revision to Diff 39380.Aug 10 2018, 6:52 AM
  • Use rentalCar().name()
mlaurent updated this revision to Diff 39381.Aug 10 2018, 6:56 AM
  • We need to process location too
vkrause accepted this revision.Aug 10 2018, 7:17 AM
This revision was automatically updated to reflect the committed changes.