Revision 706297

Go back to digest for 2nd September 2007

Features in KDE-PIM

Tom Albers committed changes in /trunk/playground/pim/mailody/src:

Introduction of the itemdelegate for mailody. That part is in charge of the display of the header. So it converts dates to readable dates, formats the size column nicely and applies the colors where needed.

That functionality is now removed from the view and the model. Also the delegate works only on the items showed, hence we increased speed dramatically, before this commit it calculated the dates/size for every item in the model, as soon as data arrived, for all items, including the invisible ones. Credits also go to Johan Thelin. Good book.

File Changes

Added 2 files
  • /trunk/playground/pim/mailody/src
  •   /headerdelegate.cpp
  •   /headerdelegate.h
Modified 5 files
  • /trunk/playground/pim/mailody/src
  •   /CMakeLists.txt
  •   /headermodel.cpp
  •   /headermodel.h
  •   /headerview.cpp
  •   /headerview.h
7 files changed in total