#ifndef CALENDARPAGE_H #define CALENDARPAGE_H #include "../page.h" #include "calendarCourse.h" #include #define ROOM_DEFAULT_STRING "nullRoom" #define LECTURER_DEFAULT_STRING "nullLecturer" class CalendarPage : public Page { public: QString htmlToString(); std::list* getCourses() { return courses; } protected: virtual void setPage(QString html); CalendarPage() { courses = NULL; } private: void calendarListInit(QString &linesTokinzedString); calendarCourse* lineToCourse(QString line); QString tempHtml; std::list* courses; }; #endif // CALENDARPAGE_H