diff options
Diffstat (limited to 'src/panels/search/searchpanel.h')
| -rw-r--r-- | src/panels/search/searchpanel.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/panels/search/searchpanel.h b/src/panels/search/searchpanel.h index 700cfc84a..b92b692aa 100644 --- a/src/panels/search/searchpanel.h +++ b/src/panels/search/searchpanel.h @@ -79,6 +79,16 @@ private slots: private: void setQuery(const Nepomuk::Query::Query& query); + /** + * @return True if the facets can be applied to the given URL + * and hence a filtering of the content is possible. + * False is returned if the search-mode is set to + * SearchMode::FromCurrentDir and this directory is + * not indexed at all. Also if indexing is disabled + * false will be returned. + */ + bool isFilteringPossible() const; + private: bool m_initialized; SearchMode m_searchMode; |
