kmail
KListViewIndexedSearchLine Class Reference
Extends HeaderListQuickSearch to also search inside message bodies using KMMsgIndex. More...
#include <klistviewindexedsearchline.h>
Inheritance diagram for KListViewIndexedSearchLine:
Public Slots | |
virtual void | updateSearch (const QString &s=QString::null) |
Public Member Functions | |
KListViewIndexedSearchLine (QWidget *parent, KListView *listView, KActionCollection *action, const char *name=0) | |
~KListViewIndexedSearchLine () | |
Protected Member Functions | |
virtual bool | itemMatches (const QListViewItem *item, const QString &s) const |
Detailed Description
Extends HeaderListQuickSearch to also search inside message bodies using KMMsgIndex.Definition at line 49 of file klistviewindexedsearchline.h.
Constructor & Destructor Documentation
KListViewIndexedSearchLine::KListViewIndexedSearchLine | ( | QWidget * | parent, | |
KListView * | listView, | |||
KActionCollection * | action, | |||
const char * | name = 0 | |||
) | [explicit] |
Definition at line 41 of file klistviewindexedsearchline.cpp.
KListViewIndexedSearchLine::~KListViewIndexedSearchLine | ( | ) |
Definition at line 47 of file klistviewindexedsearchline.cpp.
Member Function Documentation
bool KListViewIndexedSearchLine::itemMatches | ( | const QListViewItem * | item, | |
const QString & | s | |||
) | const [protected, virtual] |
checks whether
- Parameters:
-
item contains the search string and has the status currently in mStatus
Reimplemented from KMail::HeaderListQuickSearch.
Definition at line 66 of file klistviewindexedsearchline.cpp.
void KListViewIndexedSearchLine::updateSearch | ( | const QString & | s = QString::null |
) | [virtual, slot] |
Updates search to only make visible the items that match s.
If s is null then the line edit's text will be used.
Definition at line 51 of file klistviewindexedsearchline.cpp.
The documentation for this class was generated from the following files: