KCalendarCore
filestorage.h
Go to the documentation of this file.
51 explicit FileStorage(const Calendar::Ptr &calendar, const QString &fileName = QString(), KCalendarCore::CalFormat *format = nullptr);
This file is part of the API for handling calendar data and defines the CalStorage abstract base clas...
An abstract base class that provides an interface to various calendar formats.
Definition calformat.h:39
Calendar::Ptr calendar() const
Returns the calendar for this storage object.
Definition calstorage.cpp:49
CalStorage(const Calendar::Ptr &calendar)
Constructs a new storage object for a calendar.
Definition calstorage.cpp:39
FileStorage(const Calendar::Ptr &calendar, const QString &fileName=QString(), KCalendarCore::CalFormat *format=nullptr)
Constructs a new FileStorage object for Calendar calendar with format format, and storage to file fil...
Definition filestorage.cpp:50
CalFormat * saveFormat() const
Returns the CalFormat object used by this storage.
Definition filestorage.cpp:77
void setSaveFormat(KCalendarCore::CalFormat *format)
Sets the CalFormat object to use for this storage.
Definition filestorage.cpp:71
void setFileName(const QString &fileName)
Sets the name of the file that contains the calendar data.
Definition filestorage.cpp:61
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:53:53 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:53:53 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.