CVS commit by mornfall: Speed up listtreeview a lot, changing the way it is filled with KListViewItems. Also fix a stupid multiple-virtual-inheritance bug with uninitialized (0-initialized) parent in TreeNode, when constructing ListTreeWidget*Items. Also added a hack to capture::Tree in form of foreach-like functions (iterateAll and iterateLeaves), using (eek) function pointers to call back.
M +58 -3 libcapture/tree.cpp 1.7 M +4 -1 libcapture/tree.h 1.6 M +2 -0 libcapture/treenode.cpp 1.2 M +2 -2 libkapture/kapturemanager.cpp 1.15 M +1 -1 libkapture/listtreeview.cpp 1.9 M +33 -40 libkapture/listtreewidget.cpp 1.10 M +15 -2 libkapture/listtreewidget.h 1.4 M +9 -8 libkapture/pkgnodeview.cpp 1.15