31 #ifndef KMAILHEADERLISQUICKSEARCH_H
32 #define KMAILHEADERLISQUICKSEARCH_H
34 #include "kmmsgbase.h"
35 #include "kmsearchpattern.h"
36 #include <tdelistviewsearchline.h>
37 #include <tqvaluevector.h>
41 class TDEActionCollection;
45 class HeaderListQuickSearch : public TDEListViewSearchLine
50 HeaderListQuickSearch( TQWidget *parent,
51 TDEListView *listView,
52 TDEActionCollection *actionCollection,
53 const char *name = 0 );
54 virtual ~HeaderListQuickSearch();
60 bool eventFilter( TQObject *watched, TQEvent *event );
65 TQString currentSearchTerm() const;
70 int currenStatus() const;
76 void requestFullSearch();
83 virtual bool itemMatches( const TQListViewItem *item, const TQString &s) const;
90 void slotStatusChanged( int index );
94 void inserStatus(KMail::StatusValueTypes which);
95 TQComboBox *mStatusCombo;
97 TQValueVector<TQString> statusList;
98 mutable TQString mCurrentSearchTerm;
|