da009ed027
more debugging detailes from mainscreen.cpp add version variable to .pro changed location of jcelogger ~still need to add translations
34 lines
809 B
C++
34 lines
809 B
C++
#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"
|
|
|
|
#include <QObject>
|
|
#include <QGridLayout>
|
|
#include <QMessageBox>
|
|
|
|
class CalendarManager : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
CalendarManager(QGridLayout *ptr);
|
|
~CalendarManager()
|
|
{
|
|
delete caliSchedPtr;
|
|
delete caliDialog;
|
|
}
|
|
void exportCalendarCSV();
|
|
void setCalendar(QString html);
|
|
void resetTable() { if (caliSchedPtr != NULL) caliSchedPtr->clearTableItems(); }
|
|
|
|
private:
|
|
calendarSchedule * caliSchedPtr;
|
|
CalendarDialog * caliDialog;
|
|
|
|
};
|
|
|
|
#endif // CALENDARMANAGER_H
|