6#include <QtCore/qstringlist.h>
11
12
13
16
17
18
21 if (!m_members.contains(node))
22 m_members.append(node);
26
27
28
31 return std::any_of(m_members.cbegin(), m_members.cend(), [](
const Node *member) {
37
38
39
42 return std::any_of(m_members.cbegin(), m_members.cend(), [](
const Node *member) {
48
49
50
51
52
53
56
57
58
59
60
63
64
68 version << m_logicalModuleVersionMajor << m_logicalModuleVersionMinor;
69 version.removeAll(QString());
70 return version.join(
".");
74
75
76
77
78
79
80
83 m_logicalModuleName = info[0];
84 if (info.size() > 1) {
85 QStringList dotSplit = info[1].split(QLatin1Char(
'.'));
86 m_logicalModuleVersionMajor = dotSplit[0];
87 if (dotSplit.size() > 1)
88 m_logicalModuleVersionMinor = dotSplit[1];
90 m_logicalModuleVersionMinor =
"0";
95
96
97
98
99
100
101
102
A class for holding the members of a collection of doc pages.
QString logicalModuleVersion() const override
Returns the logical module version.
bool hasClasses() const override
Returns true if this collection node contains at least one class node.
bool hasNamespaces() const override
Returns true if this collection node contains at least one namespace node.
void setLogicalModuleInfo(const QStringList &info) override
This function accepts the logical module info as a string list.
void addMember(Node *node) override
Appends node to the collection node's member list, if and only if it isn't already in the member list...
LinkType
An unsigned char value that probably should be moved out of the Node base class.
virtual bool isClassNode() const
Returns true if this is an instance of ClassNode.
Combined button and popup list for selecting options.