KDeclarative
calendareventsplugin.h
213 SubLabelPriority priority = SubLabelPriority::Default; /**< The display priority of the sublabel */
294Q_DECLARE_INTERFACE(CalendarEvents::ShowEventInterface, "org.kde.CalendarEventsPlugin.ShowEventInterface")
Plugin for feeding events to a calendar instance.
Definition calendareventsplugin.h:183
SubLabelPriority
Definition calendareventsplugin.h:187
void eventModified(const CalendarEvents::EventData &modifiedEvent)
Should be emitted when there is a modification of an event that was previously returned via the dataR...
void alternateCalendarDateReady(const QHash< QDate, QCalendar::YearMonthDay > &data)
Emitted when the plugin has loaded the alternate dates.
virtual void loadEventsForDateRange(const QDate &startDate, const QDate &endDate)=0
When this is called, the plugin should load all events data between those two date ranges.
void dataReady(const QMultiHash< QDate, CalendarEvents::EventData > &data)
Emitted when the plugin has loaded the events data.
void eventRemoved(const QString &uid)
Should be emitted when the plugin removes some event from its collection.
void subLabelReady(const QHash< QDate, SubLabel > &data)
Emitted when the plugin has loaded the sublabels.
void setStartDateTime(const QDateTime &startDateTime)
Set the start date-time of this event.
QString description() const
Event description, can provide more details about the event.
void setEventColor(const QString &color)
This is to support various calendar colors the user might have configured elsewhere.
QDateTime startDateTime() const
The start date and time of this event.
bool isMinor() const
If true, this event won't mark the day in the calendar grid The main purpose for this flag is to supp...
void setDescription(const QString &description)
Sets the event description, which allows to add more details about this event.
void setIsAllDay(bool isAllDay)
If set to true, it will be displayed in the Calendar agenda without any time besides it,...
void setEndDateTime(const QDateTime &endDateTime)
Set the end date-time of this event.
bool isAllDay() const
If true, this event goes on the whole day (eg.
void setIsMinor(bool isMinor)
If set to true, it won't be marked in the calendar grid.
QString eventColor() const
The color that should be used to mark this event with It comes in the HTML hex format,...
QDateTime endDateTime() const
The end date and time of this event.
Interface for displaying event details.
Definition calendareventsplugin.h:277
virtual bool showEvent(const QString &uid)=0
When this is called, the plugin should show a window displaying the full preview of the event.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:07:17 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:07:17 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.