summaryrefslogtreecommitdiff
path: root/core/pim/osearch/todosearch.cpp
authortille <tille>2003-05-10 12:37:35 (UTC)
committer tille <tille>2003-05-10 12:37:35 (UTC)
commit882b5190d02c33aa8c893e8aa54bf3d38ac255c8 (patch) (side-by-side diff)
treec79bf2a664d780013b685dd9617829cecdea3561 /core/pim/osearch/todosearch.cpp
parent65efa1e8a846f92580155d6ce7e28fe9b7ae19d2 (diff)
downloadopie-882b5190d02c33aa8c893e8aa54bf3d38ac255c8.zip
opie-882b5190d02c33aa8c893e8aa54bf3d38ac255c8.tar.gz
opie-882b5190d02c33aa8c893e8aa54bf3d38ac255c8.tar.bz2
clean up
Diffstat (limited to 'core/pim/osearch/todosearch.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/osearch/todosearch.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/core/pim/osearch/todosearch.cpp b/core/pim/osearch/todosearch.cpp
index fba8aa0..cbe356b 100644
--- a/core/pim/osearch/todosearch.cpp
+++ b/core/pim/osearch/todosearch.cpp
@@ -16,3 +16,2 @@
#include <opie/otodo.h>
-#include <qdir.h>
@@ -23,3 +22,2 @@ TodoSearch::TodoSearch(QListView* parent, QString name)
{
- //_fileName = QDir::homeDirPath()+"/Applications/todolist/todolist.xml";
_todos = 0;
@@ -44,3 +42,2 @@ void TodoSearch::expand()
-#ifdef LIPBOPIE_SEARCH
ORecordList<OTodo> results = _todos->matchRegexp(_search);
@@ -50,14 +47,2 @@ void TodoSearch::expand()
}
-#else
- ORecordList<OTodo> list = _todos->allRecords();
- QArray<int> m_currentQuery( list.count() );
- for( uint i=0; i<list.count(); i++ ){
- // qDebug("todo: %s",list[i].summary().latin1() );
- if ( list[i].match( _search ) ){
- // qDebug("FOUND");
- new TodoItem( this, new OTodo( list[i] ) );
- }
-
- }
-#endif