┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/search/dolphinsearchbox.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2009-11-13 21:03:19 +0000
committerPeter Penz <[email protected]>2009-11-13 21:03:19 +0000
commitbd30bb6ca98374b37db20d14a41542c21acdd5e0 (patch)
tree276188af9fe38b22cd6698a53269fcffac318736 /src/search/dolphinsearchbox.cpp
parenta87760d22c0213306380322ec6d9e23809ee4c93 (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.cpp7
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"