[Kde-bindings] Re: Documenting PyKDE4's bindings generation

Phil Thompson phil at riverbankcomputing.com
Fri Apr 29 15:54:39 UTC 2011


On Wed, 27 Apr 2011 12:30:58 +0200, Luca Beltrame
<einar at heavensinferno.net> wrote:
> (please add me to the CC, as I'm not subscribed to kde-bindings -yet-)
> 
>> If this is happening then the design/implementation of pyuic4 needs to
be
>> changed. What does pykdeuic4 do that can't be done with pyuic4's
existing
>> plugin mechanism?
> 
> I'm not familiar on how pyuic4 works (is there some documentation, even 
> docstrings?). I know that pykdeuic4, as shown here:
> 
>
https://projects.kde.org/projects/kde/kdebindings/pykde4/repository/revisions/master/entry/tools/pykdeuic4/pykdeuic4.py
> 
> subclasses qtproxies.i18n_string to use KDE's own i18n rather than Qt's
> tr(). 
> 
> This is usually the part that breaks (I fixed it twice in the past
> months). Do 
> you have any suggestions on how to implement this properly?

There needs to be an extension to the plugin mechanism, but first I would
need a full list of the requirements.

Phil



More information about the Kde-bindings mailing list