Changeset View
Changeset View
Standalone View
Standalone View
runners/baloo/baloosearchrunner.h
Show All 40 Lines | 38 | public: | |||
---|---|---|---|---|---|
41 | 41 | | |||
42 | RemoteActions Actions(); | 42 | RemoteActions Actions(); | ||
43 | RemoteMatches Match(const QString &searchTerm); | 43 | RemoteMatches Match(const QString &searchTerm); | ||
44 | void Run(const QString &id, const QString &actionId); | 44 | void Run(const QString &id, const QString &actionId); | ||
45 | 45 | | |||
46 | private: | 46 | private: | ||
47 | void performMatch(); | 47 | void performMatch(); | ||
48 | RemoteMatches matchInternal(const QString &searchTerm, const QString& type, | 48 | RemoteMatches matchInternal(const QString &searchTerm, const QString& type, | ||
49 | const QString& category); | 49 | const QString& category, QSet<QUrl> &foundUrls); | ||
50 | 50 | | |||
51 | QDBusMessage m_lastRequest; | 51 | QDBusMessage m_lastRequest; | ||
52 | QString m_searchTerm; | 52 | QString m_searchTerm; | ||
53 | QTimer *m_timer = nullptr; | 53 | QTimer *m_timer = nullptr; | ||
54 | }; | 54 | }; | ||
55 | 55 | | |||
56 | #endif // _BALOO_SEARCH_RUNNER_H_ | 56 | #endif // _BALOO_SEARCH_RUNNER_H_ |