examples/network/securesocketclient/sslclient.cpp
branchRCL_3
changeset 5 d3bac044e0f0
parent 4 3b1da2848fc7
equal deleted inserted replaced
4:3b1da2848fc7 5:d3bac044e0f0
   175 }
   175 }
   176 
   176 
   177 void SslClient::sendData()
   177 void SslClient::sendData()
   178 {
   178 {
   179     QString input = form->sessionInput->text();
   179     QString input = form->sessionInput->text();
   180     appendString(input + "\n");
   180     appendString(input + '\n');
   181     socket->write(input.toUtf8() + "\r\n");
   181     socket->write(input.toUtf8() + "\r\n");
   182     form->sessionInput->clear();
   182     form->sessionInput->clear();
   183 }
   183 }
   184 
   184 
   185 void SslClient::sslErrors(const QList<QSslError> &errors)
   185 void SslClient::sslErrors(const QList<QSslError> &errors)