KTextEditor
modificationinterface.h
Go to the documentation of this file.
85 OnDiskUnmodified = 0,
86 OnDiskModified = 1,
87 OnDiskCreated = 2,
89 };
148Q_DECLARE_INTERFACE(KTextEditor::ModificationInterface, "org.kde.KTextEditor.ModificationInterface")
External modification extension interface for the Document.
Definition: modificationinterface.h:71
ModifiedOnDiskReason
Reasons why a document is modified on disk.
Definition: modificationinterface.h:84
virtual void setModifiedOnDiskWarning(bool on)=0
Control, whether the editor should show a warning dialog whenever a file was modified on disk.
virtual void setModifiedOnDisk(ModifiedOnDiskReason reason)=0
Set the document's modified-on-disk state to reason.
virtual void slotModifiedOnDisk(View *view=0)=0
Ask the user what to do, if the file was modified on disk.
virtual void modifiedOnDisk(KTextEditor::Document *document, bool isModified, KTextEditor::ModificationInterface::ModifiedOnDiskReason reason)=0
This signal is emitted whenever the document changed its modified-on-disk state.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.