File indexing completed on 2024-04-14 03:40:29

0001 /***************************************************************************
0002  *   Copyright (C) 2004-2005 by Albert Astals Cid                          *
0003  *   aacid@kde.org                                                         *
0004  *                                                                         *
0005  *   This program is free software; you can redistribute it and/or modify  *
0006  *   it under the terms of the GNU General Public License as published by  *
0007  *   the Free Software Foundation; either version 2 of the License, or     *
0008  *   (at your option) any later version.                                   *
0009  ***************************************************************************/
0010 
0011 #ifndef ANSWERSDIALOG_H
0012 #define ANSWERSDIALOG_H
0013 
0014 #include <QDialog>
0015 
0016 #include <QVector>
0017 
0018 class QScrollArea;
0019 class QWidget;
0020 
0021 class userAnswer;
0022 
0023 class answersDialog : public QDialog
0024 {
0025     public:
0026         answersDialog(QWidget *parent, const QVector<userAnswer> &userAnswers, const QString &question, int correctAnswers);
0027     
0028     private:
0029         QWidget *p_container;
0030         QScrollArea *p_scrollArea;
0031 };
0032 
0033 #endif