kmail
KMail::HeaderListQuickSearch Class Reference
#include <headerlistquicksearch.h>
Inheritance diagram for KMail::HeaderListQuickSearch:
Public Slots | |
void | reset () |
Signals | |
void | requestFullSearch () |
Public Member Functions | |
QString | currentSearchTerm () const |
int | currentStatus () const |
bool | eventFilter (QObject *watched, QEvent *event) |
HeaderListQuickSearch (QWidget *parent, KListView *listView, KActionCollection *actionCollection, const char *name=0) | |
virtual | ~HeaderListQuickSearch () |
Protected Member Functions | |
virtual bool | itemMatches (const QListViewItem *item, const QString &s) const |
Detailed Description
Definition at line 45 of file headerlistquicksearch.h.
Constructor & Destructor Documentation
KMail::HeaderListQuickSearch::HeaderListQuickSearch | ( | QWidget * | parent, | |
KListView * | listView, | |||
KActionCollection * | actionCollection, | |||
const char * | name = 0 | |||
) |
Definition at line 50 of file headerlistquicksearch.cpp.
KMail::HeaderListQuickSearch::~HeaderListQuickSearch | ( | ) | [virtual] |
Definition at line 106 of file headerlistquicksearch.cpp.
Member Function Documentation
QString KMail::HeaderListQuickSearch::currentSearchTerm | ( | ) | const |
Returns the currently entered search text.
Definition at line 180 of file headerlistquicksearch.cpp.
int KMail::HeaderListQuickSearch::currentStatus | ( | ) | const |
Returns the currently selected status filter.
Definition at line 186 of file headerlistquicksearch.cpp.
Used to disable the main window's accelerators when the search widget's combo has focus.
Definition at line 111 of file headerlistquicksearch.cpp.
bool KMail::HeaderListQuickSearch::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 in KListViewIndexedSearchLine.
Definition at line 143 of file headerlistquicksearch.cpp.
void KMail::HeaderListQuickSearch::requestFullSearch | ( | ) | [signal] |
void KMail::HeaderListQuickSearch::reset | ( | ) | [slot] |
Definition at line 156 of file headerlistquicksearch.cpp.
The documentation for this class was generated from the following files: