6 #include <score_lib_base_export.h>
18 QString m_fileName{QObject::tr(
"Untitled")};
21 QDateTime m_lastEdition;
24 using QObject::QObject;
26 QString fileName()
const noexcept;
27 QString documentName()
const noexcept;
28 QString author()
const noexcept;
29 QDateTime creation()
const noexcept;
30 QDateTime lastEdition()
const noexcept;
32 QString projectFolder()
const noexcept;
34 void setFileName(QString fileName);
35 void setAuthor(QString author);
36 void setCreation(QDateTime creation);
37 void setLastEdition(QDateTime lastEdition);
39 void fileNameChanged(QString fileName)
40 E_SIGNAL(SCORE_LIB_BASE_EXPORT, fileNameChanged, fileName)
41 void authorChanged(QString author)
42 E_SIGNAL(SCORE_LIB_BASE_EXPORT, authorChanged, author)
43 void creationChanged(QDateTime creation)
44 E_SIGNAL(SCORE_LIB_BASE_EXPORT, creationChanged, creation)
45 void lastEditionChanged(QDateTime lastEdition)
46 E_SIGNAL(SCORE_LIB_BASE_EXPORT, lastEditionChanged, lastEdition)
49 QString, fileName READ fileName WRITE setFileName NOTIFY fileNameChanged, W_Final)
50 W_PROPERTY(QString, author READ author WRITE setAuthor NOTIFY authorChanged, W_Final)
52 QDateTime, creation READ creation WRITE setCreation NOTIFY creationChanged,
56 lastEdition READ lastEdition WRITE setLastEdition NOTIFY lastEditionChanged,
Base toolkit upon which the software is built.
Definition: Application.cpp:90
QString newProcessedFilePath(const QString &sourceFile, const QDir &destination)
Obtains a new file name in the project folder to save a processed file.
Definition: DocumentMetadata.cpp:99