[kplato] Application Class Structure

Thomas Zander kplato@kde.org
Mon, 16 Jul 2001 22:35:19 +0200


On Mon, Jul 16, 2001 at 09:19:30PM +0100, John D Lamb wrote:
> Chris Clarke wrote:
> 
> > 
> > I'm not quite sure what you mean here:  the KPTNode class does have two sets
> > of dependencies:
> > 
> > The tree dependency is managed by the XChildNode methods (e.g. addChildNode),
> > and managed in the m_nodes list.
> > 
> > The time dependency is managed by the XYDependNode methods (e.g.
> > addParentDependNode), and managed in the m_dependChildNode, and
> > m_dependParentNode lists.
> > 
> > Are you thinking you want to rename these, or are you considering a different
> > structure for managing the two lists?
> 
> No. My mistake. I read the code carelessly. That's one reason I like
> javadoc-style comments.
> 
> Would it be better to use the STL vector class instead of QList just for
> efficiency? I don't know the QT abstract data structures well.

The QList is a double linked list, it is very effecient.

-- 
Thomas Zander                                            zander@earthling.net
The only thing worse than failure is the fear of trying something new