Advertisement
Guest User

Untitled

a guest
Oct 27th, 2021
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.71 KB | None | 0 0
  1. void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  2. {
  3.     if (_c == QMetaObject::InvokeMetaMethod) {
  4.         auto *_t = static_cast<MainWindow *>(_o);
  5.         (void)_t;
  6.         switch (_id) {
  7.         case 0: _t->my_enum((*reinterpret_cast< erations::MyTypeX(*)>(_a[1]))); break;
  8.         default: ;
  9.         }
  10.     } else if (_c == QMetaObject::IndexOfMethod) {
  11.         int *result = reinterpret_cast<int *>(_a[0]);
  12.         {
  13.             using _t = void (MainWindow::*)(enumerations::MyTypeX );
  14.             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::my_enum)) {
  15.                 *result = 0;
  16.                 return;
  17.             }
  18.         }
  19.     }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement