diff --git a/src/corelib/thread/qthread.cpp b/src/corelib/thread/qthread.cpp index 8c9cbbff633..7d908fd4e72 100644 --- a/src/corelib/thread/qthread.cpp +++ b/src/corelib/thread/qthread.cpp @@ -891,7 +891,7 @@ bool QThread::isInterruptionRequested() const return d->running && !d->finished && !d->isInFinish; } -/* +/*! \fn template QThread *QThread::create(Function &&f, Args &&... args) \since 5.10 @@ -915,7 +915,7 @@ bool QThread::isInterruptionRequested() const \sa start() */ -/* +/*! \fn template QThread *QThread::create(Function &&f) \since 5.10 diff --git a/src/corelib/thread/qthread.h b/src/corelib/thread/qthread.h index 1f98cb59af3..3df76077e1a 100644 --- a/src/corelib/thread/qthread.h +++ b/src/corelib/thread/qthread.h @@ -113,7 +113,7 @@ public: bool event(QEvent *event) override; int loopLevel() const; -#ifdef Q_QDOC +#ifdef Q_CLANG_QDOC template static QThread *create(Function &&f, Args &&... args); template @@ -128,7 +128,7 @@ public: static QThread *create(Function &&f); # endif // QTHREAD_HAS_VARIADIC_CREATE # endif // QT_CONFIG(cxx11_future) -#endif // Q_QDOC +#endif // Q_CLANG_QDOC public Q_SLOTS: void start(Priority = InheritPriority); @@ -169,7 +169,7 @@ private: #if QT_CONFIG(cxx11_future) -#if defined(QTHREAD_HAS_VARIADIC_CREATE) +#if defined(QTHREAD_HAS_VARIADIC_CREATE) || defined(Q_CLANG_QDOC) // C++17: std::thread's constructor complying call template QThread *QThread::create(Function &&f, Args &&... args) diff --git a/src/corelib/tools/qmap.cpp b/src/corelib/tools/qmap.cpp index 5a20c581e91..d7844f3128a 100644 --- a/src/corelib/tools/qmap.cpp +++ b/src/corelib/tools/qmap.cpp @@ -1230,14 +1230,14 @@ void QMapDataBase::freeData(QMapDataBase *d) */ /*! - \fn template QPair QMap::equal_range(const Key &key) + \fn template QPair::iterator, typename QMap::iterator> QMap::equal_range(const Key &key) Returns a pair of iterators delimiting the range of values \c{[first, second)}, that are stored under \a key. */ /*! - \fn template QPair QMap::equal_range(const Key &key) const + \fn template QPair::const_iterator, typename QMap::const_iterator> QMap::equal_range(const Key &key) const \overload \since 5.6 */ diff --git a/src/corelib/tools/qtimezone.cpp b/src/corelib/tools/qtimezone.cpp index 6a26993549f..6a514abbfec 100644 --- a/src/corelib/tools/qtimezone.cpp +++ b/src/corelib/tools/qtimezone.cpp @@ -224,6 +224,20 @@ Q_GLOBAL_STATIC(QTimeZoneSingleton, global_tz); \sa QDateTime */ +/*! + \enum QTimeZone::anonymous + + Sane UTC offsets range from -14 to +14 hours. + No known zone > 12 hrs West of Greenwich (Baker Island, USA). + No known zone > 14 hrs East of Greenwich (Kiritimati, Christmas Island, Kiribati). + + \value MinUtcOffsetSecs + -14 * 3600, + + \value MaxUtcOffsetSecs + +14 * 3600 +*/ + /*! \enum QTimeZone::TimeType diff --git a/src/network/kernel/qnetworkinterface.cpp b/src/network/kernel/qnetworkinterface.cpp index 3fb0dc80eed..cab008d2ef0 100644 --- a/src/network/kernel/qnetworkinterface.cpp +++ b/src/network/kernel/qnetworkinterface.cpp @@ -593,7 +593,7 @@ bool QNetworkAddressEntry::isPermanent() const \value Ethernet IEEE 802.3 Ethernet interfaces, though on many systems other types of IEEE 802 interfaces may also be detected as Ethernet (especially Wi-Fi). - \value WiFi IEEE 802.11 Wi-Fi interfaces. Note that on some + \value Wifi IEEE 802.11 Wi-Fi interfaces. Note that on some systems, QNetworkInterface may be unable to distinguish regular Ethernet from Wi-Fi and will not return this enum value.