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