CalendarEvents::ShowEventInterface Class
class CalendarEvents::ShowEventInterfaceInterface for displaying event details. More...
Header: | #include <CalendarEvents/CalendarEventsPlugin> |
CMake: | find_package(KF6 REQUIRED COMPONENTS CalendarEvents) target_link_libraries(mytarget PRIVATE KF6::CalendarEvents) |
Public Functions
virtual bool | showEvent(const QString &uid) = 0 |
Detailed Description
ShowEventInterface is an additional interface the CalendarEventsPlugin implementations can implement if they support displaying details about events (e.g. opening the event in KOrganizer).
Member Function Documentation
[pure virtual]
bool ShowEventInterface::showEvent(const QString &uid)
When this is called, the plugin should show a window displaying the full preview of the event.
The plugin should return true if the event details can be displayed, false otherwise.