Diffstat (limited to 'core/pim/datebook/holiday/christian/chrisholiday.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/datebook/holiday/christian/chrisholiday.h | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/core/pim/datebook/holiday/christian/chrisholiday.h b/core/pim/datebook/holiday/christian/chrisholiday.h index 8dcf4c6..9ae500e 100644 --- a/core/pim/datebook/holiday/christian/chrisholiday.h +++ b/core/pim/datebook/holiday/christian/chrisholiday.h | |||
@@ -1,33 +1,33 @@ | |||
1 | #ifndef __DUMMY_HOLIDAY_H | 1 | #ifndef __DUMMY_HOLIDAY_H |
2 | #define __DUMMY_HOLIDAY_H | 2 | #define __DUMMY_HOLIDAY_H |
3 | 3 | ||
4 | #include "hlist.h" | 4 | #include "hlist.h" |
5 | 5 | ||
6 | #include <opie2/oholidayplugin.h> | 6 | #include <opie2/oholidayplugin.h> |
7 | #include <opie2/oholidaypluginif.h> | 7 | #include <opie2/oholidaypluginif.h> |
8 | 8 | ||
9 | #include <qmap.h> | 9 | #include <qmap.h> |
10 | 10 | ||
11 | class ChrisHoliday:public Opie::Datebook::HolidayPlugin | 11 | class ChrisHoliday:public Opie::Datebook::HolidayPlugin |
12 | { | 12 | { |
13 | typedef QMap<QDate,QStringList> tDayMap; | 13 | typedef QMap<QDate,QStringList> tDayMap; |
14 | 14 | ||
15 | public: | 15 | public: |
16 | ChrisHoliday():Opie::Datebook::HolidayPlugin(){_lastyear=0;} | 16 | ChrisHoliday():Opie::Datebook::HolidayPlugin(){_lastyear=0;} |
17 | virtual ~ChrisHoliday(){} | 17 | virtual ~ChrisHoliday(){} |
18 | 18 | ||
19 | virtual QString description(); | 19 | virtual QString description(); |
20 | virtual QStringList entries(const QDate&); | 20 | virtual QStringList entries(const QDate&); |
21 | virtual QStringList entries(unsigned year, unsigned month, unsigned day); | 21 | virtual QStringList entries(unsigned year, unsigned month, unsigned day); |
22 | virtual QMap<QDate,QStringList> entries(const QDate&,const QDate&); | 22 | virtual QMap<QDate,QStringList> entries(const QDate&,const QDate&); |
23 | protected: | 23 | protected: |
24 | HList _internallist; | 24 | HList _internallist; |
25 | unsigned int _lastyear; | 25 | unsigned int _lastyear; |
26 | tDayMap _days; | 26 | tDayMap _days; |
27 | 27 | ||
28 | void calcit(int year); | 28 | void calcit(int year); |
29 | void calc_easter(); | 29 | void calc_easter(); |
30 | void calc_christmas(); | 30 | void calc_christmas(); |
31 | }; | 31 | }; |
32 | 32 | ||
33 | #endif | 33 | #endif |