author | zautrix <zautrix> | 2005-03-29 13:52:41 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-03-29 13:52:41 (UTC) |
commit | 7046b36fb5dd14598ece00b575554eba2956ef84 (patch) (unidiff) | |
tree | 934579f9f61f09563dfcbfef207d314d510d57ea /kaddressbook/incsearchwidget.h | |
parent | 894717798a8d129f4b991a2fe856d2f1e8e9624a (diff) | |
download | kdepimpi-7046b36fb5dd14598ece00b575554eba2956ef84.zip kdepimpi-7046b36fb5dd14598ece00b575554eba2956ef84.tar.gz kdepimpi-7046b36fb5dd14598ece00b575554eba2956ef84.tar.bz2 |
kapi fixes
Diffstat (limited to 'kaddressbook/incsearchwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kaddressbook/incsearchwidget.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kaddressbook/incsearchwidget.h b/kaddressbook/incsearchwidget.h index 1546a51..cae55cd 100644 --- a/kaddressbook/incsearchwidget.h +++ b/kaddressbook/incsearchwidget.h | |||
@@ -25,48 +25,49 @@ | |||
25 | #define INCSEARCHWIDGET_H | 25 | #define INCSEARCHWIDGET_H |
26 | 26 | ||
27 | #include <qwidget.h> | 27 | #include <qwidget.h> |
28 | 28 | ||
29 | #include <kabc/field.h> | 29 | #include <kabc/field.h> |
30 | 30 | ||
31 | class QComboBox; | 31 | class QComboBox; |
32 | class KLineEdit; | 32 | class KLineEdit; |
33 | 33 | ||
34 | class IncSearchWidget : public QWidget | 34 | class IncSearchWidget : public QWidget |
35 | { | 35 | { |
36 | Q_OBJECT | 36 | Q_OBJECT |
37 | 37 | ||
38 | public: | 38 | public: |
39 | IncSearchWidget( QWidget *parent, const char *name = 0 ); | 39 | IncSearchWidget( QWidget *parent, const char *name = 0 ); |
40 | ~IncSearchWidget(); | 40 | ~IncSearchWidget(); |
41 | 41 | ||
42 | void setFields( const KABC::Field::List &list ); | 42 | void setFields( const KABC::Field::List &list ); |
43 | KABC::Field::List fields() const; | 43 | KABC::Field::List fields() const; |
44 | 44 | ||
45 | KABC::Field *currentField() const; | 45 | KABC::Field *currentField() const; |
46 | 46 | ||
47 | void setCurrentItem( int pos ); | 47 | void setCurrentItem( int pos ); |
48 | int currentItem() const; | 48 | int currentItem() const; |
49 | void setSize(); | ||
49 | 50 | ||
50 | signals: | 51 | signals: |
51 | void scrollUP(); | 52 | void scrollUP(); |
52 | void scrollDOWN(); | 53 | void scrollDOWN(); |
53 | /** | 54 | /** |
54 | This signal is emmited whenever the text in the input | 55 | This signal is emmited whenever the text in the input |
55 | widget is changed. You can get the sorting field by | 56 | widget is changed. You can get the sorting field by |
56 | @ref currentField. | 57 | @ref currentField. |
57 | */ | 58 | */ |
58 | void doSearch( const QString& text ); | 59 | void doSearch( const QString& text ); |
59 | 60 | ||
60 | /** | 61 | /** |
61 | This signal is emmited whenever the search field changes. | 62 | This signal is emmited whenever the search field changes. |
62 | */ | 63 | */ |
63 | void fieldChanged(); | 64 | void fieldChanged(); |
64 | 65 | ||
65 | private slots: | 66 | private slots: |
66 | void announceDoSearch(); | 67 | void announceDoSearch(); |
67 | void announceDoSearch2(); | 68 | void announceDoSearch2(); |
68 | void announceFieldChanged(); | 69 | void announceFieldChanged(); |
69 | 70 | ||
70 | private: | 71 | private: |
71 | QComboBox* mFieldCombo; | 72 | QComboBox* mFieldCombo; |
72 | KLineEdit* mSearchText; | 73 | KLineEdit* mSearchText; |