[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: setInstance() question
From: Kurt Granroth <granroth () suse ! com>
Date: 2001-11-12 17:32:50
[Download RAW message or body]
TAnGorN (Anatoli Gorchetchnikov) wrote:
> On loading KPart with plugin, if I have plugin factory and use
> setInstance() call in plugin constructor it sets it to plugin factory
> instance as I want it to. But after that the part gets initialized,
> and call of setInstance() there not only sets it for the part, but
> also resets it for plugin, so now plugin->instance() returns part's
> instance.
>
> Is it a bug or a feature? If feature, than what's the reason behind
> it?
It was a bug fix, actually. I needed Plugins to do a lot more work
in finding out their XML so that XML-GUI rebuilding would work better.
Can you send me your code? Perhaps we can find a way for both the
toolbar editor and your app to get along :-)
--
Kurt Granroth | http://www.granroth.org
KDE Developer/Evangelist | SuSE Labs Open Source Developer
granroth@kde.org | granroth@suse.com
KDE -- Conquer Your Desktop
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic