Changeset View
Changeset View
Standalone View
Standalone View
kate/katedocmanager.h
Show First 20 Lines • Show All 192 Lines • ▼ Show 20 Line(s) | 137 | Q_SIGNALS: | |||
---|---|---|---|---|---|
193 | */ | 193 | */ | ||
194 | void documentsDeleted(const QList<KTextEditor::Document *> &documents); | 194 | void documentsDeleted(const QList<KTextEditor::Document *> &documents); | ||
195 | 195 | | |||
196 | private Q_SLOTS: | 196 | private Q_SLOTS: | ||
197 | void slotModifiedOnDisc(KTextEditor::Document *doc, bool b, KTextEditor::ModificationInterface::ModifiedOnDiskReason reason); | 197 | void slotModifiedOnDisc(KTextEditor::Document *doc, bool b, KTextEditor::ModificationInterface::ModifiedOnDiskReason reason); | ||
198 | void slotModChanged(KTextEditor::Document *doc); | 198 | void slotModChanged(KTextEditor::Document *doc); | ||
199 | void slotModChanged1(KTextEditor::Document *doc); | 199 | void slotModChanged1(KTextEditor::Document *doc); | ||
200 | 200 | | |||
201 | void showRestoreErrors(); | | |||
202 | private: | 201 | private: | ||
203 | bool loadMetaInfos(KTextEditor::Document *doc, const QUrl &url); | 202 | bool loadMetaInfos(KTextEditor::Document *doc, const QUrl &url); | ||
204 | void saveMetaInfos(const QList<KTextEditor::Document *> &docs); | 203 | void saveMetaInfos(const QList<KTextEditor::Document *> &docs); | ||
205 | 204 | | |||
206 | QList<KTextEditor::Document *> m_docList; | 205 | QList<KTextEditor::Document *> m_docList; | ||
207 | QHash<KTextEditor::Document *, KateDocumentInfo *> m_docInfos; | 206 | QHash<KTextEditor::Document *, KateDocumentInfo *> m_docInfos; | ||
208 | 207 | | |||
209 | KConfig m_metaInfos; | 208 | KConfig m_metaInfos; | ||
210 | bool m_saveMetaInfos; | 209 | bool m_saveMetaInfos; | ||
211 | int m_daysMetaInfos; | 210 | int m_daysMetaInfos; | ||
212 | 211 | | |||
213 | typedef QPair<QUrl, QDateTime> TPair; | 212 | typedef QPair<QUrl, QDateTime> TPair; | ||
214 | QMap<KTextEditor::Document *, TPair> m_tempFiles; | 213 | QMap<KTextEditor::Document *, TPair> m_tempFiles; | ||
215 | QString m_openingErrors; | | |||
216 | int m_documentStillToRestore; | | |||
217 | 214 | | |||
218 | private Q_SLOTS: | 215 | private Q_SLOTS: | ||
219 | void documentOpened(); | 216 | void documentOpened(); | ||
220 | }; | 217 | }; | ||
221 | 218 | | |||
222 | #endif | 219 | #endif |