diff options
author | Jeremy Katz <jeremy.katz@nokia.com> | 2012-08-01 14:36:13 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-01 15:37:46 +0200 |
commit | a68577e7e07cce40cac142f6e2b386a76f3ecbd1 (patch) | |
tree | d79bbae4fcebb76f72aa1a56beac09b945967248 /doc/src/examples/fortuneclient.qdoc | |
parent | d61c356516cddb9cb0862d13479acd4c3310a972 (diff) |
replace \key and \gui qdoc commands with \uicontrol
Change-Id: I0753305d4fe1ea20417f451766101da1247dfeeb
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'doc/src/examples/fortuneclient.qdoc')
-rw-r--r-- | doc/src/examples/fortuneclient.qdoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/examples/fortuneclient.qdoc b/doc/src/examples/fortuneclient.qdoc index d997fc077e..3b43682899 100644 --- a/doc/src/examples/fortuneclient.qdoc +++ b/doc/src/examples/fortuneclient.qdoc @@ -90,13 +90,13 @@ \dots \snippet examples/network/fortuneclient/client.cpp 5 - Clicking the \gui{Get Fortune} button will invoke the \c + Clicking the \uicontrol{Get Fortune} button will invoke the \c requestNewFortune() slot: \snippet examples/network/fortuneclient/client.cpp 6 In this slot, we initialize \c blockSize to 0, preparing to read a new block - of data. Because we allow the user to click \gui{Get Fortune} before the + of data. Because we allow the user to click \uicontrol{Get Fortune} before the previous connection finished closing, we start off by aborting the previous connection by calling QTcpSocket::abort(). (On an unconnected socket, this function does nothing.) We then proceed to connecting to the |