summaryrefslogtreecommitdiff
path: root/core/pim/osearch/mainwindow.cpp
authordrw <drw>2004-04-02 21:24:41 (UTC)
committer drw <drw>2004-04-02 21:24:41 (UTC)
commitebe03c3cd5d2bc1e1ae94f123da7ab27b2188f6a (patch) (unidiff)
tree2b642af98abf3825cca6aef0f2adfb0934634e76 /core/pim/osearch/mainwindow.cpp
parent8b67cce78d89fdbb5c2a70f257aaef0e8162d767 (diff)
downloadopie-ebe03c3cd5d2bc1e1ae94f123da7ab27b2188f6a.zip
opie-ebe03c3cd5d2bc1e1ae94f123da7ab27b2188f6a.tar.gz
opie-ebe03c3cd5d2bc1e1ae94f123da7ab27b2188f6a.tar.bz2
Use ODebug (another 7 down...)
Diffstat (limited to 'core/pim/osearch/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/osearch/mainwindow.cpp5
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() );