jce-manager/main/CalendarTab/CalendarManager.h
liranbg da009ed027 fix #16
more debugging detailes from mainscreen.cpp
add version variable to .pro
changed location of jcelogger
~still need to add translations
2014-09-23 01:17:05 +03:00

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