24 #ifndef INCSEARCHWIDGET_H 25 #define INCSEARCHWIDGET_H 29 #include <tdeabc/field.h> 35 class IncSearchWidget : public TQWidget 41 IncSearchWidget( TQWidget *parent, const char *name = 0 ); 44 TDEABC::Field::List currentFields() const; 46 void setCurrentItem( int pos ); 47 int currentItem() const; 57 void doSearch( const TQString& text ); 70 void setViewFields( const TDEABC::Field::List& ); 73 void announceDoSearch(); 77 virtual void keyPressEvent( TQKeyEvent* ); 82 TQComboBox* mFieldCombo; 83 KLineEdit* mSearchText; 84 TDEABC::Field::List mFieldList; 85 TDEABC::Field::List mViewFields;
|