edbee - Qt Editor Library
|
A class used to load/save a text-file from and to an IODevice. More...
#include <textdocumentserializer.h>
Public Member Functions | |
TextDocumentSerializer (TextDocument *textDocument) | |
bool | load (QIODevice *ioDevice) |
executes the file loading for the given (unopened) ioDevice More... | |
bool | save (QIODevice *ioDevice) |
Saves the given document to the iodevice. More... | |
QString | errorString () |
void | setFilter (TextDocumentSerializerFilter *filter) |
TextDocumentSerializerFilter * | filter () |
A class used to load/save a text-file from and to an IODevice.
edbee::TextDocumentSerializer::TextDocumentSerializer | ( | TextDocument * | textDocument | ) |
|
inline |
|
inline |
bool edbee::TextDocumentSerializer::load | ( | QIODevice * | ioDevice | ) |
bool edbee::TextDocumentSerializer::save | ( | QIODevice * | ioDevice | ) |
Saves the given document to the iodevice.
|
inline |