Пример #1
0
int Printer::setPageOrder(lua_State * L) // (  PageOrder pageOrder  )
{
	QPrinter* lhs = ValueBinding<MyQPrinter>::check( L, 1 );
	QPrinter::PageOrder f=(QPrinter::PageOrder)Util::toInt( L, 2 );
	lhs->setPageOrder( f );
	return 0;
}
Пример #2
0
void QPrinterProto::setPageOrder(QPrinter::PageOrder pageOrder)
{
  QPrinter *item = qscriptvalue_cast<QPrinter*>(thisObject());
  if (item)
    item->setPageOrder(pageOrder);
}