moved kdeaccessibility kdeaddons kdeadmin kdeartwork kdebindings kdeedu kdegames...
[kdeedu.git] / kmessedwords / kmessedwords / answer.h
blob8f5930b803dd375cb50a8f04ca5419c3d6cafd41
1 /***************************************************************************
2 answer.h - description
3 -------------------
4 begin : Sun Oct 21 2001
5 copyright : (C) 2001 by Primoz Anzur
6 email : zerokode@gmx.net
7 ***************************************************************************/
9 /***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ************************************************************************/
18 #ifndef ANSWER_H
19 #define ANSWER_H
21 #include <qdialog.h>
22 #include <qlayout.h>
23 class KPushButton;
25 class Answer : public QDialog
27 Q_OBJECT
29 public:
30 Answer( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
31 ~Answer();
33 QPushButton* btnReplay;
34 KPushButton* btnQuit;
35 bool getAnswer;
37 public slots:
38 void exitAnswer();
39 void replayGame();
40 void doAnswer(bool result);
42 protected:
43 QGridLayout* AnswerLayout;
44 QHBoxLayout* Layout2;
46 signals:
47 void gameExit();
48 void gameReplay();
51 #endif // ANSWER_H