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

Kate

KateModOnHdPrompt Class Reference

This dialog will prompt the user for what do with a file that is modified on disk. More...

#include <katedialogs.h>

Inheritance diagram for KateModOnHdPrompt:

Inheritance graph
[legend]

List of all members.


Public Types

enum  Status { Reload = 1, Save, Overwrite, Ignore }

Public Slots

void slotApply ()
void slotDiff ()
void slotOk ()
void slotUser1 ()

Public Member Functions

 KateModOnHdPrompt (KateDocument *doc, int modtype, const QString &reason, QWidget *parent)
 ~KateModOnHdPrompt ()

Detailed Description

This dialog will prompt the user for what do with a file that is modified on disk.

If the file wasn't deleted, it has a 'diff' button, which will create a diff file (uing diff(1)) and launch that using KRun.

Definition at line 370 of file katedialogs.h.


Member Enumeration Documentation

enum KateModOnHdPrompt::Status

Enumerator:
Reload 
Save 
Overwrite 
Ignore 

Definition at line 374 of file katedialogs.h.


Constructor & Destructor Documentation

KateModOnHdPrompt::KateModOnHdPrompt ( KateDocument *  doc,
int  modtype,
const QString &  reason,
QWidget *  parent 
)

Definition at line 1576 of file katedialogs.cpp.

KateModOnHdPrompt::~KateModOnHdPrompt (  ) 

Definition at line 1637 of file katedialogs.cpp.


Member Function Documentation

void KateModOnHdPrompt::slotApply (  )  [virtual, slot]

Reimplemented from KDialogBase.

Definition at line 1712 of file katedialogs.cpp.

void KateModOnHdPrompt::slotDiff (  )  [slot]

Show a diff between the document text and the disk file.

This will not close the dialog, since we still need a decision from the user.

Definition at line 1641 of file katedialogs.cpp.

void KateModOnHdPrompt::slotOk ( void   )  [virtual, slot]

Reimplemented from KDialogBase.

Definition at line 1728 of file katedialogs.cpp.

void KateModOnHdPrompt::slotUser1 ( void   )  [virtual, slot]

Reimplemented from KDialogBase.

Definition at line 1733 of file katedialogs.cpp.


The documentation for this class was generated from the following files:
  • katedialogs.h
  • katedialogs.cpp

Kate

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

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
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