11/27
This commit is contained in:
@@ -171,6 +171,24 @@ Item {
|
||||
return ret;
|
||||
}
|
||||
|
||||
function onExit(){
|
||||
console.log("1222222222222222");
|
||||
if(bConnect)
|
||||
{
|
||||
clientSocket.writeBytes(getIntArr("2"));
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
function onConnectAndExit(){
|
||||
clientSocket.connectToHost();
|
||||
clientSocket.writeBytes(getIntArr("2"));
|
||||
}
|
||||
|
||||
Component.onCompleted:
|
||||
{
|
||||
//BCIManager.signalQmlStopLinkerPrograme.connect(onExit);
|
||||
}
|
||||
TcpSocket{
|
||||
id: clientSocket
|
||||
peer: "127.0.0.1"
|
||||
|
||||
Reference in New Issue
Block a user