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; }
void QPrinterProto::setPageOrder(QPrinter::PageOrder pageOrder) { QPrinter *item = qscriptvalue_cast<QPrinter*>(thisObject()); if (item) item->setPageOrder(pageOrder); }