Advertisement
Guest User

Untitled

a guest
Jul 5th, 2015
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.61 KB | None | 0 0
  1. const GenericMethod<Widget*> Widget::v_table[] =
  2. {
  3.     [](Widget* w, void** args) { *static_cast<bool*>(args[0]) = w->QWidget::hasHeightForWidth(); },
  4.     [](Widget* w, void** args) { *static_cast<int*>(args[0]) = w->QWidget::heightForWidth(*static_cast<int*>(args[1])); },
  5.     [](Widget* w, void** args) { *static_cast<QVariant*>(args[0]) = w->QWidget::inputMethodQuery(*static_cast<Qt::InputMethodQuery*>(args[1])); },
  6.     [](Widget* w, void** args) { *static_cast<QSize*>(args[0]) = w->QWidget::minimumSizeHint(); },
  7.     [](Widget* w, void** args) { *static_cast<QSize*>(args[0]) = w->QWidget::sizeHint(); },
  8. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement