score::DocumentBuilder Class Reference
Methods to set-up documents. More...
Detailed Description
Methods to set-up documents.
Facility to construct a Document according to different cases :
- Creating a blank, new document.
- Loading a document.
- Restoring a document after a crash.
Public Member Functions | |
DocumentBuilder (QObject *parentPresenter, QWidget *parentView) | |
Document * | newDocument (const score::GUIApplicationContext &ctx, const Id< DocumentModel > &id, score::DocumentDelegateFactory &doctype) |
Document * | loadDocument (const score::GUIApplicationContext &ctx, QString filename, score::DocumentDelegateFactory &doctype) |
Document * | loadDocument (const score::GUIApplicationContext &ctx, QString filename, QByteArray data, SerializationIdentifier format, score::DocumentDelegateFactory &doctype) |
Document * | restoreDocument (const score::GUIApplicationContext &ctx, const score::RestorableDocument &doc, score::DocumentDelegateFactory &doctype) |
The documentation for this class was generated from the following files:
- DocumentBuilder.hpp
- DocumentBuilder.cpp