From koffice-devel Sat May 24 10:40:22 2003 From: Lenny Date: Sat, 24 May 2003 10:40:22 +0000 To: koffice-devel Subject: Re: [Uml-devel] Re: karbon/umbrello X-MARC-Message: https://marc.info/?l=koffice-devel&m=105377307114316 On Friday 23 May 2003 22:27, Dirk Schönberger wrote: > > class KCanvasElement : public QObject {}; > > class KShapeCanvasElement : public KCanvasElement > > { > > KShape *shape; > > }; > > class KOpalCanvasElement : public KCanvasElement > > { > > OPAL::Morph *morph; > > }; > > > > or something roughly like that. i don't think there needs to be any > > tighter > > > coupling between the two objects. KCanvasElement can define all the base > > signals and slots that each object should respond too or emit. users can > > further specialize these to provide additional stuff. > > But how do you want to implement rendering? YourVeryOwnRenderingVisitor v.visit( *morph ); Bye Lenny _______________________________________________ koffice-devel mailing list koffice-devel@mail.kde.org http://mail.kde.org/mailman/listinfo/koffice-devel