KHolidays Library
holidayparserdriver.cpp
virtual void setParseStartEnd()
Initialise parse year variables for calendar system.
Definition holidayparserdriver.cpp:116
virtual void error(const QString &errorMessage)
Standard error message handling.
Definition holidayparserdriver.cpp:97
virtual QString fileName() const
Return the untranslated name of the file.
Definition holidayparserdriver.cpp:50
virtual void setParseCalendar(const QString &calendarType)
Set the calendar system to use.
Definition holidayparserdriver.cpp:110
virtual void parse()
Actually parse the file, must be re-implemented by derived classes.
Definition holidayparserdriver.cpp:102
virtual Holiday::List parseHolidays(const QDate &startDate, const QDate &endDate, Holiday::MultidayMode multidayMode)
Return a list of holidays falling between any two dates.
Definition holidayparserdriver.cpp:60
HolidayParserDriver(const QString &filePath)
Constructor of abstract holiday file parser driver class.
Definition holidayparserdriver.cpp:29
virtual QString fileDescription() const
Return the untranslated description of the file if available.
Definition holidayparserdriver.cpp:55
virtual QString fileLanguageCode() const
Return the ISO 639-1 language code of the file.
Definition holidayparserdriver.cpp:45
virtual QString fileCountryCode() const
Return the ISO 3166 country/region code of the file.
Definition holidayparserdriver.cpp:40
virtual void parseMetadata()
Parse the file for metadata only and populate the metadata variables.
Definition holidayparserdriver.cpp:106
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.