[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Re: Karbon Plugins
From: John Hughes <johughes () shaw ! ca>
Date: 2002-09-08 17:56:15
[Download RAW message or body]
On September 8, 2002 06:18 am, rwlbuis@xs4all.nl wrote:
> >> I don't know the karbon/koffice/kparts setup all
> >> that well, but upon looking, it didnt seem as
> >> though KarbonPart stored any references to any
> >> KarbonView. Maybe I'm missing something.
> >
> >Look at KarbonPart::repaintAllViews(), or
> > did i misunderstand you?
>
> Yes, AFAIK KarbonPart doesnt have references to
> KarbonView since KoDocument provides that for us.
> We just use views() and cast the pointers to KarbonView
> if needed.
Ahh, I see now:
QPtrListIterator<KoView> itr( views() );
for( ; itr.current() ; ++itr )
{
static_cast<KarbonView*>( itr.current() )->canvasWidget()->repaintAll(
repaint );
}
Is views() part of KoDocument?
_______________________________________________
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