Revision 1190015

Go back to digest for 31st October 2010

Optimization in KDE-PIM

Eduardo Fleury committed changes in /trunk/KDE/kdepim/mobile/lib:

Mobile Calendar: Refactor to reduce memory usage

The Calendar Widget was using ~800 kb of memory, by reducing the number of elements it's now using ~600 kb.

Removed from CalendarDay (42 instances):
- One MouseArea
- One Image
- One Item
- Two states

Removed from Calendar
- Connections in each day

Added to Calendar
- One big MouseArea to handle day selection

I'm also using repeaters in Calendar.qml to improve readability.

File Changes

Modified 2 files
  • /trunk/KDE/kdepim/mobile/lib
  •   /Calendar.qml
  •   /CalendarDay.qml
2 files changed in total