Changeset View
Changeset View
Standalone View
Standalone View
src/file/unindexedfileiterator.h
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Line(s) | 42 | public: | |||
---|---|---|---|---|---|
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 | 51 | | |||
52 | private: | 52 | private: | ||
53 | bool shouldIndex(const QString& filePath, const QString& mimetype); | 53 | bool shouldIndex(const QString& filePath); | ||
54 | 54 | | |||
55 | const FileIndexerConfig* m_config; | 55 | const FileIndexerConfig* m_config; | ||
56 | Transaction* m_transaction; | 56 | Transaction* m_transaction; | ||
57 | FilteredDirIterator m_iter; | 57 | FilteredDirIterator m_iter; | ||
58 | 58 | | |||
59 | QMimeDatabase m_mimeDb; | 59 | QMimeDatabase m_mimeDb; | ||
60 | QString m_mimetype; | 60 | QString m_mimetype; | ||
61 | 61 | | |||
62 | bool m_mTimeChanged; | 62 | bool m_mTimeChanged; | ||
63 | bool m_cTimeChanged; | 63 | bool m_cTimeChanged; | ||
64 | }; | 64 | }; | ||
65 | 65 | | |||
66 | } | 66 | } | ||
67 | 67 | | |||
68 | #endif // BALOO_UNINDEXEDFILEITERATOR_H | 68 | #endif // BALOO_UNINDEXEDFILEITERATOR_H |