Go to the documentation of this file.
16#ifndef KDSME_LAYOUT_LAYOUTIMPORTEXPORT_H
17#define KDSME_LAYOUT_LAYOUTIMPORTEXPORT_H
19#include "kdsme_core_export.h"
42KDSME_CORE_EXPORT
bool matches(
const QJsonObject &data,
State *state);
Utils for importing/exporting layout properties of a the object tree representing a state.
KDSME_CORE_EXPORT void importLayout(const QJsonObject &data, State *state)
Import layout data to set properties of state and its children.
KDSME_CORE_EXPORT QJsonObject exportLayout(const State *state)
Export layout of state into a machine-parsable JSON format.
KDSME_CORE_EXPORT bool matches(const QJsonObject &data, State *state)
Check if the ids in data still match the ids from the object tree represented by state.