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