29 Node &operator=(
const Node &) =
delete;
32 NodeType
type()
const;
35 void appendNode(
Node *child);
45class DocumentNode :
public Node
48 DocumentNode(
int version);
57class ClassNode :
public Node
68 ClassNode(
const QString &name, ClassType
type, DocumentNode *parent);
70 ClassType classType()
const;
72 QString parentClassName()
const;
75 static ClassType elementNameToType(
QStringView name);
82class CtorNode :
public Node
106class EnumNode :
public Node
115 EnumNode(
const QString &name, EnumType
type, ClassNode *parent);
118 EnumType enumType()
const;
119 static EnumType elementNameToType(
QStringView name);
128class EnumValueNode :
public Node
131 EnumValueNode(
const QString &name, EnumNode *parent);
134 void setValue(
const QString &value);
142class PropertyNode :
public Node
152 PropertyNode(
const QString &name,
const QString &type, ClassNode *parent);
153 ~PropertyNode()
override;
158 void setDefaultValue(
const QString &defaultValue);
161 bool readOnly()
const;
162 void setReadOnly(
bool readOnly);
164 bool asReference()
const;
165 void setAsReference(
bool asReference);
167 bool isPointer()
const;
171 void addDependency(
const QString &enumVar,
const QString &enumValue);
173 Setter *setter()
const;
174 void setSetter(Setter *setter);
virtual QString type() const
QString name(GameStandardAction id)
VehicleSection::Type type(QStringView coachNumber, QStringView coachClassification)
QString toUpper() const const
QStringView mid(qsizetype start, qsizetype length) const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:49:12 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.