summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@qt.io>2025-02-06 11:28:11 +0100
committerDavid Boddie <david.boddie@qt.io>2025-02-10 13:20:16 +0000
commit4dcff4ed6d24e6aa061e145bb9de9ff93351a2b1 (patch)
tree47677a285d952dd8442d994b9fe590820897f5ca /src
parenta522a0595bc3e908efc7ec70c9d7120c4d5c599b (diff)
doc: Fix broken links and incorrect information
ReadOnly was used in places where ReadWrite was the correct value. Pick-to: 6.8 6.9 Change-Id: I26a2f0de55665ac015fe269e8e5f0d23a2f00e5f Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/kernel/qmetaobject.cpp4
-rw-r--r--src/corelib/kernel/qobject.cpp2
-rw-r--r--src/corelib/kernel/qpermissions.cpp4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/corelib/kernel/qmetaobject.cpp b/src/corelib/kernel/qmetaobject.cpp
index 7c2059267d6..c74ab729d2e 100644
--- a/src/corelib/kernel/qmetaobject.cpp
+++ b/src/corelib/kernel/qmetaobject.cpp
@@ -471,7 +471,7 @@ QMetaType QMetaObject::metaType() const
The offset is the sum of all the methods in the class's
superclasses (which is always positive since QObject has the
- deleteLater() slot and a destroyed() signal).
+ \l{QObject::}{deleteLater()} slot and a \l{QObject::}{destroyed()} signal).
\sa method(), methodCount(), indexOfMethod()
*/
@@ -514,7 +514,7 @@ int QMetaObject::enumeratorOffset() const
The offset is the sum of all the properties in the class's
superclasses (which is always positive since QObject has the
- name() property).
+ \l{QObject::}{objectName} property).
\sa property(), propertyCount(), indexOfProperty()
*/
diff --git a/src/corelib/kernel/qobject.cpp b/src/corelib/kernel/qobject.cpp
index 707c12ae0fd..e2446c83d26 100644
--- a/src/corelib/kernel/qobject.cpp
+++ b/src/corelib/kernel/qobject.cpp
@@ -655,7 +655,7 @@ QMetaCallEvent* QMetaCallEvent::create_impl(QtPrivate::SlotObjUniquePtr slotObj,
\reentrant
QSignalBlocker can be used wherever you would otherwise use a
- pair of calls to blockSignals(). It blocks signals in its
+ pair of calls to QObject::blockSignals(). It blocks signals in its
constructor and in the destructor it resets the state to what
it was before the constructor ran.
diff --git a/src/corelib/kernel/qpermissions.cpp b/src/corelib/kernel/qpermissions.cpp
index 6ee4715e72f..ef22861866e 100644
--- a/src/corelib/kernel/qpermissions.cpp
+++ b/src/corelib/kernel/qpermissions.cpp
@@ -578,7 +578,7 @@ QT_PERMISSION_IMPL_COMMON(QContactsPermission)
{}
/*!
- Sets whether the request is for read-write (\a mode == AccessMode::ReadOnly) or
+ Sets whether the request is for read-write (\a mode == AccessMode::ReadWrite) or
read-only (\a mode == AccessMode::ReadOnly) access to the contacts.
*/
void QContactsPermission::setAccessMode(AccessMode mode)
@@ -635,7 +635,7 @@ QT_PERMISSION_IMPL_COMMON(QCalendarPermission)
{}
/*!
- Sets whether the request is for read-write (\a mode == AccessMode::ReadOnly) or
+ Sets whether the request is for read-write (\a mode == AccessMode::ReadWrite) or
read-only (\a mode == AccessMode::ReadOnly) access to the calendar.
*/
void QCalendarPermission::setAccessMode(AccessMode mode)