diff options
| author | Peter Penz <[email protected]> | 2009-11-21 22:08:59 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-11-21 22:08:59 +0000 |
| commit | 35ba6eb132a2b969a53ee31e3a26d72a371e02d6 (patch) | |
| tree | 42cefbf2bf14519c3c5c33c0129f98933cbd6f6c /src/search/searchcriterionselector.cpp | |
| parent | 42372dc3b5f4ffd2cabef9a508d3a44bb95612de (diff) | |
* show only a minimized set of search options per default
* remember the search options when closing Dolphin, so that the user can adjust his "default search template"
svn path=/trunk/KDE/kdebase/apps/; revision=1052499
Diffstat (limited to 'src/search/searchcriterionselector.cpp')
| -rw-r--r-- | src/search/searchcriterionselector.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/search/searchcriterionselector.cpp b/src/search/searchcriterionselector.cpp index 5a6c41a1e..cf2cc2704 100644 --- a/src/search/searchcriterionselector.cpp +++ b/src/search/searchcriterionselector.cpp @@ -103,6 +103,11 @@ QString SearchCriterionSelector::toString() const return criterion; } +SearchCriterionSelector::Type SearchCriterionSelector::type() const +{ + return static_cast<Type>(m_descriptionsBox->currentIndex()); +} + void SearchCriterionSelector::slotDescriptionChanged(int index) { if (m_valueWidget != 0) { |
