1 /***************************************************************************
5 manage multiple choice suggestions for queries
7 -----------------------------------------------------------------------
9 begin : Mon Oct 29 18:09:29 1999
11 copyright : (C) 1999-2001 Ewald Arnold
12 (C) 2001 The KDE-EDU team
13 email : kvoctrain@ewald-arnold.de
15 -----------------------------------------------------------------------
17 ***************************************************************************/
19 /***************************************************************************
21 * This program is free software; you can redistribute it and/or modify *
22 * it under the terms of the GNU General Public License as published by *
23 * the Free Software Foundation; either version 2 of the License, or *
24 * (at your option) any later version. *
26 ***************************************************************************/
29 #ifndef MultipleChoice_included
30 #define MultipleChoice_included
34 #define MAX_MULTIPLE_CHOICE 5 // select one out of x
51 void setMC1 (const QString
&s
) { muc1
= s
; }
52 void setMC2 (const QString
&s
) { muc2
= s
; }
53 void setMC3 (const QString
&s
) { muc3
= s
; }
54 void setMC4 (const QString
&s
) { muc4
= s
; }
55 void setMC5 (const QString
&s
) { muc5
= s
; }
57 QString
mc1 () const { return muc1
; }
58 QString
mc2 () const { return muc2
; }
59 QString
mc3 () const { return muc3
; }
60 QString
mc4 () const { return muc4
; }
61 QString
mc5 () const { return muc5
; }
63 QString
mc (unsigned idx
) const;
72 QString muc1
, muc2
, muc3
, muc4
, muc5
;
76 #endif // MultipleChoice_included