Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
- {
- if (_c == QMetaObject::InvokeMetaMethod) {
- auto *_t = static_cast<MainWindow *>(_o);
- (void)_t;
- switch (_id) {
- case 0: _t->my_enum((*reinterpret_cast< erations::MyTypeX(*)>(_a[1]))); break;
- default: ;
- }
- } else if (_c == QMetaObject::IndexOfMethod) {
- int *result = reinterpret_cast<int *>(_a[0]);
- {
- using _t = void (MainWindow::*)(enumerations::MyTypeX );
- if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::my_enum)) {
- *result = 0;
- return;
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement