equal
deleted
inserted
replaced
39 |
39 |
40 public: |
40 public: |
41 HWNewNet(GameUIConfig * config, GameCFGWidget* pGameCFGWidget, TeamSelWidget* pTeamSelWidget); |
41 HWNewNet(GameUIConfig * config, GameCFGWidget* pGameCFGWidget, TeamSelWidget* pTeamSelWidget); |
42 void Connect(const QString & hostName, quint16 port, const QString & nick); |
42 void Connect(const QString & hostName, quint16 port, const QString & nick); |
43 void Disconnect(); |
43 void Disconnect(); |
44 void Ready(); |
|
45 bool isRoomChief(); |
44 bool isRoomChief(); |
46 |
45 |
47 private: |
46 private: |
48 GameUIConfig* config; |
47 GameUIConfig* config; |
49 GameCFGWidget* m_pGameCFGWidget; |
48 GameCFGWidget* m_pGameCFGWidget; |
111 |
110 |
112 void roomsList(const QStringList&); |
111 void roomsList(const QStringList&); |
113 void serverMessage(const QString &); |
112 void serverMessage(const QString &); |
114 |
113 |
115 public slots: |
114 public slots: |
|
115 void ToggleReady(); |
116 void chatLineToNet(const QString& str); |
116 void chatLineToNet(const QString& str); |
117 void SendNet(const QByteArray & buf); |
117 void SendNet(const QByteArray & buf); |
118 void AddTeam(const HWTeam & team); |
118 void AddTeam(const HWTeam & team); |
119 void RemoveTeam(const HWTeam& team); |
119 void RemoveTeam(const HWTeam& team); |
120 void onSeedChanged(const QString & seed); |
120 void onSeedChanged(const QString & seed); |