Revision 716970

Go back to digest for 30th September 2007

Features in Development Tools

Josef Weidendorfer committed changes in /trunk/KDE/kdesdk/kcachegrind/kcachegrind:

kcachegrind: port context menu of call graph to QMenu (part 1)

This convertion to QMenu/QAction also gets rid of some sanity checking of configuration parameters, which (1) was misplaced here and (2) is not needed.

Because of the huge context menu of the call graph, this is done in a few steps, ie. further parts coming...

I admit that the resulting code is probably easier to understand (no fiddling with menu item IDs), and no large switch statement any more.

But the introduction of a lot of new QActions and new slots to handle triggered actions makes the code not really smaller.

File Changes

Modified 2 files
  • /trunk/KDE/kdesdk/kcachegrind/kcachegrind
  •   /callgraphview.cpp
  •   /callgraphview.h
2 files changed in total