equal
deleted
inserted
replaced
39 QMessageBox::critical(0, tr("Error"), |
39 QMessageBox::critical(0, tr("Error"), |
40 tr("Unable to start the server: %1.") |
40 tr("Unable to start the server: %1.") |
41 .arg(IPCServer->errorString())); |
41 .arg(IPCServer->errorString())); |
42 } |
42 } |
43 } |
43 } |
44 connect(IPCServer, SIGNAL(newConnection()), this, SLOT(NewConnection())); |
|
45 } |
44 } |
46 |
45 |
47 void TCPBase::NewConnection() |
46 void TCPBase::NewConnection() |
48 { |
47 { |
49 if(IPCSocket) { |
48 if(IPCSocket) { |
58 SendToClientFirst(); |
57 SendToClientFirst(); |
59 } |
58 } |
60 |
59 |
61 void TCPBase::RealStart() |
60 void TCPBase::RealStart() |
62 { |
61 { |
|
62 connect(IPCServer, SIGNAL(newConnection()), this, SLOT(NewConnection())); |
63 IPCSocket = 0; |
63 IPCSocket = 0; |
64 |
64 |
65 QProcess * process; |
65 QProcess * process; |
66 process = new QProcess; |
66 process = new QProcess; |
67 connect(process, SIGNAL(error(QProcess::ProcessError)), this, SLOT(StartProcessError(QProcess::ProcessError))); |
67 connect(process, SIGNAL(error(QProcess::ProcessError)), this, SLOT(StartProcessError(QProcess::ProcessError))); |