┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/search/searchcriterionselector.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2009-11-12 18:58:44 +0000
committerPeter Penz <[email protected]>2009-11-12 18:58:44 +0000
commit288c7db6a7ae804c79d9fe61dcaf7f494a194341 (patch)
tree15c409a826951d27e920f391b7849dfaf962e3dc /src/search/searchcriterionselector.h
parent408d94ac5766f543b433f492b37fb3ca1a6d8d84 (diff)
Show some default search configurations, so that the user is able to adjust queries in a faster way (similar to a defaceted interface).
svn path=/trunk/KDE/kdebase/apps/; revision=1048109
Diffstat (limited to 'src/search/searchcriterionselector.h')
-rw-r--r--src/search/searchcriterionselector.h19
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", ...