From 00e10f62b55626097e94a2d70a9214c0062fbcd5 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Fri, 26 Feb 2021 14:21:48 +0100 Subject: Doc: Fix various documentation issues - Document QIODeviceBase - Document QPointerEvent::points - Fix linking issues Task-number: QTBUG-90662 Change-Id: Ib123d5708953b22e01f95c82626b39a49fff95b2 Reviewed-by: Nico Vertriest --- examples/widgets/doc/src/addressbook-tutorial.qdoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/widgets/doc/src/addressbook-tutorial.qdoc b/examples/widgets/doc/src/addressbook-tutorial.qdoc index 563b6a2be9..53acb82b1a 100644 --- a/examples/widgets/doc/src/addressbook-tutorial.qdoc +++ b/examples/widgets/doc/src/addressbook-tutorial.qdoc @@ -842,7 +842,7 @@ If \c fileName is not empty, we create a QFile object, \c file, with \c fileName. QFile works with QDataStream as QFile is a QIODevice. - Next, we attempt to open the file in \l{QIODevice::}{WriteOnly} mode. + Next, we attempt to open the file in \l{QIODeviceBase::}{WriteOnly} mode. If this is unsuccessful, we display a QMessageBox to inform the user. \snippet tutorials/addressbook/part6/addressbook.cpp saveToFile() function part2 @@ -869,7 +869,7 @@ \image addressbook-tutorial-part6-load.png If \c fileName is not empty, again, we use a QFile object, \c file, and - attempt to open it in \l{QIODevice::}{ReadOnly} mode. Similar to our + attempt to open it in \l{QIODeviceBase::}{ReadOnly} mode. Similar to our implementation of \c saveToFile(), if this attempt is unsuccessful, we display a QMessageBox to inform the user. @@ -939,7 +939,7 @@ choose a location for the file. Using the file name chosen, we create an instance of QFile to write to. - We attempt to open the file in \l{QIODevice::}{WriteOnly} mode. If this + We attempt to open the file in \l{QIODeviceBase::}{WriteOnly} mode. If this process fails, we display a QMessageBox to inform the user about the problem and return. Otherwise, we pass the file as a parameter to a QTextStream object, \c out. Like QDataStream, the QTextStream class -- cgit v1.2.3