|
Krita Source Code Documentation
|
Inheritance diagram for FileSystemWatcherWrapper:Classes | |
| struct | FileEntry |
Signals | |
| void | fileChanged (const QString &path) |
| void | fileExistsStateChanged (const QString &path, bool exists) |
Public Member Functions | |
| bool | addPath (const QString &file) |
| QStringList | files () const |
| FileSystemWatcherWrapper () | |
| bool | removePath (const QString &file) |
Static Public Member Functions | |
| static QString | unifyFilePath (const QString &path) |
Private Types | |
| enum | FileState { Exists = 0 , Reattaching , Lost } |
Private Slots | |
| void | slotFileChanged (const QString &path) |
| void | slotFindLostFiles () |
| void | slotReattachFiles () |
Private Attributes | |
| QHash< QString, FileEntry > | m_fileEntries |
| KisSignalCompressor | m_lostCompressor |
| QHash< QString, int > | m_lostFilesAbsenceCounter |
| QHash< QString, int > | m_pathCount |
| KisSignalCompressor | m_reattachmentCompressor |
| QFileSystemWatcher | m_watcher |
Definition at line 30 of file kis_safe_document_loader.cpp.
|
private |
| Enumerator | |
|---|---|
| Exists | |
| Reattaching | |
| Lost | |
Definition at line 35 of file kis_safe_document_loader.cpp.
|
inline |
Definition at line 49 of file kis_safe_document_loader.cpp.
References connect(), fileChanged(), m_lostCompressor, m_reattachmentCompressor, m_watcher, slotFileChanged(), slotFindLostFiles(), and slotReattachFiles().
|
inline |
Definition at line 59 of file kis_safe_document_loader.cpp.
References Exists, m_fileEntries, m_watcher, and unifyFilePath().
|
signal |
|
signal |
|
inline |
Definition at line 88 of file kis_safe_document_loader.cpp.
References m_watcher.
|
inline |
Definition at line 73 of file kis_safe_document_loader.cpp.
References KIS_SAFE_ASSERT_RECOVER_RETURN_VALUE, m_fileEntries, m_watcher, and unifyFilePath().
|
inlineprivateslot |
Definition at line 93 of file kis_safe_document_loader.cpp.
References Exists, fileChanged(), fileExistsStateChanged(), KIS_SAFE_ASSERT_RECOVER_RETURN, KisUsageLogger::log(), Lost, FileSystemWatcherWrapper::FileEntry::lostTimer, m_fileEntries, m_lostCompressor, m_reattachmentCompressor, m_watcher, Reattaching, KisPortingUtils::setUtf8OnStream(), KisSignalCompressor::start(), and FileSystemWatcherWrapper::FileEntry::state.
|
inlineprivateslot |
Definition at line 168 of file kis_safe_document_loader.cpp.
References Lost, m_fileEntries, and slotFileChanged().
|
inlineprivateslot |
Definition at line 175 of file kis_safe_document_loader.cpp.
References m_fileEntries, Reattaching, and slotFileChanged().
|
inlinestatic |
Definition at line 188 of file kis_safe_document_loader.cpp.
|
private |
Definition at line 198 of file kis_safe_document_loader.cpp.
|
private |
Definition at line 196 of file kis_safe_document_loader.cpp.
|
private |
Definition at line 197 of file kis_safe_document_loader.cpp.
|
private |
Definition at line 194 of file kis_safe_document_loader.cpp.
|
private |
Definition at line 195 of file kis_safe_document_loader.cpp.
|
private |
Definition at line 193 of file kis_safe_document_loader.cpp.