author | alwin <alwin> | 2005-03-16 15:04:15 (UTC) |
---|---|---|
committer | alwin <alwin> | 2005-03-16 15:04:15 (UTC) |
commit | d119025a69177c373d75d3fe5936e2319bb4455b (patch) (side-by-side diff) | |
tree | 7315a34f0837fdc4b887482ed3a25c77804ee62e /core/pim/datebook/holiday/christian/hlist.cpp | |
parent | fcffc58d8058912d67cf223d3057cf4032f821cd (diff) | |
download | opie-d119025a69177c373d75d3fe5936e2319bb4455b.zip opie-d119025a69177c373d75d3fe5936e2319bb4455b.tar.gz opie-d119025a69177c373d75d3fe5936e2319bb4455b.tar.bz2 |
added (base) christian holidays
Diffstat (limited to 'core/pim/datebook/holiday/christian/hlist.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/datebook/holiday/christian/hlist.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/core/pim/datebook/holiday/christian/hlist.cpp b/core/pim/datebook/holiday/christian/hlist.cpp new file mode 100644 index 0000000..795b075 --- a/dev/null +++ b/core/pim/datebook/holiday/christian/hlist.cpp @@ -0,0 +1,18 @@ +#include "hlist.h"
+
+#include <qobject.h>
+
+const QStringList HList::entries(const QDate&aDate)const
+{
+ QStringList ret;
+ if (aDate.month()==12) {
+ if (aDate.day()==24) {
+ ret.append(QObject::tr("Christmas","holidays"));
+ }
+ } else if (aDate.month()==1) {
+ if (aDate.day()==1) {
+ ret.append(QObject::tr("New year","holidays"));
+ }
+ }
+ return ret;
+}
|