author | alwin <alwin> | 2005-03-16 20:10:47 (UTC) |
---|---|---|
committer | alwin <alwin> | 2005-03-16 20:10:47 (UTC) |
commit | ea80ab0e1d30bd52d87b7330a934e63354716f2e (patch) (unidiff) | |
tree | e6e3e902454d54240f553993ccba7a84017aaa11 /core/pim/datebook/holiday/birthday/birthday.h | |
parent | 176c8e8bb543603b68e853660db93d6068c52bfa (diff) | |
download | opie-ea80ab0e1d30bd52d87b7330a934e63354716f2e.zip opie-ea80ab0e1d30bd52d87b7330a934e63354716f2e.tar.gz opie-ea80ab0e1d30bd52d87b7330a934e63354716f2e.tar.bz2 |
added birthday display into datebook
Diffstat (limited to 'core/pim/datebook/holiday/birthday/birthday.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/datebook/holiday/birthday/birthday.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/core/pim/datebook/holiday/birthday/birthday.h b/core/pim/datebook/holiday/birthday/birthday.h new file mode 100644 index 0000000..5c9aacd --- a/dev/null +++ b/core/pim/datebook/holiday/birthday/birthday.h | |||
@@ -0,0 +1,28 @@ | |||
1 | #ifndef __DUMMY_HOLIDAY_H | ||
2 | #define __DUMMY_HOLIDAY_H | ||
3 | |||
4 | #include <opie2/oholidayplugin.h> | ||
5 | #include <opie2/oholidaypluginif.h> | ||
6 | #include <opie2/ocontactaccess.h> | ||
7 | |||
8 | #include <qmap.h> | ||
9 | |||
10 | class Birthday:public Opie::Datebook::HolidayPlugin | ||
11 | { | ||
12 | typedef QMap<QDate,QStringList> tDayMap; | ||
13 | |||
14 | public: | ||
15 | Birthday(); | ||
16 | virtual ~Birthday(){} | ||
17 | |||
18 | virtual QString description(); | ||
19 | virtual QStringList entries(const QDate&); | ||
20 | virtual QStringList entries(unsigned year, unsigned month, unsigned day); | ||
21 | virtual QMap<QDate,QStringList> entries(const QDate&,const QDate&); | ||
22 | protected: | ||
23 | Opie::OPimContactAccess * m_contactdb; | ||
24 | Opie::OPimContactAccess::List m_list; | ||
25 | Opie::OPimContactAccess::List::Iterator m_it; | ||
26 | }; | ||
27 | |||
28 | #endif | ||