This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1367318762-26254311-1118764008=:3753 Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Tue, 14 Jun 2005, Lubos Lunak wrote: > On Tuesday 14 of June 2005 00:37, Aurelien Gateau wrote: >> Le Lundi 13 Juin 2005 17:24, Renchi Raju a =E9crit : >>> >>> looks fine. though, i think you will gain better startup speeds by doin= g >>> a delayed initialization of the pluginloader instance itself. > > That however disables the plugins completely. In Gwenview it's possible t= o > assign keyboard shortcuts to KIPI plugins, and theoretically it should be > also possible to have toolbar icons for them. That wouldn't work with del= ayed > initialization of the pluginloader itself. i fail to understand why not. do a delayed initialization of the=20 pluginloader and when the plugins are loaded, assign them keyboard=20 shortcuts and/or toolbar icons. in any case the actions for the plugin=20 actions are not instantiated unless you load the plugin, so i don't see=20 how you can assign keyboard shortcuts/icons to them before that. > Is the new version number 0.1.2 ok with you? that should be fine. > BTW, there's one more thing I wanted to ask about KIPI. The documentation= is > rather scarce, and I wonder about what exactly KIPI::Plugin::setup() is f= or. > It seems to be the "real" constructor for the object, it creates all the > KAction's etc., however the example in pluginloader.cpp actually calls it > repeatedly (once per slotReplug() being called, but this function may be > called repeatedly). This leads to repeated creation of KAction's and thei= r > leaking. you are right. in digiKam, we do the setup of the plugins only once and=20 get a list of actions and plug them into widgets wherever needed. but=20 there is indeed memory leak associated with the setup being called=20 multiple times. i will have a look at this. renchi ---1367318762-26254311-1118764008=:3753 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kde-imaging mailing list Kde-imaging@kde.org https://mail.kde.org/mailman/listinfo/kde-imaging ---1367318762-26254311-1118764008=:3753--