[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Re: [Uml-devel] Re: karbon/umbrello
From: Lenny <kudling () kde ! org>
Date: 2003-05-24 10:40:22
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic