summaryrefslogtreecommitdiff
path: root/core/pim/osearch/mainwindow.cpp
Side-by-side diff
Diffstat (limited to 'core/pim/osearch/mainwindow.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/pim/osearch/mainwindow.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/core/pim/osearch/mainwindow.cpp b/core/pim/osearch/mainwindow.cpp
index 89ab690..6070fdf 100644
--- a/core/pim/osearch/mainwindow.cpp
+++ b/core/pim/osearch/mainwindow.cpp
@@ -21,4 +21,5 @@
#include <qpe/config.h>
#include <qpe/global.h>
+#include <opie/owait.h>
#include <qaction.h>
#include <qmessagebox.h>
@@ -212,5 +213,4 @@ void MainWindow::stopTimer(QListViewItem*)
void MainWindow::showPopup()
{
- qDebug("showPopup");
popupTimer->stop();
if (!_currentItem) return;
@@ -228,4 +228,7 @@ void MainWindow::setSearch( const QString &key )
void MainWindow::searchStringChanged()
{
+#ifdef NEW_OWAIT
+ OWait("setting search string");
+#endif
searchTimer->stop();
QString ss = _searchString;
@@ -233,5 +236,5 @@ void MainWindow::searchStringChanged()
// if (actionWholeWordsOnly->isOn())
// ss = "\\s"+_searchString+"\\s";
- qDebug(" set searchString >%s<",ss.latin1());
+// qDebug(" set searchString >%s<",ss.latin1());
QRegExp re( ss );
re.setCaseSensitive( actionCaseSensitiv->isOn() );
@@ -243,4 +246,7 @@ void MainWindow::searchStringChanged()
void MainWindow::searchAll()
{
+#ifdef NEW_OWAIT
+ OWait("searching...");
+#endif
for (SearchGroup *s = searches.first(); s != 0; s = searches.next() ){
s->doSearch();