00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00026 #ifndef _H_LESSON
00027 #define _H_LESSON
00028
00029 #include <QVector>
00030 #include <QString>
00031
00032 #include "Questions.h"
00033 #include "LessonSettings.h"
00034 #include "Score.h"
00035
00045 class Lesson
00046 {
00047 public:
00048 Lesson();
00049 Lesson( QString title );
00050
00051 void setLessonID( int ID );
00052 void setTitle( QString title );
00053 void setInstructions( QString instructions );
00054 void setLessonSettings( LessonSettings* lSettings );
00055 void setQuestions( Questions* lQuestions );
00056
00057 int getLessonID();
00058 QString getTitle();
00059 QString getInstructions();
00060 LessonSettings* getLessonSettings();
00061 Questions* getQuestions();
00062 Score* getScore();
00063
00064 private:
00065 int lessonID;
00066 QString title;
00067 QString instructions;
00068 Score* lScore;
00069 Questions* lQuestions;
00070 LessonSettings* lSettings;
00071 };
00072
00073 #endif