KHolidays Library
25 #ifndef KHOLIDAYS_HOLIDAY_H
26 #define KHOLIDAYS_HOLIDAY_H
28 #include "kholidays_export.h"
30 #include <QtCore/QList>
31 #include <QtCore/QSharedDataPointer>
41 class KHOLIDAYS_EXPORT Holiday
43 friend class HolidayRegion;
44 friend class HolidayParserDriverPlan;
45 friend class HolidayParserDriverPlanOld;
51 typedef QList<Holiday> List;
65 MultidayHolidaysAsMultipleEvents,
66 MultidayHolidaysAsSingleEvents
77 Holiday(
const Holiday &other );
87 Holiday &operator=(
const Holiday &other );
92 bool operator<(
const Holiday &rhs )
const;
97 bool operator>(
const Holiday &rhs )
const;
109 QDate observedStartDate()
const;
116 QDate observedEndDate()
const;
123 int duration()
const;
128 QString text()
const;
133 QString shortText()
const;
138 DayType dayType()
const;
141 QSharedDataPointer<HolidayPrivate> d;
146 #endif // KHOLIDAYS_HOLIDAY_H
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.