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