• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • applications API Reference
  • KDE Home
  • Contact Us
 

Kate

Public Types | Public Slots | Public Member Functions | Protected Slots | List of all members
KateModOnHdPrompt Class Reference

#include <katedialogs.h>

Inheritance diagram for KateModOnHdPrompt:
Inheritance graph
[legend]

Public Types

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

Public Slots

void slotDiff ()
 

Public Member Functions

 KateModOnHdPrompt (KateDocument *doc, KTextEditor::ModificationInterface::ModifiedOnDiskReason modtype, const QString &reason, QWidget *parent)
 
 ~KateModOnHdPrompt ()
 

Protected Slots

virtual void slotButtonClicked (int button)
 

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 401 of file katedialogs.h.

Member Enumeration Documentation

enum KateModOnHdPrompt::Status
Enumerator
Reload 
Save 
Overwrite 
Ignore 

Definition at line 405 of file katedialogs.h.

Constructor & Destructor Documentation

KateModOnHdPrompt::KateModOnHdPrompt ( KateDocument *  doc,
KTextEditor::ModificationInterface::ModifiedOnDiskReason  modtype,
const QString &  reason,
QWidget *  parent 
)

Definition at line 1496 of file katedialogs.cpp.

KateModOnHdPrompt::~KateModOnHdPrompt ( )

Definition at line 1558 of file katedialogs.cpp.

Member Function Documentation

void KateModOnHdPrompt::slotButtonClicked ( int  button)
protectedvirtualslot

Definition at line 1656 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 1570 of file katedialogs.cpp.


The documentation for this class was generated from the following files:
  • katedialogs.h
  • katedialogs.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:57:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Kate

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

applications API Reference

Skip menu "applications API Reference"
  •   kate
  •       kate
  •   KTextEditor
  •   Kate
  • Konsole

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal