diff options
author | Paul Wicking <paul.wicking@qt.io> | 2024-04-16 12:33:00 +0200 |
---|---|---|
committer | Paul Wicking <paul.wicking@qt.io> | 2024-04-17 05:23:39 +0200 |
commit | fdf0af3ae6aa617ba88bf99b93e251869f7c4a15 (patch) | |
tree | 62175ca39d534877b0a2f905400b6e90bfd326eb | |
parent | 00a48038161a3f1740bceecf7cc34f3fb49ab4d9 (diff) |
Make Tree::refForAtom a public static method
Tree::refForAtom is arguably ill-placed in Tree.
For now, turn it into a public static, in preparation for
changes in HTMLGenerator that will require access to it.
Task-number: QTBUG-122261
Change-Id: I17bf0207e0b61d832006ceb28c8553407f466d64
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
-rw-r--r-- | src/qdoc/qdoc/src/qdoc/tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qdoc/qdoc/src/qdoc/tree.h b/src/qdoc/qdoc/src/qdoc/tree.h index c7265b7b3..649040ecb 100644 --- a/src/qdoc/qdoc/src/qdoc/tree.h +++ b/src/qdoc/qdoc/src/qdoc/tree.h @@ -74,6 +74,7 @@ public: // Of necessity, a few public functions remain. void appendProxy(ProxyNode *t) { m_proxies.append(t); } void addToDontDocumentMap(QString &arg); void markDontDocumentNodes(); + static QString refForAtom(const Atom *atom); private: // The rest of the class is private. Aggregate *findAggregate(const QString &name); @@ -116,7 +117,6 @@ private: // The rest of the class is private. [[nodiscard]] const NamespaceNode *root() const { return &m_root; } ClassList allBaseClasses(const ClassNode *classe) const; - QString refForAtom(const Atom *atom); CNMap *getCollectionMap(Node::NodeType type); [[nodiscard]] const CNMap &groups() const { return m_groups; } |