Akonadi
29 Node &operator=(
const Node &) =
delete;
32 NodeType
type()
const;
35 void appendNode(
Node *child);
45 class DocumentNode :
public Node
48 DocumentNode(
int version);
57 class ClassNode :
public Node
68 ClassNode(
const QString &name, ClassType type, DocumentNode *parent);
70 ClassType classType()
const;
72 QString parentClassName()
const;
75 #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
76 static ClassType elementNameToType(
const QStringRef &name);
78 static ClassType elementNameToType(
QStringView name);
86 class CtorNode :
public Node
102 ~CtorNode()
override;
111 class EnumNode :
public Node
120 EnumNode(
const QString &name, EnumType type, ClassNode *parent);
123 EnumType enumType()
const;
124 #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
125 static EnumType elementNameToType(
const QStringRef &name);
127 static EnumType elementNameToType(
QStringView name);
134 class EnumValueNode :
public Node
137 EnumValueNode(
const QString &name, EnumNode *parent);
140 void setValue(
const QString &value);
148 class PropertyNode :
public Node
158 PropertyNode(
const QString &name,
const QString &type, ClassNode *parent);
159 ~PropertyNode()
override;
164 void setDefaultValue(
const QString &defaultValue);
167 bool readOnly()
const;
168 void setReadOnly(
bool readOnly);
170 bool asReference()
const;
171 void setAsReference(
bool asReference);
173 bool isPointer()
const;
176 void addDependency(
const QString &enumVar,
const QString &enumValue);
178 Setter *setter()
const;
179 void setSetter(Setter *setter);
virtual QString type() const
QString toUpper() const const
QStringView mid(qsizetype start) const const
VehicleSection::Type type(QStringView coachNumber, QStringView coachClassification)
QString name(StandardShortcut id)
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sat Jul 2 2022 06:41:48 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.