[Kde-bindings] classes in the KTextEditor namespace don't seem to exist in korundum with latest revision from 4.4 branch

Stefano Crocco stefano.crocco at alice.it
Wed Jan 27 13:46:15 UTC 2010


On Tuesday 26 January 2010, Richard Dale wrote:
> |Yes, it was a bug and should be fixed now. At the moment each module
> |provides a  'normalization_proc' which is responsible for class renaming.
> |However, all normalization procs are applied to all classes. As the
> |Korundum normalization proc doesn't know about any classes whose names
> |begin with 'K' outside its extension, it just assumes they want renaming.
> |So KTextEditor gets renamed as KDE::TextEditor and so on. I've hacked the
> |Korundum extension ruby code so that it knows about the KParts:: and
> |KTextEditor:: classes, but that isn't very modular.
> |
> |The proper solution is to do the class renaming in the extension's C++
> |code as  it reads the list of classes from the Smoke module. That will be
> |how it will work for the KDE 4.5 release.
> |
> |-- Richard

Thanks for fixing it

Stefano



More information about the Kde-bindings mailing list