[Kde-bindings] KDE/kdebindings/kalyptus

Arno Rehn arno at arnorehn.de
Thu Jan 22 16:43:43 UTC 2009


If I get it right, we now don't generate staticMetaObject accessors for 
QObject, but for QObject subclasses. Is there any reson for this? Wouldn't it 
be better to have staticMetaObject accessors for every class possible?

On Thursday 22 January 2009 12:27:24 Richard Dale wrote:
> SVN commit 915017 by rdale:
>
> * Fix the code generation for accessing staticMetaObjects. A change
> introduced by rdale for no apparent reason was messing up the Ruby
> Qt::Object#findChild and findChildren method. Thanks to Stefan Crocco for
> reporting the bug.
>
> CCMAIL: kde-bindings at kde.org
>
>
>  M  +1 -1      kalyptusCxxToSmoke.pm
>
>
> --- trunk/KDE/kdebindings/kalyptus/kalyptusCxxToSmoke.pm #915016:915017
> @@ -849,7 +849,7 @@
>
>  				|| ($name eq 'd')
>  				|| $name eq 'qHash'
>  				|| ($classNode->{astNodeName} eq 'Tab' and $name eq 'type')
>
> -				|| ($name eq 'staticMetaObject')
> +				|| ($classNode->{astNodeName} eq 'QObject' and $name eq
> 'staticMetaObject')
>
>  				|| ($className eq 'Wt::WImage' and $name eq 'noAreas_')
>  				|| ($className eq 'Wt::WImage' and $name eq 'loaded')

-- 
Arno Rehn
arno at arnorehn.de



More information about the Kde-bindings mailing list