• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kate
 

kate

  • Kate
  • DocumentExt
Public Types | Public Member Functions | List of all members
Kate::DocumentExt Class Referenceabstract

#include <document.h>

Inherits KTextEditor::DocumentInfoInterface, and KTextEditor::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

Extensions to the Document Interface.

Since
3.3

Definition at line 347 of file document.h.

Member Enumeration Documentation

◆ ModifiedOnDiskReason

enum Kate::DocumentExt::ModifiedOnDiskReason

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.

Constructor & Destructor Documentation

◆ DocumentExt()

Kate::DocumentExt::DocumentExt ( )

Definition at line 90 of file interfaces.cpp.

◆ ~DocumentExt()

Kate::DocumentExt::~DocumentExt ( )
virtual

Definition at line 94 of file interfaces.cpp.

Member Function Documentation

◆ setModifiedOnDisk()

virtual void Kate::DocumentExt::setModifiedOnDisk ( int  reason)
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.

◆ slotModifiedOnDisk()

virtual void Kate::DocumentExt::slotModifiedOnDisk ( View *  v = 0)
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:
  • document.h
  • interfaces.cpp

kate

Skip menu "kate"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kate

Skip menu "kate"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for kate by doxygen 1.9.4
This website is maintained by Timothy Pearson.