mainwindow.h 429 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

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

Dmitry Suzdalev's avatar
Dmitry Suzdalev committed
20 21
    KReversiScene *m_scene;
    KReversiGame *m_game;
Dmitry Suzdalev's avatar
Dmitry Suzdalev committed
22 23
};
#endif