QTfrontend/hwform.h
changeset 60 7fbfa2f13f6f
parent 50 9ab4067dabec
child 84 0f6669da2fcb
equal deleted inserted replaced
59:f00aa2cc8b35 60:7fbfa2f13f6f
    36 
    36 
    37 #include <QLabel>
    37 #include <QLabel>
    38 #include <QLineEdit>
    38 #include <QLineEdit>
    39 #include <QDir>
    39 #include <QDir>
    40 
    40 
    41 #include <vector>
       
    42 
       
    43 #include "ui_hwform.h"
    41 #include "ui_hwform.h"
    44 #include "binds.h"
    42 #include "binds.h"
    45 #include "game.h"
    43 #include "game.h"
    46 #include "team.h"
    44 #include "team.h"
    47 #include "netclient.h"
    45 #include "netclient.h"
    48 
    46 #include "teamselect.h"
    49 using namespace std;
       
    50 
    47 
    51 class HWForm : public QMainWindow
    48 class HWForm : public QMainWindow
    52 {
    49 {
    53 	Q_OBJECT
    50 	Q_OBJECT
    54 
    51 
    93 	HWGame * game;
    90 	HWGame * game;
    94 	QDir cfgdir;
    91 	QDir cfgdir;
    95 	HWTeam * tmpTeam;
    92 	HWTeam * tmpTeam;
    96 	HWNet * hwnet;
    93 	HWNet * hwnet;
    97 
    94 
    98 	vector<QString> m_teamNames;
    95 	TeamSelWidget* pts;
    99 };
    96 };
   100 
    97 
   101 #define ID_PAGE_SINGLEPLAYER 0
    98 #define ID_PAGE_SINGLEPLAYER 0
   102 #define ID_PAGE_SETUP_TEAM 1
    99 #define ID_PAGE_SETUP_TEAM 1
   103 #define ID_PAGE_SETUP 2
   100 #define ID_PAGE_SETUP 2