mainwindow.h 476 Bytes
Newer Older
Dmitry Suzdalev's avatar
Dmitry Suzdalev committed
1 2 3 4 5
#ifndef KREVERSI_MAIN_WINDOW_H
#define KREVERSI_MAIN_WINDOW_H

#include <kmainwindow.h>

6
class KReversiScene;
Dmitry Suzdalev's avatar
Dmitry Suzdalev committed
7
class KReversiGame;
8
class KReversiView;
9

Dmitry Suzdalev's avatar
Dmitry Suzdalev committed
10 11
class KReversiMainWindow : public KMainWindow
{
12
    Q_OBJECT
Dmitry Suzdalev's avatar
Dmitry Suzdalev committed
13 14
public:
    KReversiMainWindow(QWidget* parent=0);
15 16
public slots:
    void newGame();
17
    void slotBackgroundChanged(const QString& text);
Dmitry Suzdalev's avatar
Dmitry Suzdalev committed
18 19
private:
    void setupActions();
20

Dmitry Suzdalev's avatar
Dmitry Suzdalev committed
21
    KReversiScene *m_scene;
22
    KReversiView  *m_view;
Dmitry Suzdalev's avatar
Dmitry Suzdalev committed
23
    KReversiGame *m_game;
Dmitry Suzdalev's avatar
Dmitry Suzdalev committed
24 25
};
#endif