• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepimlibs API Reference
  • KDE Home
  • Contact Us
 

KHolidays Library

  • KHolidays
  • HolidayParserDriverPlanOld
Public Member Functions | Protected Member Functions | List of all members
KHolidays::HolidayParserDriverPlanOld Class Reference

#include <holidayparserdriverplanold_p.h>

Inheritance diagram for KHolidays::HolidayParserDriverPlanOld:
Inheritance graph
[legend]

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
filePathfull 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

void HolidayParserDriverPlanOld::error ( const QString &  errorMessage)
virtual

Standard error message handling.

Parameters
errorMessageerror message to log

Reimplemented from KHolidays::HolidayParserDriver.

Definition at line 66 of file holidayparserdriverplanold.cpp.

void HolidayParserDriverPlanOld::parse ( )
protectedvirtual

Actually parse the file, old plan format implementation.

Reimplemented from KHolidays::HolidayParserDriver.

Definition at line 71 of file holidayparserdriverplanold.cpp.

void HolidayParserDriverPlanOld::parseMetadata ( )
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:
  • holidayparserdriverplanold_p.h
  • holidayparserdriverplanold.cpp
This file is part of the KDE documentation.
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.

KHolidays Library

Skip menu "KHolidays Library"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Related Pages

kdepimlibs API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kldap
  • kmbox
  • kmime
  • kpimidentities
  • kpimtextedit
  • kresources
  • ktnef
  • kxmlrpcclient
  • microblog

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal