JsonTreeItem¶
-
class
JsonTreeItem
¶ Public Functions
-
JsonTreeItem
(JsonTreeItem *parent = nullptr)¶
-
~JsonTreeItem
()¶
-
void
appendChild
(JsonTreeItem *item)¶
-
JsonTreeItem *
child
(int row)¶
-
JsonTreeItem *
parent
()¶
-
int
childCount
() const¶
-
int
row
() const¶
-
void
setKey
(const QString &key)¶
-
void
setValue
(const QString &value)¶
-
void
setType
(const QJsonValue::Type &type)¶
-
QString
key
() const¶
-
QString
value
() const¶
-
QJsonValue::Type
type
() const¶
Public Static Functions
-
static JsonTreeItem *
load
(const QJsonValue &value, JsonTreeItem *parent = nullptr)¶
-