kmail

KListViewIndexedSearchLine Class Reference

#include <klistviewindexedsearchline.h>

Inheritance diagram for KListViewIndexedSearchLine:

KMail::HeaderListQuickSearch List of all members.

Detailed Description

Extends HeaderListQuickSearch to also search inside message bodies using KMMsgIndex.

Definition at line 49 of file klistviewindexedsearchline.h.


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

Member Function Documentation

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.

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.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys