[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-devel
Subject:    Refactor debuggerpart construction?
From:       Vladimir Prus <ghost () cs ! msu ! su>
Date:       2005-07-04 9:45:32
Message-ID: dab0fs$o8l$1 () sea ! gmane ! org
[Download RAW message or body]


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

    variableWidget = new VariableWidget( 0, "variablewidget");
    variableWidget->setIcon(SmallIcon("math_brace"));
    variableWidget->setCaption(i18n("Variable Tree"));
    QWhatsThis::add
        (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.

Thoughs?

- Volodya
    


_______________________________________________
KDevelop-devel mailing list
KDevelop-devel@barney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic