This is the base and abstract class of a text document A TextDocument is the model part of the editor...
Definition textdocument.h:42
Definition textdocumentserializer.h:17
virtual bool saveLineSelector(TextDocumentSerializer *serializer, int lineIdx, QString &line)=0
A special filter class to filter lines while saving.
A class used to load/save a text-file from and to an IODevice.
Definition textdocumentserializer.h:29
TextDocumentSerializer(TextDocument *textDocument)
Definition textdocumentserializer.cpp:19
bool loadWithoutOpening(QIODevice *ioDevice)
loads the file data for the given (opened) ioDevice
Definition textdocumentserializer.cpp:29
void setFilter(TextDocumentSerializerFilter *filter)
Definition textdocumentserializer.h:41
TextDocumentSerializerFilter * filter()
Definition textdocumentserializer.h:42
bool saveWithoutOpening(QIODevice *ioDevice)
loads the file data for the given (opened) ioDevice
Definition textdocumentserializer.cpp:129
bool save(QIODevice *ioDevice)
Saves the given document to the iodevice This method opens and closes the ioDevice....
Definition textdocumentserializer.cpp:178
bool load(QIODevice *ioDevice)
executes the file loading for the given (unopened) ioDevice
Definition textdocumentserializer.cpp:110
QString errorString()
Definition textdocumentserializer.h:40