1 /***************************************************************************
3 threshold options for kvoctrain
5 -----------------------------------------------------------------------
9 copyright :(C) 2005 Peter Hedlund
11 email : 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 THRESHOLDOPTIONS_H
27 #define THRESHOLDOPTIONS_H
29 #include "thresholdoptionsbase.h"
30 #include "QueryManager.h"
34 class ThresholdOptions
: public ThresholdOptionsBase
39 ThresholdOptions(KComboBox
* lessons
, QueryManager
* m
, QWidget
* parent
= 0, const char* name
= 0, WFlags fl
= 0 );
44 void updateSettings();
47 void widgetModified();
51 void slotSelectNone();
52 void slotComboActivated(int);
53 void slotSetGradeComp(int);
54 void slotSetBadComp(int);
55 void slotSetQueryComp(int);
56 void slotSetTypeComp(int);
57 void slotSetLessonItems();
58 void slotSetLessonComp(int);
59 void slotSetDateComp(int);
60 void slotBlockExpire(bool block
, bool expire
);
65 KComboBox
* m_lessons
;
66 QueryManager
* m_queryManager
;
67 vector
<TypeRelation
> all_maintypes
;