1 /***************************************************************************
3 lesson properties dialog page
5 -----------------------------------------------------------------------
7 begin : Thu Jun 3 22:03:50 1999
9 copyright : (C) 1999-2001 Ewald Arnold <kvoctrain@ewald-arnold.de>
10 (C) 2001 The KDE-EDU team
11 (C) 2005 Peter Hedlund <peter@peterandlinda.com>
13 -----------------------------------------------------------------------
15 ***************************************************************************/
17 /***************************************************************************
19 * This program is free software; you can redistribute it and/or modify *
20 * it under the terms of the GNU General Public License as published by *
21 * the Free Software Foundation; either version 2 of the License, or *
22 * (at your option) any later version. *
24 ***************************************************************************/
26 #ifndef LessOptPage_included
27 #define LessOptPage_included
29 #include "LessOptPageForm.h"
37 class LessOptPage
: public LessOptPageForm
47 QWidget
*parent
= NULL
,
48 const char *name
= NULL
51 void getLesson (QComboBox
*ret_lesson
, vector
<int>& ret_Index
);
53 static void cleanUnused(kvoctrainDoc
*doc
,
54 const QComboBox
*lessons
,
55 const vector
<int> &lessonIndex
,
57 vector
<int> &lessons_in_use
);
60 void updateListBox(int start
);
64 void slotDeleteLesson();
66 void slotLessonChosen(int);
67 void slotModifyLesson();
73 vector
<int> lessonIndex
; // contains indices of lesson on exec()
74 // negative values are new lessons
76 #endif // LessOptPage_included