Loading...
Searching...
No Matches
score::DocumentModel Class Referencefinal
Model part of a document. More...
Inheritance diagram for score::DocumentModel:
Detailed Description
Model part of a document.
Drawbridge between the application and a model given by a plugin. Contains all the "saveable" data.
Public Member Functions | |
| DocumentModel (const Id< DocumentModel > &id, const score::DocumentContext &ctx, DocumentDelegateFactory &fact, QObject *parent) | |
| DocumentModel (QObject *parent) | |
| DocumentDelegateModel & | modelDelegate () const |
| void | on_documentClosing () |
| void | addPluginModel (DocumentPlugin *m) |
| const std::vector< DocumentPlugin * > & | pluginModels () |
| void | pluginModelsChanged () |
Public Member Functions inherited from IdentifiedObject< DocumentModel > | |
| IdentifiedObject (id_type id, const QString &name, QObject *parent) noexcept | |
| IdentifiedObject (Visitor &&v, QObject *parent) noexcept | |
| const id_type & | id () const noexcept |
| int32_t | id_val () const noexcept final override |
| void | setId (const id_type &id) noexcept |
| void | setId (id_type &&id) noexcept |
| void | resetCache () const noexcept override |
Public Member Functions inherited from IdentifiedObjectAbstract | |
| void | identified_object_destroying (IdentifiedObjectAbstract *o) |
| To be called by subclasses. | |
| void | identified_object_destroyed (IdentifiedObjectAbstract *o) |
| Will be called in the IdentifiedObjectAbstract destructor. | |
Friends | |
| class | Document |
Additional Inherited Members | |
Public Types inherited from IdentifiedObject< DocumentModel > | |
| using | model_type = DocumentModel |
| using | id_type = Id< DocumentModel > |
| using | object_type = IdentifiedObject< DocumentModel > |
Public Attributes inherited from IdentifiedObject< DocumentModel > | |
| Path< DocumentModel > | m_path_cache |
Static Public Attributes inherited from IdentifiedObject< DocumentModel > | |
| static const constexpr bool | identified_object_tag |
Protected Member Functions inherited from IdentifiedObjectAbstract | |
| IdentifiedObjectAbstract (const QString &name, QObject *parent) noexcept | |
The documentation for this class was generated from the following files:
- DocumentModel.hpp
- DocumentModel.cpp
- DocumentSerialization.cpp
Public Member Functions inherited from