KHolidays Library
#include <holidayparserdriverplanold_p.h>
Public Member Functions | |
HolidayParserDriverPlanOld (const QString &planFilename) | |
~HolidayParserDriverPlanOld () | |
void | error (const QString &errorMessage) |
Public Member Functions inherited from KHolidays::HolidayParserDriver | |
HolidayParserDriver (const QString &filePath) | |
virtual | ~HolidayParserDriver () |
virtual QString | fileCountryCode () const |
virtual QString | fileDescription () const |
virtual QString | fileLanguageCode () const |
virtual QString | fileName () const |
virtual Holiday::List | parseHolidays (const QDate &startDate, const QDate &endDate, Holiday::MultidayMode multidayMode) |
virtual Holiday::List | parseHolidays (const QDate &date, Holiday::MultidayMode multidayMode) |
virtual Holiday::List | parseHolidays (int calendarYear, const QString &calendarType, Holiday::MultidayMode multidayMode) |
Protected Member Functions | |
void | parse () |
void | parseMetadata () |
Protected Member Functions inherited from KHolidays::HolidayParserDriver | |
virtual void | setParseCalendar (const QString &calendarType) |
virtual void | setParseStartEnd () |
Additional Inherited Members | |
Protected Attributes inherited from KHolidays::HolidayParserDriver | |
QString | m_fileCountryCode |
QString | m_fileDescription |
QString | m_fileLanguageCode |
QString | m_fileName |
QString | m_filePath |
Holiday::MultidayMode | m_multidayMode |
KCalendarSystem * | m_parseCalendar |
int | m_parseEndYear |
int | m_parseStartYear |
int | m_parseYear |
QDate | m_requestEnd |
QDate | m_requestStart |
Holiday::List | m_resultList |
Detailed Description
HolidayParserDriverPlanOld implementation class.
Implements the standard driver interface for parsing Plan holiday files as used from KDE 4.0 to KDE SC 4.4. Mostly kept for reference and parallel testing.
Private, for internal use only
Definition at line 38 of file holidayparserdriverplanold_p.h.
Constructor & Destructor Documentation
HolidayParserDriverPlanOld::HolidayParserDriverPlanOld | ( | const QString & | planFilename | ) |
Constructor of old Plan file parser driver.
- Parameters
-
filePath full path to holiday file
Definition at line 56 of file holidayparserdriverplanold.cpp.
HolidayParserDriverPlanOld::~HolidayParserDriverPlanOld | ( | ) |
Destructor.
Definition at line 62 of file holidayparserdriverplanold.cpp.
Member Function Documentation
|
virtual |
Standard error message handling.
- Parameters
-
errorMessage error message to log
Reimplemented from KHolidays::HolidayParserDriver.
Definition at line 66 of file holidayparserdriverplanold.cpp.
|
protectedvirtual |
Actually parse the file, old plan format implementation.
Reimplemented from KHolidays::HolidayParserDriver.
Definition at line 71 of file holidayparserdriverplanold.cpp.
|
protectedvirtual |
Parse the file for metadata only and populate the metadata variables.
Reimplemented from KHolidays::HolidayParserDriver.
Definition at line 115 of file holidayparserdriverplanold.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.