[Kde-bindings] KDE/kdebindings/kalyptus
Richard Dale
rdale at foton.es
Thu Jan 22 18:37:42 UTC 2009
On Thursday 22 January 2009 16:43:43 Arno Rehn wrote:
> 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?
Yes, I suppose we would have to try the code generation and see what happens.
Maybe it is declared in the QObject header, but isn't in the lib itself.
-- Richard
> 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')
More information about the Kde-bindings
mailing list