Kate
#include <kateswapfile.h>
Public Slots | |
void | configChanged () |
void | discard () |
void | recover () |
bool | recover (QDataStream &, bool checkDigest=true) |
void | showDiff () |
void | showSwapFileMessage () |
Public Member Functions | |
SwapFile (KateDocument *document) | |
~SwapFile () | |
KateDocument * | document () |
void | fileClosed () |
QString | fileName () |
bool | shouldRecover () const |
Protected Slots | |
void | fileLoaded (const QString &filename) |
void | fileSaved (const QString &filename) |
void | finishEditing () |
void | insertText (const KTextEditor::Cursor &position, const QString &text) |
void | modifiedChanged () |
void | removeText (const KTextEditor::Range &range) |
void | startEditing () |
void | unwrapLine (int line) |
void | wrapLine (const KTextEditor::Cursor &position) |
void | writeFileToDisk () |
Detailed Description
Class for tracking editing actions.
In case Kate crashes, this can be used to replay all edit actions to recover the lost data.
Definition at line 46 of file kateswapfile.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 56 of file kateswapfile.cpp.
Kate::SwapFile::~SwapFile | ( | ) |
Definition at line 78 of file kateswapfile.cpp.
Member Function Documentation
|
slot |
Definition at line 86 of file kateswapfile.cpp.
|
slot |
Definition at line 528 of file kateswapfile.cpp.
KateDocument * Kate::SwapFile::document | ( | ) |
Definition at line 134 of file kateswapfile.cpp.
void Kate::SwapFile::fileClosed | ( | ) |
Definition at line 121 of file kateswapfile.cpp.
|
protectedslot |
Definition at line 162 of file kateswapfile.cpp.
QString Kate::SwapFile::fileName | ( | ) |
Definition at line 562 of file kateswapfile.cpp.
|
protectedslot |
Definition at line 413 of file kateswapfile.cpp.
|
protectedslot |
Definition at line 452 of file kateswapfile.cpp.
|
protectedslot |
Definition at line 492 of file kateswapfile.cpp.
|
protectedslot |
Definition at line 199 of file kateswapfile.cpp.
|
slot |
Definition at line 208 of file kateswapfile.cpp.
Definition at line 251 of file kateswapfile.cpp.
|
protectedslot |
Definition at line 504 of file kateswapfile.cpp.
bool Kate::SwapFile::shouldRecover | ( | ) | const |
Definition at line 519 of file kateswapfile.cpp.
|
slot |
Definition at line 623 of file kateswapfile.cpp.
|
slot |
Definition at line 602 of file kateswapfile.cpp.
|
protectedslot |
Definition at line 424 of file kateswapfile.cpp.
|
protectedslot |
Definition at line 480 of file kateswapfile.cpp.
|
protectedslot |
Definition at line 468 of file kateswapfile.cpp.
|
protectedslot |
Definition at line 586 of file kateswapfile.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:54 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.