[Uml-devel] I'd like to hack on cppcodegenerator

Jonathan Riddell jr at jriddell.org
Fri Mar 14 10:05:05 UTC 2003


On Fri, 14 Mar 2003, Brian Thomas wrote:

> 	Does anyone mind if I do the following things to it?

I don't think anyone would mind at all.

> 	- set up sensible defaults for "string" and "vector" attributes (I'll set
> 	    them to "QString" and "QPtrList", but the code should be such that
> 	    you can easily change it to something else)

Unsure on what to do about this, you can't assume that everyone is using
Qt.  Possibly, and it's only a bit of a kludge, you could have a Qt code
generator which reuses all the code of the c++ code generator but tells it
to swap string for QString etc.

Jonathan Riddell






More information about the umbrello-devel mailing list