Beispiel #1
0
int TabWidget::setTabShape ( lua_State * L ) //( TabPosition )void
{
	QTabWidget* obj = ObjectHelper<QTabWidget>::check( L, 1 );
	Enums enums(L);
	QTabWidget::TabShape f =(QTabWidget::TabShape)enums.TabShape( 2 );
	obj->setTabShape( f );
	return 0;
}
Beispiel #2
0
void QTabWidgetProto::setTabShape(int s)
{
  QTabWidget *item = qscriptvalue_cast<QTabWidget*>(thisObject());
  if (item)
    item->setTabShape((QTabWidget::TabShape)s);
}