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