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/searchgroup.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/searchgroup.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/osearch/searchgroup.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/pim/osearch/searchgroup.cpp b/core/pim/osearch/searchgroup.cpp index 9166f72..2ca37cf 100644 --- a/core/pim/osearch/searchgroup.cpp +++ b/core/pim/osearch/searchgroup.cpp @@ -3,24 +3,25 @@ // C++ Implementation: $MODULE$ // // Description: // // // Author: Patrick S. Vogt <tille@handhelds.org>, (C) 2003 // // Copyright: See COPYING file that comes with this distribution // // #include "searchgroup.h" +#include <opie2/odebug.h> #include <opie2/owait.h> #include <qapplication.h> #ifndef NEW_OWAIT static Opie::Ui::OWait *wait = 0; #endif SearchGroup::SearchGroup(QListView* parent, QString name) : OListViewItem(parent, name) { _name = name; @@ -63,25 +64,25 @@ void SearchGroup::setSearch(QRegExp re) if (isOpen()) expand(); else new OListViewItem( this, "searching..."); } int SearchGroup::realSearch() { if (_lastSearch == _search) return _resultCount; #ifndef NEW_OWAIT if (!wait) wait = new Opie::Ui::OWait( qApp->mainWidget(), "osearch" ); wait->show(); qApp->processEvents(); #else - qDebug("********** NEW_OWAIT *************"); + Opie:Core::odebug << "********** NEW_OWAIT *************" << oendl; OWait( "searching" ); #endif if (!loaded) load(); _resultCount = 0; _resultCount = search(); _lastSearch = _search; setText(0, _name + " - " + _search.pattern() + " (" + QString::number( _resultCount ) + ")"); #ifndef NEW_OWAIT wait->hide(); #endif return _resultCount; |