author | drw <drw> | 2004-04-02 21:24:41 (UTC) |
---|---|---|
committer | drw <drw> | 2004-04-02 21:24:41 (UTC) |
commit | ebe03c3cd5d2bc1e1ae94f123da7ab27b2188f6a (patch) (side-by-side diff) | |
tree | 2b642af98abf3825cca6aef0f2adfb0934634e76 /core/pim/osearch/mainwindow.cpp | |
parent | 8b67cce78d89fdbb5c2a70f257aaef0e8162d767 (diff) | |
download | opie-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.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 @@ -17,12 +17,13 @@ #include "todosearch.h" #include "datebooksearch.h" #include "applnksearch.h" #include "doclnksearch.h" #include "mainwindow.h" +#include <opie2/odebug.h> #include <opie2/owait.h> #include <qpe/qpemessagebox.h> #include <qpe/resource.h> #include <qpe/config.h> @@ -226,13 +227,13 @@ void MainWindow::setCurrent(QListViewItem *item) richEdit->setText( res->toRichText() ); QIntDict<QString> acts = res->actions(); QButton *button; for (uint i = 0; i < acts.count(); i++){ button = buttonMap[i]; if (!button) { - qWarning(" no button for %s", (*acts[i]).latin1() ); + Opie::Core::owarn << " no button for " << *acts[i] << oendl; button = new QPushButton( buttonBox ); buttonMap.insert( i, button ); signalMapper->setMapping(button, i ); connect(button, SIGNAL(clicked() ), signalMapper, SLOT(map() ) ); } button->setText( *acts[i] ); @@ -280,13 +281,13 @@ void MainWindow::searchStringChanged() #endif searchTimer->stop(); QString ss = _searchString; //ss = Global::stringQuote( _searchString ); // if (actionWholeWordsOnly->isOn()) // ss = "\\s"+_searchString+"\\s"; -// qDebug(" set searchString >%s<",ss.latin1()); +// Opie:Core::odebug << " set searchString >" << ss << "<" << oendl; QRegExp re( ss ); re.setCaseSensitive( actionCaseSensitiv->isOn() ); re.setWildcard( actionWildcards->isOn() ); for (SearchGroup *s = searches.first(); s != 0; s = searches.next() ) s->setSearch( re ); } |