95 virtual bool Save (
const QString& path) = 0;
101 "org.LeechCraft.Monocle.ISaveableDocument/1.0");
QString Reason_
Human-readable reason string.
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.
Q_DECLARE_INTERFACE(LeechCraft::Monocle::ISaveableDocument,"org.LeechCraft.Monocle.ISaveableDocument/1.0")
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.