jce-manager/src/jceData/Grades/gradePage.h

42 lines
728 B
C
Raw Normal View History

2014-09-08 15:54:52 +00:00
#ifndef GRADE_PAGE_H
#define GRADE_PAGE_H
/* This Code Made By Sagi Dayan
* SagiDayan@gmail.com
*
* Changes has been made by Liran Ben Gida
2014-09-08 15:54:52 +00:00
* LiranBG@gmail.com
*/
#include "../page.h"
#include "../Grades/gradeCourse.h"
#include <list>
class GradePage : public Page
{
public:
GradePage(QString html);
2014-09-08 15:54:52 +00:00
~GradePage();
void removeCourse(QString courseSerialID);
2014-09-08 15:54:52 +00:00
double getAvg();
std::list<gradeCourse*>* getCourses() { return courses; }
private:
void coursesListInit(QString &linesTokinzedString);
gradeCourse* lineToCourse(QString line);
2014-09-08 15:54:52 +00:00
bool isGradedYet(QString grade);
2014-09-08 15:54:52 +00:00
std::list<gradeCourse*>* courses;
QString tempHtml;
2014-09-08 15:54:52 +00:00
};
#endif