using namespace std;
using namespace MVLambdaNS;
+
+//the static metacall was introduced in Qt 4.8
+#if QT_VERSION >= 0x040800
//static
void MVLambdaBase::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
}
}
-
//static
const QMetaObjectExtraData MVLambdaBase::staticMetaObjectExtraData = {
0, MVLambdaBase::qt_static_metacall
};
+static const short qtmetaversion=6;
+#else
+const QMetaObjectExtraData MVLambdaBase::staticMetaObjectExtraData = {0,0};
+static const short qtmetaversion=6;
+#endif
MVLambdaBase::MVLambdaBase(int cnt,QByteArray rt, QByteArray cn, QObject* parent)
:QObject(parent),m_count(cnt),m_callparm(cn),m_callret(rt),
qt_meta_data({ // content:
- 6, // revision
+ qtmetaversion, // revision
0, // classname
0, 0, // classinfo
1, 14, // methods (14 is start of method info)
// after this line string_metadata must not be changed
// !!!!!!!
//register meta object
- meta_object=QMetaObject({{&QObject::staticMetaObject, string_metadata.data(),
- qt_meta_data, &MVLambdaBase::staticMetaObjectExtraData}});
+ meta_object=QMetaObject({{
+ &QObject::staticMetaObject,
+ string_metadata.data(),
+ qt_meta_data,
+#if QT_VERSION >= 0x040800
+ &MVLambdaBase::staticMetaObjectExtraData
+#else
+ 0
+#endif
+ }});
}
void* MVLambdaNS::MVLambdaBase::qt_metacast(const char* _clname)