25 #ifndef KDSME_LAYOUT_LAYOUTIMPORTEXPORT_H
26 #define KDSME_LAYOUT_LAYOUTIMPORTEXPORT_H
28 #include "kdsme_core_export.h"
40 namespace LayoutImportExport
48 KDSME_CORE_EXPORT
bool matches(
const QJsonObject& data,
State* state);
85 #endif // LAYOUTIMPORTEXPORT_H
KDSME_CORE_EXPORT void importLayout(const QJsonObject &data, State *state)
Import layout data to set properties of state and its children.
Definition: layoutimportexport.cpp:149
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.
Definition: layoutimportexport.cpp:183
KDSME_CORE_EXPORT QJsonObject exportLayout(const State *state)
Export layout of state into a machine-parsable JSON format.
Definition: layoutimportexport.cpp:166
Definition: abstractexporter.h:33