00001 #ifndef _DATEBOOKWEEKLSTDAYHDR_H 00002 #define _DATEBOOKWEEKLSTDAYHDR_H 00003 00004 #include "datebookweeklstdayhdrbase.h" 00005 00006 #include <qdatetime.h> 00007 00008 class DateBookWeekLstDayHdr: public DateBookWeekLstDayHdrBase 00009 { 00010 Q_OBJECT 00011 public: 00012 DateBookWeekLstDayHdr(const QDate &d, bool onM, 00013 QWidget* parent = 0, const char* name = 0, 00014 WFlags fl = 0 ); 00015 public slots: 00016 void showDay(); 00017 void newEvent(); 00018 signals: 00019 void showDate(int y, int m, int d); 00020 void addEvent(const QDateTime &start, const QDateTime &stop, 00021 const QString &str, const QString &location); 00022 private: 00023 QDate date; 00024 }; 00025 00026 #endif
1.4.2