diff options
Diffstat (limited to 'src/search/dolphinsearchoptionsconfigurator.h')
| -rw-r--r-- | src/search/dolphinsearchoptionsconfigurator.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/search/dolphinsearchoptionsconfigurator.h b/src/search/dolphinsearchoptionsconfigurator.h index 90adea736..e4f7718e2 100644 --- a/src/search/dolphinsearchoptionsconfigurator.h +++ b/src/search/dolphinsearchoptionsconfigurator.h @@ -43,6 +43,9 @@ public: DolphinSearchOptionsConfigurator(QWidget* parent = 0); virtual ~DolphinSearchOptionsConfigurator(); + QString customSearchQuery() const; + KUrl directory() const; + /** * Returns the sum of the configured options and the * custom search query as Nepomuk conform search URL. If the @@ -60,6 +63,13 @@ public slots: */ void setCustomSearchQuery(const QString& searchQuery); + /** + * Sets the directory that is used when the + * "From Here"-location-filter is used. URLs that represent + * already a Nepomuk search URL will be ignored. + */ + void setDirectory(const KUrl& dir); + signals: void searchOptionsChanged(); @@ -97,6 +107,7 @@ private: private: bool m_initialized; + KUrl m_directory; KComboBox* m_locationBox; KComboBox* m_whatBox; QPushButton* m_addSelectorButton; |
