#include "../../lib/testlib.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'testlib.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 59
#error "This file was generated using the moc from 4.2.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
static const uint qt_meta_data_TestLib[] = {
// content:
1, // revision
0, // classname
0, 0, // classinfo
1, 10, // methods
0, 0, // properties
0, 0, // enums/sets
// slots: signature, parameters, type, tag, flags
9, 8, 8, 8, 0x08,
0 // eod
};
static const char qt_meta_stringdata_TestLib[] = {
"TestLib\0\0slot1()\0"
};
{ &QWidget::staticMetaObject, qt_meta_stringdata_TestLib,
qt_meta_data_TestLib, 0 }
};
{
return &staticMetaObject;
}
void *TestLib::qt_metacast(const char *_clname)
{
if (!_clname) return 0;
if (!strcmp(_clname, qt_meta_stringdata_TestLib))
return static_cast<void*>(const_cast<TestLib*>(this));
return QWidget::qt_metacast(_clname
);
}
int TestLib
::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a
) {
_id
= QWidget::qt_metacall(_c, _id, _a
);
if (_id < 0)
return _id;
switch (_id) {
case 0: slot1(); break;
}
_id -= 1;
}
return _id;
}
#include "../../lib/testlib.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'testlib.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 59
#error "This file was generated using the moc from 4.2.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
static const uint qt_meta_data_TestLib[] = {
// content:
1, // revision
0, // classname
0, 0, // classinfo
1, 10, // methods
0, 0, // properties
0, 0, // enums/sets
// slots: signature, parameters, type, tag, flags
9, 8, 8, 8, 0x08,
0 // eod
};
static const char qt_meta_stringdata_TestLib[] = {
"TestLib\0\0slot1()\0"
};
const QMetaObject TestLib::staticMetaObject = {
{ &QWidget::staticMetaObject, qt_meta_stringdata_TestLib,
qt_meta_data_TestLib, 0 }
};
const QMetaObject *TestLib::metaObject() const
{
return &staticMetaObject;
}
void *TestLib::qt_metacast(const char *_clname)
{
if (!_clname) return 0;
if (!strcmp(_clname, qt_meta_stringdata_TestLib))
return static_cast<void*>(const_cast<TestLib*>(this));
return QWidget::qt_metacast(_clname);
}
int TestLib::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QWidget::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
switch (_id) {
case 0: slot1(); break;
}
_id -= 1;
}
return _id;
}
To copy to clipboard, switch view to plain text mode
Bookmarks