author | tille <tille> | 2003-05-09 12:01:20 (UTC) |
---|---|---|
committer | tille <tille> | 2003-05-09 12:01:20 (UTC) |
commit | d371c94c81f9f0e961aa7e47a27c323215709e8a (patch) (side-by-side diff) | |
tree | 3ad54515f41a9bbb78327cb8ce6e93bab99ff1bf /core/pim/osearch/datebooksearch.cpp | |
parent | 7183dce01fa07a905d259cb79a8792ca993a75f6 (diff) | |
download | opie-d371c94c81f9f0e961aa7e47a27c323215709e8a.zip opie-d371c94c81f9f0e961aa7e47a27c323215709e8a.tar.gz opie-d371c94c81f9f0e961aa7e47a27c323215709e8a.tar.bz2 |
counting results now
Diffstat (limited to 'core/pim/osearch/datebooksearch.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/osearch/datebooksearch.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/pim/osearch/datebooksearch.cpp b/core/pim/osearch/datebooksearch.cpp index 8f9d472..0590252 100644 --- a/core/pim/osearch/datebooksearch.cpp +++ b/core/pim/osearch/datebooksearch.cpp @@ -38,8 +38,9 @@ void DatebookSearch::expand() _dates->load(); } #ifdef LIPBOPIE_SEARCH ORecordList<OEvent> results = _dates->matchRegexp(_search); + setText(0, text(0) + " (" + QString::number( results.count() ) + ")" ); for (uint i = 0; i < results.count(); i++) { new EventItem( this, new OEvent( results[i] )); } #else |