summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2023-04-29 10:25:54 +0000
committerTopi Reinio <topi.reinio@qt.io>2023-04-29 13:22:21 +0000
commit37dc52d4f24c216811cf14ceb8aeaa13766b249d (patch)
tree1ad25984bc2bd7bf7233bc64adb3693e088155ea /src/widgets
parent41608170502a08b054a7a244034334d9f4c9ba11 (diff)
Doc: Fix documentation warnings
These warnings slipped in during a time period where documentation testing in the CI was disabled. src/network/kernel/qhostinfo.cpp:254: (qdoc) warning: clang couldn't find function when parsing \fn template<typename Functor> int QHostInfo::lookupHost(const QString &name, Functor functor) src/widgets/widgets/qcheckbox.cpp:102: (qdoc) warning: clang couldn't find function when parsing \fn void QCheckBox::stateChanged(Qt::CheckState state) src/corelib/kernel/qcoreapplication.cpp:2769: (qdoc) warning: clang couldn't find function when parsing \fn template<typename Functor> void QCoreApplication::requestPermission( const QPermission &permission, Functor functor) src/corelib/serialization/qxmlstream.cpp:3806: (qdoc) warning: clang couldn't find function when parsing \fn bool QXmlStreamAttributes::hasAttribute( const QString &qualifiedName) const src/corelib/text/qtliterals.qdoc:11: (qdoc) warning: Multiple topic commands found in comment: \namespace and \headerfile. Pick-to: 6.5 Change-Id: I38c605f358dbca1ef3e2bfe20a6424f7a4d44b4a Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/widgets/qcheckbox.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/widgets/widgets/qcheckbox.cpp b/src/widgets/widgets/qcheckbox.cpp
index cc013c8c7e..5b44271d48 100644
--- a/src/widgets/widgets/qcheckbox.cpp
+++ b/src/widgets/widgets/qcheckbox.cpp
@@ -89,25 +89,15 @@ public:
\sa QAbstractButton, QRadioButton
*/
-#if QT_VERSION < QT_VERSION_CHECK(7, 0, 0)
/*!
\fn void QCheckBox::stateChanged(int state)
+ //! Qt 7: \fn void QCheckBox::stateChanged(Qt::CheckState state)
This signal is emitted whenever the checkbox's state changes, i.e.,
whenever the user checks or unchecks it.
\a state contains the checkbox's new Qt::CheckState.
*/
-#else
-/*!
- \fn void QCheckBox::stateChanged(Qt::CheckState state)
-
- This signal is emitted whenever the checkbox's state changes, i.e.,
- whenever the user checks or unchecks it.
-
- \a state contains the checkbox's new Qt::CheckState.
-*/
-#endif
/*!
\property QCheckBox::tristate