00001 #include "hlist.h" 00002 00003 #include <qobject.h> 00004 00005 const QStringList HList::entries(const QDate&aDate)const 00006 { 00007 QStringList ret; 00008 #if 0 00009 if (aDate.month()==12) { 00010 if (aDate.day()==24) { 00011 ret.append(QObject::tr("Christmas Eve","holidays")); 00012 } else if (aDate.day()==25) { 00013 ret.append(QObject::tr("Christmas Day","holidays")); 00014 } else if (aDate.day()==26) { 00015 ret.append(QObject::tr("Boxing Day","holidays")); 00016 } 00017 } else if (aDate.month()==1) { 00018 if (aDate.day()==1) { 00019 ret.append(QObject::tr("New Year","holidays")); 00020 } 00021 } 00022 #endif 00023 return ret; 00024 }
1.4.2