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