author | eilers <eilers> | 2003-01-02 14:26:06 (UTC) |
---|---|---|
committer | eilers <eilers> | 2003-01-02 14:26:06 (UTC) |
commit | 12e9ed4ac80ac7fa042059b48d7447db0e59a86c (patch) (side-by-side diff) | |
tree | 3165bc8422ca5560a30de2a7bf54c0a319516ce7 | |
parent | 85a6acb57bb6a0b7c5340f3f3107c1b39884c023 (diff) | |
download | opie-12e9ed4ac80ac7fa042059b48d7447db0e59a86c.zip opie-12e9ed4ac80ac7fa042059b48d7447db0e59a86c.tar.gz opie-12e9ed4ac80ac7fa042059b48d7447db0e59a86c.tar.bz2 |
Letterpicker now works for lowercase names..
-rw-r--r-- | core/pim/addressbook/TODO | 9 | ||||
-rw-r--r-- | core/pim/addressbook/abview.cpp | 9 |
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 @@ -10,20 +10,16 @@ Feature requests: - 3rd column for 2. Contact - Implementing additional Views (Phonebook, ...) - Birthday & Anniversary Reminder - Plugin for Today for Birthdays and Anniversaries - Beaming of multiple contacts (current list/ by search or by category) Known Bugs: ----------- -- Language not English (tested with german opie-translation): - 1. Configure nicht übersetzt (alles leer). - 2. Contacteditor nur teilweise übersetzt. - 3. Kategorie-Picker geht nicht. Bugs but not in addressbook: ----------------------------- - VCARD: If umlaut (äöüß) in address, the parser gets confused.. - Exporting and reimporting of Jobtitle was reported to fail (Could not reproduce this ! (se)) @@ -31,16 +27,17 @@ Bugs but not in addressbook: Urgent: -------- ContactEditor: - Contact-Editor is temporarely reenabled. Wait for replacement. - Redesign of Contacteditor - Store last settings of combo-boxes - Category is on the wrong position after changing to personal and back to normal ( Temporarily workaround: Category is never deactivated.. :S ) + - Personal and Business Web-page is not editable Important: ---------- - Implement a picker/combo for the default email. - After search (Started with Return): KeyFocus should be on Tabelle @@ -102,8 +99,12 @@ Fixed: zu lange.. - VCARD: Import of Anniversary does not work correctly (currently disabled) - Name order selected in "contacteditor" not used in list view. - OK-Key does not switch from Detailview (ablable) to Listview - Receiving of beams should open a dialog - Fix start of opie-mail - Implement Button Pics - Add a dialog to accept and optionally edit received contacts by IRDA. +- Language not English (tested with german opie-translation): + 1. Configure nicht übersetzt (alles leer). + 2. Contacteditor nur teilweise übersetzt. + 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 @@ -148,16 +148,17 @@ bool AbView::save() void AbView::load() { qWarning("abView:Load data"); // Letter Search is stopped at this place emit signalClearLetterPicker(); if ( m_inPersonal ) + // VCard Backend does not sort.. m_list = m_contactdb->allRecords(); else{ m_list = m_contactdb->sorted( true, 0, 0, 0 ); clearForCategory(); } qWarning ("Number of contacts: %d", m_list.count()); @@ -220,18 +221,24 @@ void AbView::setShowToView( Views view ) void AbView::setShowByLetter( char c ) { qWarning("void AbView::setShowByLetter( %c )", c ); OContact query; if ( c == 0 ){ load(); return; }else{ + // If the current Backend is unable to solve the query, we will + // ignore the request .. + if ( ! m_contactdb->hasQuerySettings( OContactAccess::WildCards | OContactAccess::IgnoreCase ) ){ + return; + } + query.setLastName( QString("%1*").arg(c) ); - m_list = m_contactdb->queryByExample( query, OContactAccess::WildCards ); + m_list = m_contactdb->queryByExample( query, OContactAccess::WildCards | OContactAccess::IgnoreCase ); clearForCategory(); m_curr_Contact = 0; } updateView( true ); } void AbView::setListOrder( const QValueList<int>& ordered ) { |