Help with interacting with calendar

hi team, I need some guidance on where should I look at. I want to create a minimal app to create a calendar event which, if possible, shows up on my calendar plasmoid. Can you point me to some code, please?
Is it possible to set a trigger on it as well?

Thanks!

It has been a long while since I did any PIM development so this is hopefully still accurate :slight_smile:

The data type for events is KCalendarCore::Event
Also look at its base class because that is the main API for data.

The you use an Akonadi::ItemCreateJob to add the event to a calendar collection (target calendar folder).

There is a dialog for letting the user pick a collection.
You can also look at this helper.

Thank you so much for your answer>
I noticed that fedora still does not have kd6-akonadi packages.

Do you, by any chance, know where I can follow the progress on that? :slight_smile:

Maybe Fedora just calls the packages differently.

These APIs are used by many KDE programs so it is unlikely that they are not packaged at all.

1 Like