QTfrontend/hwform.cpp
changeset 1313 f4c54e9e1b8c
parent 1312 0078e4f72d40
child 1315 c2f09811bb8c
equal deleted inserted replaced
1312:0078e4f72d40 1313:f4c54e9e1b8c
   410 	connect(hwnet, SIGNAL(AskForRunGame()), this, SLOT(CreateNetGame()));
   410 	connect(hwnet, SIGNAL(AskForRunGame()), this, SLOT(CreateNetGame()));
   411 	connect(hwnet, SIGNAL(Connected()), this, SLOT(NetConnected()));
   411 	connect(hwnet, SIGNAL(Connected()), this, SLOT(NetConnected()));
   412 	connect(hwnet, SIGNAL(EnteredGame()), this, SLOT(NetGameEnter()));
   412 	connect(hwnet, SIGNAL(EnteredGame()), this, SLOT(NetGameEnter()));
   413 	connect(hwnet, SIGNAL(AddNetTeam(const HWTeam&)), this, SLOT(AddNetTeam(const HWTeam&)));
   413 	connect(hwnet, SIGNAL(AddNetTeam(const HWTeam&)), this, SLOT(AddNetTeam(const HWTeam&)));
   414 
   414 
       
   415 	connect(hwnet, SIGNAL(roomsList(const QStringList&)),
       
   416 		ui.pageRoomsList, SLOT(setRoomsList(const QStringList&)));
       
   417 	
       
   418 	connect(ui.pageRoomsList, SIGNAL(askForCreateRoom(const QString &)),
       
   419 		hwnet, SLOT(CreateRoom(const QString&)));
       
   420 	connect(ui.pageRoomsList, SIGNAL(askForJoinRoom(const QString &)),
       
   421 		hwnet, SLOT(JoinRoom(const QString&)));
       
   422 
   415 	connect(hwnet, SIGNAL(chatStringFromNet(const QStringList&)),
   423 	connect(hwnet, SIGNAL(chatStringFromNet(const QStringList&)),
   416 		ui.pageNetGame->pChatWidget, SLOT(onChatStringFromNet(const QStringList&)));
   424 		ui.pageNetGame->pChatWidget, SLOT(onChatStringFromNet(const QStringList&)));
   417 	connect(ui.pageNetGame->pChatWidget, SIGNAL(chatLine(const QString&)),
   425 	connect(ui.pageNetGame->pChatWidget, SIGNAL(chatLine(const QString&)),
   418 		hwnet, SLOT(chatLineToNet(const QString&)));
   426 		hwnet, SLOT(chatLineToNet(const QString&)));
   419 	connect(hwnet, SIGNAL(nickAdded(const QString&)),
   427 	connect(hwnet, SIGNAL(nickAdded(const QString&)),