2014-09-08 15:54:52 +00:00
|
|
|
#ifndef CALENDARMANAGER_H
|
|
|
|
#define CALENDARMANAGER_H
|
|
|
|
|
|
|
|
#include "./src/jceData/Calendar/calendarPage.h"
|
|
|
|
#include "./src/jceData/Calendar/calendarSchedule.h"
|
|
|
|
#include "./src/jceData/CSV/csv_exporter.h"
|
2014-09-22 15:39:16 +00:00
|
|
|
#include "./src/jceData/Calendar/calendarDialog.h"
|
2014-09-08 15:54:52 +00:00
|
|
|
#include <iostream>
|
|
|
|
#include <QMessageBox>
|
|
|
|
|
|
|
|
class CalendarManager
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
CalendarManager(calendarSchedule *ptr);
|
|
|
|
~CalendarManager()
|
|
|
|
{
|
|
|
|
delete caliSchedPtr;
|
2014-09-11 12:48:23 +00:00
|
|
|
delete caliDialog;
|
2014-09-08 15:54:52 +00:00
|
|
|
}
|
2014-09-17 02:47:12 +00:00
|
|
|
void exportCalendarCSV();
|
2014-09-17 01:08:38 +00:00
|
|
|
void setCalendar(QString html);
|
2014-09-08 15:54:52 +00:00
|
|
|
void resetTable() { if (caliSchedPtr != NULL) caliSchedPtr->clearTableItems(); }
|
|
|
|
|
|
|
|
private:
|
|
|
|
calendarSchedule * caliSchedPtr;
|
2014-09-11 12:48:23 +00:00
|
|
|
CalendarDialog * caliDialog;
|
2014-09-09 11:40:11 +00:00
|
|
|
|
2014-09-08 15:54:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CALENDARMANAGER_H
|