MCPcopy Create free account
hub / github.com/dannagle/PacketSender / initWithThread

Method initWithThread

src/persistentconnection.cpp:159–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157
158
159void PersistentConnection::initWithThread(TCPThread * thethread, quint16 portNum)
160{
161
162 thread = thethread;
163
164 if (thread->isSecure) {
165 setWindowTitle("SSL://"+tr("You:") + QString::number(portNum));
166 } else {
167 setWindowTitle("TCP://"+tr("You:") + QString::number(portNum));
168 }
169
170 QApplication::processEvents();
171
172 ui->stopResendingButton->hide();
173
174 QApplication::processEvents();
175}
176
177
178void PersistentConnection::init()

Callers 1

incomingConnectionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected