A class used to load/save a text-file from and to an IODevice.
More...
#include <textdocumentserializer.h>
A class used to load/save a text-file from and to an IODevice.
◆ TextDocumentSerializer()
edbee::TextDocumentSerializer::TextDocumentSerializer |
( |
TextDocument * | textDocument | ) |
|
◆ errorString()
QString edbee::TextDocumentSerializer::errorString |
( |
| ) |
|
|
inline |
◆ filter()
◆ load()
bool edbee::TextDocumentSerializer::load |
( |
QIODevice * | ioDevice | ) |
|
executes the file loading for the given (unopened) ioDevice
- Returns
- true on success,
◆ loadWithoutOpening()
bool edbee::TextDocumentSerializer::loadWithoutOpening |
( |
QIODevice * | ioDevice | ) |
|
loads the file data for the given (opened) ioDevice
- Returns
- true on success,
- Todo
- : atEnd doesn't seem to work !?!
- Todo
- Todo
- : implement isStopRequested to stop loading if required
isStopRequested()
◆ save()
bool edbee::TextDocumentSerializer::save |
( |
QIODevice * | ioDevice | ) |
|
Saves the given document to the iodevice This method opens and closes the ioDevice..
◆ saveWithoutOpening()
bool edbee::TextDocumentSerializer::saveWithoutOpening |
( |
QIODevice * | ioDevice | ) |
|
loads the file data for the given (opened) ioDevice
- Returns
- true on success
◆ setFilter()
The documentation for this class was generated from the following files: