[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bindings
Subject: Re: [Kde-bindings] Hacking moc-generated code
From: Luca Fascione <lukes () wetafx ! co ! nz>
Date: 2005-08-31 7:00:13
Message-ID: 4315557D.3090004 () wetafx ! co ! nz
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
In TCL you almost don't even have the objects... Figure if they're
dynamic... :-)
Eric Jardim wrote:
> 2005/8/31, Luca Fascione <lukes@wetafx.co.nz
> <mailto:lukes@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@kde.org
>https://mail.kde.org/mailman/listinfo/kde-bindings
>
>
--
Luca Fascione
Pipeline Engineer - Weta Digital
+644 380 9170 (x4855) / +64 21 0764 862
[Attachment #5 (text/html)]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
In TCL you almost don't even have the objects... Figure if they're
dynamic... :-)<br>
<br>
Eric Jardim wrote:
<blockquote cite="mid432ec6c505083023587deba4f5@mail.gmail.com"
type="cite">2005/8/31, Luca Fascione <<a
href="mailto:lukes@wetafx.co.nz">lukes@wetafx.co.nz</a>>:
<div><span class="gmail_quote"></span>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; \
padding-left: 1ex;"> I don't think static means constant across *time*, it just \
should mean constant across instances of the class,<br>
i.e. you *can* change the metaobject while it's running... :-)</blockquote>
<div><br>
Sure. I know the difference. But the way moc generate the metaoject, it
gets both static meanings :)<br>
</div>
<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; \
padding-left: 1ex;">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.</blockquote>
<div><br>
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.<br>
</div>
</div>
<br>
Thanks,<br>
<br>
[Eric Jardim]<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Kde-bindings mailing list
<a class="moz-txt-link-abbreviated" \
href="mailto:Kde-bindings@kde.org">Kde-bindings@kde.org</a> <a \
class="moz-txt-link-freetext" \
href="https://mail.kde.org/mailman/listinfo/kde-bindings">https://mail.kde.org/mailman/listinfo/kde-bindings</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Luca Fascione
Pipeline Engineer - Weta Digital
+644 380 9170 (x4855) / +64 21 0764 862
</pre>
</body>
</html>
_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic