kaddressbook
IncSearchWidget Class Reference
#include <incsearchwidget.h>
Inheritance diagram for IncSearchWidget:

Detailed Description
Definition at line 36 of file incsearchwidget.h.
Public Slots | |
| void | setViewFields (const KABC::Field::List &) |
Signals | |
| void | doSearch (const QString &text) |
| void | scrollDown () |
| void | scrollUp () |
Public Member Functions | |
| void | clear () |
| KABC::Field::List | currentFields () const |
| int | currentItem () const |
| IncSearchWidget (QWidget *parent, const char *name=0) | |
| void | setCurrentItem (int pos) |
| ~IncSearchWidget () | |
Protected Member Functions | |
| virtual void | keyPressEvent (QKeyEvent *) |
Constructor & Destructor Documentation
| IncSearchWidget::IncSearchWidget | ( | QWidget * | parent, | |
| const char * | name = 0 | |||
| ) |
Definition at line 37 of file incsearchwidget.cpp.
| IncSearchWidget::~IncSearchWidget | ( | ) |
Definition at line 86 of file incsearchwidget.cpp.
Member Function Documentation
| void IncSearchWidget::clear | ( | ) |
Definition at line 145 of file incsearchwidget.cpp.
| KABC::Field::List IncSearchWidget::currentFields | ( | ) | const |
Definition at line 118 of file incsearchwidget.cpp.
| int IncSearchWidget::currentItem | ( | ) | const |
Definition at line 135 of file incsearchwidget.cpp.
| void IncSearchWidget::doSearch | ( | const QString & | text | ) | [signal] |
This signal is emitted whenever the text in the input widget is changed.
You can get the sorting field by currentField.
| void IncSearchWidget::keyPressEvent | ( | QKeyEvent * | event | ) | [protected, virtual] |
| void IncSearchWidget::scrollDown | ( | ) | [signal] |
Emitted when the down key is pressed.
| void IncSearchWidget::scrollUp | ( | ) | [signal] |
Emitted when the up key is pressed.
| void IncSearchWidget::setCurrentItem | ( | int | pos | ) |
Definition at line 130 of file incsearchwidget.cpp.
| void IncSearchWidget::setViewFields | ( | const KABC::Field::List & | fields | ) | [slot] |
Definition at line 140 of file incsearchwidget.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference