score::DocumentMetadata Struct Reference

Document-wide metadata. More...

Inheritance diagram for score::DocumentMetadata:

Detailed Description

Document-wide metadata.

Public Member Functions

 DocumentMetadata (QString file) noexcept
 
QString fileName () const noexcept
 
QString documentName () const noexcept
 
QString author () const noexcept
 
QDateTime creation () const noexcept
 
QDateTime lastEdition () const noexcept
 
QString projectFolder () const noexcept
 
void setFileName (QString fileName)
 
void setAuthor (QString author)
 
void setCreation (QDateTime creation)
 
void setLastEdition (QDateTime lastEdition)
 
void fileNameChanged (QString fileName)
 
void authorChanged (QString author)
 
void creationChanged (QDateTime creation)
 
void lastEditionChanged (QDateTime lastEdition)
 
 WWWWW_PROPERTY (QString, author, &W_ThisType::author, &W_ThisType::setAuthor, W_Notify, &W_ThisType::authorChanged, W_Final) friend const expr auto w_state(w_internal
 

Public Attributes

QString m_fileName {QObject::tr("Untitled")}
 
QString m_author
 
QDateTime m_creation
 
QDateTime m_lastEdition
 

Friends

constexpr friend auto w_state (w_internal::Index< w_internal::stateCount< __COUNTER__, w_internal::PropertyStateTag, W_ThisType ** >>, w_internal::PropertyStateTag, W_ThisType **) -> decltype((w_internal::makeMetaPropertyInfo< QString >(w_internal::viewLiteral("fileName"), w_internal::viewLiteral("QString"), &W_ThisType::fileName, &W_ThisType::setFileName, W_Notify, &W_ThisType::fileNameChanged, W_Final)))
 

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