[Uml-devel] u2 gets qt

Andrew Sutton asutton at mcs.kent.edu
Tue Apr 29 13:15:09 UTC 2003


well, now i've done it. i've rewritten the entire object model for u2. so, all 
these commits that are going to appear are part of that.

what i've done:

- renamed UObject to Umbrello::Object
- added QObject as a second base class of RefBaseObject. this has some good 
properties. all major modeling objects can support Qt features while trivial 
objects like primitive types, enums, collections and structs don't import the 
entire Qt namespace
- association classes are now generated with an _Assoc at the end. apparently, 
the Qt class has a member, "Contains" that collides with Model::Contains - 
hence, the rename
- rewrote the Model::Plugin to use the new association names
- had to explicitly fix one namespace bug related to UML::Object and 
Umbrello::Object
- added signal (refFeatureChanged) to RefObject - it might do better in 
RefFeatured, maybe.
- changes to mmgen to support the new object model

anyway, its a big check in - as you can see. it should be mostly final. there 
is one "small" drawback. by deriving almost everything from QObject, and 
having Q_OBJECT in the class specifications, its going to take roughly twice 
as long to build :)

andy




More information about the umbrello-devel mailing list