tdelistviewindexedsearchline.cpp
41 TDEListViewIndexedSearchLine::TDEListViewIndexedSearchLine( TQWidget* parent, TDEListView* listView, TDEActionCollection* actionCollection, const char* name ):
66 bool TDEListViewIndexedSearchLine::itemMatches( const TQListViewItem* item, const TQString& s ) const {
68 std::binary_search( mResults.begin(), mResults.end(), static_cast<const KMail::HeaderItem*>( item )->msgSerNum() ) )
Visual representation of a member of the set of displayables (mails in the current folder).
Definition: headeritem.h:164
virtual void updateSearch(const TQString &s=TQString())
Updates search to only make visible the items that match s.
Definition: tdelistviewindexedsearchline.cpp:51