• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • @topname@
  • Sitemap
  • Contact Us
 

kate

Kate::DocumentExt

Kate::DocumentExt Class Reference

#include <document.h>

Inherits DocumentInfoInterface, and VariableInterface.

Inherited by KateDocument.

List of all members.


Detailed Description

Extensions to the Document Interface.

Since:
3.3

Definition at line 347 of file document.h.


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

Member Enumeration Documentation

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.


Member Function Documentation

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.

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

@topname@

Skip menu "@topname@"
  •     kdnssd-avahi
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for @topname@ by doxygen 1.5.5
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal