-rw-r--r-- | core/pim/addressbook/TODO | 18 | ||||
-rw-r--r-- | core/pim/addressbook/abtable.cpp | 3 | ||||
-rw-r--r-- | core/pim/addressbook/abtable.h | 2 | ||||
-rw-r--r-- | core/pim/addressbook/addressbook.cpp | 2 |
4 files changed, 14 insertions, 11 deletions
diff --git a/core/pim/addressbook/TODO b/core/pim/addressbook/TODO index 0accd87..4daa2a8 100644 --- a/core/pim/addressbook/TODO +++ b/core/pim/addressbook/TODO @@ -1,3 +1,3 @@ -Stuff todo: +Stuff todo until OPIE 1.0 : Urgent: @@ -7,16 +7,15 @@ Urgent: Important: -- Finishing of new View functions (List, Phonebook...) -- Reload if contacts were changed externally +- Picker: Activated letter schould be more visible - "What's this" should be added -- The names of the countries are sorted by there english names, only.. - Even if they are translated.. :S - Store last settings of combo-boxes - Mail-Icon is missing +- Finishing of new View functions (List, Phonebook...) +- The names of the countries are sorted by there english names, only.. + Even if they are translated.. :S +- Reload if contacts were changed externally Less important: -- Find widget should be replaced by something like - qpdf has. - The picker (alphabetical sort widget) should be placed verticaly or horizontally (configurable) @@ -25,7 +24,10 @@ Less important: (abtable should store Iterator for selected Category) -Should be Fixed (not absolute sure, need validation): +Should be Fixed (not absolute sure, need further validation): - "Nonenglish" translation bug has to be fixed. Fixed: - Syncing: abtable not reloaded after sync. +- Find widget should be replaced by something like + qpdf has. +- Adding a configuration dialog
\ No newline at end of file diff --git a/core/pim/addressbook/abtable.cpp b/core/pim/addressbook/abtable.cpp index 97f4a8f..d4dcf7b 100644 --- a/core/pim/addressbook/abtable.cpp +++ b/core/pim/addressbook/abtable.cpp @@ -635,5 +635,5 @@ void QTable::paintEmptyArea( QPainter *p, int cx, int cy, int cw, int ch ) // } -void AbTable::slotDoFind( const QString &findString, bool caseSensitive, +void AbTable::slotDoFind( const QString &findString, bool caseSensitive, bool useRegExp, bool backwards, QString cat /* int category */ ) { @@ -657,4 +657,5 @@ void AbTable::slotDoFind( const QString &findString, bool caseSensitive, QRegExp r( findString ); r.setCaseSensitive( caseSensitive ); + r.setWildcard( !useRegExp ); rows = numRows(); static bool wrapAround = true; diff --git a/core/pim/addressbook/abtable.h b/core/pim/addressbook/abtable.h index 1039e66..b445874 100644 --- a/core/pim/addressbook/abtable.h +++ b/core/pim/addressbook/abtable.h @@ -100,5 +100,5 @@ public: public slots: - void slotDoFind( const QString &str, bool caseSensitive, bool backwards, + void slotDoFind( const QString &str, bool caseSensitive, bool useRegExp, bool backwards, QString category = QString::null ); signals: diff --git a/core/pim/addressbook/addressbook.cpp b/core/pim/addressbook/addressbook.cpp index 84e66fb..f7e4c95 100644 --- a/core/pim/addressbook/addressbook.cpp +++ b/core/pim/addressbook/addressbook.cpp @@ -945,5 +945,5 @@ void AddressbookWindow::slotFindNext() // QObject::connect( abList, SIGNAL(signalWrapAround()), &frmFind, SLOT(slotWrapAround()) ); - abList->slotDoFind( searchEdit->text(), false, false); + abList->slotDoFind( searchEdit->text(), caseSensitive, useRegExp, false); |