aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv_qt4_meta.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-12-30 17:57:07 +0000
committerDavid Robillard <d@drobilla.net>2013-12-30 17:57:07 +0000
commit45d31b52da05ce362794e84e259910d9c9c0512b (patch)
tree88ae0ee99b5f7060501c0c58d7deabd2f493d442 /src/jalv_qt4_meta.hpp
parentcfdfb4606a7dac2e25f5ca6b12375cbdcfbb46b2 (diff)
downloadjalv-45d31b52da05ce362794e84e259910d9c9c0512b.tar.gz
jalv-45d31b52da05ce362794e84e259910d9c9c0512b.tar.bz2
jalv-45d31b52da05ce362794e84e259910d9c9c0512b.zip
Preset menu support for Qt (patch from Timo Westkämper) (#930).
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@5227 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/jalv_qt4_meta.hpp')
-rw-r--r--src/jalv_qt4_meta.hpp92
1 files changed, 92 insertions, 0 deletions
diff --git a/src/jalv_qt4_meta.hpp b/src/jalv_qt4_meta.hpp
new file mode 100644
index 0000000..f61fe16
--- /dev/null
+++ b/src/jalv_qt4_meta.hpp
@@ -0,0 +1,92 @@
+/****************************************************************************
+** 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