You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
486 B
35 lines
486 B
#ifndef _MAIN_WIN_H
|
|
#define _MAIN_WIN_H
|
|
|
|
#include <kmainwindow.h>
|
|
|
|
#include "gameboard.h"
|
|
|
|
class ConquestMap;
|
|
class PlanetStatusTable;
|
|
|
|
class MainWindow : public KMainWindow
|
|
{
|
|
Q_OBJECT
|
|
TQ_OBJECT
|
|
|
|
public:
|
|
MainWindow();
|
|
~MainWindow();
|
|
|
|
protected:
|
|
void setupKAction();
|
|
void setupGameBoard();
|
|
|
|
private:
|
|
GameBoard *gameBoard;
|
|
KAction *endAction, *measureAction, *standingAction, *fleetAction;
|
|
|
|
private slots:
|
|
void gameStateChange( GameState );
|
|
|
|
};
|
|
|
|
#endif
|
|
|