Can someone tell me if it is possible to specify the order of classes inherited by a derived class when forwarding engineering from a model to C++? For example, I have a class which inherits from two classes, one which is a Qt class. Qt has a limitation requiring the Qt class to be in the list of inherited classes first:
Correct....
class Item : public QWidget, public InterfaceItem
{...}
Incorrect...
class Item : public InterfaceItem, public QWidget
{...}
I found that if I make the connection in the model to the QWidget class first, then the other class, the forward engineering works correctly. However, if I forget to make the connection in the correct order, the inheritance order is incorrect. Even if I reverse engineer the code when written correctly, when I forward engineer it back, the order is flipped, unless of course the connections were made in the correct order to begin with.
I realize it isn't difficult to go and change the connections, but it seems there should be a better way to solve this problem.
Thanks for any help...