Diffstat (limited to 'core/pim/osearch/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/osearch/mainwindow.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/pim/osearch/mainwindow.cpp b/core/pim/osearch/mainwindow.cpp index 8b6a5df..f329e83 100644 --- a/core/pim/osearch/mainwindow.cpp +++ b/core/pim/osearch/mainwindow.cpp | |||
@@ -20,6 +20,7 @@ | |||
20 | #include "doclnksearch.h" | 20 | #include "doclnksearch.h" |
21 | #include "mainwindow.h" | 21 | #include "mainwindow.h" |
22 | 22 | ||
23 | #include <opie2/odebug.h> | ||
23 | #include <opie2/owait.h> | 24 | #include <opie2/owait.h> |
24 | 25 | ||
25 | #include <qpe/qpemessagebox.h> | 26 | #include <qpe/qpemessagebox.h> |
@@ -229,7 +230,7 @@ void MainWindow::setCurrent(QListViewItem *item) | |||
229 | for (uint i = 0; i < acts.count(); i++){ | 230 | for (uint i = 0; i < acts.count(); i++){ |
230 | button = buttonMap[i]; | 231 | button = buttonMap[i]; |
231 | if (!button) { | 232 | if (!button) { |
232 | qWarning(" no button for %s", (*acts[i]).latin1() ); | 233 | Opie::Core::owarn << " no button for " << *acts[i] << oendl; |
233 | button = new QPushButton( buttonBox ); | 234 | button = new QPushButton( buttonBox ); |
234 | buttonMap.insert( i, button ); | 235 | buttonMap.insert( i, button ); |
235 | signalMapper->setMapping(button, i ); | 236 | signalMapper->setMapping(button, i ); |
@@ -283,7 +284,7 @@ void MainWindow::searchStringChanged() | |||
283 | //ss = Global::stringQuote( _searchString ); | 284 | //ss = Global::stringQuote( _searchString ); |
284 | //if (actionWholeWordsOnly->isOn()) | 285 | //if (actionWholeWordsOnly->isOn()) |
285 | // ss = "\\s"+_searchString+"\\s"; | 286 | // ss = "\\s"+_searchString+"\\s"; |
286 | //qDebug(" set searchString >%s<",ss.latin1()); | 287 | //Opie:Core::odebug << " set searchString >" << ss << "<" << oendl; |
287 | QRegExp re( ss ); | 288 | QRegExp re( ss ); |
288 | re.setCaseSensitive( actionCaseSensitiv->isOn() ); | 289 | re.setCaseSensitive( actionCaseSensitiv->isOn() ); |
289 | re.setWildcard( actionWildcards->isOn() ); | 290 | re.setWildcard( actionWildcards->isOn() ); |