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