KTextEditor
modificationinterface.h
Go to the documentation of this file.
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
ModificationInterface()
Definition ktexteditor.cpp:220
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-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.