Changeset View
Changeset View
Standalone View
Standalone View
addons/search/SearchDiskFiles.h
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Line(s) | 54 | void matchFound(const QString &url, const QString &docName, | |||
---|---|---|---|---|---|
55 | const QString &lineContent, int matchLen, | 55 | const QString &lineContent, int matchLen, | ||
56 | int line, int column, int endLine, int endColumn); | 56 | int line, int column, int endLine, int endColumn); | ||
57 | void searchDone(); | 57 | void searchDone(); | ||
58 | void searching(const QString &file); | 58 | void searching(const QString &file); | ||
59 | 59 | | |||
60 | private: | 60 | private: | ||
61 | QRegularExpression m_regExp; | 61 | QRegularExpression m_regExp; | ||
62 | QStringList m_files; | 62 | QStringList m_files; | ||
63 | bool m_cancelSearch; | 63 | bool m_cancelSearch = true; | ||
64 | int m_matchCount; | 64 | int m_matchCount = 0; | ||
65 | QTime m_statusTime; | 65 | QTime m_statusTime; | ||
66 | }; | 66 | }; | ||
67 | 67 | | |||
68 | 68 | | |||
69 | #endif | 69 | #endif |