/home/jon/Projects/gibberish/src/include/Lesson.h

Go to the documentation of this file.
00001 /******************************************************************************
00002  *
00003  * This file is part of Gibberish.
00004  *
00005  * Gibberish is free software; you can redistribute it and/or modify
00006  * it under the terms of the GNU General Public License as published by
00007  * the Free Software Foundation; either version 2 of the License, or
00008  * (at your option) any later version.
00009  * 
00010  * Gibberish is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  * GNU General Public License for more details.
00014  * 
00015  * You should have received a copy of the GNU General Public License
00016  * along with Foobar; if not, write to the Free Software
00017  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
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

Generated on Sat Sep 16 21:02:41 2006 for Gibberish by  doxygen 1.4.6