QTfrontend/hwform.cpp
changeset 111 30ca06092a64
parent 97 e7c1df9cce2c
child 116 00d3d6d2e699
equal deleted inserted replaced
110:330a2dbacd67 111:30ca06092a64
   204 	hwnet = new HWNet(config);
   204 	hwnet = new HWNet(config);
   205 	connect(hwnet, SIGNAL(Connected()), this, SLOT(GoToNetChat()));
   205 	connect(hwnet, SIGNAL(Connected()), this, SLOT(GoToNetChat()));
   206 	connect(hwnet, SIGNAL(AddGame(const QString &)), this, SLOT(AddGame(const QString &)));
   206 	connect(hwnet, SIGNAL(AddGame(const QString &)), this, SLOT(AddGame(const QString &)));
   207 	connect(hwnet, SIGNAL(EnteredGame()), this, SLOT(NetGameEnter()));
   207 	connect(hwnet, SIGNAL(EnteredGame()), this, SLOT(NetGameEnter()));
   208 	connect(hwnet, SIGNAL(ChangeInTeams(const QStringList &)), this, SLOT(ChangeInNetTeams(const QStringList &)));
   208 	connect(hwnet, SIGNAL(ChangeInTeams(const QStringList &)), this, SLOT(ChangeInNetTeams(const QStringList &)));
   209 	hwnet->Connect("172.19.5.168", 6667, ui.pageOptions->editNetNick->text());
   209 	hwnet->Connect(ui.pageNet->editIP->text(), 6667, ui.pageNet->editNetNick->text());
       
   210 	config->SaveOptions();
   210 }
   211 }
   211 
   212 
   212 void HWForm::NetDisconnect()
   213 void HWForm::NetDisconnect()
   213 {
   214 {
   214 	hwnet->Disconnect();
   215 	hwnet->Disconnect();