diff options
Diffstat (limited to 'src/search/searchcriterionselector.h')
| -rw-r--r-- | src/search/searchcriterionselector.h | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/src/search/searchcriterionselector.h b/src/search/searchcriterionselector.h index f83d28df8..1ddc50d25 100644 --- a/src/search/searchcriterionselector.h +++ b/src/search/searchcriterionselector.h @@ -45,12 +45,7 @@ class SearchCriterionSelector : public QWidget Q_OBJECT public: - enum Type - { - Undefined, - Date, - FileSize - }; + enum Type { Date, Tag, Size }; SearchCriterionSelector(Type type, QWidget* parent = 0); virtual ~SearchCriterionSelector(); @@ -70,11 +65,7 @@ signals: private slots: void slotDescriptionChanged(int index); - - /** - * Updates the query string and emits the signal criterionChanged(). - */ - void updateQuery(); + void slotComparatorChanged(int index); private: /** @@ -83,12 +74,6 @@ private: */ void createDescriptions(); - /** - * Returns the currently selected searc criterion description. If nothing - * is selected, 0 is returned. - */ - const SearchCriterionDescription* description() const; - private: QHBoxLayout* m_layout; QComboBox* m_descriptionsBox; // has items like "File Size", "Date Modified", ... |
