13 #ifndef HTMLMODELSERIALISER_H
14 #define HTMLMODELSERIALISER_H
16 #include "abstractstringserialiser.h"
17 class HtmlModelSerialiserPrivate;
21 Q_PROPERTY(
bool printStartDocument READ printStartDocument WRITE setPrintStartDocument)
28 bool printStartDocument()
const;
29 void setPrintStartDocument(
bool val);
30 bool saveModel(QIODevice *destination)
const Q_DECL_OVERRIDE;
31 bool saveModel(QByteArray *destination)
const Q_DECL_OVERRIDE;
32 bool saveModel(QString *destination)
const Q_DECL_OVERRIDE;
33 bool loadModel(QString *source) Q_DECL_OVERRIDE;
34 bool loadModel(QIODevice *source) Q_DECL_OVERRIDE;
35 bool loadModel(
const QByteArray &source) Q_DECL_OVERRIDE;
The interface for model serialisers saving to strings.
Definition: abstractstringserialiser.h:23
virtual Q_INVOKABLE bool saveModel(QString *destination) const =0
virtual Q_INVOKABLE bool loadModel(QString *source)=0
Serialiser to save and load models in HTML format.
Definition: htmlmodelserialiser.h:19