[Kde-bindings] Hacking moc-generated code

Luca Fascione lukes at wetafx.co.nz
Wed Aug 31 07:00:13 UTC 2005


In TCL you almost don't even have the objects... Figure if they're 
dynamic... :-)

Eric Jardim wrote:

> 2005/8/31, Luca Fascione <lukes at wetafx.co.nz 
> <mailto:lukes at wetafx.co.nz>>:
>
>     I don't think static means constant across *time*, it just should
>     mean constant across instances of the class,
>     i.e. you *can* change the metaobject while it's running... :-)
>
>
> Sure. I know the difference. But the way moc generate the metaoject, 
> it gets both static meanings :)
>  
>
>     And there you go, done addition of methods at runtime: just
>     reimplement all the stuff with an added "addMethod()" method that
>     will insert your new method in some data structure and you're done.
>
>
>  Interesting. I'll take a note of this. In Python you can add/delete 
> methods of class/instance at runtime. This means we need to update the 
> qmetaobject every time it happens.
>
> Thanks,
>
> [Eric Jardim]
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Kde-bindings mailing list
>Kde-bindings at kde.org
>https://mail.kde.org/mailman/listinfo/kde-bindings
>  
>

-- 
Luca Fascione
Pipeline Engineer - Weta Digital

+644 380 9170 (x4855) / +64 21 0764 862

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20050831/6cd4f37f/attachment.html>


More information about the Kde-bindings mailing list