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>
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 345 of file katedialogs.h.
Member Enumeration Documentation
Definition at line 349 of file katedialogs.h.
Constructor & Destructor Documentation
| KateModOnHdPrompt::KateModOnHdPrompt | ( | KateDocument * | doc, | |
| KTextEditor::ModificationInterface::ModifiedOnDiskReason | modtype, | |||
| const QString & | reason, | |||
| QWidget * | parent | |||
| ) |
Definition at line 1203 of file katedialogs.cpp.
| KateModOnHdPrompt::~KateModOnHdPrompt | ( | ) |
Definition at line 1262 of file katedialogs.cpp.
Member Function Documentation
| void KateModOnHdPrompt::slotButtonClicked | ( | int | button | ) | [protected, virtual, slot] |
Reimplemented from KDialog.
Definition at line 1350 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 1274 of file katedialogs.cpp.
The documentation for this class was generated from the following files:
KDE 4.3 API Reference