Refactor debuggerpart construction?

Vladimir Prus ghost at
Mon Jul 4 11:47:05 UTC 2005

at the moment, constructor of DebuggerPart class looks like this:

    variableWidget = new VariableWidget( 0, "variablewidget");
    variableWidget->setCaption(i18n("Variable Tree"));
        (variableWidget, i18n("<b>Variable tree</b><p>"
                              "The variable tree allows you to see "

and the same pattern repeats for other widgets. I wonder if it would not be
better to move all of the above code into constructor of VariableWidget.
That way, VariableWidget will be much more self-contained.


- Volodya

More information about the KDevelop-devel mailing list