[Kde-bindings] Confusing results from kalyptus

Chris Burel chrisburel at gmail.com
Fri Aug 14 20:21:02 UTC 2009


I'm confused by what I'm seeing in the generated smokedata.cpp file for
SmokeQt, specifically the xcall() index for some entries in the qt_methods
array.  This seems to affect a number of methods, but for example:
   {385, 10016, 63, 3, Smoke::mf_const, 1991, 552},    //14932
QStyle::pixelMetric(QStyle::PixelMetric, const QStyleOption*, const
QWidget*) const [pure virtual]
   {385, 10016, 60, 2, Smoke::mf_const, 1991, -1},    //14933
QStyle::pixelMetric(QStyle::PixelMetric, const QStyleOption*) const [pure
virtual]
   {385, 10016, 58, 1, Smoke::mf_const, 1991, -1},    //14934
QStyle::pixelMetric(QStyle::PixelMetric) const [pure virtual]

Why is the xcall index for the 2 argument and 1 argument form of the same
method -1, while the 3 argument form has a valid xcall index?  Doesn't that
mean that calling the 1 and 2 argument forms won't actually do anything?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20090814/358ce1a8/attachment.html>


More information about the Kde-bindings mailing list