Diffstat (limited to 'core/pim/addressbook/abtable.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/addressbook/abtable.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/core/pim/addressbook/abtable.cpp b/core/pim/addressbook/abtable.cpp index 0911edf..17277b4 100644 --- a/core/pim/addressbook/abtable.cpp +++ b/core/pim/addressbook/abtable.cpp @@ -18,6 +18,8 @@ ** **********************************************************************/ +#define QTOPIA_INTERNAL_CONTACT_MRE + #include <qpe/categoryselect.h> #include <qpe/config.h> #include <qpe/stringutil.h> @@ -449,6 +451,15 @@ void AbTable::addEntry( const Contact &newCnt ) updateVisible(); } +void AbTable::resizeRows( int size ) { + + if (numRows()) { + for (int i = 0; i < numRows(); i++) { + setRowHeight( i, size ); + } + } +} + void AbTable::updateJournal( const Contact &cnt, Contact::journal_action action, int row ) { |