Changeset View
Changeset View
Standalone View
Standalone View
src/file/unindexedfileiterator.h
Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Line(s) | 42 | public: | |||
---|---|---|---|---|---|
43 | UnIndexedFileIterator(const FileIndexerConfig* config, Transaction* transaction, const QString& folder); | 43 | UnIndexedFileIterator(const FileIndexerConfig* config, Transaction* transaction, const QString& folder); | ||
44 | ~UnIndexedFileIterator(); | 44 | ~UnIndexedFileIterator(); | ||
45 | 45 | | |||
46 | QString next(); | 46 | QString next(); | ||
47 | QString filePath() const; | 47 | QString filePath() const; | ||
48 | QString mimetype() const; | 48 | QString mimetype() const; | ||
49 | bool mTimeChanged() const; | 49 | bool mTimeChanged() const; | ||
50 | bool cTimeChanged() const; | 50 | bool cTimeChanged() const; | ||
51 | bool nameChanged() const; | ||||
51 | 52 | | |||
52 | private: | 53 | private: | ||
53 | bool shouldIndex(const QString& filePath, const QString& mimetype); | 54 | bool shouldIndex(const QString& filePath, const QString& mimetype); | ||
54 | 55 | | |||
55 | const FileIndexerConfig* m_config; | 56 | const FileIndexerConfig* m_config; | ||
56 | Transaction* m_transaction; | 57 | Transaction* m_transaction; | ||
57 | FilteredDirIterator m_iter; | 58 | FilteredDirIterator m_iter; | ||
58 | 59 | | |||
59 | QMimeDatabase m_mimeDb; | 60 | QMimeDatabase m_mimeDb; | ||
60 | QString m_mimetype; | 61 | QString m_mimetype; | ||
61 | 62 | | |||
62 | bool m_mTimeChanged; | 63 | bool m_mTimeChanged; | ||
63 | bool m_cTimeChanged; | 64 | bool m_cTimeChanged; | ||
65 | bool m_nameChanged; | ||||
64 | }; | 66 | }; | ||
65 | 67 | | |||
66 | } | 68 | } | ||
67 | 69 | | |||
68 | #endif // BALOO_UNINDEXEDFILEITERATOR_H | 70 | #endif // BALOO_UNINDEXEDFILEITERATOR_H |