┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/search/searchpanel.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2011-04-20 22:10:18 +0200
committerPeter Penz <[email protected]>2011-04-20 22:11:22 +0200
commit371e718ec58fc4b5b611f05102f9e4d0f0544ac2 (patch)
tree80109d4ac3e388420ae37c70da9b4be9fe72d5a7 /src/panels/search/searchpanel.h
parent27a8c55ec9207ae00da91596ba390e835a066782 (diff)
Fix enabled/disabled issue of Search Panel
Diffstat (limited to 'src/panels/search/searchpanel.h')
-rw-r--r--src/panels/search/searchpanel.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/panels/search/searchpanel.h b/src/panels/search/searchpanel.h
index b92b692aa..ae34b20c6 100644
--- a/src/panels/search/searchpanel.h
+++ b/src/panels/search/searchpanel.h
@@ -42,7 +42,7 @@ class SearchPanel : public Panel
Q_OBJECT
public:
- enum SearchMode
+ enum SearchLocation
{
Everywhere,
FromCurrentDir
@@ -56,8 +56,8 @@ public:
* or from the current directory (= FromCurrentDir). The current directory
* is automatically determined when setUrl() has been called.
*/
- void setSearchMode(SearchMode mode);
- SearchMode searchMode() const;
+ void setSearchLocation(SearchLocation location);
+ SearchLocation searchLocation() const;
signals:
void urlActivated(const KUrl& url);
@@ -83,7 +83,7 @@ private:
* @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
+ * SearchLocation::FromCurrentDir and this directory is
* not indexed at all. Also if indexing is disabled
* false will be returned.
*/
@@ -91,7 +91,7 @@ private:
private:
bool m_initialized;
- SearchMode m_searchMode;
+ SearchLocation m_searchLocation;
KJob* m_lastSetUrlStatJob;
KUrl m_startedFromDir;