diff options
author | David Robillard <d@drobilla.net> | 2014-01-13 00:12:10 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-01-13 00:12:10 +0000 |
commit | ed8fafd54456dab18154c4ff9b54d0c8c9ce4a1b (patch) | |
tree | 75fa9637c102b460a69961677593f95dabcf7f7a /src | |
parent | 52d6c6347ed4f84077887a7d1359488d0890ac6a (diff) | |
download | jalv-ed8fafd54456dab18154c4ff9b54d0c8c9ce4a1b.tar.gz jalv-ed8fafd54456dab18154c4ff9b54d0c8c9ce4a1b.tar.bz2 jalv-ed8fafd54456dab18154c4ff9b54d0c8c9ce4a1b.zip |
Generate Qt moc nonsense at build time (fix #948).
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@5312 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/jalv_qt4_meta.hpp | 92 |
1 files changed, 0 insertions, 92 deletions
diff --git a/src/jalv_qt4_meta.hpp b/src/jalv_qt4_meta.hpp deleted file mode 100644 index f61fe16..0000000 --- a/src/jalv_qt4_meta.hpp +++ /dev/null @@ -1,92 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'jalv_qt4.cpp' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.6) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'jalv_qt4.cpp' doesn't include <QObject>." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.6. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_PresetAction[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 1, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 14, 13, 13, 13, 0x0a, - - 0 // eod -}; - -static const char qt_meta_stringdata_PresetAction[] = { - "PresetAction\0\0presetChosen()\0" -}; - -void PresetAction::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - PresetAction *_t = static_cast<PresetAction *>(_o); - switch (_id) { - case 0: _t->presetChosen(); break; - default: ; - } - } - Q_UNUSED(_a); -} - -const QMetaObjectExtraData PresetAction::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject PresetAction::staticMetaObject = { - { &QAction::staticMetaObject, qt_meta_stringdata_PresetAction, - qt_meta_data_PresetAction, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &PresetAction::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *PresetAction::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *PresetAction::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_PresetAction)) - return static_cast<void*>(const_cast< PresetAction*>(this)); - return QAction::qt_metacast(_clname); -} - -int PresetAction::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QAction::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 1) - qt_static_metacall(this, _c, _id, _a); - _id -= 1; - } - return _id; -} -QT_END_MOC_NAMESPACE |