void QPrinterProto::setDoubleSidedPrinting(bool doubleSided) { QPrinter *item = qscriptvalue_cast<QPrinter*>(thisObject()); if (item) item->setDoubleSidedPrinting(doubleSided); }
int Printer::setDoubleSidedPrinting(lua_State * L) // ( bool doubleSided ) { QPrinter* lhs = ValueBinding<MyQPrinter>::check( L, 1 ); lhs->setDoubleSidedPrinting( Util::toBool( L, 2 ) ); return 0; }