diff options
author | Topi Reinio <topi.reinio@qt.io> | 2021-02-26 14:21:48 +0100 |
---|---|---|
committer | Paul Wicking <paul.wicking@qt.io> | 2021-04-07 11:51:25 +0200 |
commit | e28b65f868d3f3fe430208dc29bfb9982e82ef48 (patch) | |
tree | 87c20f8e11e1b9679f426adafdd75943f3de4a4b /src/corelib | |
parent | 37801c6c537ef8e79094b405e64481a0246330a0 (diff) |
Doc: Fix various documentation issues
- Document QIODeviceBase
- Document QPointerEvent::points
- Fix linking issues
Task-number: QTBUG-90662
Change-Id: Ib123d5708953b22e01f95c82626b39a49fff95b2
Reviewed-by: Nico Vertriest <nico.vertriest@qt.io>
(cherry picked from commit 00e10f62b55626097e94a2d70a9214c0062fbcd5)
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/io/qiodevice.cpp | 12 | ||||
-rw-r--r-- | src/corelib/tools/qmargins.cpp | 3 |
2 files changed, 11 insertions, 4 deletions
diff --git a/src/corelib/io/qiodevice.cpp b/src/corelib/io/qiodevice.cpp index 5c8c0e6a27..0bea68acc5 100644 --- a/src/corelib/io/qiodevice.cpp +++ b/src/corelib/io/qiodevice.cpp @@ -290,10 +290,18 @@ QIODevicePrivate::~QIODevicePrivate() */ /*! + \class QIODeviceBase + \inheaderfile QIODevice + \inmodule QtCore + \brief Base class for QIODevice that provides flags describing the mode in + which a device is opened. +*/ + +/*! \enum QIODeviceBase::OpenModeFlag - This enum is used with open() to describe the mode in which a device - is opened. It is also returned by openMode(). + This enum is used with QIODevice::open() to describe the mode in which a + device is opened. It is also returned by QIODevice::openMode(). \value NotOpen The device is not open. \value ReadOnly The device is open for reading. diff --git a/src/corelib/tools/qmargins.cpp b/src/corelib/tools/qmargins.cpp index 5b3c04d11e..8a6e50ca24 100644 --- a/src/corelib/tools/qmargins.cpp +++ b/src/corelib/tools/qmargins.cpp @@ -508,10 +508,9 @@ QDebug operator<<(QDebug dbg, const QMargins &m) Returns \c true if all margins are very close to 0; otherwise returns false. - \sa qFuzzyIsNull + \sa {<QtGlobal>::}{qFuzzyIsNull} */ - /*! \fn qreal QMarginsF::left() const |