Backport from HEAD of:
Backport from HEAD of:

Fix the folder tree flicker for all cases, even the "number of mails after
the folder name" one by not using QListViewItemIterator in a very hot code
path, because it seems to ensure sort order in the ctor and calls
paintCell() on all of the items.

I demand a cookie. Lutz gets a cookie as well, he helped me debug this.

svn path=/branches/KDE_3_3_BRANCH/kdepim/; revision=341206

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi