summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qthread.h
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@qt.io>2018-01-19 12:16:07 +0100
committerMartin Smith <martin.smith@qt.io>2018-01-20 13:54:22 +0000
commit99dc25c686529ea71071e868de1e8fd3c71f8184 (patch)
tree2a8a4d36df459754b1ac752a627607a3cd56c3e1 /src/corelib/thread/qthread.h
parent046622cdf3b6f856f67ab314c7758aca4dcf5494 (diff)
doc: Fix all remaining non-link qdoc warnings
The fixes included adding missing '!' characters to qdoc comment markers, correct misspelled words, adding documentation for an anonymous enum type, and replacing Q_QDOC with Q_CLANG_QDOC. There remain 12 qdoc link warnings in QtBase. Change-Id: I00447722e6e029f5aed273b3cd571cef33c119b4 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/thread/qthread.h')
-rw-r--r--src/corelib/thread/qthread.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/thread/qthread.h b/src/corelib/thread/qthread.h
index 1f98cb59af..3df76077e1 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 <typename Function, typename... Args>
static QThread *create(Function &&f, Args &&... args);
template <typename Function>
@@ -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 <typename Function, typename... Args>
QThread *QThread::create(Function &&f, Args &&... args)