1 /* This file is part of KWordQuiz
2 Copyright (C) 2003 Peter Hedlund <peter@peterandlinda.com>
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License version 2 as published by the Free Software Foundation.
8 This library is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 Library General Public License for more details.
13 You should have received a copy of the GNU Library General Public License
14 along with this library; see the file COPYING.LIB. If not, write to
15 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16 Boston, MA 02111-1307, USA.
32 void setQuestion(int i
);
33 void setCorrect(int c
);
36 void setThreeOp(int i
);
38 int question() {return m_question
;}
39 int correct() const {return m_correct
;}
40 int oneOp() {return m_oneOp
;}
41 int twoOp() {return m_twoOp
;}
42 int threeOp() {return m_threeOp
;}
45 int m_question
; //the column containing the question
47 int m_oneOp
; //the row for correct or option 1
48 int m_twoOp
; //the row for option 2
49 int m_threeOp
; //the row for option 3