Changeset View
Changeset View
Standalone View
Standalone View
src/file/fileindexscheduler.h
Show First 20 Lines • Show All 69 Lines • ▼ Show 20 Line(s) | 69 | if (!m_xattrFiles.contains(file)) { | |||
---|---|---|---|---|---|
70 | m_xattrFiles << file; | 70 | m_xattrFiles << file; | ||
71 | QTimer::singleShot(0, this, &FileIndexScheduler::scheduleIndexing); | 71 | QTimer::singleShot(0, this, &FileIndexScheduler::scheduleIndexing); | ||
72 | } | 72 | } | ||
73 | } | 73 | } | ||
74 | 74 | | |||
75 | void handleFileRemoved(const QString& file); | 75 | void handleFileRemoved(const QString& file); | ||
76 | 76 | | |||
77 | void scheduleIndexing(); | 77 | void scheduleIndexing(); | ||
78 | void halt(); | ||||
78 | 79 | | |||
79 | Q_SCRIPTABLE void suspend() { suspendContentIndexer(true); } | 80 | Q_SCRIPTABLE void suspend() { suspendContentIndexer(true); } | ||
80 | Q_SCRIPTABLE void resume() { suspendContentIndexer(false); } | 81 | Q_SCRIPTABLE void resume() { suspendContentIndexer(false); } | ||
81 | Q_SCRIPTABLE uint getRemainingTime(); | 82 | Q_SCRIPTABLE uint getRemainingTime(); | ||
82 | Q_SCRIPTABLE void checkUnindexedFiles(); | 83 | Q_SCRIPTABLE void checkUnindexedFiles(); | ||
83 | Q_SCRIPTABLE uint getBatchSize(); | 84 | Q_SCRIPTABLE uint getBatchSize(); | ||
84 | 85 | | |||
85 | private Q_SLOTS: | 86 | private Q_SLOTS: | ||
Show All 27 Lines |