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)
 
DocumentnewDocument (const score::GUIApplicationContext &ctx, const Id< DocumentModel > &id, score::DocumentDelegateFactory &doctype)
 
DocumentloadDocument (const score::GUIApplicationContext &ctx, QString filename, score::DocumentDelegateFactory &doctype)
 
DocumentloadDocument (const score::GUIApplicationContext &ctx, QString filename, QByteArray data, SerializationIdentifier format, score::DocumentDelegateFactory &doctype)
 
DocumentrestoreDocument (const score::GUIApplicationContext &ctx, const score::RestorableDocument &doc, score::DocumentDelegateFactory &doctype)
 

The documentation for this class was generated from the following files: