A member function marked with Q_INVOKABLE has not the type QMetaMethod::Method
but QMetaMethod::Signal. This looks not
consistent to me.
In this example the assert fails:
#include <QObject>
#include <QMetaMethod>
class A : public QObject
{
Q_OBJECT
public:
A(int) { Q_ASSERT(metaObject()->method(0).methodType() ==
QMetaMethod::Method); }
Q_INVOKABLE void foo() {}
};
Peter
--
Computer Bild Tarifsieger! GMX FreeDSL - Telefonanschluss + DSL
für nur 17,95 ¿/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback