From d00327c971abe4c44c3c3395840be179f24c6839 Mon Sep 17 00:00:00 2001 From: Kurt Pattyn Date: Sun, 19 Jan 2014 14:04:07 +0100 Subject: Rename processMessage to processTextMessage Renamed processMessage to be more inline with processBinaryMessage. Change-Id: Ib0c8b9a4999756105f894d7ca5df88452495a66b Reviewed-by: Kurt Pattyn --- examples/sslechoserver/sslechoserver.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'examples/sslechoserver/sslechoserver.cpp') diff --git a/examples/sslechoserver/sslechoserver.cpp b/examples/sslechoserver/sslechoserver.cpp index b360a08..d24c934 100644 --- a/examples/sslechoserver/sslechoserver.cpp +++ b/examples/sslechoserver/sslechoserver.cpp @@ -89,7 +89,7 @@ void SslEchoServer::onNewConnection() qDebug() << "Client connected:" << pSocket->peerName() << pSocket->origin(); - connect(pSocket, &QWebSocket::textMessageReceived, this, &SslEchoServer::processMessage); + connect(pSocket, &QWebSocket::textMessageReceived, this, &SslEchoServer::processTextMessage); connect(pSocket, &QWebSocket::binaryMessageReceived, this, &SslEchoServer::processBinaryMessage); connect(pSocket, &QWebSocket::disconnected, this, &SslEchoServer::socketDisconnected); @@ -99,8 +99,8 @@ void SslEchoServer::onNewConnection() } //! [onNewConnection] -//! [processMessage] -void SslEchoServer::processMessage(QString message) +//! [processTextMessage] +void SslEchoServer::processTextMessage(QString message) { QWebSocket *pClient = qobject_cast(sender()); if (pClient) @@ -109,7 +109,7 @@ void SslEchoServer::processMessage(QString message) Q_UNUSED(bytesWritten); } } -//! [processMessage] +//! [processTextMessage] //! [processBinaryMessage] void SslEchoServer::processBinaryMessage(QByteArray message) -- cgit v1.2.1