Kate
Go to the documentation of this file.
22 #ifndef KATE_SWAPFILE_H
23 #define KATE_SWAPFILE_H
25 #include <QtCore/QObject>
26 #include <QtCore/QDataStream>
53 bool shouldRecover()
const;
61 void setTrackingEnabled(
bool trackingEnabled);
62 void removeSwapFile();
63 bool updateFileName();
64 bool isValidSwapFile(QDataStream& stream,
bool checkDigest)
const;
68 bool m_trackingEnabled;
71 void fileSaved(
const QString& filename);
72 void fileLoaded(
const QString &filename);
73 void modifiedChanged();
76 void finishEditing ();
79 void unwrapLine (
int line);
86 bool recover(QDataStream&,
bool checkDigest =
true);
94 static QTimer *s_timer;
97 void writeFileToDisk();
103 void showSwapFileMessage();
107 QPointer<KTextEditor::Message> m_swapMessage;
112 #endif // KATE_SWAPFILE_H
#define KATEPART_TESTS_EXPORT
Class for tracking editing actions.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:52 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.