diff options
author | Topi Reinio <topi.reinio@theqtcompany.com> | 2015-11-30 13:14:19 +0100 |
---|---|---|
committer | Topi Reiniƶ <topi.reinio@theqtcompany.com> | 2015-11-30 12:24:17 +0000 |
commit | 87d6b0514b21c18a9b0dfab1a735fdefa610af0a (patch) | |
tree | 82801d336a2c67511f902a90f7c0ec5eb7ca9db3 /examples/network/doc | |
parent | e808c5fa6096eb4bc84b6d90c9befa9e805fa680 (diff) | |
download | qtbase-87d6b0514b21c18a9b0dfab1a735fdefa610af0a.tar.gz |
Doc: Fortune Server Example: fix typo in function name
Change-Id: Ib0a5030cc2f88cf90ba7d25c75871c439486abe3
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Diffstat (limited to 'examples/network/doc')
-rw-r--r-- | examples/network/doc/src/fortuneserver.qdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/doc/src/fortuneserver.qdoc b/examples/network/doc/src/fortuneserver.qdoc index c55a1634e4..0b110783aa 100644 --- a/examples/network/doc/src/fortuneserver.qdoc +++ b/examples/network/doc/src/fortuneserver.qdoc @@ -87,7 +87,7 @@ \snippet fortuneserver/server.cpp 7 - We then call QTcpServer::newPendingConnection(), which returns the + We then call QTcpServer::nextPendingConnection(), which returns the QTcpSocket representing the server side of the connection. By connecting QTcpSocket::disconnected() to QObject::deleteLater(), we ensure that the socket will be deleted after disconnecting. |