equal
deleted
inserted
replaced
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 JoinRoom(const QString & room); |
44 void JoinRoom(const QString & room); |
45 void CreateRoom(const QString & room); |
45 void CreateRoom(const QString & room); |
46 void StartGame(); |
46 void Ready(); |
47 |
47 |
48 private: |
48 private: |
49 GameUIConfig* config; |
49 GameUIConfig* config; |
50 GameCFGWidget* m_pGameCFGWidget; |
50 GameCFGWidget* m_pGameCFGWidget; |
51 TeamSelWidget* m_pTeamSelWidget; |
51 TeamSelWidget* m_pTeamSelWidget; |
124 |
124 |
125 private slots: |
125 private slots: |
126 void ClientRead(); |
126 void ClientRead(); |
127 void OnConnect(); |
127 void OnConnect(); |
128 void OnDisconnect(); |
128 void OnDisconnect(); |
129 //void Perform(); |
|
130 void displayError(QAbstractSocket::SocketError socketError); |
129 void displayError(QAbstractSocket::SocketError socketError); |
131 //void FlushNetBuf(); |
|
132 }; |
130 }; |
133 |
131 |
134 #endif // _NEW_NETCLIENT_INCLUDED |
132 #endif // _NEW_NETCLIENT_INCLUDED |