foreach and qDeleteAll know how to iterate over qmaps, so do not use values, it's...
commit01b8e0cb570077d2e81bcecae351a3d36940f216
authorAlbert Astals Cid <tsdgeos@terra.es>
Sun, 12 Oct 2008 21:29:26 +0000 (12 21:29 -0000)
committerAlbert Astals Cid <tsdgeos@terra.es>
Sun, 12 Oct 2008 21:29:26 +0000 (12 21:29 -0000)
tree22905cdb338965429309bfb1c5b96107f257d300
parentdd78dd40c86acc5dde1e3620f53e8611c2d0d8d2
foreach and qDeleteAll know how to iterate over qmaps, so do not use values, it's just slower and more memory intensive
foreach should use const & on the "iterator" to avoid unnecessary copy constructor calls

svn path=/trunk/KDE/kdepim/; revision=870618
kmail/popaccount.cpp
kode/kxforms/editor/editor.cpp
kode/kxforms/editor/editorwidget.cpp