forgotten Import Schedule Dialog files
[toast/confclerk.git] / src / gui / daynavigatorwidget.h
1 #ifndef DAYNAVIGATORWIDGET_H
2 #define DAYNAVIGATORWIDGET_H
3
4 #include "ui_daynavigatorwidget.h"
5 #include <QObject>
6 #include <QDate>
7
8 class DayNavigatorWidget : public QWidget, private Ui::DayNavigatorWidget
9 {
10     Q_OBJECT
11     public:
12         DayNavigatorWidget(QWidget *aParent = NULL);
13         ~DayNavigatorWidget() {}
14         void setDates(const QDate &aStartDate, const QDate &aEndDate);
15         QDate getCurrentDate();
16     private slots:
17         void prevDayButtonClicked();
18         void nextDayButtonClicked();
19     signals:
20         void dateChanged(const QDate &aDate);
21     private:
22         QDate mStartDate;
23         QDate mEndDate;
24         QDate mCurDate;
25 };
26
27 #endif /* DAYNAVIGATORWIDGET_H */
28