author | tille <tille> | 2003-05-10 12:37:35 (UTC) |
---|---|---|
committer | tille <tille> | 2003-05-10 12:37:35 (UTC) |
commit | 882b5190d02c33aa8c893e8aa54bf3d38ac255c8 (patch) (side-by-side diff) | |
tree | c79bf2a664d780013b685dd9617829cecdea3561 /core/pim/osearch/todosearch.cpp | |
parent | 65efa1e8a846f92580155d6ce7e28fe9b7ae19d2 (diff) | |
download | opie-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.cpp | 15 |
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 @@ -15,5 +15,4 @@ #include <opie/otodoaccess.h> #include <opie/otodo.h> -#include <qdir.h> #include "todoitem.h" @@ -22,5 +21,4 @@ TodoSearch::TodoSearch(QListView* parent, QString name) : SearchGroup(parent, name) { - //_fileName = QDir::homeDirPath()+"/Applications/todolist/todolist.xml"; _todos = 0; } @@ -43,5 +41,4 @@ void TodoSearch::expand() } -#ifdef LIPBOPIE_SEARCH ORecordList<OTodo> results = _todos->matchRegexp(_search); setText(0, text(0) + " (" + QString::number( results.count() ) + ")"); @@ -49,16 +46,4 @@ void TodoSearch::expand() new TodoItem( this, new OTodo( results[i] )); } -#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 } |