[Nepomuk] Sub-classes cache

Stéphane Laurière slauriere at mandriva.com
Mon May 31 10:21:43 CEST 2010


Hi all, Is there a way to tell a class to reload its hierarchy? I'm
actually trying to reproduce in Ginkgo the Nepomuk shell's class
creation feature by reusing the code of pimomodel.cpp [1], ported to
Python. I notice that when a class gets created, the subClass method of
its parent, if it was called previously, keeps returning the same
children until the program is restarted (entity.cpp loading its
hierarchy once and for all?).

[1]
<http://lxr.kde.org/source/playground/base/nepomuk-kde/nepomukutils/pimomodel.cpp#167>

Stéphane


-- 
Stéphane Laurière
Mandriva http://mandriva.com



More information about the Nepomuk mailing list