1/***************************************************************************
2 begin : Fri May 19 2000
3 copyright : (C) 2000 by Roman Razilov
4 email : Roman.Razilov@gmx.de
5 copyright : (C) 2006 by Dmitry Suzdalev
6 email : dimsuz@gmail.com
7 ***************************************************************************/
8
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 ***************************************************************************/
17
18#ifndef KLINES_H
19#define KLINES_H
20
21class KgThemeSelector;
22#include <KXmlGuiWindow>
23
24class MainWidget;
25
26class KLinesMainWindow : public KXmlGuiWindow
27{
28 Q_OBJECT
29public:
30 KLinesMainWindow();
31 ~KLinesMainWindow();
32
33protected:
34 void setupActions();
35
36public Q_SLOTS:
37 void startGame();
38private Q_SLOTS:
39 void viewHighScore();
40 void updateScore(int score);
41 void gameOver(int score);
42 void showNextToggled(bool show);
43 void loadSettings();
44private:
45 KgThemeSelector *mselector;
46 MainWidget *mwidget;
47
48};
49
50#endif
51