jce-manager/main/CalendarTab/CalendarManager.h

31 lines
755 B
C
Raw Normal View History

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"
#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;
delete caliDialog;
2014-09-08 15:54:52 +00:00
}
void exportCalendarCSV();
void setCalendar(QString html);
2014-09-08 15:54:52 +00:00
void resetTable() { if (caliSchedPtr != NULL) caliSchedPtr->clearTableItems(); }
private:
calendarSchedule * caliSchedPtr;
CalendarDialog * caliDialog;
2014-09-08 15:54:52 +00:00
};
#endif // CALENDARMANAGER_H