Hello,

I'm attaching a second patch related to node refactoring. The bad news is that this one has become even bigger than the previous one.

 What's changed with this patch:

- Node, ECNode classes: removed the non-valid interface from it ( add/removeInputConnector, acceptInput/Output, input/outputConnectorList) and added new methods ( getAConnector, getAllConnectors)

- ICNDocument: in order to use the corresponding interfaces of Node, ECNode, this class has been "split" into 2: FlowICNDocument and CircuitICNDocument. The FlowDocument and CircuitICNDocument classes now inherit from these, respectively.

- other classes have been changed to make things compatible: Canvasmanupulator, PinMap*, CNItem, ItemDocument, ItemDocumentData, NodeGroup

- a small change is in MechanicsDocument to make KDevelop happy about syntax

The node refactoring isn't complete yet, but now the only thing left to do is to remove all the references to the Node::type() method and the method itself.

 I'm waiting for feedback :D

   Zoltan

Attachment: node-refactor-part2.patch.bz2
Description: application/bzip2

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ktechlab-devel mailing list
Ktechlab-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ktechlab-devel

Reply via email to