72 virtual bool Save (
const QString& path) = 0;
78 "org.LeechCraft.Monocle.ISaveableDocument/1.0")
Interface for documents that can be saved.
virtual SaveQueryResult CanSave() const =0
Checks whether this document can be saved.
virtual ~ISaveableDocument()=default
virtual bool Save(const QString &path)=0
Saves the document at the given path.
Describes the result of check for the possibility of saving.
bool CanSave_
Whether the document can be saved.
QString Reason_
Human-readable reason string.