author | zautrix <zautrix> | 2005-01-12 20:38:44 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-01-12 20:38:44 (UTC) |
commit | 7a4a866cded40032766acb4fe8d02b6347b1d12e (patch) (unidiff) | |
tree | 14cced6e387842839616cd6727b40a522586c364 /kaddressbook/kaddressbookview.h | |
parent | ffa81b34b0d7b3c53f46869a05194072a339a69d (diff) | |
download | kdepimpi-7a4a866cded40032766acb4fe8d02b6347b1d12e.zip kdepimpi-7a4a866cded40032766acb4fe8d02b6347b1d12e.tar.gz kdepimpi-7a4a866cded40032766acb4fe8d02b6347b1d12e.tar.bz2 |
search fixes
Diffstat (limited to 'kaddressbook/kaddressbookview.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kaddressbook/kaddressbookview.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kaddressbook/kaddressbookview.h b/kaddressbook/kaddressbookview.h index 2e91cbc..8646136 100644 --- a/kaddressbook/kaddressbookview.h +++ b/kaddressbook/kaddressbookview.h | |||
@@ -93,64 +93,66 @@ class KAddressBookView : public QWidget | |||
93 | If overloaded in the subclass, do not forget to call the super class's | 93 | If overloaded in the subclass, do not forget to call the super class's |
94 | method. | 94 | method. |
95 | 95 | ||
96 | @param config The KConfig object to read from. The group will already | 96 | @param config The KConfig object to read from. The group will already |
97 | be set, so do not change the group. | 97 | be set, so do not change the group. |
98 | */ | 98 | */ |
99 | virtual void writeConfig( KConfig *config ); | 99 | virtual void writeConfig( KConfig *config ); |
100 | 100 | ||
101 | /** | 101 | /** |
102 | Returns a QString with all the selected email addresses concatenated | 102 | Returns a QString with all the selected email addresses concatenated |
103 | together with a ',' seperator. | 103 | together with a ',' seperator. |
104 | */ | 104 | */ |
105 | virtual QString selectedEmails(); | 105 | virtual QString selectedEmails(); |
106 | 106 | ||
107 | /** | 107 | /** |
108 | Return the type of the view: Icon, Table, etc. Please make sure that | 108 | Return the type of the view: Icon, Table, etc. Please make sure that |
109 | this is the same value that ViewWrapper::type() will return for your | 109 | this is the same value that ViewWrapper::type() will return for your |
110 | view. | 110 | view. |
111 | */ | 111 | */ |
112 | virtual QString type() const = 0; | 112 | virtual QString type() const = 0; |
113 | 113 | ||
114 | /** | 114 | /** |
115 | Returns a list of the fields that should be displayed. The list | 115 | Returns a list of the fields that should be displayed. The list |
116 | is composed of the fields proper names (ie: Home Address), so | 116 | is composed of the fields proper names (ie: Home Address), so |
117 | the view may need to translate them in order to get the | 117 | the view may need to translate them in order to get the |
118 | value from the addressee. | 118 | value from the addressee. |
119 | 119 | ||
120 | This list is generated from the config file, so it is advisable to call | 120 | This list is generated from the config file, so it is advisable to call |
121 | this method whenever a readConfig() is called in order to get the newest | 121 | this method whenever a readConfig() is called in order to get the newest |
122 | list of fields. | 122 | list of fields. |
123 | */ | 123 | */ |
124 | KABC::Field::List fields() const; | 124 | KABC::Field::List fields() const; |
125 | |||
126 | KABC::Field::List allFields() const; | ||
125 | 127 | ||
126 | /** | 128 | /** |
127 | Sets the active filter. This filter will be used for filtering | 129 | Sets the active filter. This filter will be used for filtering |
128 | the list of addressees to display. The view will <b>not</b> | 130 | the list of addressees to display. The view will <b>not</b> |
129 | automatically refresh itself, so in most cases you will want to call | 131 | automatically refresh itself, so in most cases you will want to call |
130 | KAddressBookView::refresh() after this method. | 132 | KAddressBookView::refresh() after this method. |
131 | */ | 133 | */ |
132 | void setFilter( const Filter& ); | 134 | void setFilter( const Filter& ); |
133 | 135 | ||
134 | /** | 136 | /** |
135 | @return The default filter type selection. If the selection | 137 | @return The default filter type selection. If the selection |
136 | is SpecificFilter, the name of the filter can be retrieved with | 138 | is SpecificFilter, the name of the filter can be retrieved with |
137 | defaultFilterName() | 139 | defaultFilterName() |
138 | */ | 140 | */ |
139 | DefaultFilterType defaultFilterType() const; | 141 | DefaultFilterType defaultFilterType() const; |
140 | 142 | ||
141 | /** | 143 | /** |
142 | @return The name of the default filter. This string is | 144 | @return The name of the default filter. This string is |
143 | only valid if defaultFilterType() is returning SpecificFilter. | 145 | only valid if defaultFilterType() is returning SpecificFilter. |
144 | */ | 146 | */ |
145 | const QString &defaultFilterName() const; | 147 | const QString &defaultFilterName() const; |
146 | 148 | ||
147 | /** | 149 | /** |
148 | @return The address book. | 150 | @return The address book. |
149 | */ | 151 | */ |
150 | KABC::AddressBook *addressBook() const; | 152 | KABC::AddressBook *addressBook() const; |
151 | 153 | ||
152 | public slots: | 154 | public slots: |
153 | /** | 155 | /** |
154 | Must be overloaded in subclasses to refresh the view. | 156 | Must be overloaded in subclasses to refresh the view. |
155 | Refreshing includes updating the view to ensure that only items | 157 | Refreshing includes updating the view to ensure that only items |
156 | in the document are visible. If <i>uid</i> is valid, only the | 158 | in the document are visible. If <i>uid</i> is valid, only the |