Example #1
0
void QPrinterProto::setPrintProgram(const QString & printProg)
{
  QPrinter *item = qscriptvalue_cast<QPrinter*>(thisObject());
  if (item)
    item->setPrintProgram(printProg);
}
Example #2
0
int Printer::setPrintProgram(lua_State * L) // ( const QString & printProg )
{
	QPrinter* lhs = ValueBinding<MyQPrinter>::check( L, 1 );
	lhs->setPrintProgram( QtValueBase::toString( L, 2 ));
	return 0;
}