author | alwin <alwin> | 2005-03-20 10:03:42 (UTC) |
---|---|---|
committer | alwin <alwin> | 2005-03-20 10:03:42 (UTC) |
commit | a1d7a03827cef202c8c009eca6f9846f171e5b22 (patch) (unidiff) | |
tree | f62880550d0041345f1fba51aad2f758f1f678b5 /core/pim/datebook | |
parent | 14eff34794a9d59629e374dd0a3090c46260169b (diff) | |
download | opie-a1d7a03827cef202c8c009eca6f9846f171e5b22.zip opie-a1d7a03827cef202c8c009eca6f9846f171e5b22.tar.gz opie-a1d7a03827cef202c8c009eca6f9846f171e5b22.tar.bz2 |
ok, seems that guys want to insert static days like christmas and
so on better inside the nationaldays-xml-files so removing it here.
-rw-r--r-- | core/pim/datebook/holiday/christian/hlist.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/pim/datebook/holiday/christian/hlist.cpp b/core/pim/datebook/holiday/christian/hlist.cpp index f1d51f8..266a200 100644 --- a/core/pim/datebook/holiday/christian/hlist.cpp +++ b/core/pim/datebook/holiday/christian/hlist.cpp | |||
@@ -1,22 +1,24 @@ | |||
1 | #include "hlist.h" | 1 | #include "hlist.h" |
2 | 2 | ||
3 | #include <qobject.h> | 3 | #include <qobject.h> |
4 | 4 | ||
5 | const QStringList HList::entries(const QDate&aDate)const | 5 | const QStringList HList::entries(const QDate&aDate)const |
6 | { | 6 | { |
7 | QStringList ret; | 7 | QStringList ret; |
8 | #if 0 | ||
8 | if (aDate.month()==12) { | 9 | if (aDate.month()==12) { |
9 | if (aDate.day()==24) { | 10 | if (aDate.day()==24) { |
10 | ret.append(QObject::tr("Christmas Eve","holidays")); | 11 | ret.append(QObject::tr("Christmas Eve","holidays")); |
11 | } else if (aDate.day()==25) { | 12 | } else if (aDate.day()==25) { |
12 | ret.append(QObject::tr("Christmas Day","holidays")); | 13 | ret.append(QObject::tr("Christmas Day","holidays")); |
13 | } else if (aDate.day()==26) { | 14 | } else if (aDate.day()==26) { |
14 | ret.append(QObject::tr("Boxing Day","holidays")); | 15 | ret.append(QObject::tr("Boxing Day","holidays")); |
15 | } | 16 | } |
16 | } else if (aDate.month()==1) { | 17 | } else if (aDate.month()==1) { |
17 | if (aDate.day()==1) { | 18 | if (aDate.day()==1) { |
18 | ret.append(QObject::tr("New Year","holidays")); | 19 | ret.append(QObject::tr("New Year","holidays")); |
19 | } | 20 | } |
20 | } | 21 | } |
22 | #endif | ||
21 | return ret; | 23 | return ret; |
22 | } | 24 | } |