summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/TODO9
-rw-r--r--core/pim/addressbook/abview.cpp9
2 files changed, 13 insertions, 5 deletions
diff --git a/core/pim/addressbook/TODO b/core/pim/addressbook/TODO
index df55b2d..1eb537f 100644
--- a/core/pim/addressbook/TODO
+++ b/core/pim/addressbook/TODO
@@ -2,53 +2,50 @@ Stuff todo until OPIE 1.0 :
2=========================== 2===========================
3 3
4Feature requests: 4Feature requests:
5----------------- 5-----------------
6- Dial by mobile phone by tapping the number.. 6- Dial by mobile phone by tapping the number..
7 (Maybe using gsmtool. And we may 7 (Maybe using gsmtool. And we may
8 add a library class for this) 8 add a library class for this)
9- dial with dtmfdial incase it's installed and there's no mobile 9- dial with dtmfdial incase it's installed and there's no mobile
10- 3rd column for 2. Contact 10- 3rd column for 2. Contact
11- Implementing additional Views (Phonebook, ...) 11- Implementing additional Views (Phonebook, ...)
12- Birthday & Anniversary Reminder 12- Birthday & Anniversary Reminder
13- Plugin for Today for Birthdays and Anniversaries 13- Plugin for Today for Birthdays and Anniversaries
14- Beaming of multiple contacts (current list/ by search or by category) 14- Beaming of multiple contacts (current list/ by search or by category)
15 15
16Known Bugs: 16Known Bugs:
17----------- 17-----------
18- Language not English (tested with german opie-translation):
19 1. Configure nicht übersetzt (alles leer).
20 2. Contacteditor nur teilweise übersetzt.
21 3. Kategorie-Picker geht nicht.
22 18
23 19
24Bugs but not in addressbook: 20Bugs but not in addressbook:
25----------------------------- 21-----------------------------
26- VCARD: If umlaut (äöüß) in address, the parser gets confused.. 22- VCARD: If umlaut (äöüß) in address, the parser gets confused..
27 23
28- Exporting and reimporting of Jobtitle was reported to fail (Could not reproduce this ! (se)) 24- Exporting and reimporting of Jobtitle was reported to fail (Could not reproduce this ! (se))
29 25
30 26
31Urgent: 27Urgent:
32-------- 28--------
33ContactEditor: 29ContactEditor:
34- Contact-Editor is temporarely reenabled. Wait for replacement. 30- Contact-Editor is temporarely reenabled. Wait for replacement.
35- Redesign of Contacteditor 31- Redesign of Contacteditor
36- Store last settings of combo-boxes 32- Store last settings of combo-boxes
37- Category is on the wrong position after changing to personal and back to normal 33- Category is on the wrong position after changing to personal and back to normal
38 ( Temporarily workaround: Category is never deactivated.. :S ) 34 ( Temporarily workaround: Category is never deactivated.. :S )
35
39- Personal and Business Web-page is not editable 36- Personal and Business Web-page is not editable
40 37
41Important: 38Important:
42---------- 39----------
43 40
44- Implement a picker/combo for the default email. 41- Implement a picker/combo for the default email.
45- After search (Started with Return): KeyFocus should be on Tabelle 42- After search (Started with Return): KeyFocus should be on Tabelle
46 43
47- "What's this" should be added (Deleyed after Feature Freeze) 44- "What's this" should be added (Deleyed after Feature Freeze)
48 45
49Less important: 46Less important:
50--------------- 47---------------
51- Reload if contacts were changed externally 48- Reload if contacts were changed externally
52- Overview window cleanup needed.. 49- Overview window cleanup needed..
53- The picker (alphabetical sort widget) should be 50- The picker (alphabetical sort widget) should be
54 placed verticaly or horizontally (configurable) 51 placed verticaly or horizontally (configurable)
@@ -94,16 +91,20 @@ Fixed:
94- Unfiled shown just in Category "All" and "Unfiled". 91- Unfiled shown just in Category "All" and "Unfiled".
95- After finising search and after Edit: Clear Picker 92- After finising search and after Edit: Clear Picker
96- After Edit: Table position back to edited entry. 93- After Edit: Table position back to edited entry.
97- Optimize Table Update... 94- Optimize Table Update...
98- Change MyDialog to Config 95- Change MyDialog to Config
99- Store position and state of toolbar 96- Store position and state of toolbar
100- Searchwidget closed: Selected user is jumping 97- Searchwidget closed: Selected user is jumping
101- Wenn suchen beendet, dann dauert das Tabellenupdate (was überhaupt überflüssig ist) 98- Wenn suchen beendet, dann dauert das Tabellenupdate (was überhaupt überflüssig ist)
102 zu lange.. 99 zu lange..
103- VCARD: Import of Anniversary does not work correctly (currently disabled) 100- VCARD: Import of Anniversary does not work correctly (currently disabled)
104- Name order selected in "contacteditor" not used in list view. 101- Name order selected in "contacteditor" not used in list view.
105- OK-Key does not switch from Detailview (ablable) to Listview 102- OK-Key does not switch from Detailview (ablable) to Listview
106- Receiving of beams should open a dialog 103- Receiving of beams should open a dialog
107- Fix start of opie-mail 104- Fix start of opie-mail
108- Implement Button Pics 105- Implement Button Pics
109- Add a dialog to accept and optionally edit received contacts by IRDA. 106- Add a dialog to accept and optionally edit received contacts by IRDA.
107- Language not English (tested with german opie-translation):
108 1. Configure nicht übersetzt (alles leer).
109 2. Contacteditor nur teilweise übersetzt.
110 3. Kategorie-Picker geht nicht.
diff --git a/core/pim/addressbook/abview.cpp b/core/pim/addressbook/abview.cpp
index 161b163..93e57ca 100644
--- a/core/pim/addressbook/abview.cpp
+++ b/core/pim/addressbook/abview.cpp
@@ -140,32 +140,33 @@ OContact AbView::currentEntry()
140 140
141bool AbView::save() 141bool AbView::save()
142{ 142{
143 qWarning("abView:Save data"); 143 qWarning("abView:Save data");
144 144
145 return m_contactdb->save(); 145 return m_contactdb->save();
146} 146}
147 147
148void AbView::load() 148void AbView::load()
149{ 149{
150 qWarning("abView:Load data"); 150 qWarning("abView:Load data");
151 151
152 // Letter Search is stopped at this place 152 // Letter Search is stopped at this place
153 emit signalClearLetterPicker(); 153 emit signalClearLetterPicker();
154 154
155 if ( m_inPersonal ) 155 if ( m_inPersonal )
156 // VCard Backend does not sort..
156 m_list = m_contactdb->allRecords(); 157 m_list = m_contactdb->allRecords();
157 else{ 158 else{
158 m_list = m_contactdb->sorted( true, 0, 0, 0 ); 159 m_list = m_contactdb->sorted( true, 0, 0, 0 );
159 clearForCategory(); 160 clearForCategory();
160 } 161 }
161 162
162 qWarning ("Number of contacts: %d", m_list.count()); 163 qWarning ("Number of contacts: %d", m_list.count());
163 164
164 updateView( true ); 165 updateView( true );
165 166
166} 167}
167 168
168void AbView::reload() 169void AbView::reload()
169{ 170{
170 qWarning( "void AbView::reload()" ); 171 qWarning( "void AbView::reload()" );
171 172
@@ -212,34 +213,40 @@ void AbView::setShowToView( Views view )
212 m_prev_View = m_curr_View; 213 m_prev_View = m_curr_View;
213 m_curr_View = view; 214 m_curr_View = view;
214 215
215 updateView(); 216 updateView();
216 } 217 }
217 218
218} 219}
219 220
220void AbView::setShowByLetter( char c ) 221void AbView::setShowByLetter( char c )
221{ 222{
222 qWarning("void AbView::setShowByLetter( %c )", c ); 223 qWarning("void AbView::setShowByLetter( %c )", c );
223 OContact query; 224 OContact query;
224 if ( c == 0 ){ 225 if ( c == 0 ){
225 load(); 226 load();
226 return; 227 return;
227 }else{ 228 }else{
229 // If the current Backend is unable to solve the query, we will
230 // ignore the request ..
231 if ( ! m_contactdb->hasQuerySettings( OContactAccess::WildCards | OContactAccess::IgnoreCase ) ){
232 return;
233 }
234
228 query.setLastName( QString("%1*").arg(c) ); 235 query.setLastName( QString("%1*").arg(c) );
229 m_list = m_contactdb->queryByExample( query, OContactAccess::WildCards ); 236 m_list = m_contactdb->queryByExample( query, OContactAccess::WildCards | OContactAccess::IgnoreCase );
230 clearForCategory(); 237 clearForCategory();
231 m_curr_Contact = 0; 238 m_curr_Contact = 0;
232 } 239 }
233 updateView( true ); 240 updateView( true );
234} 241}
235 242
236void AbView::setListOrder( const QValueList<int>& ordered ) 243void AbView::setListOrder( const QValueList<int>& ordered )
237{ 244{
238 m_orderedFields = ordered; 245 m_orderedFields = ordered;
239 updateView(); 246 updateView();
240} 247}
241 248
242 249
243QString AbView::showCategory() const 250QString AbView::showCategory() const
244{ 251{
245 return mCat.label( "Contacts", m_curr_category ); 252 return mCat.label( "Contacts", m_curr_category );