Kate::DocumentExt Class Referenceabstract
#include <document.h>
Inherits DocumentInfoInterface, and VariableInterface.
Inherited by KateDocument.
Public Types | |
| enum | ModifiedOnDiskReason { Unmodified = 0, Modified = 1, Created = 2, Deleted = 3 } |
Public Member Functions | |
| virtual void | setModifiedOnDisk (int reason)=0 |
| virtual void | slotModifiedOnDisk (View *v=0)=0 |
Detailed Description
Member Enumeration Documentation
Reasons why a document is modified on disk.
| Enumerator | |
|---|---|
| Unmodified |
Not modified. |
| Modified |
The file was modified by another program. |
| Created |
The file was created by another program. |
| Deleted |
The file was deleted. |
Definition at line 359 of file document.h.
Member Function Documentation
|
pure virtual |
For client apps that want to deal with files modified on disk, it is nessecary to reset this property.
reason is a ModifiedOnDiskReason.
|
pure virtual |
These stuff is implemented as slots in the real document.
Ask the user what to do, if the file is modified on disk. The v argument is used to avoid asking again, when the editor regains focus after the dialog is hidden.
The documentation for this class was generated from the following files:
Trinity API Reference