moved kdeaccessibility kdeaddons kdeadmin kdeartwork kdebindings kdeedu kdegames...
[kdeedu.git] / keduca / keduca / keducaprefs.h
blobb149379860f8debb89e587e775df522c6a301565
1 /***************************************************************************
2 keducaprefs.h - description
3 -------------------
4 begin : Sat Jun 2 2001
5 copyright : (C) 2001 by Javier Campos
6 email : javi@asyris.org
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 KEDUCAPREFS_H
19 #define KEDUCAPREFS_H
21 #include <kdialogbase.h>
23 #include <qradiobutton.h>
24 #include <qcheckbox.h>
26 /** Preferences for KEduca TestMaster (class KEduca)
27 *@author Javier Campos
30 class KEducaPrefs : public KDialogBase {
31 Q_OBJECT
33 public:
34 KEducaPrefs(QWidget *parent=0, const char *name=0, bool modal=true);
35 ~KEducaPrefs();
37 private:
39 // Private methods
41 /** Set page general */
42 void setPageGeneral();
43 /** Write settings */
44 void configWrite();
45 /** Read settings */
46 void configRead();
48 // Private attributes
50 /** Show result after next */
51 QRadioButton *_resultAfterNext;
52 /** Show results after finish */
53 QRadioButton *_resultAfterFinish;
54 QCheckBox *_randomQuestions;
55 QCheckBox *_randomAnswers;
57 private slots:
58 /** Push ok button */
59 void slotOk();
62 #endif