Calendar events: allow plugins to show event details
ClosedPublic

Authored by dvratil on Jun 19 2019, 3:37 PM.

Details

Summary

This adds new method to the plugin API that will allow plugins to show
event details when user clicks on the event, for example by
opening KOrganizer.

Diff Detail

Repository
R296 KDeclarative
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
dvratil created this revision.Jun 19 2019, 3:37 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptJun 19 2019, 3:37 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
dvratil requested review of this revision.Jun 19 2019, 3:37 PM
dvratil updated this revision to Diff 60068.Jun 19 2019, 3:43 PM
  • Fix ABI compatibility

Adding a new virtual to a non-leaf class is never ABI compatible.

So, we are doomed to CalendarEventsPluginV2? *sadpanda*

Unrelatedly, if you don't already have KOrganizer installed, it would be really nice if clicking on a day in the calendar showed a message that you need to install KOrganizer to create events, with a button that installs it via PackageKit when clicked on. That would be really cool.

dvratil updated this revision to Diff 60890.Jun 30 2019, 9:48 PM

Make the change truly API and ABI compatible

apol accepted this revision.Jul 15 2019, 1:08 AM
This revision is now accepted and ready to land.Jul 15 2019, 1:08 AM
apol added inline comments.Jul 15 2019, 1:08 AM
src/calendarevents/calendareventsplugin.h
236

should be since 5.61 now

This revision was automatically updated to reflect the committed changes.