QTfrontend/hwform.cpp
changeset 1356 77ab8735401d
parent 1354 a8dcdeb88a43
child 1357 5b9012dd4a05
equal deleted inserted replaced
1355:8e167aa3b2e4 1356:77ab8735401d
   700 	}
   700 	}
   701 	
   701 	
   702 	CreateGame(ui.pageNetGame->pGameCFG, ui.pageNetGame->pNetTeamsWidget, ammo);
   702 	CreateGame(ui.pageNetGame->pGameCFG, ui.pageNetGame->pNetTeamsWidget, ammo);
   703 
   703 
   704 	connect(game, SIGNAL(SendNet(const QByteArray &)), hwnet, SLOT(SendNet(const QByteArray &)));
   704 	connect(game, SIGNAL(SendNet(const QByteArray &)), hwnet, SLOT(SendNet(const QByteArray &)));
       
   705 	connect(game, SIGNAL(SendChat(const QString &)), hwnet, SLOT(chatLineToNet(const QString &)));
   705 	connect(hwnet, SIGNAL(FromNet(const QByteArray &)), game, SLOT(FromNet(const QByteArray &)));
   706 	connect(hwnet, SIGNAL(FromNet(const QByteArray &)), game, SLOT(FromNet(const QByteArray &)));
       
   707 	connect(hwnet, SIGNAL(chatStringFromNet(const QString &)), game, SLOT(FromNetChat(const QString &)));
   706 
   708 
   707 	game->StartNet();
   709 	game->StartNet();
   708 }
   710 }
   709 
   711 
   710 void HWForm::closeEvent(QCloseEvent *event)
   712 void HWForm::closeEvent(QCloseEvent *event)