QTfrontend/newnetclient.h
changeset 2821 67815ee123d7
parent 2777 95a1a69d491c
child 3283 18ee933a5864
equal deleted inserted replaced
2820:389e8b286afe 2821:67815ee123d7
    42   ~HWNewNet();
    42   ~HWNewNet();
    43   void Connect(const QString & hostName, quint16 port, const QString & nick);
    43   void Connect(const QString & hostName, quint16 port, const QString & nick);
    44   void Disconnect();
    44   void Disconnect();
    45   bool isRoomChief();
    45   bool isRoomChief();
    46   bool isInRoom();
    46   bool isInRoom();
    47 
    47   int getClientState();
       
    48   QString getNick();
       
    49   QString getRoom();
       
    50   QString getHost();
       
    51   
    48  private:
    52  private:
    49   GameUIConfig* config;
    53   GameUIConfig* config;
    50   GameCFGWidget* m_pGameCFGWidget;
    54   GameCFGWidget* m_pGameCFGWidget;
    51   TeamSelWidget* m_pTeamSelWidget;
    55   TeamSelWidget* m_pTeamSelWidget;
    52 
    56 
    53   bool isChief;
    57   bool isChief;
    54   QString mynick;
    58   QString mynick;
       
    59   QString myroom;
       
    60   QString myhost;
    55   QTcpSocket NetSocket;
    61   QTcpSocket NetSocket;
    56   QString seed;
    62   QString seed;
    57   bool m_game_connected;
    63   bool m_game_connected;
    58 
    64 
    59   template <typename T>
    65   template <typename T>