diff options
| author | Peter Penz <[email protected]> | 2009-11-13 21:03:19 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-11-13 21:03:19 +0000 |
| commit | bd30bb6ca98374b37db20d14a41542c21acdd5e0 (patch) | |
| tree | 276188af9fe38b22cd6698a53269fcffac318736 /src/search/dolphinsearchbox.cpp | |
| parent | a87760d22c0213306380322ec6d9e23809ee4c93 (diff) | |
search finetuning:
* trigger progress information when starting a search
* let the information panel hide the meta data for the search string
* get the search string from the configurator
svn path=/trunk/KDE/kdebase/apps/; revision=1048721
Diffstat (limited to 'src/search/dolphinsearchbox.cpp')
| -rw-r--r-- | src/search/dolphinsearchbox.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/search/dolphinsearchbox.cpp b/src/search/dolphinsearchbox.cpp index 9f228140b..4375974a4 100644 --- a/src/search/dolphinsearchbox.cpp +++ b/src/search/dolphinsearchbox.cpp @@ -256,6 +256,11 @@ DolphinSearchBox::~DolphinSearchBox() { } +QString DolphinSearchBox::text() const +{ + return m_searchInput->text(); +} + bool DolphinSearchBox::event(QEvent* event) { if (event->type() == QEvent::Polish) { @@ -286,7 +291,7 @@ bool DolphinSearchBox::eventFilter(QObject* watched, QEvent* event) void DolphinSearchBox::emitSearchSignal() { - emit search(KUrl("nepomuksearch:/" + m_searchInput->text())); + emit search(m_searchInput->text()); } #include "dolphinsearchbox.moc" |
