QThread::create: make qdoc generate its documentation

Change-Id: I6eaaa0f9cbda6ef985cda63f2bf36d3102f34f32
Reviewed-by: Martin Smith <martin.smith@qt.io>
This commit is contained in:
Giuseppe D'Angelo 2017-09-15 17:18:16 +01:00
parent 971adcaea1
commit e5033a5c9b

View File

@ -119,6 +119,12 @@ public:
bool event(QEvent *event) Q_DECL_OVERRIDE;
int loopLevel() const;
#ifdef Q_QDOC
template <typename Function, typename... Args>
static QThread *create(Function &&f, Args &&... args);
template <typename Function>
static QThread *create(Function &&f);
#else
#ifdef QTHREAD_HAS_CREATE
#ifdef QTHREAD_HAS_VARIADIC_CREATE
template <typename Function, typename... Args>
@ -128,6 +134,7 @@ public:
static QThread *create(Function &&f);
#endif
#endif
#endif
public Q_SLOTS:
void start(Priority = InheritPriority);