TaskTree: Pretend TaskInterface::start() is protected for qdoc

Otherwise, the docs are not shown.

Task-number: QTBUG-114877
Change-Id: I0cc3e3890c57cd3c5970c0bc9f0350e9934748c5
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2023-08-18 08:08:46 +02:00
parent 23149b27ab
commit 213b2e5698

View File

@@ -33,6 +33,9 @@ private:
template <typename Task> friend class TaskAdapter; template <typename Task> friend class TaskAdapter;
friend class TaskNode; friend class TaskNode;
TaskInterface() = default; TaskInterface() = default;
#ifdef Q_QDOC
protected:
#endif
virtual void start() = 0; virtual void start() = 0;
}; };