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