blob: 266a200cc4cd9d41a7f22313a3b0ff46c98d7826 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#include "hlist.h"
#include <qobject.h>
const QStringList HList::entries(const QDate&aDate)const
{
QStringList ret;
#if 0
if (aDate.month()==12) {
if (aDate.day()==24) {
ret.append(QObject::tr("Christmas Eve","holidays"));
} else if (aDate.day()==25) {
ret.append(QObject::tr("Christmas Day","holidays"));
} else if (aDate.day()==26) {
ret.append(QObject::tr("Boxing Day","holidays"));
}
} else if (aDate.month()==1) {
if (aDate.day()==1) {
ret.append(QObject::tr("New Year","holidays"));
}
}
#endif
return ret;
}
|