QTfrontend/hwform.h
changeset 84 0f6669da2fcb
parent 60 7fbfa2f13f6f
child 85 44d9045b26ff
equal deleted inserted replaced
83:207c85fbef51 84:0f6669da2fcb
    43 #include "game.h"
    43 #include "game.h"
    44 #include "team.h"
    44 #include "team.h"
    45 #include "netclient.h"
    45 #include "netclient.h"
    46 #include "teamselect.h"
    46 #include "teamselect.h"
    47 
    47 
       
    48 class GameConfig;
       
    49 
    48 class HWForm : public QMainWindow
    50 class HWForm : public QMainWindow
    49 {
    51 {
    50 	Q_OBJECT
    52 	Q_OBJECT
    51 
    53 
    52 public:
    54 public:
    67 	void NewTeam();
    69 	void NewTeam();
    68 	void EditTeam();
    70 	void EditTeam();
    69 	void TeamSave();
    71 	void TeamSave();
    70 	void TeamDiscard();
    72 	void TeamDiscard();
    71 	void SimpleGame();
    73 	void SimpleGame();
    72 	void SaveOptions();
       
    73 	void PlayDemo();
    74 	void PlayDemo();
    74 	void NetConnect();
    75 	void NetConnect();
    75 	void NetDisconnect();
    76 	void NetDisconnect();
    76 	void NetJoin();
    77 	void NetJoin();
    77 	void NetCreate();
    78 	void NetCreate();
    86 	void CBFort_activated(const QString & gravename);
    87 	void CBFort_activated(const QString & gravename);
    87 
    88 
    88 private:
    89 private:
    89 	QLabel * LBind[BINDS_NUMBER];
    90 	QLabel * LBind[BINDS_NUMBER];
    90 	HWGame * game;
    91 	HWGame * game;
    91 	QDir cfgdir;
       
    92 	HWTeam * tmpTeam;
    92 	HWTeam * tmpTeam;
    93 	HWNet * hwnet;
    93 	HWNet * hwnet;
       
    94 	GameConfig * config;
    94 
    95 
    95 	TeamSelWidget* pts;
    96 	TeamSelWidget* pts;
    96 };
    97 };
    97 
    98 
    98 #define ID_PAGE_SINGLEPLAYER 0
    99 #define ID_PAGE_SINGLEPLAYER 0