moved kdeaccessibility kdeaddons kdeadmin kdeartwork kdebindings kdeedu kdegames...
[kdeedu.git] / kbruch / src / exercisebase.h
bloba43992e785f4bdb8ff935281e632412773771bbd
1 /***************************************************************************
2 exercisebase.h
3 -------------------
4 begin : 2004/06/03
5 copyright : (C) 2004 by Sebastian Stein
6 email : seb.kde@hpfsc.de
7 ***************************************************************************/
9 /***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
18 #ifndef EXERCISEBASE_H
19 #define EXERCISEBASE_H
21 #define _CHECK_TASK 0
22 #define _NEXT_TASK 1
24 #ifdef DEBUG
25 #include <kdebug.h>
26 #endif
28 #include <qwidget.h>
30 /*! Constructs a QWidget.
32 * It is the base class for showing the different exercises.
34 * \author Sebastian Stein
35 * */
36 class ExerciseBase : public QWidget
38 Q_OBJECT
40 public:
41 /** constructor */
42 ExerciseBase(QWidget * parent = 0, const char * name = 0);
44 /** destructor */
45 ~ExerciseBase();
47 /** force the creation of a new task */
48 virtual void forceNewTask() = 0;
51 #endif