diff options
| author | Peter Penz <[email protected]> | 2009-11-12 22:03:07 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-11-12 22:03:07 +0000 |
| commit | 4f24794fc32cd94dfbd473fa8dbc4b504c20bcb3 (patch) | |
| tree | 2de92b8e347dba6c826c52ceb854b5b74f881cae /src/search/dolphinsearchoptionsconfigurator.h | |
| parent | 51dc542497510da366748304c63894f0f5feb466 (diff) | |
initial code to provide a Nepomuk query string out of the search criterions
svn path=/trunk/KDE/kdebase/apps/; revision=1048202
Diffstat (limited to 'src/search/dolphinsearchoptionsconfigurator.h')
| -rw-r--r-- | src/search/dolphinsearchoptionsconfigurator.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/search/dolphinsearchoptionsconfigurator.h b/src/search/dolphinsearchoptionsconfigurator.h index d384f5296..46950e422 100644 --- a/src/search/dolphinsearchoptionsconfigurator.h +++ b/src/search/dolphinsearchoptionsconfigurator.h @@ -20,6 +20,7 @@ #ifndef DOLPHINSEARCHOPTIONSCONFIGURATOR_H #define DOLPHINSEARCHOPTIONSCONFIGURATOR_H +#include <QList> #include <QWidget> class KComboBox; @@ -38,12 +39,17 @@ public: DolphinSearchOptionsConfigurator(QWidget* parent = 0); virtual ~DolphinSearchOptionsConfigurator(); +signals: + void searchOptionsChanged(const QString& options); + protected: virtual void showEvent(QShowEvent* event); private slots: void slotAddSelectorButtonClicked(); + void slotCriterionChanged(); + void removeCriterion(); /** @@ -62,7 +68,7 @@ private: * Adds the new search description selector to the bottom * of the layout. */ - void addSelector(SearchCriterionSelector* selector); + void addCriterion(SearchCriterionSelector* selector); private: bool m_initialized; @@ -70,6 +76,7 @@ private: KComboBox* m_searchWhatBox; QPushButton* m_addSelectorButton; QVBoxLayout* m_vBoxLayout; + QList<SearchCriterionSelector*> m_criterions; }; #endif |
