| Subject: | [Kde-bindings] Problem with method ids not being set in virtual method callbacks |
|---|---|
| From: | Richard Dale |
| Date: | Thu, 29 Oct 2009 12:24:21 +0000 |
In the qtgui only version of the smoke lib, the generator isn't correctly
fixing up the method id in some virtual method callbacks. For instance,
QWidget::timer event has 0:
virtual void timerEvent(QTimerEvent* x1) {
Smoke::StackItem x[2];
x[1].s_class = (void*)x1;
if (this->_binding->callMethod(0, (void*)this, x)) return;
this->QObject::timerEvent(x1);
}
Not all the methods in x_QWidget have zero method ids:
virtual int devType() const {
Smoke::StackItem x[1];
if (this->_binding->callMethod(7740, (void*)this, x)) return
(int)x[0].s_int;
return this->QWidget::devType();
}
So maybe it is a problem with virtual methods inherited across smoke module
boundaries?
-- Richard
_______________________________________________
Kde-bindings mailing list
Kde-bindings@xxxxxxx
https://mail.kde.org/mailman/listinfo/kde-bindings
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [Kde-bindings] [PyKDE4] Bug in Nepomuk bindings, Olivier Duclos |
|---|---|
| Next by Date: | [Kde-bindings] [Bug 211710] KDE crashes on startup with segfault, Patrick Hoogkamer |
| Previous by Thread: | [Kde-bindings] Missing munged method name entries for QVector and QList types, Richard Dale |
| Next by Thread: | [Kde-bindings] [Bug 212378] New: compilation error: Âerror : non-static const member âKCategoryDrawer ::Private* const KCategoryDrawer:: dâ , can' t use default assignment operatorÂ, Marcos Dione |
| Indexes: | [Date] [Thread] [Top] [All Lists] |